/* ============================================================
   Lifeline Church — Cohesive Design System
   Warm · Clean · Inviting
   ============================================================ */

/* --- Design Tokens --- */
:root {
    --primary: #4882c2;
    --primary-hover: #396ba2;
    --primary-light: #e1eaf4;
    --accent: #71cde2;
    --accent-hover: #5bbbd2;
    --accent-soft: rgba(113, 205, 226, 0.10);
    --dark: #1e293b;
    --dark-soft: #334155;
    --surface: #f4f8fa;
    --surface-alt: #eaf2f6;
    --text: #475569;
    --text-light: #94a3b8;
    --white: #ffffff;
    --border: rgba(0, 0, 0, 0.06);
    --radius: 10px;
    --radius-sm: 6px;
    --radius-lg: 16px;
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 4px 12px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.10);
    --footer-bg: #1e293b;
    --gold: #71cde2;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);

    /* Hero display defaults — overridden by siteConfig.json at runtime */
    --hero-overlay-top: 0.55;
    --hero-overlay-mid: 0.40;
    --hero-overlay-bot: 0.65;
    --hero-brightness: 1.15;
    --hero-contrast: 0.95;
    --hero-crossfade-ms: 1800ms;
}

/* --- Reset --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 18px;
    /* Scales up 1rem from default 16px to 18px, making all text larger uniformly */
    scroll-behavior: smooth;
    /* Scroll-snap: each section locks into view */
    scroll-snap-type: y proximity;
    overflow-y: scroll;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.7;
    background: var(--white);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Layout --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center {
    text-align: center;
}

.section {
    padding: 5.5rem 0;
    scroll-snap-align: center;
}

.section-alt {
    background: var(--surface);
}

/* --- Typography --- */
h1,
h2,
h3 {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 3.2rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.2rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.15rem;
    font-weight: 600;
}

p {
    margin-bottom: 0.75rem;
}

/* Subtle accent line under h2 in sections */
.section h2,
.section-alt h2 {
    display: inline-block;
    position: relative;
    padding-bottom: 0.75rem;
}

.section h2::after,
.section-alt h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

/* Left-aligned h2 (map, about, ministries) override */
.map-details h2::after,
.about-text h2::after,
.ministries-text h2::after {
    left: 0;
    transform: none;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: color 0.2s var(--ease);
}

a:hover {
    color: var(--accent);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    z-index: 1000;
    padding: 0.9rem 0;
    border-bottom: 1px solid transparent;
    transition: padding 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}

.navbar.scrolled {
    padding: 0.55rem 0;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: var(--border);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.logo {
    height: 42px;
    width: 42px;
    object-fit: contain;
    border-radius: 8px;
}

.navbar-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--white);
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.01em;
    transition: color 0.4s var(--ease);
}

.navbar.scrolled .navbar-title {
    color: var(--dark);
}

.navbar-right {
    display: flex;
    gap: 1.75rem;
    align-items: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    padding: 0.2rem 0;
    letter-spacing: 0.01em;
    transition: color 0.4s var(--ease);
}

.navbar.scrolled .nav-link {
    color: var(--dark-soft);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
    transition: width 0.3s var(--ease);
}

.nav-link:hover {
    color: var(--white);
}

.navbar.scrolled .nav-link:hover {
    color: var(--dark);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--white);
    z-index: 1001;
    background: none;
    border: none;
    padding: 0.25rem;
    transition: color 0.4s var(--ease);
}

.navbar.scrolled .mobile-menu-btn {
    color: var(--dark);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--white);
    padding: 5rem 1.5rem 2rem;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    z-index: 999;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.08);
    flex-direction: column;
    gap: 0.25rem;
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav .nav-link {
    display: block;
    padding: 0.85rem 1rem;
    font-size: 1.05rem;
    border-radius: var(--radius-sm);
    color: var(--dark);
    transition: background 0.2s var(--ease);
}

.mobile-nav .nav-link::after {
    display: none;
}

.mobile-nav .nav-link:hover {
    background: var(--surface);
}

/* ============================================================
   LANDING / HERO
   ============================================================ */
.landing-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
    background: var(--dark);
    /* dark base so no gray flash ever shows */
    scroll-snap-align: center;
}

.landing-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: opacity var(--hero-crossfade-ms) ease-in-out;
    will-change: opacity;
    filter: brightness(var(--hero-brightness)) contrast(var(--hero-contrast));
}

#landing-bg {
    z-index: 1;
    opacity: 1;
}

#landing-bg-next {
    z-index: 2;
    opacity: 0;
}

