/* ============================================
   Bellevue Methodist Church - Theme Styles
   Three switchable themes via body class
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}


/* ============================================
   THEME 1: Simple & Warm
   Warm earth tones, stained glass feel,
   traditional church warmth
   ============================================ */
.theme-warm {
    --bg-primary: #FDF8F0;
    --bg-secondary: #F5EDE0;
    --bg-accent: #E8D5B7;
    --text-primary: #3E2723;
    --text-secondary: #5D4037;
    --text-light: #8D6E63;
    --accent: #BF8A30;
    --accent-hover: #A6751A;
    --accent-light: #F0E0C0;
    --white: #FFFFFF;
    --border: #D7CCC8;
    --shadow: rgba(62, 39, 35, 0.1);
    --shadow-strong: rgba(62, 39, 35, 0.2);
    --hero-bg: linear-gradient(135deg, #5D4037 0%, #3E2723 50%, #4E342E 100%);
    --hero-text: #FDF8F0;
    --font-heading: Georgia, 'Times New Roman', serif;
    --font-body: 'Segoe UI', system-ui, -apple-system, sans-serif;
    --radius: 8px;
    --section-pattern: none;
    --header-border-bottom: 3px solid #BF8A30;
    --hero-overlay: radial-gradient(ellipse at center, rgba(255,255,255,0.05) 0%, transparent 70%);
    --section-divider: none;
    --card-border-top: none;
    --footer-accent: #BF8A30;
}

/* Warm theme: subtle stained-glass top border */
.theme-warm .site-header {
    border-bottom: 3px solid;
    border-image: linear-gradient(90deg, #BF8A30, #8B6914, #BF8A30, #D4A843, #BF8A30) 1;
}

.theme-warm .hero::before {
    background:
        radial-gradient(ellipse at 20% 50%, rgba(191, 138, 48, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(191, 138, 48, 0.1) 0%, transparent 50%);
}

.theme-warm .service-card {
    border-top: 3px solid var(--accent);
}


/* ============================================
   THEME 2: Modern & Clean
   Contemporary, ultra-minimal, lots of space,
   navy/slate/gold — Apple-esque
   ============================================ */
.theme-modern {
    --bg-primary: #FFFFFF;
    --bg-secondary: #F5F5F7;
    --bg-accent: #E8E8ED;
    --text-primary: #1D1D1F;
    --text-secondary: #424245;
    --text-light: #86868B;
    --accent: #0066CC;
    --accent-hover: #004499;
    --accent-light: #E3F0FF;
    --white: #FFFFFF;
    --border: #D2D2D7;
    --shadow: rgba(0, 0, 0, 0.04);
    --shadow-strong: rgba(0, 0, 0, 0.1);
    --hero-bg: linear-gradient(180deg, #1D1D1F 0%, #2C2C2E 100%);
    --hero-text: #FFFFFF;
    --font-heading: system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-body: system-ui, -apple-system, 'Segoe UI', sans-serif;
    --radius: 12px;
    --section-pattern: none;
    --header-border-bottom: none;
    --hero-overlay: none;
    --section-divider: none;
    --card-border-top: none;
    --footer-accent: #0066CC;
}

/* Modern: super clean header, no border, just shadow */
.theme-modern .site-header {
    border-bottom: none;
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.8);
}

.theme-modern .hero {
    padding: 180px 24px 120px;
}

.theme-modern .hero::before {
    background: none;
}

.theme-modern .hero-cross {
    display: none;
}

.theme-modern .hero h1 {
    font-weight: 600;
    letter-spacing: -0.02em;
}

.theme-modern .hero-service-time {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
}

.theme-modern .hero-cta {
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-weight: 500;
}

.theme-modern .section-title::after {
    width: 40px;
    height: 2px;
    border-radius: 1px;
}

.theme-modern .service-card {
    border-radius: 16px;
    border: none;
    box-shadow: 0 2px 20px var(--shadow);
}

.theme-modern .pastor-image-wrapper {
    border-radius: 16px;
    border: none;
}

.theme-modern .location-photo-item {
    border-radius: 16px;
    border: none;
}

.theme-modern .map-container {
    border-radius: 16px;
    border: none;
}

.theme-modern .expect-list li::before {
    content: '\2022';
}

.theme-modern .service-time-display {
    color: var(--accent);
}

.theme-modern .logo-cross {
    display: none;
}

.theme-modern .footer-cross {
    display: none;
}


/* ============================================
   THEME 3: American Patriot
   Red, white & blue — USA + Texas pride,
   stars, stripes, crosses, flags
   ============================================ */
.theme-country {
    --bg-primary: #FFFFFF;
    --bg-secondary: #F0F4F8;
    --bg-accent: #DCE4ED;
    --text-primary: #1A2744;
    --text-secondary: #2D3E5C;
    --text-light: #5A6B87;
    --accent: #BF0A30;
    --accent-hover: #9A0826;
    --accent-light: #FFE0E6;
    --white: #FFFFFF;
    --border: #C4CDD9;
    --shadow: rgba(26, 39, 68, 0.1);
    --shadow-strong: rgba(26, 39, 68, 0.2);
    --hero-bg: linear-gradient(160deg, #002868 0%, #001845 50%, #002868 100%);
    --hero-text: #FFFFFF;
    --font-heading: Georgia, 'Palatino Linotype', serif;
    --font-body: 'Segoe UI', system-ui, -apple-system, sans-serif;
    --radius: 4px;
    --section-pattern: none;
    --header-border-bottom: none;
    --hero-overlay: none;
    --section-divider: none;
    --card-border-top: 4px solid #BF0A30;
    --footer-accent: #BF0A30;
    --country-blue: #002868;
    --country-red: #BF0A30;
    --country-white: #FFFFFF;
}

/* Patriot: red-white-blue header stripe */
.theme-country .site-header {
    border-bottom: none;
    box-shadow: none;
}

.theme-country .site-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg,
        #BF0A30 0%, #BF0A30 33.33%,
        #FFFFFF 33.33%, #FFFFFF 66.66%,
        #002868 66.66%, #002868 100%
    );
}

/* Patriot: Stars on the hero */
.theme-country .hero {
    position: relative;
}

.theme-country .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(255,255,255,0.06) 1px, transparent 1px),
        radial-gradient(circle at 30% 70%, rgba(255,255,255,0.04) 1px, transparent 1px),
        radial-gradient(circle at 50% 30%, rgba(255,255,255,0.05) 1px, transparent 1px),
        radial-gradient(circle at 70% 60%, rgba(255,255,255,0.04) 1px, transparent 1px),
        radial-gradient(circle at 90% 25%, rgba(255,255,255,0.06) 1px, transparent 1px),
        radial-gradient(circle at 15% 80%, rgba(255,255,255,0.03) 1px, transparent 1px),
        radial-gradient(circle at 85% 85%, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size:
        80px 80px, 120px 120px, 100px 100px,
        90px 90px, 110px 110px, 70px 70px, 130px 130px;
    pointer-events: none;
}

.theme-country .hero::after {
    content: '\2605  \2605  \2605';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 1rem;
    letter-spacing: 8px;
    color: rgba(255, 255, 255, 0.2);
    padding: 12px 0;
    background: linear-gradient(0deg, rgba(191, 10, 48, 0.3) 0%, transparent 100%);
}

.theme-country .hero-cross {
    font-size: 3.5rem;
    opacity: 0.6;
    text-shadow: 0 0 30px rgba(191, 10, 48, 0.4);
}

.theme-country .hero h1 {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.theme-country .hero-service-time {
    background: rgba(191, 10, 48, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.25);
}

.theme-country .hero-cta {
    background: rgba(191, 10, 48, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.4);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.theme-country .hero-cta:hover,
.theme-country .hero-cta:focus {
    background: rgba(191, 10, 48, 0.5);
    border-color: rgba(255, 255, 255, 0.7);
}

/* Patriot: Section stars divider */
.theme-country .section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #BF0A30, #002868);
    margin: 16px auto 0;
    border-radius: 0;
}

.theme-country .section-title::before {
    content: '\2605';
    display: block;
    font-size: 0.8rem;
    color: #BF0A30;
    margin-bottom: 8px;
    letter-spacing: 4px;
}

/* Patriot: Alternating section colors */
.theme-country .section:nth-child(even) {
    background-color: #F0F4F8;
    background-image:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 30px,
            rgba(0, 40, 104, 0.02) 30px,
            rgba(0, 40, 104, 0.02) 31px
        );
}

/* Patriot: Service card with red top and blue shadow */
.theme-country .service-card {
    border-top: 4px solid #BF0A30;
    border-radius: 0;
    box-shadow: 0 4px 12px rgba(0, 40, 104, 0.1);
}

.theme-country .service-icon {
    color: #002868;
}

.theme-country .service-time-display {
    color: #BF0A30;
}

/* Patriot: Pastor photo with flag-colored border */
.theme-country .pastor-image-wrapper {
    border: 3px solid #002868;
    border-radius: 0;
    box-shadow: 4px 4px 0 #BF0A30;
}

/* Patriot: Location photos with flag-colored border */
.theme-country .location-photo-item {
    border: 3px solid #002868;
    border-radius: 0;
    box-shadow: 4px 4px 0 #BF0A30;
}

/* Patriot: Map with bold border */
.theme-country .map-container {
    border: 3px solid #002868;
    border-radius: 0;
}

/* Patriot: List items use stars */
.theme-country .expect-list li::before {
    content: '\2605';
    color: #BF0A30;
    font-size: 0.7rem;
    top: 10px;
}

/* Patriot: Footer with patriotic treatment */
.theme-country .site-footer {
    background: #002868;
    position: relative;
}

.theme-country .site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg,
        #BF0A30 0%, #BF0A30 33.33%,
        #FFFFFF 33.33%, #FFFFFF 66.66%,
        #BF0A30 66.66%, #BF0A30 100%
    );
}

