@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Lora:ital,wght@0,400;0,600;0,700;1,400;1,700&display=swap');

/* ─── DESIGN TOKENS (Brushed Cross Logo: Warm Orange & Slate Blue) ─── */
:root {
    --primary:       #335775;       /* Soft Rich Slate Blue from "VICTORY" */
    --primary-dark:  #20384D;       /* Deep Slate Blue */
    --primary-light: #4A7499;       /* Light Slate Blue */
    --orange:        #EA642A;       /* Vibrant Warm Amber Orange for Buttons & Cross */
    --orange-dark:   #CE5119;       /* Deep Amber Orange for Hover */
    --orange-light:  #F79468;       /* Soft Warm Amber Highlight */
    --rust:          #EA642A;       /* Warm Orange */
    --rust-dark:     #CE5119;
    --rust-light:    #F79468;
    --gold:          #EA642A;       /* Warm Orange Accent */
    --gold-dark:     #CE5119;
    --gold-light:    #F79468;
    --silver:        #7E97AD;       /* Cool Slate Accent */
    --silver-dark:   #50687E;
    --silver-light:  #D5E0EA;
    --fg:            #20384D;       /* Soft Slate Charcoal Headings */
    --fg-light:      #50687E;       /* Slate Body Text */
    --fg-muted:      #7E97AD;       /* Muted Steel */
    --bg:            #FFFFFF;       /* Pure Crisp White Background */
    --bg-alt:        #F8FAFC;       /* Light & Airy Soft Off-White Background */
    --white:         #FFFFFF;
    --card:          #FFFFFF;       /* Clean White Cards */
    --border:        #E2E8F0;       /* Subtle Cool Slate Border */
    --shadow-sm:     0 2px 10px rgba(32,56,77,.04);
    --shadow:        0 8px 26px rgba(32,56,77,.06);
    --shadow-lg:     0 18px 45px rgba(32,56,77,.09);
    --radius:        6px;           /* Modern subtle rounded rectangular style */
    --radius-sm:     3px;
    --radius-full:   9999px;
    --transition:    all .25s ease-out;
    --header-h:      108px;         /* Height of main nav header */
}

/* ─── BASE STYLES ────────────────────────────────────────── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--fg);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Lora', Georgia, serif;
    font-weight: 700;
    line-height: 1.25;
    color: var(--fg);
}

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

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

/* ─── UTILITY CLASSES ─────────────────────────────────────── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

.section-tag {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}

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

.section-heading {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    margin-bottom: 18px;
    font-weight: 700;
}

/* ─── ANNOUNCEMENT BAR ────────────────────────────────────── */
.announcement-bar {
    background-color: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 10px 16px;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    z-index: 1001;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.announcement-bar a {
    color: var(--gold-light);
    font-weight: 600;
    text-decoration: underline;
    margin-left: 6px;
}

/* ─── SITE HEADER & NAVIGATION ───────────────────────────── */
header {
    position: sticky;
    top: 0;
    width: 100%;
    height: var(--header-h);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    transition: var(--transition);
}

header.scrolled {
    box-shadow: var(--shadow-sm);
    height: 88px;
}

.nav-inner {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo img {
    height: 92px;
    width: auto;
    display: block;
    transition: var(--transition);
}

header.scrolled .logo img {
    height: 78px;
}

/* Nav links */
.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    font-size: .88rem;
    font-weight: 500;
    color: var(--fg-light);
    letter-spacing: .02em;
    padding: 6px 0;
    position: relative;
}

.nav-links a:not(.btn):hover, 
.nav-links a.active:not(.btn) {
    color: var(--primary);
}

.nav-links a.active:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gold);
}

/* Override nav button styles to fix color specificity issues */
.nav-links a.btn {
    padding: 10px 22px;
}
.nav-links a.btn-primary {
    color: var(--white);
    background: var(--rust);
}
.nav-links a.btn-primary:hover {
    color: var(--white);
    background: var(--rust-dark);
}
.nav-links a.btn-gold {
    color: var(--white);
    background: var(--gold);
}
.nav-links a.btn-gold:hover {
    color: var(--white);
    background: var(--gold-dark);
}

