/* ============================================================
   QUIT DRINKING MINISTRY — Real church website feel
   Photo-driven, warm, inviting, professional
   ============================================================ */

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

:root {
    --dark: #1a1a1a;
    --dark-warm: #2a2520;
    --charcoal: #333;
    --body: #555;
    --light-text: #888;
    --cream: #faf8f5;
    --cream-dark: #f0ece5;
    --white: #ffffff;
    --gold: #c8963e;
    --gold-hover: #dba94e;
    --gold-bg: rgba(200, 150, 62, 0.08);
    --primary: #2c5f7c;
    --primary-dark: #1e4a60;
    --primary-bg: rgba(44, 95, 124, 0.06);
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 24px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 48px rgba(0,0,0,0.08);
}

html { scroll-behavior: smooth; }

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

h1, h2, h3 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-weight: 400;
    line-height: 1.2;
    color: var(--dark);
}

a { text-decoration: none; color: inherit; transition: all 0.3s; }
img { max-width: 100%; display: block; }

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

/* ===== LABEL ===== */
.label {
    display: inline-block;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--gold);
    margin-bottom: 16px;
}
.label--white { color: rgba(255,255,255,0.8); }
.label--gold { color: var(--gold); }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 16px 40px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-white {
    background: var(--white);
    color: var(--dark);
}
.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

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

.btn-primary {
    background: var(--primary);
    color: var(--white);
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(44,95,124,0.3);
}

.btn-gold {
    background: var(--gold);
    color: var(--white);
}
.btn-gold:hover {
    background: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(200,150,62,0.3);
}

.btn-outline-w {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline-w:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.btn-full { width: 100%; }

/* ===== NAV ===== */
.nav {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 16px 0;
    transition: all 0.4s;
}

.nav.scrolled {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.nav.scrolled .nav-logo,
.nav.scrolled .nav-links a { color: var(--dark); }
.nav.scrolled .burger span { background: var(--dark); }
.nav.scrolled .cross-icon { color: var(--gold); }

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

.nav-logo {
    display: flex; align-items: center; gap: 8px;
    font-family: 'DM Serif Display', serif;
    font-size: 1.1rem;
    color: var(--white);
}

.nav-logo--sm { font-size: 1rem; }

.cross-icon {
    color: var(--gold);
    font-size: 1.2rem;
}

.nav-links {
    display: flex; align-items: center; gap: 32px;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
}
.nav-links a:hover { color: var(--white); }

.nav-give {
    background: var(--gold) !important;
    color: var(--white) !important;
    padding: 10px 28px !important;
    border-radius: 50px;
    font-weight: 700 !important;
}
.nav-give:hover { background: var(--gold-hover) !important; }

.nav.scrolled .nav-give {
    color: var(--white) !important;
}

.burger {
    display: none;
    flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 4px;
}
.burger span {
    width: 24px; height: 2px;
    background: var(--white); border-radius: 2px;
    transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-img {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.12); }
}

.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.5) 0%,
        rgba(0,0,0,0.4) 50%,
        rgba(0,0,0,0.6) 100%
    );
}

.hero-content {
    position: relative; z-index: 2;
    max-width: 780px;
    padding: 0 24px;
}

.hero-welcome {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: var(--gold);
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(2.8rem, 7vw, 4.8rem);
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    max-width: 560px;
    margin: 0 auto 36px;
    line-height: 1.8;
    font-weight: 300;
}

.hero-sub strong { color: var(--white); font-weight: 600; }

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

/* ===== IMPACT BAR ===== */
.bar {
    background: var(--primary);
    padding: 36px 0;
}

.bar-inner {
    max-width: 900px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-around;
    padding: 0 24px;
    flex-wrap: wrap;
    gap: 24px;
}

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

.bar-item strong {
    display: block;
    font-family: 'DM Serif Display', serif;
    font-size: 2rem;
    color: var(--white);
    line-height: 1;
    margin-bottom: 4px;
}

.bar-item span {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.6);
}

/* ===== SECTIONS ===== */
.section {
    padding: 100px 0;
}

.section--dark {
    background: var(--dark-warm);
    color: var(--white);
}

.section--dark h2 { color: var(--white); }
.section--dark p { color: rgba(255,255,255,0.7); }

.section-head {
    margin-bottom: 56px;
}

.section-head--center {
    text-align: center;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.section-head h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.section-sub {
    font-size: 1rem;
    margin-top: 12px;
    line-height: 1.8;
}

/* ===== SPLIT LAYOUT ===== */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.split--img-right .split-text { order: 1; }
.split--img-right .split-img { order: 2; }
.split--img-left .split-img { order: 1; }
.split--img-left .split-text { order: 2; }

.split-text h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin-bottom: 20px;
}

