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

/* COLORS */
:root {
    --teal: #7ea69f;
    --teal-dark: #4f7c75;
    --gold: #c9a96a;
    --sand: #e9dfcf;
    --cream: #faf8f4;
    --white: #ffffff;
    --text: #2e2e2e;
    --muted: #666666;
}

/* BASE */
html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: var(--cream);
    color: var(--text);
    line-height: 1.6;
}

h1,
h2,
h3,
.brand {
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1.1;
    font-weight: 500;
}

p {
    color: var(--muted);
    font-size: 1rem;
}

/* NAV */
.nav {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 22px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    color: var(--teal-dark);
    font-size: 1.5rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
}

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

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.95rem;
}

.nav-donate {
    border: 1px solid var(--teal-dark);
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--teal-dark) !important;
}

/* HERO */
.hero {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto 70px;
    min-height: 640px;
    padding: 70px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.92), rgba(255,255,255,0.74)),
        linear-gradient(135deg, var(--sand), var(--teal));
    border-radius: 30px;
    display: grid;
    grid-template-columns: 1.35fr 0.75fr;
    gap: 40px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(90deg, rgba(250, 248, 244, 0.96), rgba(250, 248, 244, 0.72), rgba(250, 248, 244, 0.88)),
        url("images/front_door.png");
    background-size: cover;
    background-position: center;
    opacity: 0.58;
    z-index: 0;
}

.hero > * {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 690px;
}

.eyebrow {
    margin-bottom: 16px;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    font-weight: 700;
}

.hero h1 {
    margin-bottom: 22px;
    color: var(--teal-dark);
    font-size: clamp(2.8rem, 7vw, 5.5rem);
}

.subtitle {
    max-width: 620px;
    margin-bottom: 30px;
    font-size: 1.15rem;
}

.hero-card {
    background: var(--white);
    padding: 34px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(79, 124, 117, 0.16);
}

.hero-card h2 {
    margin-bottom: 15px;
    color: var(--teal-dark);
    font-size: 2rem;
}

.card-label {
    margin-bottom: 10px;
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

/* BUTTONS */
.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn {
    display: inline-block;
    padding: 13px 20px;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(79, 124, 117, 0.18);
}

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

.secondary {
    background: var(--white);
    color: var(--teal-dark);
    border: 1px solid var(--teal-dark);
}

/* SECTIONS */
.section {
    width: min(1000px, calc(100% - 40px));
    margin: 0 auto 80px;
}

.split {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 70px;
    align-items: start;
}

.section h2 {
    margin-bottom: 20px;
    color: var(--teal-dark);
    font-size: clamp(2rem, 4vw, 3.3rem);
}

.section p + p {
    margin-top: 18px;
}

/* FEATURE BAND */
.feature-band {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto 90px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.feature-card {
    min-height: 230px;
    padding: 32px;
    background: var(--white);
    border-radius: 24px;
    border-top: 5px solid var(--teal);
}

.feature-card:nth-child(2) {
    background: var(--teal-dark);
}

.feature-card:nth-child(2) h3,
.feature-card:nth-child(2) p {
    color: var(--white);
}

.feature-card h3 {
    margin-bottom: 14px;
    color: var(--teal-dark);
    font-size: 1.6rem;
}

/* PREVIEW CARDS */
.preview-section {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto 90px;
}

.preview-heading {
    max-width: 720px;
    margin-bottom: 30px;
}

.preview-heading h2 {
    color: var(--teal-dark);
    font-size: clamp(2rem, 4vw, 3.5rem);
}

.image-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.image-card {
    display: block;
    overflow: hidden;
    background: var(--white);
    border-radius: 26px;
    text-decoration: none;
    box-shadow: 0 18px 40px rgba(79, 124, 117, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.image-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 55px rgba(79, 124, 117, 0.16);
}

.image-card img {
    width: 100%;
    height: 260px;
    display: block;
    object-fit: cover;
}

.image-card-content {
    padding: 28px;
}

.image-card-content h3 {
    margin-bottom: 12px;
    color: var(--teal-dark);
    font-size: 1.6rem;
}

.text-link {
    display: inline-block;
    margin-top: 24px;
    color: var(--teal-dark);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid var(--gold);
}

/* STORY */
.story-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 26px;
    align-items: stretch;
}

.story-box,
.quote-box {
    border-radius: 28px;
    padding: 45px;
}

.story-box {
    background: var(--white);
}

.quote-box {
    background: var(--sand);
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-box p {
    color: var(--teal-dark);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 2rem;
    line-height: 1.2;
    text-align: center;
}

/* CTA */
.cta-panel {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto 40px;
    padding: 55px;
    background: var(--teal-dark);
    border-radius: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.cta-panel h2 {
    max-width: 660px;
    margin-bottom: 12px;
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.cta-panel p {
    max-width: 650px;
    color: rgba(255, 255, 255, 0.82);
}

.light {
    color: var(--sand);
}

.light-btn {
    border-color: var(--white);
}

/* FOOTER */
.footer {
    text-align: center;
    padding: 28px 20px 40px;
    font-size: 0.9rem;
}

.footer p {
    margin-bottom: 8px;
}

.footer-link {
    color: var(--teal-dark);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid var(--gold);
}

/* RESPONSIVE */
@media (max-width: 850px) {
    .nav {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .nav-links {
        flex-wrap: wrap;
        gap: 14px;
    }

    .hero,
    .split,
    .feature-band,
    .image-card-grid,
    .story-layout,
    .cta-panel {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 45px 28px;
        min-height: auto;
    }

    .feature-band {
        display: grid;
    }

    .cta-panel {
        display: grid;
        padding: 38px 28px;
    }

    .story-box,
    .quote-box {
        padding: 32px;
    }
}