/* ─── BUTTONS ───────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: .88rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--rust);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--rust-dark);
    transform: translateY(-1px);
}

.btn-outline {
    border-color: rgba(255, 255, 255, 0.7);
    color: var(--white);
}

.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.btn-outline-dark {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline-dark:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-gold {
    background: var(--gold);
    color: var(--white);
}

.btn-gold:hover {
    background: var(--gold-dark);
    transform: translateY(-1px);
}

/* ─── HERO SECTION ───────────────────────────────────────── */
.hero {
    position: relative;
    height: 82vh;
    min-height: 560px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #243B53;
}

.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.75;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(27,24,20,0.85) 0%, rgba(27,24,20,0.6) 50%, rgba(27,24,20,0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    color: var(--white);
}

.hero h1 {
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 700;
}

.hero h1 em {
    color: var(--gold-light);
    font-style: italic;
    font-family: 'Lora', Georgia, serif;
}

.hero p {
    font-size: 1.12rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 500px;
    margin-bottom: 36px;
    line-height: 1.6;
}

.hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Short hero variant (inner pages) */
.hero--short {
    height: 38vh;
    min-height: 280px;
    background-color: var(--primary);
}

.hero--short .hero-overlay {
    background: rgba(27, 24, 20, 0.75);
}

.hero--short .hero-content {
    max-width: 800px;
}

.hero--short h1 {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    margin-bottom: 10px;
}

.hero--short p {
    font-size: 1.05rem;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.85);
}

/* ─── SECTIONS ───────────────────────────────────────────── */
section {
    padding: 80px 0;
}

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

/* ─── 3-COLUMN FEATURE CARDS (HOME) ──────────────────────── */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: -60px; /* Overlaps hero section slightly for modern layout */
    position: relative;
    z-index: 10;
    margin-bottom: 40px;
}

.feature-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

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

.feature-img-wrap {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.feature-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: var(--transition);
}

.feature-card:hover .feature-img-wrap img {
    transform: scale(1.03);
}

.feature-card-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-card-content h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    font-family: 'Lora', Georgia, serif;
}

.feature-card-content p {
    font-size: 0.92rem;
    color: var(--fg-light);
    margin-bottom: 20px;
    line-height: 1.6;
    flex: 1;
}

.feature-card-content .btn {
    width: 100%;
}

/* ─── SERVICE TIMES & LOCATION (HOME) ─────────────────────── */
.location-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
    margin-bottom: 48px;
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow);
}

.icon-badge {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    background: rgba(234, 100, 42, 0.08);
    border: 1px solid rgba(234, 100, 42, 0.22);
    color: var(--orange-dark);
    transition: var(--transition);
}

.icon-badge svg {
    width: 26px;
    height: 26px;
    stroke: var(--orange-dark);
    display: block;
    transition: var(--transition);
}

.card:hover .icon-badge {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.card:hover .icon-badge svg {
    stroke: var(--white);
}

/* Service item rows */
.service-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.service-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.service-item:first-child {
    padding-top: 0;
}

.service-time {
    font-family: 'Lora', Georgia, serif;
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--gold);
    min-width: 95px;
    text-align: right;
}

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

.service-day {
    font-size: .85rem;
    color: var(--fg-light);
    margin-top: 2px;
}

/* Map Wrapper */
.map-wrap {
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    height: 400px;
}

.map-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* ─── ABOUT PAGE STYLING ─────────────────────────────────── */
.story-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.story-img-wrap {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.story-img-wrap img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

/* Statement of Faith */
.faith-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.faith-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 24px;
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    border-left: 3px solid var(--primary);
    transition: var(--transition);
}

.faith-item:hover {
    box-shadow: var(--shadow-sm);
    transform: translateX(2px);
    border-left-color: var(--gold);
}

.faith-num {
    font-family: 'Lora', Georgia, serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--gold);
    min-width: 28px;
    line-height: 1;
}

.faith-item p {
    font-size: 0.92rem;
    color: var(--fg-light);
    line-height: 1.65;
}

/* Leadership cards */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.premium-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 380px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.premium-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.premium-card:hover img {
    transform: scale(1.02);
}

