/* ============================================
   WOODVILLE BAPTIST CHURCH — Design System
   Premium NPO Website Stylesheet
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600;700&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
    /* Colors */
    --primary:        #1B365D;
    --primary-light:  #2A4A7A;
    --primary-dark:   #0F2340;
    --secondary:      #C8A951;
    --secondary-light:#D4BC72;
    --secondary-dark: #A88B3A;
    --accent:         #7B2D3F;
    --accent-light:   #9B4358;
    --bg-cream:       #FAF8F5;
    --bg-light:       #F0EDE8;
    --bg-white:       #FFFFFF;
    --text-dark:      #2D2D2D;
    --text-medium:    #555555;
    --text-light:     #888888;
    --border-color:   #E0DCD5;
    --success:        #2E7D4F;
    --error:          #C0392B;

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --space-xs:  0.25rem;
    --space-sm:  0.5rem;
    --space-md:  1rem;
    --space-lg:  1.5rem;
    --space-xl:  2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Layout */
    --max-width:     1200px;
    --header-height: 80px;
    --border-radius: 8px;
    --border-radius-lg: 16px;

    /* Shadows */
    --shadow-sm:  0 1px 3px rgba(27,54,93,0.08);
    --shadow-md:  0 4px 12px rgba(27,54,93,0.12);
    --shadow-lg:  0 8px 30px rgba(27,54,93,0.15);
    --shadow-xl:  0 12px 40px rgba(27,54,93,0.2);

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-cream);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary);
}

ul, ol {
    list-style: none;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1.3;
    font-weight: 600;
}

h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: clamp(1rem, 2vw, 1.2rem); }

p {
    margin-bottom: var(--space-md);
    color: var(--text-medium);
    line-height: 1.8;
}

/* ---------- Utility Classes ---------- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.section {
    padding: var(--space-4xl) 0;
}

.section-alt {
    background-color: var(--bg-light);
}

.section-dark {
    background-color: var(--primary);
    color: var(--bg-cream);
}

.section-dark h2, .section-dark h3, .section-dark h4 {
    color: var(--bg-cream);
}

.section-dark p {
    color: rgba(250,248,245,0.85);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-3xl);
}

.section-header h2 {
    margin-bottom: var(--space-md);
    position: relative;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--secondary-light));
    margin: var(--space-md) auto 0;
    border-radius: 2px;
}

.section-header p {
    font-size: 1.05rem;
}

.text-center { text-align: center; }
.text-gold   { color: var(--secondary); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--bg-cream);
    box-shadow: 0 4px 15px rgba(27,54,93,0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(27,54,93,0.4);
    color: var(--bg-cream);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
    color: var(--primary-dark);
    box-shadow: 0 4px 15px rgba(200,169,81,0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200,169,81,0.4);
    color: var(--primary-dark);
}

.btn-outline {
    background: transparent;
    color: var(--bg-cream);
    border: 2px solid var(--bg-cream);
}

.btn-outline:hover {
    background: var(--bg-cream);
    color: var(--primary);
}

.btn-donate {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: var(--primary-dark);
    font-weight: 700;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(200,169,81,0.4);
}

.btn-donate:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(200,169,81,0.5);
    color: var(--primary-dark);
}

/* ---------- HEADER ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition);
    height: var(--header-height);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
    height: 70px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

/* Logo & Brand */
.header-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
    text-decoration: none;
}

.header-brand:hover { color: var(--primary); }

.header-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    transition: var(--transition);
}

.site-header.scrolled .header-logo {
    width: 40px;
    height: 40px;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
    white-space: nowrap;
}

.brand-tagline {
    font-size: 0.7rem;
    color: var(--text-light);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-shrink: 0;
    white-space: nowrap;
}

.main-nav a {
    padding: 0.5rem 0.85rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-dark);
    border-radius: var(--border-radius);
    transition: var(--transition);
    white-space: nowrap;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0.25rem;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition);
    border-radius: 2px;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 60%;
}

.main-nav a:hover {
    color: var(--primary);
}

.main-nav a.active {
    color: var(--primary);
    font-weight: 600;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- HERO SECTION ---------- */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: var(--header-height);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15,35,64,0.85) 0%,
        rgba(27,54,93,0.75) 40%,
        rgba(123,45,63,0.5) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: var(--space-xl);
    animation: fadeInUp 1s ease;
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: rgba(200,169,81,0.2);
    border: 1px solid rgba(200,169,81,0.4);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--secondary-light);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: var(--space-lg);
}

.hero h1 {
    color: var(--bg-cream);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    margin-bottom: var(--space-lg);
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero-subtitle {
    color: rgba(250,248,245,0.9) !important;
    font-size: 1.15rem;
    margin-bottom: var(--space-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- CARDS ---------- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-body {
    padding: var(--space-xl);
}

.card-body h3 {
    margin-bottom: var(--space-sm);
}

.card-body p {
    font-size: 0.95rem;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
}

/* Service Time Cards */
.service-card {
    text-align: center;
    padding: var(--space-2xl);
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--secondary-light));
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-card .card-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
}

.service-card h3 {
    font-size: 1.15rem;
    margin-bottom: var(--space-sm);
}

.service-card .service-time {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--space-xs);
}

