/* ================================================
   FOOTER
   Sanctuary design - Peaceful, sacred, welcoming
   ================================================ */

.footer {
    background: linear-gradient(180deg, #f8f5f0 0%, #f0ebe0 100%);
    color: #2d2d2d;
    padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
    margin-top: auto;
    border-top: 3px solid #D4AF37;
    position: relative;
    overflow: hidden;
}

/* Subtle background pattern */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #D4AF37, transparent);
    opacity: 0.3;
}

.footer__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 2.5rem);
    position: relative;
    z-index: 1;
}

.footer__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.footer__section {
    animation: fadeInUp 0.6s ease-out;
}

.footer__section:nth-child(2) { animation-delay: 0.1s; }
.footer__section:nth-child(3) { animation-delay: 0.2s; }
.footer__section:nth-child(4) { animation-delay: 0.3s; }

/* Section Headings */
.footer__section h3 {
    color: #1a1a1a;
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-size: clamp(1.3rem, 2vw, 1.5rem);
    margin-bottom: 1.5rem;
    letter-spacing: 0.03em;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer__section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: #D4AF37;
    border-radius: 2px;
}

/* Sanctuary Verse/Quote */
.footer__verse {
    font-family: 'Crimson Text', 'Georgia', serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a4a4a;
    font-style: italic;
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 3px solid rgba(212, 175, 55, 0.3);
}

.footer__section p {
    color: #555;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

/* Links Section */
.footer__links {
    list-style: none;
    padding: 0;
}

.footer__links li {
    margin-bottom: 0.85rem;
    position: relative;
    padding-left: 1.25rem;
}

.footer__links li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #D4AF37;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateX(-5px);
}

.footer__links li:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer__links a {
    color: #333;
    text-decoration: none;
    font-family: 'Crimson Text', 'Georgia', serif;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 0.15rem 0;
    border-bottom: 1px solid transparent;
}

.footer__links a:hover {
    color: #D4AF37;
    border-bottom-color: #D4AF37;
    transform: translateX(3px);
}

/* Contact Info */
.footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.footer__contact-icon {
    color: #D4AF37;
    font-size: 1.2rem;
    min-width: 1.5rem;
    margin-top: 0.15rem;
}

.footer__contact-details {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
}

.footer__contact-details a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer__contact-details a:hover {
    color: #D4AF37;
}

/* Social Media Icons - Elegant Style */
.footer__social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #e0d6c2;
    font-size: 1.1rem;
}

.footer__social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    color: #fff;
}

.footer__social-link:hover .fa-facebook-f { color: #1877f2; }
.footer__social-link:hover .fa-youtube { color: #ff0000; }
.footer__social-link:hover .fa-instagram { 
    background: linear-gradient(45deg, #833ab4, #fd1d1d, #fcb045);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.footer__social-link:hover .fa-envelope { color: #ea4335; }
.footer__social-link:hover .fa-whatsapp { color: #25D366; }

/* Map Section - Peaceful Integration */
.footer__map-wrapper {
    margin-top: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.footer__map-wrapper:hover {
    transform: translateY(-5px);
}

.footer__map-wrapper iframe {
    width: 100%;
    height: 200px;
    border: none;
    display: block;
}

/* Footer Bottom - Minimal & Sacred */
.footer__bottom {
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding-top: 2rem;
    text-align: center;
}

.footer__copyright {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    font-family: 'Crimson Text', 'Georgia', serif;
}

.footer__credit {
    color: #777;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer__credit a {
    color: #D4AF37;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.2rem 0;
}

.footer__credit a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #D4AF37;
    transition: width 0.3s ease;
}

.footer__credit a:hover {
    color: #b8941f;
}

.footer__credit a:hover::after {
    width: 100%;
}

/* Prayer Request Callout */
.footer__prayer-cta {
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 2rem;
    text-align: center;
}

.footer__prayer-cta p {
    color: #444;
    margin-bottom: 1rem;
    font-style: italic;
}

.footer__prayer-btn {
    display: inline-block;
    background: transparent;
    color: #D4AF37;
    border: 2px solid #D4AF37;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer__prayer-btn:hover {
    background: #D4AF37;
    color: #fff;
    transform: translateY(-2px);
}

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

@media (max-width: 768px) {
    .footer__content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer__section h3::after {
        width: 40px;
    }
    
    .footer__social {
        justify-content: center;
    }
    
    .footer__map-wrapper {
        height: 180px;
    }
    
    .footer__map-wrapper iframe {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 2.5rem 0 2rem;
    }
    
    .footer__container {
        padding: 0 1.25rem;
    }
    
    .footer__contact-item {
        gap: 0.75rem;
    }
    
    .footer__prayer-cta {
        padding: 1.25rem;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ensure footer maintains sanctuary feel */
footer * {
    font-smooth: antialiased;
    -webkit-font-smoothing: antialiased;
}

/* Optional: Add subtle cross pattern in background */
.footer__sacred-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.03) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(212, 175, 55, 0.03) 0%, transparent 20%);
    pointer-events: none;
    z-index: 0;
}