/* ══════════════════════════════════════
   CSS CUSTOM PROPERTIES
   ══════════════════════════════════════ */
:root {
    --navy: #1a2744;
    --navy-deep: #0f1a2e;
    --navy-light: #2a3a5c;
    --gold: #c8963e;
    --gold-light: #dbb36a;
    --gold-pale: #f0ddb8;
    --cream: #faf7f2;
    --cream-dark: #f0ebe2;
    --sage: #5a7a5a;
    --sage-light: #7a9a7a;
    --warm-white: #fefcf9;
    --text-dark: #1a1a1a;
    --text-body: #3d3d3d;
    --text-muted: #6b6b6b;
    --shadow-sm: 0 2px 8px rgba(26, 39, 68, 0.06);
    --shadow-md: 0 4px 20px rgba(26, 39, 68, 0.08);
    --shadow-lg: 0 8px 40px rgba(26, 39, 68, 0.12);
    --shadow-gold: 0 4px 20px rgba(200, 150, 62, 0.15);
    --radius: 8px;
    --radius-lg: 16px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ══════════════════════════════════════
   RESET & BASE
   ══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    color: var(--text-body);
    background: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--navy);
    line-height: 1.2;
    font-weight: 600;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

img { max-width: 100%; display: block; }

/* Skip to content */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--navy);
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    z-index: 10000;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 12px;
}

/* ══════════════════════════════════════
   HMONG TEXTILE PATTERN — SVG BORDER
   ══════════════════════════════════════ */
.hmong-border {
    width: 100%;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg width='48' height='24' viewBox='0 0 48 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M24 0 L36 12 L24 24 L12 12 Z' fill='none' stroke='%23c8963e' stroke-width='1.5'/%3E%3Cpath d='M0 12 L12 0 L12 0' fill='none' stroke='%23c8963e' stroke-width='1' opacity='0.4'/%3E%3Cpath d='M48 12 L36 0' fill='none' stroke='%23c8963e' stroke-width='1' opacity='0.4'/%3E%3Cpath d='M0 12 L12 24' fill='none' stroke='%23c8963e' stroke-width='1' opacity='0.4'/%3E%3Cpath d='M48 12 L36 24' fill='none' stroke='%23c8963e' stroke-width='1' opacity='0.4'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-position: center;
    opacity: 0.7;
}

.hmong-border-dark {
    background-image: url("data:image/svg+xml,%3Csvg width='48' height='24' viewBox='0 0 48 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M24 0 L36 12 L24 24 L12 12 Z' fill='none' stroke='%23dbb36a' stroke-width='1.5'/%3E%3Cpath d='M0 12 L12 0' fill='none' stroke='%23dbb36a' stroke-width='1' opacity='0.4'/%3E%3Cpath d='M48 12 L36 0' fill='none' stroke='%23dbb36a' stroke-width='1' opacity='0.4'/%3E%3Cpath d='M0 12 L12 24' fill='none' stroke='%23dbb36a' stroke-width='1' opacity='0.4'/%3E%3Cpath d='M48 12 L36 24' fill='none' stroke='%23dbb36a' stroke-width='1' opacity='0.4'/%3E%3C/svg%3E");
}

/* ══════════════════════════════════════
   SECTION UTILITIES
   ══════════════════════════════════════ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.section-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    line-height: 1.8;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

/* ══════════════════════════════════════
   PAGE HEADER (Sub-pages)
   ══════════════════════════════════════ */
.page-header {
    background: var(--navy);
    padding: 120px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 8 L56 24 L56 56 L40 72 L24 56 L24 24 Z' fill='none' stroke='%23dbb36a' stroke-width='1'/%3E%3C/svg%3E");
}

.page-header .section-label {
    color: var(--gold-light);
    position: relative;
}

.page-header .section-title {
    color: var(--cream);
    position: relative;
}