.service-card .service-day {
    color: var(--secondary-dark);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---------- FEATURE SECTION ---------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.feature-item {
    text-align: center;
    padding: var(--space-2xl);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(200,169,81,0.15), rgba(200,169,81,0.05));
    border-radius: 50%;
    font-size: 1.8rem;
}

/* ---------- IMAGE SECTION ---------- */
.img-rounded {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.two-col.reverse {
    direction: rtl;
}

.two-col.reverse > * {
    direction: ltr;
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: var(--space-4xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(200,169,81,0.08);
    border-radius: 50%;
}

.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: rgba(200,169,81,0.06);
    border-radius: 50%;
}

.cta-banner h2 {
    color: var(--bg-cream);
    margin-bottom: var(--space-md);
    position: relative;
    z-index: 1;
}

.cta-banner p {
    color: rgba(250,248,245,0.85);
    max-width: 600px;
    margin: 0 auto var(--space-xl);
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.cta-banner .btn {
    position: relative;
    z-index: 1;
}

/* ---------- GALLERY ---------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(27,54,93,0);
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover::after {
    background: rgba(27,54,93,0.3);
}

/* Gallery Lightbox */
.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-overlay img {
    max-width: 85vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-xl);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2.5rem;
    color: white;
    cursor: pointer;
    z-index: 10001;
    background: none;
    border: none;
    line-height: 1;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5rem;
    color: white;
    cursor: pointer;
    background: rgba(255,255,255,0.1);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.lightbox-nav:hover {
    background: rgba(255,255,255,0.2);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ---------- CONTACT FORM ---------- */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-sm);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(200,169,81,0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

/* ---------- MAP ---------- */
.map-container {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: 0;
}

/* ---------- INFO CARDS ---------- */
.info-card {
    padding: var(--space-xl);
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--border-color);
}

.info-item:last-child {
    border-bottom: none;
}

.info-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(200,169,81,0.1);
    border-radius: 50%;
}

.info-text h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
    margin-bottom: 2px;
}

.info-text p {
    margin: 0;
    font-weight: 500;
    color: var(--text-dark);
}

.info-text a {
    color: var(--primary);
    font-weight: 500;
}

/* ---------- PAGE HEADER ---------- */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-3xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: rgba(200,169,81,0.08);
    border-radius: 50%;
}

.page-header h1 {
    color: var(--bg-cream);
    margin-bottom: var(--space-md);
}

.page-header p {
    color: rgba(250,248,245,0.85);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    margin-bottom: var(--space-lg);
    font-size: 0.85rem;
}

.breadcrumb a {
    color: var(--secondary-light);
}

.breadcrumb span {
    color: rgba(250,248,245,0.6);
    margin: 0 0.5rem;
}

/* ---------- FOOTER ---------- */
.site-footer {
    background: var(--primary-dark);
    color: rgba(250,248,245,0.8);
}

.footer-main {
    padding: var(--space-4xl) 0 var(--space-2xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: var(--space-3xl);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: var(--space-lg);
    text-decoration: none;
}

.footer-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.footer-brand-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--bg-cream);
    line-height: 1.2;
}

.footer-about p {
    font-size: 0.9rem;
    color: rgba(250,248,245,0.65);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
}

.footer-social a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(250,248,245,0.08);
    border-radius: 50%;
    color: rgba(250,248,245,0.7);
    font-size: 1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--secondary);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

.footer-col h4 {
    color: var(--bg-cream);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-lg);
    position: relative;
    padding-bottom: var(--space-sm);
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--secondary);
}

.footer-col ul li {
    margin-bottom: var(--space-sm);
}

.footer-col ul li a {
    color: rgba(250,248,245,0.65);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-md) !important;
    font-size: 0.9rem;
    color: rgba(250,248,245,0.65);
}

.footer-contact .icon {
    flex-shrink: 0;
    color: var(--secondary);
}

.newsletter-form {
    display: flex;
    gap: 0;
    margin-top: var(--space-md);
}

.newsletter-form input {
    flex: 1;
    padding: 0.7rem 1rem;
    background: rgba(250,248,245,0.08);
    border: 1px solid rgba(250,248,245,0.15);
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    color: var(--bg-cream);
    font-family: var(--font-body);
    font-size: 0.85rem;
    outline: none;
    transition: var(--transition);
}

.newsletter-form input::placeholder {
    color: rgba(250,248,245,0.4);
}

.newsletter-form input:focus {
    border-color: var(--secondary);
}

