/*
 * Lake Area Christian Church — Master Stylesheet
 * Bootstrap 5 Companion
 *
 * Philosophy: Warm, rooted, readable. Nothing shouts.
 * Nothing hides. Like a good handshake.
 *
 * Palette pulled from the logo and the land:
 *   Orange Sun    #D47A2E  — warmth, welcome
 *   Deep Water    #2B5F8E  — steadiness, depth
 *   Creek Blue    #5B9BBF  — approachable, open
 *   Field Green   #4A7C3F  — rootedness, life
 *   Stone         #5C5A56  — anchor text, grounded
 *   Parchment     #F5F0E8  — page warmth, not clinical white
 *   Cream         #FAF7F2  — section backgrounds
 *   Charcoal      #2E2C2A  — headings, weight
 *   Warm White    #FFFFFF  — clean space
 */

/* ============================================================
   CUSTOM PROPERTIES
   ============================================================ */
:root {
    --lacc-orange: #D47A2E;
    --lacc-orange-dk: #B5621C;
    --lacc-blue: #2B5F8E;
    --lacc-blue-lt: #5B9BBF;
    --lacc-green: #4A7C3F;
    --lacc-stone: #5C5A56;
    --lacc-charcoal: #2E2C2A;
    --lacc-parchment: #F5F0E8;
    --lacc-cream: #FAF7F2;
    --lacc-rule: #D9D2C5;
    --font-serif: 'Georgia', 'Times New Roman', serif;
    --font-sans: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 14px;
    --shadow-soft: 0 2px 8px rgba(46, 44, 42, 0.10);
    --shadow-card: 0 3px 14px rgba(46, 44, 42, 0.12);
}


/* ============================================================
   BASE & BOOTSTRAP OVERRIDES
   ============================================================ */
body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.75;
    color: var(--lacc-stone);
    background-color: var(--lacc-cream);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--font-serif);
    color: var(--lacc-charcoal);
    font-weight: normal;
    line-height: 1.3;
    margin-bottom: 0.6em;
}

h1, .h1 {
    font-size: clamp(1.75rem, 4vw, 2.4rem);
}

h2, .h2 {
    font-size: clamp(1.4rem, 3vw, 1.9rem);
}

h3, .h3 {
    font-size: clamp(1.15rem, 2vw, 1.5rem);
}

h4, .h4 {
    font-size: 1.15rem;
}

p {
    margin-bottom: 1.1rem;
    max-width: 68ch;
}

a {
    color: var(--lacc-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

    a:hover {
        color: var(--lacc-orange);
        text-decoration: underline;
    }

hr {
    border: none;
    border-top: 1px solid var(--lacc-rule);
    margin: 2rem 0;
}

blockquote {
    border-left: 3px solid var(--lacc-orange);
    padding: 0.5rem 0 0.5rem 1.25rem;
    margin: 1.5rem 0;
    color: var(--lacc-stone);
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.05rem;
}

    blockquote cite {
        display: block;
        margin-top: 0.4rem;
        font-size: 0.85rem;
        font-style: normal;
        color: var(--lacc-blue);
        letter-spacing: 0.03em;
    }

small, .small {
    font-size: 0.85rem;
    color: var(--lacc-stone);
}


/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
    background-color: #fff;
    border-bottom: 2px solid var(--lacc-orange);
    padding: 0.85rem 1.25rem;
    box-shadow: var(--shadow-soft);
}

.navbar-brand {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--lacc-charcoal) !important;
    letter-spacing: 0.01em;
}

    .navbar-brand span {
        color: var(--lacc-orange);
    }

.nav-link {
    color: var(--lacc-stone) !important;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.5rem 0.9rem !important;
    transition: color 0.2s ease;
}

    .nav-link:hover,
    .nav-link.active {
        color: var(--lacc-orange) !important;
    }

.navbar-toggler {
    border-color: var(--lacc-rule);
}


/* ============================================================
   HERO / PAGE HEADER
   ============================================================ */
