/* ==========================================
   FOOTER - Ported from GhostSite1 Footer.astro
   ========================================== */

.footer {
    background: var(--gy-charcoal);
    color: #fff;
    padding: 6rem 4rem 3rem;
}

.footer-container {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Brand Column */
.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.8;
    opacity: 0.8;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Section Titles */
.footer-section h4 {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: var(--gy-turquoise);
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.875rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.3s var(--ease-smooth);
    position: relative;
    display: inline-block;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gy-turquoise);
    transition: width 0.3s var(--ease-smooth);
}

.footer-links a:hover {
    color: var(--gy-turquoise);
}

.footer-links a:hover::after {
    width: 100%;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.4s var(--ease-smooth);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--gy-turquoise);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s var(--ease-smooth);
}

.social-link:hover {
    border-color: var(--gy-turquoise);
    color: #fff;
}

.social-link:hover::before {
    width: 150%;
    height: 150%;
}

/* Footer Bottom */
.footer-bottom {
    max-width: 1600px;
    margin: 0 auto;
    padding-top: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    opacity: 0.6;
}

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

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

.footer-bottom-right a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-right a:hover {
    color: var(--gy-turquoise);
}

.footer-sep {
    color: rgba(255, 255, 255, 0.3);
}

/* ==========================================
   RESPONSIVE FOOTER
   ========================================== */

@media (max-width: 1200px) {
    .footer {
        padding: 4rem 2rem 2rem;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

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

@media (max-width: 768px) {
    .footer {
        padding: 3rem 1.25rem 2rem;
        /* Account for fixed mobile contact bar */
        padding-bottom: calc(2rem + 56px);
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-section h4 {
        margin-bottom: 1rem;
    }

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

    .footer-bottom-right {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-brand img {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 2.5rem 1rem 2rem;
        padding-bottom: calc(2rem + 56px);
    }

    .footer-container {
        gap: 1.75rem;
    }

    .footer-bottom p {
        font-size: 0.8rem;
    }

    .footer-bottom-right a {
        font-size: 0.8rem;
    }
}
