/* ==============================================================================
| MAIN STYLES (SAFE & GLOBAL)                                                |
==============================================================================
| This file contains styles shared across the ENTIRE website, including the
| prayer and donate pages. It does NOT contain any complex animation code.
*/

/* General Body & Scroll Behavior */
body {
    background-color: #020C17; /* midnight-abyss */
}

/* Custom scrollbar for webkit browsers */
body::-webkit-scrollbar { width: 8px; }
body::-webkit-scrollbar-track { background: #020C17; }
body::-webkit-scrollbar-thumb {
    background-color: #455A64; /* horizon-grey */
    border-radius: 10px;
    border: 2px solid #020C17;
}

/* --- SHARED STYLES (Apply to all pages) --- */

/* Universal container for centering content */
.content-container {
    position: relative;
    z-index: 10;
    width: 100%;
    display: flex;
    flex-direction: column;
    /* justify-content: center; <-- This was removed. Alignment is now handled in home-animation.css */
    align-items: center;
    padding: 2rem;
    text-align: center;
}

/* --- [REMOVED] .text-hero-steel class --- */
/* This complex style was removed. 
    StylING is now handled by simpler Tailwind utilities in index.html:
    - text-white-smoke
    - text-shadow (from Tailwind config)
*/


/* --- [NEW] Professional Section Header (Attempt 3) --- */
.section-header {
    position: relative;
    padding-bottom: 1rem; /* 16px */
    display: inline-block; /* Ensures the ::after is relative to the text width */
}
.section-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4.5rem; /* 72px */
    height: 4px; /* Thicker line */
    background-color: #455A64; /* CHANGED: was sun-teal */
    border-radius: 2px;
}


/* Background Elements */
.video-background-container, .background-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.video-background {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* filter: brightness(0.5); <-- [REMOVED] This was darkening the video */
}

/* [REMOVED] Brightness filter for #values section video */
/*
#values .video-background {
    filter: brightness(0.5);
}
*/

.background-image-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(2, 12, 23, 0.7); /* midnight-abyss with opacity */
}

/* [FIXED] Utility class to remove the background overlay */
.background-image-container.no-overlay::after {
    background-color: transparent; /* More direct override */
}


/* --- UNIFIED "BRUSHED STEEL" BUTTON STYLES --- */
.nav-link {
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    color: #F0F0F0; /* white-smoke */
    text-shadow: 0 1px 1px rgba(0,0,0,0.5);
    /* Brushed steel gradient stack */
    background-image: 
        linear-gradient(to right, rgba(255,255,255,0.05), rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05)), /* Horizontal sheen */
        linear-gradient(to bottom, rgba(70,70,70,0.5), rgba(40,40,40,0.5) 50%, rgba(30,30,30,0.5)); /* Metallic base */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Top edge */
    border-top-color: rgba(255, 255, 255, 0.15);
    border-bottom-color: rgba(0, 0, 0, 0.3);
    box-shadow: 
        inset 0 1px 0 rgba(255,255,255,0.08), /* Inner top highlight */
        0 2px 3px rgba(0,0,0,0.5); /* Drop shadow */
    transition: all 0.15s ease-out;
}
.nav-link:hover {
    background-color: rgba(69, 90, 100, 0.1); /* CHANGED: was sun-teal glow */
    border-color: rgba(69, 90, 100, 0.7); /* CHANGED: was sun-teal */
    color: #F0F0F0;
}
.nav-link:active {
    transform: translateY(1px); /* Press down effect */
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.7); /* Inset shadow */
    background-image: linear-gradient(to top, rgba(255,255,255,0.05), rgba(0,0,0,0.2));
}
.nav-link.active {
    color: #455A64; /* CHANGED: was sun-teal */
    border-color: #455A64; /* CHANGED: was sun-teal */
    background-color: rgba(69, 90, 100, 0.15); /* CHANGED: was sun-teal */
    box-shadow: 
        inset 0 1px 2px rgba(0,0,0,0.7), /* Inset shadow */
        0 1px 1px rgba(0,0,0,0.3);
}


/* Content fade-in animation */
.scroll-animate-content {
    opacity: 0;
    transform: translateY(30px);
    /* [UPDATED] Slower content fade-in */
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
    transition-delay: 0.2s;
}
.scroll-animate-content.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- [NEW] Custom aspect ratio for service video --- */
.aspect-4-3 {
    aspect-ratio: 4 / 3;
}

/* --- Form Styles for prayer.php & donate.php --- */
.form-input {
    background-color: rgba(11, 48, 88, 0.5); /* gradient-start with opacity */
    border: 1px solid #455A64; /* horizon-grey */
    color: #F0F0F0; /* white-smoke */
    margin-top: 0.25rem;
    display: block;
    width: 100%;
    border-radius: 0.375rem;
    padding: 0.5rem 0.75rem;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
.form-input::placeholder {
    color: rgba(240, 240, 240, 0.4);
}
.form-input:focus {
    outline: none;
    border-color: #455A64; /* CHANGED: was sun-teal */
    box-shadow: 0 0 0 2px rgba(69, 90, 100, 0.5); /* CHANGED: was sun-teal */
}
.form-checkbox {
    height: 1rem;
    width: 1rem;
    border-radius: 0.25rem;
    border-color: #455A64;
    background-color: rgba(11, 48, 88, 0.5);
    color: #455A64; /* CHANGED: was sun-teal */
}
.form-checkbox:focus {
    ring: #455A64; /* CHANGED: was sun-teal */
}

/* Spinner for prayer.php button */
.spinner {
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Honeypot field for prayer.php */
.hidden-website-field {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
}

/* --- Donate Page Specific Button --- */
.btn-donate {
    display: inline-block;
    background-color: #455A64; /* CHANGED: was sun-teal */
    color: #F0F0F0; /* CHANGED: was midnight-abyss */
    font-weight: bold;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease-out;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.btn-donate:hover {
    background-color: #5a707c; /* CHANGED: Lighter grey */
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
    transform: translateY(-2px);
}
.btn-donate:active {
    transform: translateY(0px);
    background-color: #384a53; /* CHANGED: Darker grey */
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.3);
}