.page-header .section-subtitle {
    color: rgba(250, 247, 242, 0.6);
    margin: 0 auto;
    position: relative;
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* Slide in from left */
.reveal-slide-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Clip-path wipe reveal */
.reveal-clip {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-clip.visible {
    clip-path: inset(0 0 0 0);
}

/* ══════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 247, 242, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition);
}

.nav.scrolled {
    border-bottom-color: rgba(26, 39, 68, 0.08);
    box-shadow: var(--shadow-sm);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--navy);
}

.nav-logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.nav-logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-logo-icon svg {
    width: 18px;
    height: 18px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-body);
    position: relative;
    letter-spacing: 0.3px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width var(--transition);
}

.nav-links a:hover { color: var(--navy); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
    background: var(--navy);
    color: var(--cream) !important;
    padding: 10px 24px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.85rem !important;
    letter-spacing: 0.5px;
    transition: all var(--transition) !important;
}

.nav-cta:hover {
    background: var(--gold) !important;
    color: var(--navy) !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-gold);
}

.nav-cta::after { display: none !important; }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
    z-index: 1001;
}
.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--navy);
    transition: all var(--transition);
    border-radius: 2px;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 26, 46, 0.5);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
}
.mobile-overlay.active { opacity: 1; pointer-events: auto; }

@media (max-width: 900px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -300px;
        width: 280px;
        height: 100vh;
        background: var(--cream);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 32px;
        gap: 0;
        box-shadow: var(--shadow-lg);
        transition: right var(--transition);
        z-index: 1000;
    }
    .nav-links.open { right: 0; }
    .nav-links li { width: 100%; }
    .nav-links a {
        display: block;
        padding: 14px 0;
        font-size: 1rem;
        border-bottom: 1px solid rgba(26, 39, 68, 0.06);
    }
    .nav-links a::after { display: none; }
    .nav-cta {
        display: block;
        text-align: center;
        margin-top: 16px;
        padding: 14px 24px !important;
    }
    .hamburger { display: flex; }
    .mobile-overlay { display: block; }
}

/* ══════════════════════════════════════
   HERO
   ══════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--navy-deep);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    will-change: transform;
}

/* Light ray effect */
.hero-rays {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 140%;
    background: conic-gradient(
        from 180deg at 50% 0%,
        transparent 0deg,
        rgba(200, 150, 62, 0.03) 15deg,
        transparent 30deg,
        rgba(200, 150, 62, 0.05) 60deg,
        transparent 75deg,
        rgba(200, 150, 62, 0.03) 100deg,
        transparent 120deg,
        rgba(200, 150, 62, 0.04) 150deg,
        transparent 170deg,
        transparent 190deg,
        rgba(200, 150, 62, 0.03) 210deg,
        transparent 230deg,
        rgba(200, 150, 62, 0.05) 260deg,
        transparent 280deg,
        rgba(200, 150, 62, 0.03) 310deg,
        transparent 340deg,
        transparent 360deg
    );
    animation: rayRotate 60s linear infinite;
}

@keyframes rayRotate {
    from { transform: translateX(-50%) rotate(0deg); }
    to { transform: translateX(-50%) rotate(360deg); }
}

/* Radial glow */
.hero-glow {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(200, 150, 62, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

/* Hmong-inspired geometric pattern overlay */
.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 8 L56 24 L56 56 L40 72 L24 56 L24 24 Z' fill='none' stroke='%23dbb36a' stroke-width='1'/%3E%3Cpath d='M40 20 L48 28 L48 52 L40 60 L32 52 L32 28 Z' fill='none' stroke='%23dbb36a' stroke-width='0.5'/%3E%3C/svg%3E");
}

/* Cross motif */
.hero-cross {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    width: 2px;
    height: 200px;
    background: linear-gradient(to bottom, transparent, rgba(200, 150, 62, 0.15), transparent);
}
.hero-cross::after {
    content: '';
    position: absolute;
    top: 35%;
    left: -40px;
    width: 82px;
    height: 2px;
    background: linear-gradient(to right, transparent, rgba(200, 150, 62, 0.15), transparent);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 120px 24px 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(200, 150, 62, 0.12);
    border: 1px solid rgba(200, 150, 62, 0.2);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 32px;
    opacity: 0;
    animation: fadeUp 1s 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--cream);
    margin-bottom: 24px;
    line-height: 1.1;
    opacity: 0;
    animation: fadeUp 1s 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-title em {
    font-style: italic;
    color: var(--gold-light);
}

.hero-verse {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-style: italic;
    color: rgba(250, 247, 242, 0.6);
    max-width: 600px;
    margin: 0 auto 48px;
    line-height: 1.7;
    opacity: 0;
    animation: fadeUp 1s 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 64px;
    opacity: 0;
    animation: fadeUp 1s 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 36px;
    border-radius: 100px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
}

.btn-primary {
    background: var(--gold);
    color: var(--navy-deep);
}
.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(200, 150, 62, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--cream);
    border: 1.5px solid rgba(250, 247, 242, 0.3);
}
.btn-outline:hover {
    border-color: var(--gold-light);
    color: var(--gold-light);
    transform: translateY(-2px);
}

.btn-outline-dark {
    background: transparent;
    color: var(--navy);
    border: 1.5px solid rgba(26, 39, 68, 0.2);
}
.btn-outline-dark:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
}

.hero-schedule {
    display: flex;
    justify-content: center;
    gap: 48px;
    opacity: 0;
    animation: fadeUp 1s 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-schedule-item {
    text-align: center;
}

.hero-schedule-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 4px;
}

.hero-schedule-time {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--cream);
}