.theme-country .footer-cross {
    color: rgba(255, 255, 255, 0.6);
}

/* Patriot: Nav links with red hover */
.theme-country .nav-links a:hover,
.theme-country .nav-links a:focus {
    color: #BF0A30;
    background: rgba(191, 10, 48, 0.05);
}

/* Patriot: Logo cross in blue */
.theme-country .logo-cross {
    color: #002868;
}


/* ============================================
   SHARED LAYOUT STYLES
   Applied regardless of theme
   ============================================ */

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--bg-primary);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.3;
}


/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 8px var(--shadow);
}

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

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    text-decoration: none;
    flex-shrink: 0;
}

.logo-cross {
    font-size: 1.5rem;
    color: var(--accent);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.church-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.2;
}

.church-location {
    font-size: 0.75rem;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    gap: 8px;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: 8px 12px;
    border-radius: var(--radius);
    transition: background-color 0.3s, color 0.3s;
}

.nav-links a:hover,
.nav-links a:focus {
    color: var(--accent);
    background-color: var(--bg-secondary);
}

/* Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    position: relative;
    transition: background-color 0.3s;
}

.hamburger::before,
.hamburger::after {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    position: absolute;
    left: 0;
    transition: transform 0.3s;
}

.hamburger::before {
    top: -7px;
}

.hamburger::after {
    top: 7px;
}

/* Theme selector */
.theme-switcher {
    flex-shrink: 0;
}