.premium-card .gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(27,24,20,0.9) 0%, rgba(27,24,20,0.4) 50%, transparent 100%);
    z-index: 1;
}

.premium-card .content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    z-index: 2;
    color: var(--white);
}

.premium-card .content h3 {
    font-size: 1.5rem;
    color: var(--white);
}

/* ─── EVENTS PAGE STYLING ────────────────────────────────── */
.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.event-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.event-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
    border-color: var(--gold);
}

.event-card-accent {
    height: 4px;
    background: var(--primary);
}

.event-card:hover .event-card-accent {
    background: var(--gold);
}

.event-card-body {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.event-day-badge {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    background: var(--bg-alt);
    color: var(--primary);
    border: 1px solid var(--border);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    align-self: flex-start;
}

.event-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-family: 'Lora', Georgia, serif;
}

.event-card-time {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 16px;
}

.event-card p {
    font-size: .9rem;
    color: var(--fg-light);
    line-height: 1.6;
}

/* ─── SERMON LIBRARY STYLING ─────────────────────────────── */
#sermon-library {
    padding: 60px 0;
}

.sermon-toolbar {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.sermon-search-wrap {
    position: relative;
    flex: 1;
    min-width: 250px;
}

.sermon-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--fg-muted);
    pointer-events: none;
}

.sermon-search-wrap input {
    width: 100%;
    padding: 10px 14px 10px 40px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg-alt);
    font-size: .88rem;
    color: var(--fg);
    transition: var(--transition);
    outline: none;
}

.sermon-search-wrap input:focus {
    border-color: var(--primary);
    background: var(--white);
}

.sermon-controls {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.sermon-controls select {
    padding: 10px 36px 10px 14px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg-alt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23605751' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 14px center;
    appearance: none;
    font-size: .88rem;
    font-family: inherit;
    font-weight: 500;
    color: var(--fg-light);
    cursor: pointer;
    outline: none;
    transition: var(--transition);
}

.sermon-controls select:hover,
.sermon-controls select:focus {
    border-color: var(--primary);
}

/* Sermon Grid / Cards */
.sermon-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.sermon-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.sermon-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--gold);
}

.sermon-card-header {
    padding: 24px;
    border-bottom: 1px solid var(--border);
    flex: 1;
}

.sermon-card-meta-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.sermon-date {
    font-size: .82rem;
    color: var(--fg-muted);
    font-weight: 500;
}

.sermon-live-badge {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    background: rgba(230, 110, 40, 0.12);
    color: var(--orange-dark);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
}

.sermon-title {
    font-size: 1.2rem;
    margin-bottom: 12px;
    font-family: 'Lora', Georgia, serif;
    line-height: 1.35;
}

.sermon-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.sermon-tag {
    display: inline-flex;
    align-items: center;
    font-size: .75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    line-height: 1.2;
    text-decoration: none;
    border: none;
    font-family: inherit;
}

button.sermon-tag--preacher {
    background: var(--bg-alt);
    color: var(--primary);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
}

button.sermon-tag--preacher:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

button.sermon-tag--preacher svg {
    stroke: currentColor;
    margin-right: 5px;
}

.sermon-tag--scripture {
    background: rgba(234, 100, 42, 0.09);
    color: var(--orange-dark);
    border: 1px solid rgba(234, 100, 42, 0.20);
}

.sermon-tag--scripture svg {
    stroke: currentColor;
    margin-right: 5px;
}

.sermon-tag--date {
    background: rgba(32, 54, 76, 0.08);
    color: var(--text-muted);
    border: 1px solid var(--border);
}

.sermon-tag--date svg {
    stroke: currentColor;
    margin-right: 5px;
}

.sermon-filter-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    margin-bottom: 24px;
    font-size: .88rem;
    color: var(--fg);
}

.sermon-filter-status-text strong {
    color: var(--primary);
}

.sermon-filter-reset-btn {
    background: none;
    border: none;
    color: var(--orange-dark);
    font-weight: 600;
    font-size: .82rem;
    cursor: pointer;
    text-decoration: underline;
    padding: 4px 8px;
    border-radius: 4px;
    transition: var(--transition);
}

