/**
 * Footer Styles
 * Mobile-first design
 */

/* ============================================================================
   MOUNTAIN BACKGROUND / CUSTOMER SERVICE
   ========================================================================== */

.mountain-background {
    background-color: var(--off-white);
    padding: 3rem 0;
}

.customer-service-info {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.customer-service-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.customer-service-col {
    text-align: center;
}

.customer-service-col h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-grey);
}

.customer-service-col p {
    color: var(--dark-grey);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.customer-service-col a:not(.faq-button) {
    color: var(--forest-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

.customer-service-col a:not(.faq-button):hover {
    color: var(--dark-green-grey);
    text-decoration: underline;
}

.faq-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--forest-green) !important;
    color: white !important;
    text-decoration: none !important;
    border-radius: 8px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(93, 110, 79, 0.2);
    border: none;
    margin-top: 1rem;
    white-space: nowrap;
}

.faq-button:hover,
.faq-button:visited,
.faq-button:active,
.faq-button:focus {
    color: white !important;
    text-decoration: none !important;
}

.faq-button:hover {
    background-color: var(--dark-green-grey) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(93, 110, 79, 0.3);
}

.customer-service-divider {
    display: block;
    height: 1px;
    background-color: var(--light-grey);
    border: none;
    margin: 2rem 0;
}

/* ============================================================================
   MAIN FOOTER
   ========================================================================== */

.site-footer {
    background-color: var(--nasc-gray);
    color: white;
    padding: 3rem 0 1rem;
    position: relative;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ============================================================================
   FOOTER MENU
   ========================================================================== */

.footer-menu-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-menu-col {
    text-align: left;
}

.footer-menu-col h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.footer-menu-col h3 a {
    color: white;
    text-decoration: none;
}

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

.footer-menu-col li {
    margin-bottom: 0.5rem;
}

.footer-menu-col a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.3s ease;
}

.footer-menu-col a:hover {
    color: var(--cream);
}

/* ============================================================================
   AWARDS SECTION
   ========================================================================== */

.footer-awards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    text-align: center;
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-awards-logo img {
    max-width: 200px;
    height: auto;
    margin: 0 auto;
}

.footer-awards-logo:first-child img {
    filter: invert(1) brightness(1.1);
}

.footer-awards-logo:last-child img {
    max-width: 150px;
}

.footer-awards-text h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.footer-awards-text h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--sage-green);
}

/* ============================================================================
   NEWSLETTER SECTION
   ========================================================================== */

.footer-newsletter {
    max-width: 600px;
    margin: 3rem auto;
    padding: 2rem;
}

/* ============================================================================
   SOCIAL MEDIA
   ========================================================================== */

.social-media-section {
    text-align: center;
    margin: 2rem 0;
}

.social-media-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.social-media-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.social-media-links a:hover {
    background-color: var(--forest-green);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* ============================================================================
   COPYRIGHT
   ========================================================================== */

.footer-copyright {
    text-align: center;
    padding: 2rem 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
}

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

.footer-copyright a:hover {
    color: var(--cream);
}

/* ============================================================================
   BOTTOM MOBILE NAV
   ========================================================================== */

.bottom-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    border-top: 1px solid var(--light-grey);
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
    z-index: 999;
    padding: 0.5rem 0;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    color: var(--dark-grey);
    text-decoration: none;
    font-size: 0.75rem;
    padding: 0.5rem;
    flex: 1;
    transition: color 0.3s ease;
}

.bottom-nav-item:hover {
    color: var(--forest-green);
}

.bottom-nav-item .icon {
    font-size: 1.25rem;
}

/* ============================================================================
   TABLET STYLES
   ========================================================================== */

@media (min-width: 768px) {
    .customer-service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .customer-service-col {
        text-align: left;
    }

    .customer-service-col:last-child {
        grid-column: 1 / -1;
    }

    .customer-service-divider {
        display: none;
    }

    .footer-menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-awards {
        grid-template-columns: repeat(3, 1fr);
    }

    .bottom-nav {
        display: none;
    }
}

/* ============================================================================
   DESKTOP STYLES
   ========================================================================== */

@media (min-width: 1024px) {
    .customer-service-grid {
        grid-template-columns: 1fr 1fr 2fr;
    }

    .customer-service-col:last-child {
        grid-column: auto;
    }

    .footer-menu-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 2.5rem;
    }

    .site-footer {
        padding: 4rem 0 2rem;
    }
}