.lacc-hero {
    background-color: var(--lacc-blue);
    background-image: linear-gradient( 160deg, var(--lacc-blue) 0%, #1e4468 100% );
    color: #fff;
    padding: 4rem 1.5rem;
    text-align: center;
}

    .lacc-hero h1 {
        color: #fff;
        font-size: clamp(1.9rem, 5vw, 3rem);
        margin-bottom: 0.5rem;
    }

    .lacc-hero p.lead {
        color: rgba(255,255,255,0.82);
        font-size: 1.1rem;
        max-width: 56ch;
        margin: 0 auto 1.5rem;
    }

.lacc-hero-tagline {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.05rem;
    color: var(--lacc-orange);
    letter-spacing: 0.02em;
}


/* ============================================================
   SECTION BACKGROUNDS
   ============================================================ */
.section-white {
    background-color: #fff;
}

.section-cream {
    background-color: var(--lacc-cream);
}

.section-parchment {
    background-color: var(--lacc-parchment);
}

.section-blue {
    background-color: var(--lacc-blue);
    color: #fff;
}

.section-charcoal {
    background-color: var(--lacc-charcoal);
    color: #fff;
}

    .section-blue h1,
    .section-blue h2,
    .section-blue h3,
    .section-charcoal h1,
    .section-charcoal h2,
    .section-charcoal h3 {
        color: #fff;
    }

    .section-blue p,
    .section-charcoal p {
        color: rgba(255,255,255,0.80);
    }

section {
    padding: 3.5rem 0;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--lacc-orange);
    margin-bottom: 0.5rem;
}


/* ============================================================
   CARDS
   ============================================================ */
.card {
    border: 1px solid var(--lacc-rule);
    border-radius: var(--radius-md);
    background-color: #fff;
    box-shadow: var(--shadow-card);
    transition: box-shadow 0.2s ease;
}

    .card:hover {
        box-shadow: 0 6px 20px rgba(46, 44, 42, 0.15);
    }

.card-header {
    background-color: var(--lacc-parchment);
    border-bottom: 1px solid var(--lacc-rule);
    font-family: var(--font-serif);
    font-size: 1.05rem;
    color: var(--lacc-charcoal);
    padding: 0.85rem 1.25rem;
}

.card-body {
    padding: 1.25rem;
}

/* Accent card — left border stripe */
.card-accent {
    border-left: 4px solid var(--lacc-orange);
}

.card-accent-blue {
    border-left: 4px solid var(--lacc-blue);
}

.card-accent-green {
    border-left: 4px solid var(--lacc-green);
}


/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 0.55rem 1.4rem;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

/* Primary — Orange */
.btn-primary {
    background-color: var(--lacc-orange);
    border-color: var(--lacc-orange);
    color: #fff;
}

    .btn-primary:hover,
    .btn-primary:focus {
        background-color: var(--lacc-orange-dk);
        border-color: var(--lacc-orange-dk);
        color: #fff;
    }

/* Secondary — Blue */
.btn-secondary {
    background-color: var(--lacc-blue);
    border-color: var(--lacc-blue);
    color: #fff;
}

    .btn-secondary:hover,
    .btn-secondary:focus {
        background-color: #1e4468;
        border-color: #1e4468;
        color: #fff;
    }

/* Outline variants */
.btn-outline-primary {
    color: var(--lacc-orange);
    border-color: var(--lacc-orange);
    background: transparent;
}

    .btn-outline-primary:hover {
        background-color: var(--lacc-orange);
        color: #fff;
    }

.btn-outline-secondary {
    color: var(--lacc-blue);
    border-color: var(--lacc-blue);
    background: transparent;
}

    .btn-outline-secondary:hover {
        background-color: var(--lacc-blue);
        color: #fff;
    }

/* Ghost — for dark backgrounds */
.btn-ghost {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.55);
    color: #fff;
}

    .btn-ghost:hover {
        background: rgba(255,255,255,0.12);
        border-color: #fff;
        color: #fff;
    }


/* ============================================================
   BADGES & LABELS
   ============================================================ */
.badge-lacc {
    background-color: var(--lacc-orange);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    padding: 0.25em 0.6em;
}

.badge-blue {
    background-color: var(--lacc-blue);
    color: #fff;
}

.badge-green {
    background-color: var(--lacc-green);
    color: #fff;
}

.badge-stone {
    background-color: var(--lacc-stone);
    color: #fff;
}


/* ============================================================
   FORMS
   ============================================================ */
.form-control,
.form-select {
    border: 1px solid var(--lacc-rule);
    border-radius: var(--radius-sm);
    background-color: #fff;
    color: var(--lacc-charcoal);
    font-size: 0.95rem;
    padding: 0.5rem 0.85rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

    .form-control:focus,
    .form-select:focus {
        border-color: var(--lacc-blue-lt);
        box-shadow: 0 0 0 3px rgba(91, 155, 191, 0.2);
        outline: none;
    }

.form-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--lacc-charcoal);
    letter-spacing: 0.02em;
    margin-bottom: 0.3rem;
}


/* ============================================================
   SCRIPTURE / VERSE CALLOUT
   ============================================================ */
