* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

:root {
    --gold: #d4af37;
    --black: #000000;
    --dark-gray: #1a1a1a;
    --charcoal: #2c2c2c;
    --text-white: #ffffff;
    --cream: #faf7f2;
    --light-warm: #f0ebe0;
    --card-white: #ffffff;
    --text-dark: #2c2c2c;
    --text-muted: #5a5a5a;
}

body {
    font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--cream);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.header {
    background-color: var(--dark-gray);
    padding: 0;
    border-bottom: 3px solid var(--gold);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    padding: 14px 20px;
}

.logo {
    display: flex;
    justify-content: center;
}

.logo-img {
    height: 70px;
    width: auto;
    mix-blend-mode: screen;
}

.nav {
    display: flex;
    gap: 0;
    flex-wrap: nowrap;
    justify-content: flex-end;
    width: auto;
}

.nav a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    padding: 8px 14px;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    white-space: nowrap;
}

.nav a:hover {
    color: var(--text-white);
    background-color: rgba(212, 175, 55, 0.1);
}

/* Hamburger toggle button — hidden on desktop */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--gold);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 110px 20px 90px;
    background: linear-gradient(160deg, #1c1208 0%, #2d1e00 40%, #0d0d0d 100%);
    min-height: 540px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-watermark {
    position: absolute;
    right: 6%;
    top: 50%;
    transform: translateY(-50%);
    height: 78%;
    width: auto;
    opacity: 0.50;
    filter: invert(1);
    pointer-events: none;
    user-select: none;
}

.hero .container {
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 52px;
    color: var(--text-white);
    margin-bottom: 18px;
    font-weight: 700;
    letter-spacing: 2px;
}

.hero-divider {
    width: 60px;
    height: 3px;
    background-color: var(--gold);
    border-radius: 2px;
    margin: 0 auto 22px;
}

.hero-tagline {
    font-size: 18px;
    max-width: 680px;
    margin: 0 auto 28px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.82);
}

.hero-verse {
    display: block;
    font-style: italic;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.45);
    max-width: 560px;
    margin: 0 auto 36px;
    line-height: 1.8;
    border: none;
    padding: 0;
}

.hero-verse cite {
    display: block;
    margin-top: 6px;
    font-style: normal;
    font-weight: 600;
    color: var(--gold);
    font-size: 13px;
    opacity: 0.8;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-block;
    padding: 14px 36px;
    background-color: var(--gold);
    color: var(--black);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background-color: #c49e2a;
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-block;
    padding: 14px 36px;
    border: 2px solid var(--gold);
    color: var(--gold);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: var(--gold);
    color: var(--black);
    transform: translateY(-2px);
}

/* Quick Links Section */
.quick-links {
    background-color: var(--charcoal);
    padding: 0;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.quick-link-card {
    padding: 44px 36px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    transition: background-color 0.3s ease;
}

.quick-link-card:last-child {
    border-right: none;
}

.quick-link-card:hover {
    background-color: rgba(212, 175, 55, 0.07);
}

.quick-link-icon {
    font-size: 32px;
    margin-bottom: 14px;
    line-height: 1;
}

.quick-link-card h3 {
    font-size: 17px;
    color: var(--gold);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.quick-link-card p {
    font-size: 14px;
    color: #999;
    line-height: 1.7;
    margin-bottom: 8px;
}

.quick-link-address {
    font-size: 13px;
    color: #666;
    margin-bottom: 16px !important;
}

.quick-link-card a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
}

.quick-link-card a:hover {
    color: var(--gold);
}

/* Section heading accent underline */
.schedule h2,
.beliefs h2,
.childrens h2,
.locations h2,
.connect h2,
.contact h2,
.prayer h2 {
    position: relative;
    padding-bottom: 20px;
}

.schedule h2::after,
.beliefs h2::after,
.childrens h2::after,
.locations h2::after,
.connect h2::after,
.contact h2::after,
.prayer h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--gold);
    border-radius: 2px;
}

/* Schedule Section */
.schedule {
    padding: 80px 20px;
    background-color: var(--light-warm);
}

.schedule h2 {
    text-align: center;
    font-size: 42px;
    color: var(--gold);
    margin-bottom: 50px;
    letter-spacing: 1px;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
    gap: 30px;
}