.hero-schedule-divider {
    width: 1px;
    background: rgba(200, 150, 62, 0.3);
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════
   ABOUT SECTION
   ══════════════════════════════════════ */
.about {
    background: var(--cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 80px;
}

.about-welcome h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    margin-bottom: 24px;
}

.about-welcome p {
    margin-bottom: 16px;
    color: var(--text-body);
    font-size: 1.05rem;
}

.about-image-frame {
    position: relative;
    aspect-ratio: 4/3;
    background: var(--cream-dark);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image-frame::before {
    content: '';
    position: absolute;
    inset: 8px;
    border: 1.5px solid var(--gold);
    border-radius: 12px;
    opacity: 0.3;
}

.about-image-placeholder {
    text-align: center;
    color: var(--text-muted);
}

.about-image-placeholder svg {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    opacity: 0.4;
}

.about-image-placeholder span {
    display: block;
    font-size: 0.85rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.value-card {
    background: var(--warm-white);
    border: 1px solid rgba(26, 39, 68, 0.06);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all var(--transition);
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(200, 150, 62, 0.2);
}

.value-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.value-icon svg {
    width: 22px;
    height: 22px;
    color: var(--gold-light);
}

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.value-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ══════════════════════════════════════
   MISSION / VISION BANNER
   ══════════════════════════════════════ */
.mission-banner {
    background: var(--navy);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.mission-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 8 L56 24 L56 56 L40 72 L24 56 L24 24 Z' fill='none' stroke='%23dbb36a' stroke-width='1'/%3E%3C/svg%3E");
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    position: relative;
}

.mission-item {
    text-align: center;
    padding: 40px;
}

.mission-item .section-label {
    color: var(--gold-light);
}

.mission-item h3 {
    font-size: 1.6rem;
    color: var(--cream);
    margin-bottom: 12px;
}

.mission-item p {
    color: rgba(250, 247, 242, 0.7);
    font-size: 1rem;
}

.mission-item .scripture {
    display: inline-block;
    margin-top: 16px;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 0.95rem;
    color: var(--gold);
}

.mission-divider {
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--gold), transparent);
    opacity: 0.3;
    position: absolute;
    top: 40px;
    bottom: 40px;
    left: 50%;
}

/* ══════════════════════════════════════
   LEADERSHIP
   ══════════════════════════════════════ */
.leadership {
    background: var(--warm-white);
}

.pastor-feature {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 48px;
    align-items: center;
    background: var(--cream);
    border: 1px solid rgba(26, 39, 68, 0.06);
    border-radius: var(--radius-lg);
    padding: 48px;
    margin-bottom: 56px;
}

.pastor-photo {
    aspect-ratio: 3/4;
    background: var(--cream-dark);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid rgba(200, 150, 62, 0.15);
}

.pastor-photo svg {
    width: 64px;
    height: 64px;
    color: var(--text-muted);
    opacity: 0.3;
}

.pastor-info h3 {
    font-size: 2rem;
    margin-bottom: 4px;
}

.pastor-info .role {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.pastor-info p {
    color: var(--text-body);
    font-size: 1.02rem;
    line-height: 1.8;
}

.leaders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
}

.leader-card {
    text-align: center;
    padding: 36px 24px;
    background: var(--cream);
    border: 1px solid rgba(26, 39, 68, 0.06);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.leader-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.leader-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: var(--cream-dark);
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(200, 150, 62, 0.15);
}

.leader-avatar svg {
    width: 32px;
    height: 32px;
    color: var(--text-muted);
    opacity: 0.4;
}

.leader-card h4 {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.leader-card .role {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ══════════════════════════════════════
   SERVICE TIMES & LOCATION
   ══════════════════════════════════════ */
.services {
    background: var(--cream);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.schedule-card {
    background: var(--navy);
    border-radius: var(--radius-lg);
    padding: 48px;
    position: relative;
    overflow: hidden;
}

.schedule-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(200, 150, 62, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.schedule-card h3 {
    font-size: 1.8rem;
    color: var(--cream);
    margin-bottom: 32px;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(250, 247, 242, 0.08);
}

.schedule-item:last-child { border-bottom: none; }

.schedule-name {
    font-weight: 600;
    color: var(--cream);
    font-size: 1.05rem;
}

.schedule-day {
    font-size: 0.85rem;
    color: rgba(250, 247, 242, 0.5);
    margin-top: 2px;
}

.schedule-time {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--gold-light);
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(26, 39, 68, 0.06);
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 340px;
    border: none;
}

.map-address {
    background: var(--warm-white);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.map-address svg {
    width: 20px;
    height: 20px;
    color: var(--gold);
    flex-shrink: 0;
}

.map-address p {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* ══════════════════════════════════════
   MINISTRIES
   ══════════════════════════════════════ */
.ministries {
    background: var(--warm-white);
}

.ministries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.ministry-card {
    background: var(--cream);
    border: 1px solid rgba(26, 39, 68, 0.06);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.ministry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.ministry-card:hover::before { transform: scaleX(1); }

.ministry-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.ministry-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(200, 150, 62, 0.1), rgba(200, 150, 62, 0.05));
    border: 1px solid rgba(200, 150, 62, 0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.ministry-icon svg {
    width: 24px;
    height: 24px;
    color: var(--gold);
}

.ministry-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: var(--radius) var(--radius) 0 0;
    margin: -36px -28px 20px -28px;
    width: calc(100% + 56px);
    filter: grayscale(100%);
    transition: filter var(--transition);
}

.ministry-card:hover .ministry-card-img {
    filter: grayscale(0%);
}

.ministry-card h3 {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.ministry-hmong {
    font-size: 0.82rem;
    color: var(--gold);
    font-weight: 500;
    margin-bottom: 10px;
}

.ministry-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ══════════════════════════════════════
   EVENTS
   ══════════════════════════════════════ */
.events {
    background: var(--cream);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.event-card {
    background: var(--warm-white);
    border: 1px solid rgba(26, 39, 68, 0.06);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
}

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

.event-card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto 1fr;
}

.event-date-badge {
    background: var(--navy);
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 100px;
}

.event-date-badge .month {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
}

.event-date-badge .day {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--cream);
    line-height: 1;
}

.event-date-badge .year {
    font-size: 0.78rem;
    color: rgba(250, 247, 242, 0.5);
}

.event-info {
    padding: 28px;
}

.event-tag {
    display: inline-block;
    background: rgba(200, 150, 62, 0.1);
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 12px;
}

.event-info h3 {
    font-size: 1.35rem;
    margin-bottom: 8px;
}

.event-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.event-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.event-meta svg {
    width: 16px;
    height: 16px;
    opacity: 0.5;
}

/* ══════════════════════════════════════
   SERMONS
   ══════════════════════════════════════ */
.sermons {
    background: var(--navy);
    position: relative;
    overflow: hidden;
}

.sermons::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 8 L56 24 L56 56 L40 72 L24 56 L24 24 Z' fill='none' stroke='%23dbb36a' stroke-width='1'/%3E%3C/svg%3E");
}

.sermons .section-label { color: var(--gold-light); }
.sermons .section-title { color: var(--cream); }
.sermons .section-subtitle { color: rgba(250, 247, 242, 0.6); }

.sermons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    position: relative;
}

.sermon-card {
    background: rgba(250, 247, 242, 0.05);
    border: 1px solid rgba(250, 247, 242, 0.08);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition);
}

.sermon-card:hover {
    background: rgba(250, 247, 242, 0.08);
    transform: translateY(-4px);
    border-color: rgba(200, 150, 62, 0.2);
}

.sermon-date {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.sermon-card h3 {
    font-size: 1.3rem;
    color: var(--cream);
    margin-bottom: 8px;
}

.sermon-scripture {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1rem;
    color: var(--gold-light);
    margin-bottom: 12px;
}

.sermon-speaker {
    font-size: 0.88rem;
    color: rgba(250, 247, 242, 0.5);
    margin-bottom: 20px;
}

.sermon-play {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold-light);
    cursor: pointer;
    transition: all var(--transition);
}

.sermon-play:hover { color: var(--gold); }

.sermon-play svg { width: 18px; height: 18px; }

.view-all-sermons {
    text-align: center;
    margin-top: 48px;
    position: relative;
}

/* ══════════════════════════════════════
   GIVE
   ══════════════════════════════════════ */
.give {
    background: var(--cream);
    text-align: center;
}

.give-content {
    max-width: 640px;
    margin: 0 auto;
}

.give-verse {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.7;
}

.give-verse cite {
    display: block;
    font-style: normal;
    font-family: 'Outfit', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gold);
    margin-top: 8px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.give-options {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.give-option {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.give-option svg {
    width: 20px;
    height: 20px;
    color: var(--sage);
}

/* ══════════════════════════════════════
   CONTACT
   ══════════════════════════════════════ */
.contact {
    background: var(--warm-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--navy);
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid rgba(26, 39, 68, 0.1);
    border-radius: var(--radius);
    background: var(--cream);
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(200, 150, 62, 0.1);
}

.form-group textarea {
    height: 140px;
    resize: vertical;
}

.contact-info {
    padding-top: 8px;
}

.contact-info h3 {
    font-size: 1.6rem;
    margin-bottom: 24px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    background: rgba(200, 150, 62, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-detail-icon svg {
    width: 20px;
    height: 20px;
    color: var(--gold);
}

.contact-detail-text h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 2px;
}

.contact-detail-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.contact-social {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}

.social-link {
    width: 44px;
    height: 44px;
    background: var(--navy);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.social-link:hover {
    background: var(--gold);
    transform: translateY(-2px);
}

.social-link svg {
    width: 20px;
    height: 20px;
    color: var(--cream);
}

/* ══════════════════════════════════════
   FOOTER
   ══════════════════════════════════════ */
.footer {
    background: var(--navy-deep);
    padding: 64px 0 0;
    color: rgba(250, 247, 242, 0.6);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(250, 247, 242, 0.08);
}

.footer-brand h3 {
    font-size: 1.4rem;
    color: var(--cream);
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-affiliations {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-affiliation {
    display: inline-block;
    background: rgba(250, 247, 242, 0.06);
    border: 1px solid rgba(250, 247, 242, 0.08);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--gold-light);
}

.footer-col h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--cream);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.9rem;
    transition: color var(--transition);
}

.footer-links a:hover { color: var(--gold-light); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 0.82rem;
}

.footer-bottom-social {
    display: flex;
    gap: 12px;
}

.footer-bottom-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(250, 247, 242, 0.06);
    transition: all var(--transition);
}

.footer-bottom-social a:hover {
    background: var(--gold);
    color: var(--navy);
}

.footer-bottom-social svg {
    width: 16px;
    height: 16px;
}

/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .mission-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .mission-divider {
        width: 80%;
        height: 1px;
        position: static;
        margin: 0 auto;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .pastor-feature {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 32px;
    }
    .pastor-photo {
        max-width: 240px;
        margin: 0 auto;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 600px) {
    .section { padding: 72px 0; }
    .hero-schedule { flex-direction: column; gap: 20px; }
    .hero-schedule-divider { width: 40px; height: 1px; margin: 0 auto; }
    .events-grid { grid-template-columns: 1fr; }
    .event-card.featured { grid-template-columns: 1fr; }
    .sermons-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    .leaders-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ══════════════════════════════════════
   PAGE TRANSITIONS
   ══════════════════════════════════════ */
.page-transition {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--navy-deep);
    pointer-events: none;
}

.page-transition.fade-out {
    animation: ptFadeOut 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.page-transition.fade-in {
    pointer-events: all;
    animation: ptFadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes ptFadeOut {
    from { opacity: 1; }
    to   { opacity: 0; }
}

@keyframes ptFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ══════════════════════════════════════
   BACK TO TOP BUTTON
   ══════════════════════════════════════ */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 900;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: var(--gold);
    color: var(--navy-deep);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(200, 150, 62, 0.35);
}

.back-to-top svg {
    width: 22px;
    height: 22px;
}

/* ══════════════════════════════════════
   DARK MODE TOGGLE
   ══════════════════════════════════════ */
.theme-toggle {
    background: none;
    border: 1.5px solid rgba(26, 39, 68, 0.15);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    transition: all var(--transition);
    flex-shrink: 0;
}

.theme-toggle:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.theme-toggle svg {
    width: 18px;
    height: 18px;
}

.theme-toggle .icon-moon { display: none; }
.theme-toggle .icon-sun  { display: block; }

[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun  { display: none; }

/* ══════════════════════════════════════
   DARK THEME OVERRIDES
   ══════════════════════════════════════ */
[data-theme="dark"] {
    --navy: #c8d6e8;
    --navy-deep: #0a0f1a;
    --navy-light: #3a4f7c;
    --cream: #121820;
    --cream-dark: #1a2230;
    --warm-white: #161e28;
    --text-dark: #e8e4df;
    --text-body: #c8c4bf;
    --text-muted: #8a8680;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.3);
    --shadow-gold: 0 4px 20px rgba(200, 150, 62, 0.2);
}

[data-theme="dark"] .nav {
    background: rgba(18, 24, 32, 0.92);
    border-bottom-color: rgba(200, 150, 62, 0.1);
}

[data-theme="dark"] .nav.scrolled {
    border-bottom-color: rgba(200, 150, 62, 0.15);
}

[data-theme="dark"] .hamburger span {
    background: var(--gold-light);
}

[data-theme="dark"] .nav-cta {
    background: var(--gold);
    color: #0a0f1a !important;
}

[data-theme="dark"] .nav-cta:hover {
    background: var(--gold-light) !important;
    color: #0a0f1a !important;
}

[data-theme="dark"] .theme-toggle {
    border-color: rgba(200, 150, 62, 0.25);
    color: var(--gold-light);
}

[data-theme="dark"] .value-card,
[data-theme="dark"] .ministry-card,
[data-theme="dark"] .event-card,
[data-theme="dark"] .sermon-card {
    border-color: rgba(200, 150, 62, 0.1);
}

[data-theme="dark"] .about-image-frame {
    background: var(--cream-dark);
}

[data-theme="dark"] .about-image-frame::before {
    border-color: var(--gold);
    opacity: 0.2;
}

[data-theme="dark"] .mobile-overlay {
    background: rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] .contact-form input,
[data-theme="dark"] .contact-form select,
[data-theme="dark"] .contact-form textarea {
    background: var(--cream-dark);
    border-color: rgba(200, 150, 62, 0.15);
    color: var(--text-body);
}

[data-theme="dark"] .back-to-top {
    color: #0a0f1a;
}

/* ══════════════════════════════════════
   ANIMATED HMONG BORDERS
   ══════════════════════════════════════ */
.hmong-border {
    opacity: 0;
    transform: scaleX(0);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hmong-border.visible {
    opacity: 0.7;
    transform: scaleX(1);
}

/* ══════════════════════════════════════
   EVENTS CALENDAR
   ══════════════════════════════════════ */
.calendar {
    background: var(--warm-white);
    border: 1px solid rgba(26, 39, 68, 0.06);
    border-radius: var(--radius-lg);
    max-width: 480px;
    margin: 0 auto;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: var(--navy);
}

.calendar-header h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--cream);
    margin: 0;
}

.calendar-nav {
    background: none;
    border: 1.5px solid rgba(250, 247, 242, 0.25);
    color: var(--cream);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.calendar-nav:hover {
    border-color: var(--gold-light);
    color: var(--gold-light);
}

.calendar-nav svg {
    width: 16px;
    height: 16px;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    padding: 12px 16px 8px;
    border-bottom: 1px solid rgba(26, 39, 68, 0.06);
}

.calendar-weekdays span {
    text-align: center;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    padding: 8px 16px 16px;
    gap: 4px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.88rem;
    font-weight: 500;
    border-radius: 50%;
    cursor: default;
    color: var(--text-body);
    transition: all var(--transition);
    position: relative;
}

.calendar-day.empty {
    visibility: hidden;
}

.calendar-day.today {
    background: rgba(26, 39, 68, 0.08);
    font-weight: 700;
    color: var(--navy);
}

.calendar-day.has-event {
    cursor: pointer;
    font-weight: 700;
    background: rgba(200, 150, 62, 0.15);
    color: var(--gold);
    border: 1.5px solid rgba(200, 150, 62, 0.3);
}

.calendar-day.has-event:hover {
    background: var(--gold);
    color: var(--navy-deep);
    border-color: var(--gold);
}

.calendar-day.active {
    background: var(--gold);
    color: var(--navy-deep);
    border-color: var(--gold);
    font-weight: 700;
}

.calendar-day.other-month {
    color: var(--text-muted);
    opacity: 0.4;
}

.calendar-event-detail {
    padding: 0 24px 20px;
    display: none;
}

.calendar-event-detail.visible {
    display: block;
}

.calendar-event-detail .event-popup {
    background: var(--cream);
    border: 1px solid rgba(200, 150, 62, 0.2);
    border-left: 3px solid var(--gold);
    border-radius: var(--radius);
    padding: 16px 20px;
}

.calendar-event-detail .event-popup h4 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--navy);
}

[data-theme="dark"] .calendar-event-detail .event-popup h4 {
    color: var(--gold-light);
}

.calendar-event-detail .event-popup p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

[data-theme="dark"] .calendar {
    border-color: rgba(200, 150, 62, 0.1);
}

[data-theme="dark"] .calendar-weekdays {
    border-bottom-color: rgba(200, 150, 62, 0.1);
}

[data-theme="dark"] .calendar-day.today {
    background: rgba(200, 150, 62, 0.15);
    color: var(--gold-light);
}

[data-theme="dark"] .calendar-day.has-event {
    background: rgba(200, 150, 62, 0.2);
    color: var(--gold-light);
    border-color: rgba(200, 150, 62, 0.4);
}

[data-theme="dark"] .calendar-day.has-event:hover {
    background: var(--gold);
    color: var(--navy-deep);
}

[data-theme="dark"] .calendar-day.active {
    background: var(--gold);
    color: var(--navy-deep);
    border-color: var(--gold);
}

[data-theme="dark"] .calendar-event-detail .event-popup {
    background: var(--cream-dark);
    border-color: rgba(200, 150, 62, 0.2);
}

@media (max-width: 600px) {
    .calendar { max-width: 100%; }
}
