/* ========================================
   SITE FOOTER
   ======================================== */
.site-footer {
    background: var(--navy-blue);
    color: var(--white);
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--coral);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-section p {
    line-height: 1.6;
    opacity: 0.9;
}

/* ========================================
   FOOTER CONTACT
   ======================================== */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.footer-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.footer-contact a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
    word-break: break-word;
}

.footer-contact a:hover {
    color: var(--coral);
}

/* ========================================
   FOOTER LINKS
   ======================================== */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--coral);
    transform: translateX(5px);
}

/* ========================================
   FOOTER BOTTOM
   ======================================== */
.footer-bottom {
    border-top: 1px solid rgba(232, 166, 135, 0.3);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    margin: 0.5rem 0;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* ========================================
   TABLET RESPONSIVE (768px and below)
   ======================================== */
@media (max-width: 768px) {
    .site-footer {
        padding: 2.5rem 1.5rem 1rem;
        margin-top: 3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-section h3 {
        font-size: 1.2rem;
    }

    .footer-contact {
        align-items: center;
    }

    .footer-contact p {
        justify-content: center;
    }

    .footer-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem 1.5rem;
    }

    .footer-links li {
        margin-bottom: 0;
    }

    .footer-links a:hover {
        transform: none;
        text-decoration: underline;
    }

    .footer-bottom {
        padding-top: 1.2rem;
    }

    .footer-bottom p {
        font-size: 0.85rem;
    }
}

/* ========================================
   SMALL PHONE RESPONSIVE (480px and below)
   ======================================== */
@media (max-width: 480px) {
    .site-footer {
        padding: 2rem 1rem 1rem;
        margin-top: 2rem;
    }

    .footer-grid {
        gap: 1.5rem;
    }

    .footer-section h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }

    .footer-section p {
        font-size: 0.9rem;
    }

    .footer-contact a {
        font-size: 0.9rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.8rem;
    }

    .footer-links a {
        font-size: 0.95rem;
        padding: 0.3rem 0;
    }

    .footer-bottom p {
        font-size: 0.8rem;
        line-height: 1.5;
    }
}

/* ========================================
   TOUCH DEVICE OPTIMIZATIONS
   ======================================== */
@media (hover: none) and (pointer: coarse) {
    .footer-links a,
    .footer-contact a {
        padding: 0.5rem 0;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    .footer-links a:hover {
        transform: none;
    }
}

/* Footer title link - no purple, inherits heading color */
.footer-title-link {
    color: inherit;
    text-decoration: none;
}

.footer-title-link:hover {
    color: var(--coral);
}

.footer-title-link:visited {
    color: inherit;
}