.landing-overlay {
    position: absolute;
    inset: 0;
    /* Gradient opacity values are set dynamically from siteConfig via JS */
    background: linear-gradient(180deg,
            rgba(30, 41, 59, var(--hero-overlay-top)) 0%,
            rgba(30, 41, 59, var(--hero-overlay-mid)) 40%,
            rgba(30, 41, 59, var(--hero-overlay-bot)) 100%);
    z-index: 3;
}

.landing-content {
    position: relative;
    z-index: 4;
    max-width: 800px;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.landing-location {
    color: var(--gold, #71cde2);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.landing-content h1 {
    color: var(--white);
    font-size: 3.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.6), 0 2px 4px rgba(0, 0, 0, 0.4);
}

.landing-tagline {
    font-size: 1.3rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
    margin-bottom: 0.25rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6), 0 1px 3px rgba(0, 0, 0, 0.3);
}

.landing-divider {
    width: 60px;
    height: 3px;
    background-color: var(--gold, #71cde2);
    margin: 1.2rem auto;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.landing-service {
    font-size: 1.2rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.landing-time {
    display: block;
    margin-top: 0;
}

.landing-time span {
    color: var(--gold, #71cde2);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

/* ============================================================
   MAP SECTION
   ============================================================ */
.map-container,
.about-container,
.ministries-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.map-details,
.about-text,
.ministries-text {
    flex: 1;
}

.map-embed,
.about-images,
.video-container {
    flex: 1;
}

.map-embed iframe {
    width: 100%;
    height: 420px;
    border: 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.map-details h2 {
    font-size: 2rem;
}

.map-details h3 {
    color: var(--accent);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.map-details p {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
}

.map-details i {
    color: var(--accent);
    font-size: 0.95rem;
}

.map-details a {
    color: var(--primary);
}

.map-details a:hover {
    color: var(--accent);
}

/* ============================================================
   ABOUT US
   ============================================================ */
.about-images {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Center the pastor's face in his circle portrait — face sits upper-center of photo */
.about-images img:first-child {
    object-position: center 20%;
}

.about-images img {
    width: 210px;
    height: 210px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--white);
    box-shadow: var(--shadow-md);
    transition: transform 0.4s var(--ease);
}

.about-images img:hover {
    transform: scale(1.04);
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text);
}

/* ============================================================
   GALLERY — Clean photo category cards
   ============================================================ */
.gallery-container {
    --gallery-cols: 3;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.gallery-container .folder {
    /* Width based on column count, accounting for gaps */
    width: calc((100% - (var(--gallery-cols) - 1) * 1.5rem) / var(--gallery-cols));
    min-width: 200px;
}

.folder {
    background: var(--white);
    color: var(--dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    box-shadow: var(--shadow-xs);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
    cursor: pointer;
    min-height: 160px;
    position: relative;
    overflow: hidden;
}

.folder::before {
    content: '\f03e';
    /* Font Awesome image icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 2rem;
    color: var(--accent);
    opacity: 0.7;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.folder:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.folder:hover::before {
    opacity: 1;
    transform: scale(1.1);
}

.folder-name {
    color: var(--dark);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    text-shadow: none;
}

/* ============================================================
   EVENTS — Clean warm cards
   ============================================================ */
.events-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.event-box {
    padding: 1.75rem 1.5rem;
    text-align: left;
    color: var(--dark);
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    box-shadow: var(--shadow-xs);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.event-box:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.event-box h3 {
    color: var(--dark);
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.event-box p {
    color: var(--text);
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 0;
}

/* --- Event cards with flyers --- */
.event-box--has-flyer {
    padding: 0;
    overflow: hidden;
    border-left: none;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.event-box--has-flyer .event-box-text {
    padding: 1.25rem 1.5rem 1.5rem;
}

.event-flyer-wrap {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    line-height: 0;
}

.event-flyer {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s var(--ease);
}

.event-flyer-wrap:hover .event-flyer {
    transform: scale(1.04);
}

.event-flyer-zoom {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
    pointer-events: none;
}

.event-flyer-wrap:hover .event-flyer-zoom {
    opacity: 1;
    transform: scale(1);
}

/* --- Flyer Lightbox --- */
.flyer-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 2rem;
}

.flyer-lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* ============================================================
   MINISTRIES / VIDEO
   ============================================================ */
.video-container {
    display: flex;
    justify-content: center;
}

.video-container iframe {
    width: 100%;
    max-width: 580px;
    height: 340px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.ministries-text p {
    font-size: 1.05rem;
    line-height: 1.8;
}

.ministries-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.ministries-link {
    padding: 0.65rem 1.35rem;
    border: 1.5px solid var(--primary);
    color: var(--primary);
    text-align: center;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.ministries-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(61, 107, 142, 0.25);
}

/* ============================================================
   GIVE
   ============================================================ */
.give-options {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.give-box {
    background: var(--white);
    padding: 2.25rem 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    width: 300px;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.give-box:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.give-box i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1.25rem;
    display: block;
}

.give-box h3 {
    margin-bottom: 0.5rem;
}

.give-box p {
    font-size: 0.92rem;
    color: var(--text);
    margin-bottom: 0;
}

.btn {
    display: inline-block;
    padding: 0.85rem 2.25rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: background 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    border: none;
    margin-top: 0.75rem;
}

.btn-primary:hover {
    background: var(--accent-hover);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(113, 205, 226, 0.35);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--footer-bg);
    color: var(--text-light);
    padding: 3rem 0;
    text-align: center;
    scroll-snap-align: end;
}

.footer p {
    color: var(--text-light);
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1.25rem;
}

.social-icon {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.35rem;
    transition: color 0.25s var(--ease), transform 0.25s var(--ease);
}

.social-icon:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

/* ============================================================
   PHOTOS PAGE
   ============================================================ */
.photo-page-header {
    text-align: center;
    padding: 9rem 0 3.5rem;
    background: var(--surface);
}

.photo-page-header h1 {
    font-size: 2.6rem;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.back-link:hover {
    color: var(--accent);
}

.back-link i {
    font-size: 0.85rem;
}

/* ============================================================
   PHOTOS PAGE — CATEGORY NAV BAR
   ============================================================ */
.category-nav {
    position: sticky;
    top: 62px;
    /* just below the fixed navbar */
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.category-nav-inner {
    display: flex;
    gap: 0.25rem;
    padding: 0.6rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: auto;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
}

.category-nav-inner::-webkit-scrollbar {
    display: none;
}

.cat-tab {
    flex-shrink: 0;
    padding: 0.45rem 1.1rem;
    border-radius: 50px;
    border: 1.5px solid var(--border);
    background: transparent;
    color: var(--text);
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s var(--ease), color 0.2s var(--ease),
        border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.cat-tab:hover {
    border-color: var(--accent);
    color: var(--dark);
    transform: translateY(-1px);
}

.cat-tab.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
    font-weight: 600;
}

.gallery-main {
    padding: 2.5rem 1.5rem 3rem;
}

.photo-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.photo-gallery-grid img {
    /* Legacy bare images — only applies when not inside a .photo-card wrapper */
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-xs);
    cursor: pointer;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.photo-gallery-grid img:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-md);
}

/* --- Fullscreen Lightbox --- */
/* Photos fill the entire screen: landscape fills width, portrait fills height.
   Aspect ratio is always preserved via object-fit: contain. */
.fullscreen-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 0;
}

.fullscreen-image {
    width: 100vw;
    height: 100vh;
    object-fit: contain;
    border-radius: 0;
    box-shadow: none;
}

.close-btn {
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s var(--ease);
    background: none;
    border: none;
    z-index: 2001;
}

.close-btn:hover {
    color: #fff;
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    user-select: none;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s var(--ease), color 0.25s var(--ease);
    z-index: 2001;
}

.nav-arrow:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}


/* ============================================================
   SCROLL REVEAL ANIMATION
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
    h1 {
        font-size: 2.6rem;
    }

    h2 {
        font-size: 2rem;
    }

    .landing-content h1 {
        font-size: 3rem;
    }

    .section {
        padding: 4.5rem 0;
    }

    .map-container,
    .about-container,
    .ministries-container {
        flex-direction: column;
        text-align: center;
        gap: 2.5rem;
    }

    .map-details h2::after,
    .about-text h2::after,
    .ministries-text h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .about-images {
        margin-bottom: 1rem;
    }

    .video-container iframe {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 3.5rem 0;
    }

    .navbar-right {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .mobile-nav {
        display: flex;
    }

    .footer-container {
        flex-direction: column;
    }

    .photo-page-header {
        padding-top: 7rem;
    }

    .gallery-container {
        --gallery-cols: 2;
    }

    .give-options {
        gap: 1rem;
    }

    .give-box {
        width: 100%;
    }

    .nav-arrow {
        width: 44px;
        height: 44px;
        font-size: 1.4rem;
    }

    .prev {
        left: 12px;
    }

    .next {
        right: 12px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2.2rem;
    }

    .landing-content h1 {
        font-size: 2.8rem;
    }

    .landing-tagline {
        font-size: 1.15rem;
    }

    .landing-service {
        font-size: 1.1rem;
    }

    .landing-time span {
        font-size: 1.3rem;
    }

    .about-images {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .about-images img {
        width: 170px;
        height: 170px;
    }

    .gallery-container {
        --gallery-cols: 1;
    }

    .events-container {
        grid-template-columns: 1fr;
    }

    .photo-gallery-grid {
        grid-template-columns: 1fr;
    }

    .map-embed iframe {
        height: 300px;
    }
}