.split-text p {
    color: var(--body);
    font-size: 1rem;
    line-height: 1.85;
    margin-bottom: 16px;
}

.section--dark .split-text p {
    color: rgba(255,255,255,0.7);
}

.split-img img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.highlight-box {
    display: flex; gap: 16px;
    margin-top: 12px;
    padding: 20px;
    background: var(--gold-bg);
    border-left: 3px solid var(--gold);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.highlight-cross {
    color: var(--gold);
    font-size: 1rem;
    flex-shrink: 0;
}

.highlight-box p {
    color: var(--dark) !important;
    margin-bottom: 0 !important;
    font-size: 0.95rem !important;
}

/* ===== PHOTO SECTION (who we help) ===== */
.section--photo {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.section-photo-bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
}

.section-photo-overlay {
    position: absolute; inset: 0;
    background: rgba(26, 26, 26, 0.82);
}

.section-photo-content {
    position: relative; z-index: 2;
}

.section-photo-content h2 {
    color: var(--white);
    font-size: clamp(1.8rem, 4.5vw, 2.8rem);
    margin-bottom: 48px;
}

.card-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 36px 24px;
    text-align: center;
    backdrop-filter: blur(8px);
    transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
}

.card:hover {
    transform: translateY(-6px);
    background: rgba(255,255,255,0.1);
    border-color: rgba(200,150,62,0.3);
}

.card-icon {
    width: 40px; height: 40px;
    margin: 0 auto 16px;
    color: var(--gold);
}
.card-icon svg { width: 100%; height: 100%; }

.card h3 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.card p {
    color: rgba(255,255,255,0.6);
    font-size: 0.88rem;
    line-height: 1.7;
}

/* ===== VERSE BREAK ===== */
.verse-break {
    padding: 80px 0;
    background: var(--cream);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.verse-break--photo {
    background: none;
    padding: 120px 0;
}

.verse-photo-bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
}

.verse-photo-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.55);
}

.verse-break blockquote {
    position: relative; z-index: 2;
}

.verse-cross {
    display: block;
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.verse-break p {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.5rem, 4vw, 2.6rem);
    font-style: italic;
    line-height: 1.4;
    max-width: 700px;
    margin: 0 auto 16px;
}

.verse-break cite {
    font-family: 'DM Sans', sans-serif;
    font-style: normal;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold);
}

.verse-break--photo p { color: var(--white); }

/* ===== STEPS ===== */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.step { text-align: center; }

.step-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 20px;
    aspect-ratio: 4/3;
}

.step-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.step:hover .step-img img { transform: scale(1.05); }

.step-num {
    display: inline-block;
    font-family: 'DM Serif Display', serif;
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 12px;
}

.step h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.step p {
    color: var(--body);
    font-size: 0.92rem;
    line-height: 1.7;
    max-width: 300px;
    margin: 0 auto;
}

/* ===== STAT CALLOUT ===== */
.stat-callout {
    display: flex; align-items: center; gap: 16px;
    margin: 24px 0 28px;
    padding: 20px 24px;
    background: var(--gold-bg);
    border-left: 3px solid var(--gold);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.section--dark .stat-callout {
    background: rgba(200,150,62,0.1);
}

.stat-big {
    font-family: 'DM Serif Display', serif;
    font-size: 2.5rem;
    color: var(--gold);
    line-height: 1;
}

.stat-text {
    font-size: 0.88rem;
    line-height: 1.4;
}

/* ===== TESTIMONIES ===== */
.testimonies {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.testimony {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 36px;
    text-align: center;
    transition: transform 0.4s ease;
    box-shadow: var(--shadow);
}

.testimony:hover { transform: translateY(-4px); }

.testimony-avatar {
    width: 72px; height: 72px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 3px solid var(--gold);
}

.testimony blockquote p {
    font-size: 0.95rem;
    font-style: italic;
    color: var(--body);
    line-height: 1.8;
    margin-bottom: 20px;
}

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

.testimony strong {
    color: var(--dark);
    font-size: 0.9rem;
}

.testimony footer span {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
}

/* ===== FORM ===== */
.form-wrap {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 64px;
    align-items: start;
}

.form-left h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.form-left > p {
    color: var(--body);
    font-size: 1rem;
    line-height: 1.85;
    margin-bottom: 36px;
}

.mini-verses { display: flex; flex-direction: column; gap: 16px; }

.mv {
    padding-left: 16px;
    border-left: 2px solid var(--gold);
}

.mv p {
    font-family: 'DM Serif Display', serif;
    font-size: 0.95rem;
    font-style: italic;
    color: var(--dark);
    line-height: 1.5;
    margin-bottom: 2px;
}

.mv cite {
    font-family: 'DM Sans', sans-serif;
    font-style: normal;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
}

.form-card {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 44px;
    box-shadow: var(--shadow-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.fg { margin-bottom: 18px; }

.fg label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
}

.opt { font-weight: 400; color: var(--light-text); }

.fg input, .fg textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--cream-dark);
    border-radius: 10px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.92rem;
    color: var(--dark);
    background: var(--white);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.fg input:focus, .fg textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-bg);
}

