/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    background-color: #fdfcfa;
    color: #162a19;
    font-family: 'Lora', Georgia, serif;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }

/* ─── Utility ─── */
.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ─── Typography ─── */
.label {
    display: inline-block;
    font-family: 'Lora', Georgia, serif;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #3d6b40;
    margin-bottom: 0.5rem;
}
.label--light { color: #b5ccb2; }

.heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 500;
    line-height: 1.15;
    color: #162a19;
}
.heading--large { line-height: 1.1; }

/* ─── Divider ─── */
.divider--left { margin-left: 0; }

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Lora', Georgia, serif;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.85rem 1.75rem;
    border-radius: 50px;
    border: 1.5px solid transparent;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.btn--lg { padding: 1rem 2rem; font-size: 1rem; }
.btn--forest {
    background: #1d3621;
    color: #fdfcfa;
    border-color: #1d3621;
}
.btn--forest:hover { background: #254329; border-color: #254329; transform: translateY(-1px); }
.btn--light {
    background: #fdfcfa;
    color: #1d3621;
    border-color: #fdfcfa;
}
.btn--light:hover { background: #f5f0e8; transform: translateY(-1px); }
.btn--outline-light {
    background: transparent;
    color: #fdfcfa;
    border-color: rgba(253,252,250,0.5);
}
.btn--outline-light:hover { background: rgba(253,252,250,0.1); border-color: #fdfcfa; }

/* ─── Links ─── */
.link--forest { color: #3d6b40; }
.link--forest:hover { color: #1d3621; text-decoration: underline; }

/* ─── Input ─── */
.input {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1px solid #d9e5da;
    border-radius: 8px;
    background: #fdfcfa;
    color: #162a19;
    font-family: 'Lora', Georgia, serif;
    font-size: 0.9rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}
.input:focus { border-color: #3d6b40; box-shadow: 0 0 0 3px rgba(61,107,64,0.12); }
.input::placeholder { color: #b5ccb2; }
.input--select { appearance: auto; }
.label-form {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #3d6b40;
    margin-bottom: 0.25rem;
}

/* ─── Navigation ─── */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(253,252,250,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(217,229,218,0.5);
    transition: box-shadow 0.3s ease;
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(22,42,25,0.08); }
.nav__inner { height: 80px; }
.nav__logo { font-family: 'Playfair Display', Georgia, serif; font-size: 1.5rem; }
.nav__list {
    display: none;
    align-items: center;
    gap: 2rem;
}
.nav__link {
    font-family: 'Lora', Georgia, serif;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    color: #254329;
    transition: color 0.2s ease;
    position: relative;
}
.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 1px;
    background: #3d6b40;
    transition: width 0.3s ease;
}
.nav__link:hover { color: #3d6b40; }
.nav__link:hover::after { width: 100%; }
.nav__cta {
    font-family: 'Lora', Georgia, serif;
    font-size: 0.85rem;
    color: #fdfcfa;
    background: #1d3621;
    padding: 0.55rem 1.25rem;
    border-radius: 50px;
    transition: background 0.2s ease;
}
.nav__cta:hover { background: #254329; }
.nav__toggle {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    padding: 0.25rem;
    color: #1d3621;
}
@media (min-width: 768px) {
    .nav__list { display: flex; }
    .nav__toggle { display: none; }
}
/* Mobile menu */
.nav__list.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px; left: 0; right: 0;
    background: rgba(253,252,250,0.98);
    backdrop-filter: blur(12px);
    padding: 1.5rem 2rem 2rem;
    gap: 1rem;
    border-bottom: 1px solid #d9e5da;
    box-shadow: 0 12px 24px rgba(22,42,25,0.08);
}
.nav__list.open .nav__link { font-size: 1rem; }
.nav__list.open .nav__cta { align-self: center; margin-top: 0.5rem; }

/* ─── Hero ─── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hero__bg {
    position: absolute; inset: 0;
    z-index: 0;
}
.hero__img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.hero__gradient {
    position: absolute; inset: 0;
    background: linear-gradient(
        160deg,
        rgba(12,23,14,0.82) 0%,
        rgba(22,42,25,0.72) 40%,
        rgba(37,67,41,0.60) 70%,
        rgba(47,85,51,0.55) 100%
    );
}
.hero__scrim {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at center, transparent 30%, rgba(12,23,14,0.4) 100%);
}
.hero__content { padding-bottom: 6rem; }
.hero__eyebrow { animation: fadeUp 0.8s ease both; }
.hero__heading { animation: fadeUp 0.8s 0.15s ease both; }
.hero__sub { animation: fadeUp 0.8s 0.3s ease both; }
.hero__actions { animation: fadeUp 0.8s 0.45s ease both; }
.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(253,252,250,0.6);
    animation: bounce 2s infinite;
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.6; }
    50% { transform: translateX(-50%) translateY(6px); opacity: 1; }
}

/* ─── Sections ─── */
.section {
    padding: 6rem 0;
}
.section--alt { background: #f5f0e8; }
.section--dark {
    background: #0c170e;
    padding: 6rem 0;
}
@media (min-width: 768px) {
    .section { padding: 8rem 0; }
}

/* ─── Cards ─── */
.card {
    background: #fff;
    border: 1px solid #d9e5da;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(22,42,25,0.1); }

/* ─── Occasion Cards ─── */
.occasion {
    transition: transform 0.3s ease;
}
.occasion:hover { transform: translateY(-4px); }

/* ─── Testimonials ─── */
.testimonial {
    background: #fff;
    border: 1px solid #d9e5da;
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(22,42,25,0.08); }

/* ─── Footer ─── */
.footer {
    background: #0c170e;
    color: #fdfcfa;
}

/* ─── Form Success ─── */
.form-success {
    text-align: center;
    padding: 2rem 1rem;
    animation: fadeUp 0.4s ease;
}
.hidden { display: none; }

/* ─── Scroll Reveal (progressive enhancement) ─── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}
/* When JS is disabled, everything stays visible (default state).
   When JS is enabled, .reveal starts slightly below and scrolls into view. */
.js .reveal {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: no-preference) {
    .js .reveal {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .js .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}