.theme-switcher select {
    font-family: var(--font-body);
    font-size: 0.8rem;
    padding: 6px 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-secondary);
    color: var(--text-secondary);
    cursor: pointer;
}

.theme-switcher select:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}


/* --- Hero Section --- */
.hero {
    background: var(--hero-bg);
    background-size: cover;
    background-position: center;
    color: var(--hero-text);
    text-align: center;
    padding: 160px 24px 100px;
    position: relative;
    overflow: hidden;
}

/* Hero background images per theme */
.theme-warm .hero {
    background: linear-gradient(rgba(62, 39, 35, 0.55), rgba(62, 39, 35, 0.7)),
        url('../images/hero-church.jpg');
    background-size: cover;
    background-position: center;
}

.theme-modern .hero {
    background: linear-gradient(rgba(29, 29, 31, 0.6), rgba(29, 29, 31, 0.75)),
        url('../images/hero-modern.jpg');
    background-size: cover;
    background-position: center;
}

.theme-country .hero {
    background: linear-gradient(rgba(0, 40, 104, 0.55), rgba(0, 24, 69, 0.7)),
        url('../images/hero-patriot.jpg');
    background-size: cover;
    background-position: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.hero-cross {
    font-size: 3rem;
    opacity: 0.4;
    margin-bottom: 20px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero-tagline {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

.hero-service-time {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    padding: 20px 40px;
    margin-bottom: 30px;
}

.service-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
    margin-bottom: 4px;
}

.hero-service-time .service-time {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
}

.hero-cta {
    display: inline-block;
    color: var(--hero-text);
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 12px 32px;
    border-radius: var(--radius);
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: background-color 0.3s, border-color 0.3s;
}

.hero-cta:hover,
.hero-cta:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.8);
    color: var(--hero-text);
}