.fg textarea { resize: vertical; min-height: 120px; }

.check {
    display: flex; align-items: center; gap: 10px;
    cursor: pointer;
    margin-bottom: 20px;
    font-size: 0.88rem;
    color: var(--body);
}

.check input[type="checkbox"] {
    width: 18px; height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}

.form-note {
    text-align: center;
    font-size: 0.72rem;
    color: var(--light-text);
    margin-top: 14px;
}

.form-success {
    display: none;
    text-align: center;
    padding: 56px 32px;
    background: var(--cream);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.success-icon {
    display: block;
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 16px;
}

.form-success h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.form-success p {
    color: var(--body);
    font-size: 0.95rem;
}

/* ===== GIVE ===== */
.give-where {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.gw {
    display: flex; align-items: center; gap: 8px;
}

.gw span { color: var(--gold); font-size: 0.8rem; }

.gw strong {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}

.give-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.give-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    padding: 36px 20px;
    text-align: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
}

.give-card:hover {
    transform: translateY(-4px);
    border-color: rgba(200,150,62,0.3);
    background: rgba(255,255,255,0.06);
}

.give-card--pop {
    border-color: var(--gold);
    background: rgba(200,150,62,0.06);
}

.give-badge {
    position: absolute;
    top: -10px; left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--white);
    font-size: 0.6rem;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
    white-space: nowrap;
}

.give-amt {
    display: block;
    font-family: 'DM Serif Display', serif;
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 4px;
}

.give-amt--sm { font-size: 1.8rem; }

.give-tier {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold);
    margin-bottom: 12px;
}

.give-card p {
    color: rgba(255,255,255,0.5);
    font-size: 0.82rem;
    line-height: 1.6;
    margin-bottom: 20px;
    min-height: 40px;
}

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

.give-verse p {
    font-family: 'DM Serif Display', serif;
    font-size: 1.1rem;
    font-style: italic;
    color: rgba(255,255,255,0.4) !important;
    margin-bottom: 8px;
}

.give-verse cite {
    font-style: normal;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
}

/* ===== FOOTER ===== */
.footer {
    background: #111;
    padding: 60px 0 28px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: rgba(255,255,255,0.4);
    font-size: 0.82rem;
    line-height: 1.7;
    max-width: 260px;
    margin-top: 12px;
}

.footer-col h4 {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--white);
    margin-bottom: 14px;
}

.footer-col a {
    display: block;
    color: rgba(255,255,255,0.45);
    font-size: 0.82rem;
    margin-bottom: 10px;
}
.footer-col a:hover { color: var(--gold); }

.footer-sm {
    display: block;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.2);
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.3);
    margin-bottom: 8px;
}

.footer-legal {
    max-width: 600px;
    margin: 0 auto;
    font-size: 0.62rem !important;
    line-height: 1.7;
}

/* ===== ANIMATIONS ===== */
.anim {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.anim.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .split { grid-template-columns: 1fr; gap: 40px; }
    .split--img-right .split-text,
    .split--img-right .split-img,
    .split--img-left .split-text,
    .split--img-left .split-img { order: unset; }
    .card-row { grid-template-columns: repeat(2, 1fr); }
    .form-wrap { grid-template-columns: 1fr; gap: 40px; }
    .give-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 20px 24px;
        gap: 12px;
        box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    }
    .nav-links.active { display: flex; }
    .nav-links a { color: var(--dark) !important; }
    .burger { display: flex; }

    .hero h1 { font-size: 2.4rem; }
    .bar-inner { justify-content: center; }

    .card-row { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .testimonies { grid-template-columns: 1fr; }
    .give-grid { grid-template-columns: 1fr; }
    .give-where { gap: 16px; }
    .form-row { grid-template-columns: 1fr; }
    .form-card { padding: 28px 20px; }
    .footer-top { grid-template-columns: 1fr; gap: 24px; }

    .split-img img { height: 280px; }
    .section { padding: 64px 0; }
}
