/* ==========================================================================
   Modern Luxury Footer Styles
   ========================================================================== */

/* Main Container */
.footer-modern-section {
    background-color: #050505;
    color: #e0e0e0;
    padding: 80px 0 20px;
    position: relative;
    overflow: hidden;
    font-family: 'Outfit', sans-serif;
}

/* Subtle Pattern Overlay */
.footer-overlay-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 20%);
    pointer-events: none;
    z-index: 1;
}

.footer-container-modern {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   Top Brand Area
   ========================================================================== */
.footer-brand-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 50px;
}

.footer-brand-logo {
    max-width: 280px;
    height: auto;
    margin-bottom: 20px;
    filter: brightness(0) invert(1); /* Ensure white logo on dark bg */
    opacity: 0.95;
    transition: opacity 0.3s ease;
}

.footer-brand-link:hover .footer-brand-logo {
    opacity: 1;
}

.footer-brand-tagline {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: #aaa;
    max-width: 600px;
    margin: 0 auto;
    font-style: italic;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   Divider
   ========================================================================== */
.footer-divider-modern {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    margin: 0 auto 50px;
    width: 100%;
}

/* ==========================================================================
   Main Grid Layout
   ========================================================================== */
.footer-grid-modern {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.2fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col-modern {
    display: flex;
    flex-direction: column;
}

.footer-heading-modern {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: #fff;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
    letter-spacing: 0.5px;
}

.footer-heading-modern::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #e31e24; /* Brand Red Accent */
}

/* About Column */
.about-col p.footer-text-modern {
    color: #999;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 90%;
}

/* Social Icons */
.footer-social-modern {
    display: flex;
    gap: 15px;
}

.social-link-modern {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link-modern:hover {
    background: #fff;
    color: #000;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

/* Links Column */
.footer-links-modern {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-modern li {
    margin-bottom: 12px;
}

.footer-link-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #aaa;
    text-decoration: none;
    font-size: 15px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.footer-link-item .link-icon {
    font-size: 12px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: #e31e24;
}

.footer-link-item:hover {
    color: #fff;
    padding-left: 10px;
    border-bottom-color: rgba(255,255,255,0.2);
}

.footer-link-item:hover .link-icon {
    opacity: 1;
    transform: translateX(0);
}

/* Contact Column */
.contact-info-modern {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-row {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-icon {
    font-size: 18px;
    color: #e31e24;
    margin-top: 5px;
    background: rgba(227, 30, 36, 0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.contact-text-group {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 12px;
    text-transform: uppercase;
    color: #666;
    letter-spacing: 1px;
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-value, .contact-link {
    color: #ccc;
    font-size: 15px;
    line-height: 1.6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #fff;
}

/* ==========================================================================
   Footer Bottom
   ========================================================================== */
.footer-bottom-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
}

.copyright-text-modern {
    color: #666;
    font-size: 13px;
    margin: 0;
}

.scroll-top-modern {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
}

.scroll-top-text {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0; /* Hidden by default, show on hover */
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.scroll-top-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.scroll-top-modern:hover .scroll-top-text {
    opacity: 1;
    transform: translateX(0);
}

.scroll-top-modern:hover .scroll-top-icon {
    background: #e31e24;
    transform: translateY(-5px);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 991px) {
    .footer-grid-modern {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .footer-brand-top {
        margin-bottom: 40px;
    }
    
    .footer-brand-tagline {
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .footer-modern-section {
        padding: 50px 0 20px;
    }

    .footer-brand-logo {
        max-width: 220px;
    }

    .footer-bottom-modern {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}
