/* ==========================================================================
   PREMIUM EDITORIAL FOOTER STYLES
   ========================================================================== */
.site-footer {
    background-color: var(--color-primary);
    /* Same as Mission/Vision background (#285665) */
    color: #FFFFFF;
    padding: 2rem 0 0 0;
    position: relative;
    z-index: 5;
    border-top: 1px solid rgba(191, 162, 118, 0.15);
    /* Gold divider */
    opacity: 0;
    transition: opacity 1.6s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    /* Hide overflow from large background logo */
}

.site-footer.reveal-active,
.site-footer.revealed {
    opacity: 1;
}

/* Background Logo styling */
.footer-bg-logo {
    position: absolute;
    bottom: -5%;
    right: -2%;
    width: 520px;
    height: 520px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.07;
    /* Clear visibility while staying as a background watermark */
    pointer-events: none;
    z-index: 1;
}

.footer-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 3.5rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1.2fr 1.2fr;
    gap: 4rem;
    position: relative;
    z-index: 2;
    /* Keep above background logo */
}

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

/* Brand Column */
.footer-logo-link {
    display: inline-block;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-logo-link:hover {
    opacity: 0.85;
}

.footer-logo-img {
    height: 150px;
    width: auto;
    object-fit: contain;
}

.footer-brand-desc {
    font-family: var(--font-body);
    font-size: 13.5px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
    margin: 1.5rem 0 2rem 0;
    /* Add 1.5rem top margin to separate from the logo */
    max-width: 280px;
}

.footer-social-links {
    display: flex;
    gap: 0.75rem;
}

.footer-social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: transparent;
    color: rgba(255, 255, 255, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-social-btn svg {
    width: 16px;
    height: 16px;
}

.footer-social-btn:hover {
    border-color: var(--color-accent);
    background-color: var(--color-accent);
    color: #FFFFFF;
    transform: translateY(-3px);
}

/* Titles */
.footer-column-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-accent);
    /* Golden Highlight */
    margin: 0 0 2rem 0;
    letter-spacing: 0.05em;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-column-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 1px;
    background-color: var(--color-accent);
    opacity: 0.5;
}

/* Nav Links Column */
.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-link {
    font-family: var(--font-body);
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-block;
}

.footer-link:hover {
    color: var(--color-accent);
    transform: translateX(4px);
}

/* Contact Column */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-family: var(--font-body);
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-contact-item a:hover {
    color: var(--color-accent);
}

.contact-icon {
    width: 16px;
    height: 16px;
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

/* Quote/Values Column */
.footer-quote-wrap {
    display: flex;
    flex-direction: column;
    border-left: 2px solid var(--color-accent);
    padding-left: 1.25rem;
}

.footer-quote-text {
    font-family: 'Playfair Display', serif;
    font-size: 13.5px;
    font-style: italic;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    margin: 0 0 0.75rem 0;
}

.footer-quote-author {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    text-transform: uppercase;
}

/* Footer Bottom copyright */
.footer-bottom {
    margin-top: 3rem;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 3.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-body);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-bottom-link {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    transition: color 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-bottom-link:hover {
    color: var(--color-accent);
}

.footer-bottom-separator {
    opacity: 0.3;
}

.footer-credit {
    font-family: var(--font-body);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
}

.footer-credit-brand {
    color: var(--color-accent);
    /* Golden color for contrast */
    font-weight: 700;
    text-decoration: none;
    transition: color 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-credit-brand:hover {
    color: #FFFFFF;
}

/* ==========================================================================
   RESPONSIVE RULES FOR FOOTER
   ========================================================================== */
@media (max-width: 992px) {

    .footer-brand-desc {
        margin: 1.5rem 0 0rem 0;
    }

    .site-footer {
        padding: 5rem 0 0 0;
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
        padding: 0 2.5rem;
    }

    .footer-brand-desc {
        max-width: 100%;
    }

    .footer-bottom-container {
        padding: 0 2.5rem;
    }
}

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

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 0 1.5rem;
    }

    .footer-column-title {
        margin-bottom: 1.5rem;
    }

    .footer-bottom {
        margin-top: 2.5rem;
    }

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

    .footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem 0.75rem;
    }
}