/* Universal Elaborate Footer Styles */
:root {
    --footer-bg: #000000;
    --footer-text: #f0f0f0;
    --footer-accent: #d4af37;
}

.footer-section {
    width: 100%;
    background: var(--footer-bg);
    padding: 5rem 2rem 2rem;
    color: var(--footer-text);
    font-family: 'Cormorant Garamond', serif;
}

/* For homepage GSAP panels - only apply if wrapped in .panel-inner */
.panel-inner.footer-section {
    height: 100vh;
    position: absolute;
    padding: 0 2rem;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    text-align: left;
    margin-bottom: 3rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-heading {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    color: var(--footer-accent);
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

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

.footer-column ul li a, .footer-column ul li span {
    font-size: 18px;
    color: var(--footer-text) !important;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-column ul li a:hover {
    color: var(--footer-accent) !important;
}

.contact-list li {
    display: flex !important;
    align-items: center;
    gap: 1rem;
}

.contact-list li i {
    color: var(--footer-accent);
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

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

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--footer-text) !important;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--footer-accent);
    color: #000 !important;
    border-color: var(--footer-accent);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
}

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

/* Widgets Placeholder Styling */
.widget-area {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.widget-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
}

/* Responsive - Tablet */
@media (max-width: 900px) {
    .footer-section {
        padding: 7rem 1.5rem 1rem;
        /* Slightly less top padding, reduced bottom */
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
        /* Reduced gap */
        margin-bottom: 2rem;
    }

    .footer-contact {
        grid-column: 1 / -1;
    }

    .widget-area {
        grid-template-columns: 1fr 1fr;
        /* Keep side-by-side if space allows, or 1fr if very narrow */
        gap: 1rem;
        margin-top: 1.5rem;
        padding-top: 1rem;
    }

    .footer-heading {
        font-size: 18px;
        /* Reduced from 20px */
        margin-bottom: 0.75rem;
    }

    .footer-column ul li a, .footer-column ul li span {
        font-size: 15px;
        /* Reduced from 16px */
    }

    .footer-column ul li {
        margin-bottom: 0.5rem;
    }
}

/* Responsive - Mobile */
@media (max-width: 600px) {
    .footer-section {
        padding: 6rem 1rem 1rem;
    }

    .footer-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        /* Two columns for Links & Legal */
        text-align: center;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .footer-contact {
        grid-column: 1 / -1;
        /* Contact takes full width */
        margin-bottom: 0.5rem;
    }

    .footer-heading {
        font-size: 16px;
        margin-bottom: 0.5rem;
    }

    .footer-column ul li a, .footer-column ul li span {
        font-size: 14px;
    }

    .footer-column ul li {
        margin-bottom: 0.4rem;
    }

    .contact-list li {
        justify-content: center;
        margin-bottom: 0.4rem;
    }

    .footer-social {
        justify-content: center;
        gap: 0.75rem;
        margin-top: 0.75rem;
    }

    .footer-social a {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .footer-bottom {
        padding-top: 0.75rem;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }

    .footer-copyright {
        font-size: 0.75rem;
    }

    .widget-area {
        gap: 1rem;
        margin-top: 1.5rem;
        padding-top: 1rem;
    }

    .widget-box {
        padding: 0.75rem;
    }
}

/* Responsive - Small Mobile */
@media (max-width: 400px) {
    .footer-section {
        padding: 2rem 0.75rem 1rem;
    }

    .footer-heading {
        font-size: 16px;
    }

    .footer-column ul li a, .footer-column ul li span {
        font-size: 14px;
    }

    .footer-social a {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .footer-copyright {
        font-size: 0.75rem;
    }
}