/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: 80px 0 40px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, rgba(102, 0, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(160, 30, 46, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-column {
    text-align: left;
}

.footer-icon {
    width: 50px;
    height: 50px;
    background: #660000;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    color: white;
    transition: all 0.3s ease;
}

.footer-column:hover .footer-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(102, 0, 0, 0.3);
}

.footer-column h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.footer-column p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: underline;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #660000;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 8px;
    background: white;
    color: #333;
    font-size: 0.9rem;
    outline: none;
}

.newsletter-input::placeholder {
    color: #999;
}

.newsletter-btn {
    width: 45px;
    height: 45px;
    background: #660000;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-btn:hover {
    background: #A52A2A;
    transform: scale(1.05);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    position: relative;
    z-index: 3;
}

.footer-logo .logo-sky {
    font-weight: 800;
    font-size: 1.5rem;
    /* تأثير النبض بين الأحمر والأبيض */
    animation: footerSkPulse 2s ease-in-out infinite;
}

/* تأثير النبض بين الأحمر والأبيض لـ SK في Footer */
@keyframes footerSkPulse {
    0%, 100% {
        color: #8B1A2E; /* أحمر داكن */
        text-shadow:
            0 0 15px rgba(196, 30, 58, 0.8),
            0 0 30px rgba(196, 30, 58, 0.6),
            0 0 45px rgba(196, 30, 58, 0.4),
            0 2px 4px rgba(0, 0, 0, 0.3);
        transform: scale(1);
    }
    50% {
        color: #660000; /* أبيض */
        text-shadow:
            0 0 15px rgba(255, 255, 255, 0.9),
            0 0 30px rgba(255, 255, 255, 0.7),
            0 0 45px rgba(255, 255, 255, 0.5),
            0 0 60px rgba(255, 255, 255, 0.3),
            0 2px 4px rgba(0, 0, 0, 0.3);
        transform: scale(1.05);
    }
}

.footer-logo .logo-yline {
    color: #fff;
    font-weight: 700;
    font-size: 1.5rem;
    text-shadow:
        0 0 10px rgba(255, 255, 255, 0.3),
        0 0 15px rgba(255, 255, 255, 0.2),
        0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
}

.footer-logo-tagline {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    margin-left: 0.5rem;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    line-height: 1.2;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.footer-logo:hover .footer-logo-tagline {
    color: rgba(255, 255, 255, 1);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.footer-nav {
    display: flex;
    gap: 2rem;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #8B1A2E;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.company-name {
    text-decoration: underline;
    color: #8B1A2E;
}

.footer-gradient {
    position: absolute;
    bottom: -50px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #8B1A2E 0%, rgba(139, 26, 46, 0.3) 50%, transparent 100%);
    border-radius: 50%;
    opacity: 0.6;
    z-index: 1;
}


@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-btn {
        width: 100%;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 60px 0 30px;
    }

    .footer-content {
        padding: 0 1rem;
    }

    .footer-bottom {
        gap: 1rem;
    }

    .footer-nav {
        flex-direction: column;
        gap: 0.5rem;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}