/* --- Section Base --- */
.section {
    padding: 80px 0;
}

.section:nth-child(even) {
    background-color: var(--bg-secondary);
    background-image: var(--section-pattern);
}

.section:nth-child(odd) {
    background-color: var(--bg-primary);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 48px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 16px auto 0;
    border-radius: 2px;
}


/* --- About Section --- */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.about-text p {
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.about-text h3 {
    font-size: 1.3rem;
    margin: 24px 0 12px;
    color: var(--text-primary);
}

.expect-list {
    list-style: none;
    padding: 0;
}

.expect-list li {
    padding: 8px 0 8px 28px;
    position: relative;
    color: var(--text-secondary);
}

.expect-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

/* About section images - show/hide per theme */
.about-image-container {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 16px var(--shadow-strong);
}

.about-img {
    width: 100%;
    height: auto;
    display: none;
    border-radius: var(--radius);
}

.theme-warm .about-img-warm { display: block; }
.theme-modern .about-img-modern { display: block; }
.theme-country .about-img-patriot { display: block; }


/* --- Services Section --- */
.service-cards {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 32px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 4px 12px var(--shadow);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 16px;
}

.service-card h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.service-time-display {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 16px;
}

.service-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.service-note {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
}


/* --- Pastor Section --- */
.pastor-content {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    align-items: start;
}

.pastor-image-wrapper {
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: 0 4px 12px var(--shadow);
    border: 1px solid var(--border);
}

img.pastor-photo {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.pastor-text h3 {
    font-size: 1.6rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.pastor-role {
    font-size: 1rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 20px;
}

.pastor-text p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}


/* --- Location Photos --- */
.location-photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 48px;
}

.location-photo-item {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 16px var(--shadow-strong);
}

.location-photo {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

/* --- Location Section --- */
.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.location-info address {
    font-style: normal;
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}

.location-info address strong {
    color: var(--text-primary);
}

.directions h3 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.directions p {
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 12px var(--shadow);
    border: 1px solid var(--border);
}

.map-container iframe {
    display: block;
}


/* --- Contact Section --- */
.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-item {
    margin-bottom: 32px;
    text-align: center;
}

.contact-item h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.contact-item address {
    font-style: normal;
    color: var(--text-secondary);
    line-height: 1.8;
}

.contact-item p {
    color: var(--text-secondary);
}

.contact-item a {
    color: var(--accent);
}

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


/* --- Footer --- */
.site-footer {
    background: var(--text-primary);
    color: var(--bg-primary);
    padding: 48px 0 24px;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.footer-cross {
    font-size: 1.5rem;
    opacity: 0.5;
}

.footer-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-address,
.footer-service {
    font-size: 0.85rem;
    opacity: 0.7;
}

.footer-copyright {
    font-size: 0.8rem;
    opacity: 0.5;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}


/* ============================================
   ANNOUNCEMENTS SECTION
   Cards for church news & announcements
   ============================================ */
.announcement-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.announcement-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: 0 2px 8px var(--shadow);
}

.announcement-date {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.announcement-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.announcement-body {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    white-space: pre-line;
}

/* Warm theme announcement accents */
.theme-warm .announcement-card {
    border-top: 3px solid var(--accent);
}

/* Modern theme announcement style */
.theme-modern .announcement-card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 2px 20px var(--shadow);
}

/* Patriot theme announcement style */
.theme-country .announcement-card {
    border-top: 4px solid #BF0A30;
    border-radius: 0;
    box-shadow: 0 4px 12px rgba(0, 40, 104, 0.1);
}

.theme-country .announcement-date {
    color: #002868;
}

/* Responsive: single column on mobile */
@media (max-width: 767px) {
    .announcement-cards {
        grid-template-columns: 1fr;
    }

    .announcement-card {
        padding: 20px;
    }
}


/* ============================================
   UPCOMING EVENTS SECTION
   Cards for church events
   ============================================ */
.event-cards-public {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.event-card-public {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: 0 2px 8px var(--shadow);
}

.event-card-date {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-card-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.event-card-time {
    font-size: 1rem;
    color: var(--accent);
    font-weight: bold;
    margin-bottom: 4px;
}

.event-card-location {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 8px;
}

.event-card-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    white-space: pre-line;
}

/* Warm theme event accents */
.theme-warm .event-card-public {
    border-top: 3px solid var(--accent);
}

/* Modern theme event style */
.theme-modern .event-card-public {
    border: none;
    border-radius: 16px;
    box-shadow: 0 2px 20px var(--shadow);
}

/* Patriot theme event style */
.theme-country .event-card-public {
    border-top: 4px solid #002868;
    border-radius: 0;
    box-shadow: 0 4px 12px rgba(0, 40, 104, 0.1);
}

.theme-country .event-card-date {
    color: #002868;
}

/* Responsive: single column on mobile */
@media (max-width: 767px) {
    .event-cards-public {
        grid-template-columns: 1fr;
    }

    .event-card-public {
        padding: 20px;
    }
}


/* ============================================
   PHOTO GALLERY SECTION
   Grid of uploaded church photos
   ============================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 2px 8px var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px var(--shadow);
}

.gallery-link {
    display: block;
}

.gallery-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.gallery-caption {
    padding: 12px 16px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: center;
    font-style: italic;
}

/* Warm theme gallery */
.theme-warm .gallery-item {
    border-bottom: 3px solid var(--accent);
}

/* Modern theme gallery */
.theme-modern .gallery-item {
    border: none;
    border-radius: 16px;
    box-shadow: 0 2px 20px var(--shadow);
}

/* Patriot theme gallery */
.theme-country .gallery-item {
    border-radius: 0;
    border-bottom: 4px solid #BF0A30;
    box-shadow: 0 4px 12px rgba(0, 40, 104, 0.1);
}

@media (max-width: 767px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .gallery-img {
        height: 160px;
    }

    .gallery-caption {
        padding: 8px 10px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}


/* ============================================
   SERMON NOTES SECTION (Public)
   ============================================ */
.sermons-intro {
    text-align: center;
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.sermon-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.sermon-card-public {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: 0 2px 8px var(--shadow);
    display: flex;
    flex-direction: column;
}

.sermon-card-date {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sermon-card-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.sermon-card-scripture {
    font-style: italic;
    color: var(--accent);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.sermon-card-summary {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 16px;
}

.sermon-card-summary p {
    margin-bottom: 0.5em;
}

.sermon-card-link {
    display: inline-block;
    color: var(--accent);
    font-weight: bold;
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.2s;
}

.sermon-card-link:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

/* Warm theme sermon accents */
.theme-warm .sermon-card-public {
    border-top: 3px solid var(--accent);
}

/* Modern theme sermon style */
.theme-modern .sermon-card-public {
    border: none;
    border-radius: 16px;
    box-shadow: 0 2px 20px var(--shadow);
}

/* Patriot theme sermon style */
.theme-country .sermon-card-public {
    border-top: 4px solid #BF0A30;
    border-radius: 0;
    box-shadow: 0 4px 12px rgba(0, 40, 104, 0.1);
}

.theme-country .sermon-card-date {
    color: #002868;
}

.theme-country .sermon-card-scripture {
    color: #BF0A30;
}

/* Responsive: single column on mobile */
@media (max-width: 767px) {
    .sermon-cards {
        grid-template-columns: 1fr;
    }

    .sermon-card-public {
        padding: 20px;
    }
}


/* ============================================
   HERO VERSE
   Bible quote displayed in the hero section
   ============================================ */
.hero-verse {
    font-style: italic;
    font-size: 1rem;
    opacity: 0.85;
    margin-bottom: 32px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.verse-ref {
    display: block;
    font-size: 0.85rem;
    opacity: 0.7;
    margin-top: 6px;
    font-style: normal;
    letter-spacing: 0.5px;
}


/* ============================================
   SCRIPTURE & FAITH SECTION
   Verse cards in a 3-column grid
   ============================================ */
.scripture-faith {
    text-align: center;
}

.scripture-intro {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.verse-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.verse-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    box-shadow: 0 2px 8px var(--shadow);
    text-align: center;
}

.verse-card-icon {
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 16px;
    opacity: 0.6;
}

.verse-text {
    font-style: italic;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.verse-citation {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
    font-style: normal;
    margin-bottom: 8px;
}

.verse-theme {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-light);
}

/* Warm theme verse card accents */
.theme-warm .verse-card {
    border-top: 3px solid var(--accent);
}

/* Modern theme verse card style */
.theme-modern .verse-card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 2px 20px var(--shadow);
}

/* Patriot theme verse card style */
.theme-country .verse-card {
    border-top: 4px solid #BF0A30;
    border-radius: 0;
    box-shadow: 0 4px 12px rgba(0, 40, 104, 0.1);
}

.theme-country .verse-citation {
    color: #002868;
}

.theme-country .verse-card-icon {
    color: #002868;
}

/* Responsive: single column on mobile */
@media (max-width: 767px) {
    .verse-cards {
        grid-template-columns: 1fr;
    }

    .verse-card {
        padding: 24px 20px;
    }
}


/* ============================================
   WHAT WE BELIEVE LIST
   Bullet list with disc markers (override reset)
   ============================================ */
.believe-intro {
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.believe-list {
    list-style: disc;
    padding-left: 24px;
    margin-bottom: 24px;
}

.believe-list li {
    padding: 6px 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

.believe-list li strong {
    color: var(--text-primary);
}


/* ============================================
   PRIMARY SERVICE CARD
   Visual distinction for the main worship card
   ============================================ */
.primary-service {
    position: relative;
}

/* Warm theme: gold border accent */
.theme-warm .primary-service {
    border-top: 4px solid var(--accent);
    box-shadow: 0 6px 20px var(--shadow-strong);
    transform: scale(1.03);
}

/* Modern theme: accent border and larger shadow */
.theme-modern .primary-service {
    border: 2px solid var(--accent);
    box-shadow: 0 4px 24px var(--shadow-strong);
    transform: scale(1.03);
}

/* Patriot theme: thicker red top, blue side accent */
.theme-country .primary-service {
    border-top: 6px solid #BF0A30;
    box-shadow: 0 6px 20px rgba(0, 40, 104, 0.15);
    transform: scale(1.03);
}


/* ============================================
   MAP LINK
   Button-like link above the map iframe
   ============================================ */
.map-link {
    display: inline-block;
    padding: 10px 20px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    background: var(--accent);
    border-radius: var(--radius);
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.map-link:hover,
.map-link:focus {
    background: var(--accent-hover);
    color: var(--white);
}

/* Modern theme map link */
.theme-modern .map-link {
    border-radius: 24px;
}

/* Patriot theme map link */
.theme-country .map-link {
    border-radius: 0;
    background: #002868;
}

.theme-country .map-link:hover,
.theme-country .map-link:focus {
    background: #BF0A30;
}

/* Directions box (replaces map iframe) */
.map-directions-box {
    text-align: center;
    padding: 40px 30px;
    background: var(--white);
    border: 2px solid var(--accent);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.map-pin-icon {
    font-size: 3rem;
    line-height: 1;
}

.map-directions-address {
    font-size: 1.15rem;
    line-height: 1.5;
    color: var(--text);
}

.map-directions-btn {
    display: inline-block;
    padding: 16px 32px;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    background: var(--accent);
    border-radius: var(--radius);
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 8px;
}

.map-directions-btn:hover,
.map-directions-btn:focus {
    background: var(--accent-hover);
    color: var(--white);
    transform: scale(1.03);
}

.theme-modern .map-directions-btn { border-radius: 24px; }
.theme-country .map-directions-btn {
    border-radius: 0;
    background: #002868;
}
.theme-country .map-directions-btn:hover { background: #BF0A30; }
.theme-country .map-directions-box { border-color: #BF0A30; }