.schedule-card {
    background-color: var(--card-white);
    padding: 40px;
    border-left: 4px solid var(--gold);
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.schedule-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.schedule-day {
    font-size: 28px;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.schedule-item {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

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

.schedule-item h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.schedule-item .time {
    font-size: 16px;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 8px;
}

.schedule-item .location {
    font-size: 14px;
    color: var(--text-muted);
}

/* Beliefs Section */
.beliefs {
    padding: 80px 20px;
    background-color: var(--cream);
}

.beliefs h2 {
    text-align: center;
    font-size: 42px;
    color: var(--gold);
    margin-bottom: 60px;
    letter-spacing: 1px;
}

.belief-article {
    max-width: 780px;
    margin: 0 auto 32px;
    padding: 32px 36px;
    background-color: var(--card-white);
    border-left: 4px solid var(--gold);
    border-radius: 0 8px 8px 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.belief-article h3 {
    font-size: 22px;
    color: var(--gold);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.belief-article p {
    font-size: 17px;
    line-height: 1.75;
    color: var(--text-dark);
    margin: 0;
}

.belief-article p + ul {
    margin-top: 12px;
}

.belief-gifts {
    list-style: disc;
    padding-left: 24px;
    margin: 0;
}

.belief-gifts li {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.8;
}

.belief-article--highlight {
    background-color: rgba(212, 175, 55, 0.08);
    border-left-color: var(--gold);
}

.belief-article--ruled {
    border-top: 1px solid rgba(212, 175, 55, 0.35);
    border-bottom: 1px solid rgba(212, 175, 55, 0.35);
    border-left: 4px solid var(--gold);
    border-radius: 0 8px 8px 0;
}

.belief-prayer {
    max-width: 780px;
    margin: 0 auto 80px;
    padding: 36px;
    text-align: center;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    padding-top: 48px;
}

.belief-prayer h3 {
    font-size: 22px;
    color: var(--gold);
    margin-bottom: 14px;
    letter-spacing: 0.5px;
}

.belief-prayer p {
    font-size: 18px;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.7;
}

/* Children's Ministries Section */
.childrens {
    padding: 80px 20px;
    background-color: var(--light-warm);
}

.childrens h2 {
    text-align: center;
    font-size: 42px;
    color: var(--gold);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.childrens-lead {
    text-align: center;
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.75;
    max-width: 720px;
    margin: 0 auto 50px;
}

.childrens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 30px;
}

.childrens-card {
    background-color: var(--card-white);
    padding: 36px 32px;
    border-radius: 8px;
    border-top: 4px solid var(--gold);
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.childrens-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.childrens-icon {
    font-size: 36px;
    margin-bottom: 16px;
    color: var(--gold);
}

.childrens-card h3 {
    font-size: 22px;
    color: var(--gold);
    margin-bottom: 12px;
}

.childrens-card p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
}

.childrens-subheading {
    text-align: center;
    font-size: 28px;
    color: var(--gold);
    margin: 60px 0 30px;
    letter-spacing: 0.5px;
}

.childrens-learn-list {
    list-style: none;
    padding: 0;
    max-width: 780px;
    margin: 0 auto 20px;
}

.childrens-learn-list li {
    font-size: 17px;
    color: var(--text-dark);
    padding: 14px 20px;
    border-left: 4px solid var(--gold);
    background-color: var(--card-white);
    border-radius: 0 8px 8px 0;
    margin-bottom: 12px;
    line-height: 1.5;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
}

/* Locations Section */
.locations {
    padding: 80px 20px;
    background-color: var(--cream);
}

.locations h2 {
    text-align: center;
    font-size: 42px;
    color: var(--gold);
    margin-bottom: 50px;
    letter-spacing: 1px;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(350px, 100%), 1fr));
    gap: 30px;
}

.location-card {
    background-color: var(--card-white);
    padding: 40px;
    border-radius: 8px;
    border-top: 4px solid var(--gold);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.location-card h3 {
    font-size: 24px;
    color: var(--gold);
    margin-bottom: 20px;
}

.location-card p {
    font-size: 16px;
    margin-bottom: 12px;
    line-height: 1.6;
}

.location-card strong {
    color: var(--gold);
}

/* Connect Section */
.connect {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--light-warm) 0%, var(--cream) 100%);
    text-align: center;
}

.connect h2 {
    font-size: 42px;
    color: var(--gold);
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.connect-options {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.social-link {
    display: inline-block;
    padding: 15px 40px;
    border: 2px solid var(--gold);
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 16px;
}

.social-link:hover {
    background-color: var(--gold);
    color: var(--black);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.social-link--disabled {
    opacity: 0.45;
    cursor: default;
    pointer-events: none;
    border-style: dashed;
}

/* Contact Section */
.contact {
    padding: 80px 20px;
    background-color: var(--light-warm);
}

.contact h2 {
    text-align: center;
    font-size: 42px;
    color: var(--gold);
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.contact-info {
    max-width: 700px;
    margin: 0 auto;
    font-size: 18px;
}

.contact-info p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.contact-info a {
    color: var(--gold);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
    color: var(--charcoal);
}

/* Footer */
.footer {
    background-color: var(--black);
    border-top: 3px solid var(--gold);
    padding: 60px 20px 36px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.footer-logo {
    height: 56px;
    width: auto;
    mix-blend-mode: screen;
    margin-bottom: 12px;
    display: block;
}

.footer-col > p {
    color: #888;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 8px;
}

.footer-col h4 {
    color: var(--gold);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
    font-weight: 700;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 9px;
}

.footer-col ul li a,
.footer-col > p a {
    color: #888;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover,
.footer-col > p a:hover {
    color: var(--gold);
}

.footer-copy {
    text-align: center;
    font-size: 13px;
    color: #555;
    margin: 0;
}

/* Events Page */
.events-hero {
    text-align: center;
    padding: 80px 20px 40px;
    background: linear-gradient(135deg, var(--cream) 0%, var(--light-warm) 100%);
}

.events-hero h1 {
    font-size: 48px;
    color: var(--gold);
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.events-hero p {
    font-size: 18px;
    color: var(--text-muted);
}

.events-list {
    padding: 60px 20px 80px;
    background-color: var(--cream);
}

.events-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 860px;
    margin: 0 auto;
}

.event-card {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    background-color: var(--card-white);
    border-left: 4px solid var(--gold);
    border-radius: 8px;
    padding: 28px 32px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.15);
}

.event-card--past {
    opacity: 0.5;
    border-left-color: #bbb;
}

.event-date-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--gold);
    color: var(--black);
    border-radius: 6px;
    min-width: 60px;
    padding: 10px 8px;
    font-weight: 700;
    flex-shrink: 0;
}

.event-month {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-day {
    font-size: 30px;
    line-height: 1.1;
}

.event-details {
    flex: 1;
}

.event-details h3 {
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.event-past-label {
    font-size: 12px;
    background-color: #e0dbd0;
    color: #888;
    padding: 2px 8px;
    border-radius: 4px;
    vertical-align: middle;
    font-weight: 400;
    margin-left: 8px;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 14px;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 8px;
}

.event-location {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.event-desc {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
}

.events-loading,
.events-empty {
    text-align: center;
    color: var(--text-muted);
    font-size: 16px;
    padding: 40px 0;
}

/* Prayer Request Section */
.prayer {
    padding: 80px 20px;
    background-color: var(--light-warm);
}

.prayer h2 {
    text-align: center;
    font-size: 42px;
    color: var(--gold);
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.prayer-lead {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.8;
}

.prayer-form {
    max-width: 640px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background-color: var(--card-white);
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    padding: 14px 16px;
    color: var(--text-dark);
    font-family: inherit;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

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

.prayer-submit {
    display: block;
    width: 100%;
    padding: 16px;
    background-color: var(--gold);
    color: var(--black);
    border: none;
    border-radius: 6px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.prayer-submit:hover {
    background-color: #c49e2a;
    transform: translateY(-2px);
}

/* Bot trap — visually hidden from humans */
.bot-trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.prayer-error {
    background-color: rgba(180, 40, 40, 0.2);
    border: 1px solid #b42828;
    color: #ff8a8a;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 14px;
    margin-bottom: 16px;
}

/* Responsive — Tablet & below (≤768px) */
@media (max-width: 768px) {
    .header .container {
        flex-wrap: wrap;
        padding: 10px 16px;
    }

    .logo-img {
        height: 48px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav {
        display: none;
        flex-direction: column;
        width: 100%;
        border-top: 1px solid rgba(212, 175, 55, 0.2);
        margin-top: 8px;
    }

    .nav.nav--open {
        display: flex;
    }

    .nav a {
        font-size: 14px;
        padding: 12px 16px;
        border-bottom: 1px solid rgba(212, 175, 55, 0.1);
        letter-spacing: 0;
    }

    .nav a:last-child {
        border-bottom: none;
    }

    .hero {
        padding: 70px 20px 60px;
        min-height: auto;
    }

    .hero-watermark {
        display: none;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-tagline {
        font-size: 16px;
    }

    .quick-links-grid {
        grid-template-columns: 1fr;
    }

    .quick-link-card {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .quick-link-card:last-child {
        border-bottom: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .schedule,
    .locations,
    .prayer,
    .connect,
    .contact {
        padding: 60px 20px;
    }

    .schedule h2,
    .locations h2,
    .prayer h2,
    .connect h2,
    .contact h2 {
        font-size: 32px;
    }

    .schedule-grid {
        grid-template-columns: 1fr;
    }

    .locations-grid {
        grid-template-columns: 1fr;
    }

    .connect-options {
        flex-direction: column;
        align-items: center;
    }

    .social-link {
        width: 100%;
        max-width: 300px;
    }
}

/* Responsive — Small phones (≤480px) */
@media (max-width: 480px) {
    .logo-img {
        height: 42px;
    }

    .hero {
        padding: 50px 16px 40px;
    }

    .hero h1 {
        font-size: 28px;
        letter-spacing: 1px;
    }

    .hero-tagline {
        font-size: 15px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-outline {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .schedule,
    .locations,
    .prayer,
    .connect,
    .contact {
        padding: 40px 16px;
    }

    .schedule h2,
    .locations h2,
    .prayer h2,
    .connect h2,
    .contact h2 {
        font-size: 26px;
        margin-bottom: 30px;
    }

    .schedule-card,
    .location-card {
        padding: 24px 20px;
    }

    .schedule-day {
        font-size: 22px;
    }

    .schedule-item h3 {
        font-size: 17px;
    }

    .location-card h3 {
        font-size: 20px;
    }

    .social-link {
        padding: 12px 24px;
        font-size: 15px;
        max-width: 100%;
    }

    .contact-info {
        font-size: 16px;
    }

    .footer {
        padding: 28px 16px;
    }
}