/* ============================================
   BE CAPTIVATED BOOKS — Global Stylesheet
   Warm, Nature-Inspired Design System
   ============================================ */

:root {
    --gold: #C4973B;
    --gold-light: #E8D5A3;
    --gold-dark: #8B6914;
    --gold-hover: #D4A84B;
    --forest: #2C4A2E;
    --forest-light: #3D6B40;
    --forest-hover: #356538;
    --sage: #7A8B6F;
    --sage-light: #A3B196;
    --cream: #FAF6EE;
    --cream-dark: #F0E8D8;
    --cream-mid: #F5EFE3;
    --bark: #5C4033;
    --bark-light: #7A5C4F;
    --white: #FFFFFF;
    --text: #2D2A26;
    --text-light: #5A5650;
    --text-muted: #8A857E;
    --border: rgba(196, 151, 59, 0.15);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 25px rgba(0,0,0,0.08);
    --shadow-lg: 0 15px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --radius-sm: 3px;
    --radius-md: 6px;
    --radius-lg: 12px;
    --transition: 0.3s ease;
    --max-width: 1200px;
    --content-width: 1100px;
    --narrow-width: 800px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Lato', sans-serif;
    color: var(--text);
    background: var(--cream);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5 {
    font-family: 'Cormorant Garamond', serif;
    line-height: 1.2;
}

img { max-width: 100%; height: auto; display: block; }
a { transition: color var(--transition); }

/* ========== NAVIGATION ========== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 246, 238, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gold-light);
    transition: all var(--transition);
}

nav.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0.8rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--forest);
    text-decoration: none;
    letter-spacing: 0.02em;
}

.nav-logo span { color: var(--gold); }

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

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    position: relative;
}

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

.nav-links a:hover { color: var(--forest); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--forest); font-weight: 700; }
.nav-links a.active::after { width: 100%; }

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--forest);
    transition: all var(--transition);
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
    font-family: 'Lato', sans-serif;
}

.btn svg { width: 16px; height: 16px; }

.btn-primary {
    background: var(--forest);
    color: var(--white);
}
.btn-primary:hover {
    background: var(--forest-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 74, 46, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--forest);
    border: 1.5px solid var(--gold);
}
.btn-secondary:hover {
    background: var(--gold);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-gold {
    background: var(--gold);
    color: var(--white);
}
.btn-gold:hover {
    background: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 151, 59, 0.3);
}

.btn-sm {
    padding: 0.6rem 1.4rem;
    font-size: 0.8rem;
}

/* ========== SECTION HEADERS ========== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 400;
    color: var(--forest);
}

.section-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-light);
    margin-top: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-divider {
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin: 1.5rem auto 0;
}

/* ========== PAGE HERO (internal pages) ========== */
.page-hero {
    padding: 10rem 2rem 5rem;
    background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 50%, #E8E0CF 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(196, 151, 59, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.page-hero-label {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.page-hero h1 {
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--forest);
    margin-bottom: 1rem;
}

.page-hero h1 em {
    font-weight: 500;
    color: var(--gold-dark);
}

.page-hero p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-style: italic;
    color: var(--bark-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ========== SCRIPTURE BANNER ========== */
.scripture-banner {
    background: var(--forest);
    padding: 3.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.scripture-banner::before,
.scripture-banner::after {
    content: '\201C';
    position: absolute;
    font-family: 'Cormorant Garamond', serif;
    font-size: 15rem;
    color: rgba(196, 151, 59, 0.08);
    line-height: 1;
}

.scripture-banner::before { top: -2rem; left: 2rem; }
.scripture-banner::after { content: '\201D'; bottom: -5rem; right: 2rem; }

.scripture-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-style: italic;
    font-weight: 400;
    color: var(--gold-light);
    max-width: 850px;
    margin: 0 auto 1rem;
    line-height: 1.6;
}

.scripture-ref {
    font-size: 0.85rem;
    color: rgba(232, 213, 163, 0.6);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* ========== CONTENT SECTIONS ========== */
.section-white { padding: 6rem 2rem; background: var(--white); }
.section-cream { padding: 6rem 2rem; background: var(--cream); }
.section-gradient { padding: 6rem 2rem; background: linear-gradient(180deg, var(--cream-dark) 0%, var(--cream) 100%); }

.container { max-width: var(--max-width); margin: 0 auto; }
.container-narrow { max-width: var(--narrow-width); margin: 0 auto; }
.container-content { max-width: var(--content-width); margin: 0 auto; }

/* ========== CARDS ========== */
.card {
    background: var(--white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    transition: all var(--transition);
    overflow: hidden;
}

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

.card-image {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
}

.card-body { padding: 1.8rem; }

.card-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-dark);
    background: rgba(196, 151, 59, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 2px;
    margin-bottom: 0.8rem;
}

.card-title {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--forest);
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.card-title a {
    color: inherit;
    text-decoration: none;
}
.card-title a:hover { color: var(--gold-dark); }

.card-excerpt {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.card-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.card-meta svg {
    width: 14px;
    height: 14px;
    color: var(--sage);
}

/* ========== FOOTER ========== */
footer {
    background: var(--forest);
    padding: 4rem 2rem 2.5rem;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(196, 151, 59, 0.15);
}

.footer-brand .footer-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gold-light);
    margin-bottom: 1rem;
}

.footer-brand p {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1rem;
    color: rgba(232, 213, 163, 0.5);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 0.8rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(196, 151, 59, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-light);
    text-decoration: none;
    transition: all var(--transition);
}

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

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

.footer-col h4 {
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 1.2rem;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
}

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

.footer-col li { margin-bottom: 0.6rem; }

.footer-col a {
    color: rgba(232, 213, 163, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition);
}

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

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

.footer-copyright {
    font-size: 0.8rem;
    color: rgba(232, 213, 163, 0.35);
}

.footer-copyright a {
    color: rgba(232, 213, 163, 0.5);
    text-decoration: none;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 968px) {
    .page-hero h1 { font-size: 2.8rem; }
    .section-title { font-size: 2.2rem; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--cream);
        flex-direction: column;
        padding: 1.5rem 2rem;
        gap: 1rem;
        border-bottom: 1px solid var(--gold-light);
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    }
    .nav-links.active { display: flex; }
    .hamburger { display: flex; }
    .page-hero { padding: 8rem 1.5rem 3.5rem; }
    .page-hero h1 { font-size: 2.2rem; }
    .scripture-text { font-size: 1.3rem; }
    .footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .page-hero h1 { font-size: 1.8rem; }
    .section-title { font-size: 1.8rem; }
    .btn { width: 100%; justify-content: center; }
}