.newsletter-form button {
    padding: 0.7rem 1.2rem;
    background: var(--secondary);
    color: var(--primary-dark);
    border: none;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.85rem;
}

.newsletter-form button:hover {
    background: var(--secondary-light);
}

.footer-bottom {
    padding: var(--space-lg) 0;
    border-top: 1px solid rgba(250,248,245,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
    font-size: 0.82rem;
    color: rgba(250,248,245,0.5);
}

.footer-legal a {
    color: rgba(250,248,245,0.5);
    margin-left: var(--space-lg);
}

.footer-legal a:hover {
    color: var(--secondary);
}

/* ---------- SCROLL ANIMATIONS ---------- */
.fade-in {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ---------- MINISTRY CARDS ---------- */
.ministry-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.ministry-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.ministry-card-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.ministry-card-body {
    padding: var(--space-xl);
}

.ministry-card-body h3 {
    margin-bottom: var(--space-sm);
    font-size: 1.2rem;
}

.ministry-card-body p {
    font-size: 0.92rem;
    margin-bottom: var(--space-md);
}

/* ---------- TIMELINE ---------- */
.timeline {
    position: relative;
    padding: var(--space-xl) 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--border-color);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: calc(50% + 30px);
    margin-bottom: var(--space-2xl);
    position: relative;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: calc(50% + 30px);
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: var(--secondary);
    border: 3px solid var(--bg-cream);
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

.timeline-content {
    background: var(--bg-white);
    padding: var(--space-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    max-width: 400px;
}

.timeline-year {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--secondary-dark);
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

/* ---------- BELIEFS ---------- */
.beliefs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.belief-item {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-xl);
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.belief-item:hover {
    box-shadow: var(--shadow-md);
}

.belief-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(27,54,93,0.08), rgba(200,169,81,0.08));
    border-radius: 50%;
    font-size: 1.4rem;
}

.belief-text h4 {
    font-family: var(--font-heading);
    margin-bottom: var(--space-xs);
}

.belief-text p {
    font-size: 0.9rem;
    margin: 0;
}

/* ---------- SCHEDULE TABLE ---------- */
.schedule-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.schedule-table thead {
    background: var(--primary);
}

.schedule-table th {
    padding: 1rem var(--space-xl);
    text-align: left;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--bg-cream);
}

.schedule-table td {
    padding: 1rem var(--space-xl);
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.schedule-table tr:last-child td {
    border-bottom: none;
}

.schedule-table tr:hover td {
    background: rgba(200,169,81,0.05);
}

/* ---------- ALERT / SUCCESS MESSAGE ---------- */
.alert {
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--border-radius);
    margin-bottom: var(--space-xl);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.alert-success {
    background: rgba(46,125,79,0.1);
    color: var(--success);
    border: 1px solid rgba(46,125,79,0.2);
}

.alert-error {
    background: rgba(192,57,43,0.1);
    color: var(--error);
    border: 1px solid rgba(192,57,43,0.2);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        padding-right: 0;
        padding-left: 50px;
        justify-content: flex-start;
    }

    .timeline-item:nth-child(even) {
        padding-left: 50px;
    }

    .timeline-dot {
        left: 20px;
    }

    .timeline-content {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 65px;
    }

    .container {
        padding: 0 var(--space-md);
    }

    .section {
        padding: var(--space-3xl) 0;
    }

    /* Mobile Nav */
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        align-items: flex-start;
        padding: calc(var(--header-height) + var(--space-xl)) var(--space-xl) var(--space-xl);
        box-shadow: var(--shadow-xl);
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        gap: 0;
        z-index: 999;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav a {
        font-size: 1rem;
        padding: 0.85rem 0;
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }

    .menu-toggle {
        display: flex;
    }

    .header-actions .btn-donate {
        font-size: 0.75rem;
        padding: 0.55rem 1rem;
    }

    .mobile-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 998;
    }

    .mobile-overlay.active {
        display: block;
    }

    /* Hero */
    .hero {
        min-height: 70vh;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    /* Two-col layout */
    .two-col {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .two-col.reverse {
        direction: ltr;
    }

    /* Cards */
    .card-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        display: flex;
        gap: var(--space-md);
    }

    .footer-legal a {
        margin-left: 0;
    }

    /* Form */
    .form-row {
        grid-template-columns: 1fr;
    }

    /* Beliefs */
    .beliefs-grid {
        grid-template-columns: 1fr;
    }

    /* Breadcrumb */
    .page-header {
        padding: calc(var(--header-height) + var(--space-2xl)) 0 var(--space-2xl);
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-sm);
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .service-card {
        padding: var(--space-xl);
    }
}

/* ---------- PRINT ---------- */
@media print {
    .site-header,
    .site-footer,
    .menu-toggle,
    .btn-donate,
    .hero {
        display: none;
    }

    body {
        font-size: 12pt;
        color: #000;
        background: #fff;
    }
}
