@import 'base.css';

/* ================================
   Footer Base Styles with Enhanced Background
   ================================ */

.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: var(--white);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

/* Animated Background Pattern */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg,
        var(--gold-accent) 0%,
        var(--light-gold) 25%,
        var(--gold-accent) 50%,
        var(--light-gold) 75%,
        var(--gold-accent) 100%
    );
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

/* Decorative Background Elements */
.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(218, 165, 32, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 69, 19, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(244, 164, 96, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

/* Geometric Pattern Overlay */
.footer .container {
    position: relative;
    z-index: 2;
}

.footer .container::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(218, 165, 32, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.footer .container::after {
    content: '';
    position: absolute;
    bottom: -150px;
    right: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 69, 19, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 25s ease-in-out infinite reverse;
}

/* ================================
   Footer Typography
   ================================ */

.footer h5 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-accent), var(--light-gold));
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(218, 165, 32, 0.3);
}

.footer p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.9;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

/* ================================
   Footer Links
   ================================ */

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer ul li {
    margin-bottom: 0.75rem;
    position: relative;
}

.footer a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    padding: 0.25rem 0;
}

.footer a::before {
    content: '◄';
    opacity: 0;
    transform: translateX(8px);
    transition: all 0.3s ease;
    color: var(--gold-accent);
    font-size: 0.8rem;
}

.footer a:hover {
    color: var(--gold-accent);
    padding-right: 0.5rem;
    text-shadow: 0 0 10px rgba(218, 165, 32, 0.3);
}

.footer a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* ================================
   Footer Contact & Social
   ================================ */

.footer .contact-info p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.footer .contact-info p:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(-5px);
}

.footer p i {
    color: var(--gold-accent);
    font-size: 1.1rem;
    width: 25px;
    text-align: center;
    filter: drop-shadow(0 0 5px rgba(218, 165, 32, 0.3));
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg,
        rgba(218, 165, 32, 0.2) 0%,
        rgba(139, 69, 19, 0.2) 100%
    );
    color: var(--gold-accent);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(218, 165, 32, 0.3);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--gold-accent), var(--light-gold));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.social-link i {
    font-size: 1.2rem;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 10px 30px rgba(218, 165, 32, 0.4);
    border-color: var(--gold-accent);
}

.social-link:hover::before {
    opacity: 1;
}

.social-link:hover i {
    color: white;
    transform: scale(1.1);
}

/* ================================
   Footer Map with Glass Effect
   ================================ */

.footer .map-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 0.5rem;
}

.footer iframe {
    border: 0;
    width: 100%;
    height: 220px;
    border-radius: 16px;
    transition: all 0.4s ease;
    display: block;
}

.footer .map-container:hover iframe {
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(218, 165, 32, 0.2);
}

/* ================================
   Footer Divider
   ================================ */

.footer hr {
    border: none;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(218, 165, 32, 0.3) 20%,
        rgba(218, 165, 32, 0.6) 50%,
        rgba(218, 165, 32, 0.3) 80%,
        transparent 100%
    );
    margin: 3rem 0 2rem;
    position: relative;
}

.footer hr::after {
    content: '◆';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--gold-accent);
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 0 1rem;
    font-size: 0.8rem;
}

/* ================================
   Footer Bottom Section
   ================================ */

.footer .footer-bottom {
    position: relative;
    z-index: 2;
}

.footer .footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
    transition: color 0.3s ease;
}

.footer .footer-bottom p:hover {
    color: rgba(255, 255, 255, 0.9);
}

/* ================================
   Animations
   ================================ */

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(10px, -10px) rotate(2deg);
    }
    50% {
        transform: translate(-5px, 5px) rotate(-2deg);
    }
    75% {
        transform: translate(-10px, -5px) rotate(1deg);
    }
}

/* ================================
   Responsive Design
   ================================ */

@media (max-width: 992px) {
    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer h5::after {
        right: auto;
        left: 0;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 2.5rem 0 1.5rem;
    }

    .footer h5 {
        font-size: 1.2rem;
        margin-bottom: 1.25rem;
    }

    .footer p {
        font-size: 0.9rem;
    }

    .social-link {
        width: 45px;
        height: 45px;
    }

    .footer iframe {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .footer {
        padding: 2rem 0 1rem;
    }

    .footer h5 {
        font-size: 1.1rem;
    }

    .social-link {
        width: 42px;
        height: 42px;
    }

    .social-link i {
        font-size: 1.1rem;
    }

    .footer iframe {
        height: 180px;
    }

    .footer .container::before,
    .footer .container::after {
        display: none;
    }
}
.phone-number {
    direction: ltr;
    unicode-bidi: bidi-override;
    display: inline-block;
}