.verse-block {
    background-color: var(--lacc-parchment);
    border-left: 4px solid var(--lacc-orange);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 1.25rem 1.5rem;
    margin: 1.75rem 0;
}

    .verse-block p {
        font-family: var(--font-serif);
        font-style: italic;
        font-size: 1.05rem;
        color: var(--lacc-charcoal);
        margin-bottom: 0.4rem;
    }

    .verse-block cite {
        font-size: 0.82rem;
        font-style: normal;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: var(--lacc-blue);
    }


/* ============================================================
   EVENT / ANNOUNCEMENT BLOCK
   ============================================================ */
.event-item {
    display: flex;
    gap: 1.1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--lacc-rule);
}

    .event-item:last-child {
        border-bottom: none;
    }

.event-date {
    flex-shrink: 0;
    width: 52px;
    text-align: center;
    background-color: var(--lacc-orange);
    color: #fff;
    border-radius: var(--radius-sm);
    padding: 0.4rem 0.25rem;
    line-height: 1.2;
}

    .event-date .day {
        display: block;
        font-size: 1.4rem;
        font-weight: 700;
        font-family: var(--font-serif);
    }

    .event-date .month {
        display: block;
        font-size: 0.65rem;
        font-weight: 700;
        letter-spacing: 0.1em;
        text-transform: uppercase;
    }

.event-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--lacc-charcoal);
    margin-bottom: 0.15rem;
}

.event-info p {
    font-size: 0.88rem;
    color: var(--lacc-stone);
    margin-bottom: 0;
}


/* ============================================================
   DIVIDER WITH TEXT
   ============================================================ */
.divider-text {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--lacc-stone);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 2rem 0;
}

    .divider-text::before,
    .divider-text::after {
        content: '';
        flex: 1;
        height: 1px;
        background-color: var(--lacc-rule);
    }


/* ============================================================
   FOOTER
   ============================================================ */
.lacc-footer {
    background-color: var(--lacc-charcoal);
    color: rgba(255,255,255,0.70);
    padding: 2.5rem 0 1.5rem;
    font-size: 0.88rem;
}

    .lacc-footer h5 {
        color: #fff;
        font-family: var(--font-serif);
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .lacc-footer a {
        color: rgba(255,255,255,0.65);
        text-decoration: none;
        transition: color 0.2s ease;
    }

        .lacc-footer a:hover {
            color: var(--lacc-orange);
            text-decoration: none;
        }

.lacc-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.10);
    margin-top: 2rem;
    padding-top: 1rem;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.40);
}

.lacc-footer-tagline {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--lacc-orange);
    font-size: 0.92rem;
}


/* ============================================================
   UTILITY HELPERS
   ============================================================ */
.text-orange {
    color: var(--lacc-orange) !important;
}

.text-blue {
    color: var(--lacc-blue) !important;
}

.text-green {
    color: var(--lacc-green) !important;
}

.text-stone {
    color: var(--lacc-stone) !important;
}

.text-charcoal {
    color: var(--lacc-charcoal) !important;
}

.bg-orange {
    background-color: var(--lacc-orange) !important;
}

.bg-blue {
    background-color: var(--lacc-blue) !important;
}

.bg-green {
    background-color: var(--lacc-green) !important;
}

.bg-parchment {
    background-color: var(--lacc-parchment) !important;
}

.bg-cream {
    background-color: var(--lacc-cream) !important;
}

.border-orange {
    border-color: var(--lacc-orange) !important;
}

.border-blue {
    border-color: var(--lacc-blue) !important;
}

.border-rule {
    border-color: var(--lacc-rule) !important;
}

.font-serif {
    font-family: var(--font-serif) !important;
}

.font-italic {
    font-style: italic !important;
}

.rounded-lacc {
    border-radius: var(--radius-md) !important;
}

/* Subtle top border accent on a section */
.section-accent-top {
    border-top: 3px solid var(--lacc-orange);
}


/* ============================================================
   RESPONSIVE TWEAKS
   ============================================================ */
@media (max-width: 768px) {
    section {
        padding: 2.25rem 0;
    }

    .lacc-hero {
        padding: 2.5rem 1rem;
    }

    .event-item {
        flex-direction: column;
        gap: 0.5rem;
    }

    .event-date {
        width: auto;
        display: flex;
        gap: 0.5rem;
        align-items: center;
        padding: 0.3rem 0.6rem;
    }

        .event-date .day,
        .event-date .month {
            display: inline;
            font-size: 0.9rem;
        }
}