.sermon-filter-reset-btn:hover {
    background: rgba(234, 100, 42, 0.1);
}

.yt-wrap {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background-color: #000;
}

.yt-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* States */
.sermon-state-wrap {
    text-align: center;
    padding: 80px 24px;
    color: var(--fg-light);
}

.sermon-state-wrap h3 {
    font-size: 1.35rem;
    margin-bottom: 8px;
}

.sermon-setup-notice {
    max-width: 480px;
    margin: 0 auto;
    padding: 40px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.sermon-setup-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.sermon-spinner {
    width: 32px;
    height: 32px;
    border: 2px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin .7s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ─── SITE FOOTER ────────────────────────────────────────── */
footer {
    background: #20384D;          /* Deep Slate Blue matching logo */
    color: rgba(255, 255, 255, 0.85);
    padding: 80px 0 0;
    font-size: 0.9rem;
    border-top: 4px solid var(--gold);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-logo-img {
    height: 54px;
    width: auto;
    margin-bottom: 18px;
    display: block;
}

.footer-logo-text {
    font-family: 'Lora', Georgia, serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 6px;
}

.footer-logo-sub {
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 16px;
    display: block;
}

.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.7;
    max-width: 340px;
}

footer h4 {
    font-family: 'Inter', -apple-system, sans-serif;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .75rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

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

.footer-schedule {
    list-style: none;
    padding: 0;
    margin: 14px 0 0;
}

.footer-schedule-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 9px;
    font-size: .86rem;
    color: rgba(255, 255, 255, 0.85);
}

.footer-schedule-item svg {
    width: 16px;
    height: 16px;
    color: var(--gold-light);
    flex-shrink: 0;
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: .8rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ─── MOBILE NAVIGATION & RESPONSIVENESS ─────────────────── */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--fg);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Desktop responsiveness adjustments */
@media(max-width: 1024px) {
    .feature-grid {
        grid-template-columns: 1fr 1fr;
        margin-top: -40px;
    }
    .feature-card:last-child {
        grid-column: span 2;
    }
    .location-grid {
        grid-template-columns: 1fr;
    }
    .story-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .story-img-wrap img {
        height: 340px;
    }
}

@media(max-width: 768px) {
    .container {
        padding: 0 24px;
    }
    header {
        height: 86px;
    }
    :root {
        --header-h: 86px;
    }
    .logo img {
        height: 72px;
    }
    .hamburger {
        display: flex;
    }
    .nav-links {
        position: fixed;
        top: 86px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 86px);
        background: var(--bg);
        flex-direction: column;
        padding: 40px 24px;
        gap: 0;
        transition: 0.35s cubic-bezier(0.2, 1, 0.2, 1);
        z-index: 999;
        border-top: 1px solid var(--border);
    }
    .nav-links li {
        width: 100%;
        border-bottom: 1px solid var(--border);
    }
    .nav-links a {
        display: block;
        padding: 16px 0;
        font-size: 1rem;
    }
    .nav-links .btn {
        margin-top: 24px;
        text-align: center;
        width: 100%;
    }
    .nav-links.active {
        left: 0;
    }
    .hero {
        height: auto;
        padding: 120px 0 60px;
    }
    .hero-content {
        text-align: center;
        margin: 0 auto;
    }
    .hero-btns {
        justify-content: center;
    }
    .feature-grid {
        grid-template-columns: 1fr;
        margin-top: 20px;
    }
    .feature-card:last-child {
        grid-column: span 1;
    }
    .events-grid {
        grid-template-columns: 1fr;
    }
    .sermon-grid {
        grid-template-columns: 1fr;
    }
    .faith-list {
        grid-template-columns: 1fr;
    }
    .grid-2 {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    section {
        padding: 60px 0;
    }
}

@media(max-width: 480px) {
    header {
        height: 78px;
    }
    :root {
        --header-h: 78px;
    }
    .logo img {
        height: 60px;
    }
    .nav-links {
        top: 78px;
        height: calc(100vh - 78px);
    }
    .sermon-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    .sermon-controls {
        flex-direction: column;
    }
}
