/* ───────────────────────────────────────────
   Nana Beckas Specialty Cakes — Styles
   Palette: Forest Green + Off-White
   ─────────────────────────────────────────── */

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

:root {
    --green-900: #0f2918;
    --green-800: #1a3c2a;
    --green-700: #234d36;
    --green-600: #2d6145;
    --green-500: #3a7d58;
    --green-400: #5a9e78;
    --green-100: #d4e8d8;
    --green-50:  #eaf4ea;

    --cream-50:  #faf8f4;
    --cream-100: #f5f2eb;
    --cream-200: #ebe6db;
    --cream-300: #ddd5c6;

    --text-dark:   #1a1a18;
    --text-mid:    #3d3d38;
    --text-light:  #6b6b64;
    --text-white:  #f5f2eb;

    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body:    'Inter', system-ui, sans-serif;

    --space-xs:  0.5rem;
    --space-sm:  0.75rem;
    --space-md:  1rem;
    --space-lg:  1.5rem;
    --space-xl:  2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;

    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--text-dark);
    background: var(--cream-50);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

/* ───────────────────────────────────────────
   Typography
   ─────────────────────────────────────────── */

.section-eyebrow {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--green-600);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--green-800);
    margin-bottom: var(--space-xl);
}

.section-title--center {
    text-align: center;
}

/* ───────────────────────────────────────────
   Buttons
   ─────────────────────────────────────────── */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.9rem 2rem;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-primary {
    background: var(--green-800);
    color: var(--text-white);
    border-color: var(--green-800);
}

.btn-primary:hover {
    background: var(--green-700);
    border-color: var(--green-700);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(26, 60, 42, 0.25);
}

.btn-ghost {
    background: transparent;
    color: var(--cream-100);
    border-color: rgba(245, 242, 235, 0.4);
}

.btn-ghost:hover {
    border-color: var(--cream-100);
    background: rgba(245, 242, 235, 0.08);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 0.85rem;
}

/* ───────────────────────────────────────────
   Header / Nav
   ─────────────────────────────────────────── */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 248, 244, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--cream-200);
    transition: box-shadow var(--transition);
}

.site-header.scrolled {
    box-shadow: 0 1px 20px rgba(15, 41, 24, 0.06);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    color: var(--green-800);
}

.logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--green-600);
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--green-700);
    flex-shrink: 0;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.2;
    color: var(--green-800);
}

.logo-sub {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-light);
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-2xl);
    list-style: none;
}

.nav-links a {
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-mid);
    transition: color var(--transition);
    position: relative;
}

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

.nav-links a:hover {
    color: var(--green-700);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    font-size: 0.78rem !important;
    font-weight: 500 !important;
    color: var(--green-700) !important;
    letter-spacing: 0.04em !important;
    text-transform: none !important;
    padding: 0.5rem 1rem;
    border: 1px solid var(--green-200, #c8dfc8);
    border-radius: var(--radius-sm);
    transition: all var(--transition) !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--green-50);
    border-color: var(--green-500);
}

/* Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
    flex-direction: column;
    gap: 5px;
}

.hamburger {
    display: block;
    width: 20px;
    height: 1px;
    background: var(--green-800);
    position: relative;
    transition: all var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 20px;
    height: 1px;
    background: var(--green-800);
    transition: all var(--transition);
}

.hamburger::before { top: -6px; }
.hamburger::after  { top: 6px; }

.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ───────────────────────────────────────────
   Hero
   ─────────────────────────────────────────── */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--green-900);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        url('https://images.pexels.com/photos/38447625/pexels-photo-38447625.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1280')
        center center / cover no-repeat;
    opacity: 0.45;
}

.hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(15, 41, 24, 0.7) 0%,
        rgba(15, 41, 24, 0.55) 50%,
        rgba(15, 41, 24, 0.8) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: var(--space-4xl) var(--space-xl);
    max-width: 800px;
}

.hero-eyebrow {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--green-400);
    margin-bottom: var(--space-lg);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    font-weight: 300;
    line-height: 1.1;
    color: var(--cream-100);
    margin-bottom: var(--space-xl);
}

.hero-title em {
    font-style: italic;
    color: var(--green-100);
}

.hero-sub {
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(245, 242, 235, 0.75);
    max-width: 560px;
    margin: 0 auto var(--space-2xl);
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    color: rgba(245, 242, 235, 0.4);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hero-scroll svg {
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(4px); }
}

/* ───────────────────────────────────────────
   Sections (shared)
   ─────────────────────────────────────────── */

.section {
    padding: var(--space-4xl) 0;
}

/* ───────────────────────────────────────────
   About
   ─────────────────────────────────────────── */

.about {
    background: var(--cream-50);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.about-image-wrap {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/5;
}

.about-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text p {
    font-size: 0.95rem;
    color: var(--text-mid);
    margin-bottom: var(--space-md);
    line-height: 1.8;
}

.about-stats {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
    padding-top: var(--space-2xl);
    border-top: 1px solid var(--cream-200);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--green-700);
    line-height: 1;
}

.stat-label {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-light);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--cream-300);
}

/* ───────────────────────────────────────────
   Offerings
   ─────────────────────────────────────────── */

.offerings {
    background: var(--cream-100);
}

.offerings .section-title {
    margin-bottom: var(--space-3xl);
}

.offerings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.offering-card {
    background: var(--cream-50);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}

.offering-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(15, 41, 24, 0.1);
}

.offering-img {
    aspect-ratio: 4/3;
    overflow: hidden;
}

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

.offering-card:hover .offering-img img {
    transform: scale(1.04);
}

.offering-body {
    padding: var(--space-xl);
}

.offering-body h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--green-800);
    margin-bottom: var(--space-sm);
}

.offering-body p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.75;
}

/* ───────────────────────────────────────────
   Craft
   ─────────────────────────────────────────── */

.craft {
    background: var(--green-800);
    color: var(--cream-100);
}

.craft .section-eyebrow {
    color: var(--green-400);
}

.craft .section-title {
    color: var(--cream-100);
    margin-bottom: var(--space-2xl);
}

.craft-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.craft-image-group {
    position: relative;
}

.craft-img-main {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/5;
}

.craft-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.craft-img-small {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 55%;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 4px solid var(--green-800);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.craft-img-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.craft-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.craft-list li {
    display: flex;
    gap: var(--space-lg);
    align-items: start;
}

.craft-list-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border: 1px solid var(--green-600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-400);
    margin-top: 2px;
}

.craft-list strong {
    display: block;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--cream-100);
    margin-bottom: 4px;
}

.craft-list span {
    font-size: 0.85rem;
    color: rgba(245, 242, 235, 0.6);
    line-height: 1.7;
}

/* ───────────────────────────────────────────
   Visit
   ─────────────────────────────────────────── */

.visit {
    background: var(--cream-50);
}

.visit .section-title {
    margin-bottom: var(--space-3xl);
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: stretch;
}

.visit-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.visit-detail {
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--cream-200);
}

.visit-detail:last-of-type {
    border-bottom: none;
}

.visit-detail-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--green-600);
    margin-bottom: var(--space-xs);
}

.visit-detail address,
.visit-detail p {
    font-style: normal;
    font-size: 0.95rem;
    color: var(--text-mid);
    line-height: 1.8;
}

.visit-detail a {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--green-700);
    transition: color var(--transition);
}

.visit-detail a:hover {
    color: var(--green-500);
}

.hours-note {
    font-size: 0.8rem;
    color: var(--text-light);
}

.visit-map {
    border-radius: var(--radius-md);
    overflow: hidden;
    min-height: 420px;
    box-shadow: 0 4px 24px rgba(15, 41, 24, 0.08);
}

/* ───────────────────────────────────────────
   Footer
   ─────────────────────────────────────────── */

.site-footer {
    background: var(--green-900);
    color: rgba(245, 242, 235, 0.5);
    padding: var(--space-3xl) 0;
}

.footer-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.footer-brand .logo-mark {
    border-color: rgba(245, 242, 235, 0.3);
    color: rgba(245, 242, 235, 0.7);
}

.footer-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: rgba(245, 242, 235, 0.8);
}

.footer-tagline {
    font-size: 0.8rem;
    color: rgba(245, 242, 235, 0.35);
    letter-spacing: 0.04em;
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.85rem;
}

.footer-contact a {
    color: rgba(245, 242, 235, 0.6);
    transition: color var(--transition);
}

.footer-contact a:hover {
    color: var(--cream-100);
}

.footer-copy {
    font-size: 0.72rem;
    color: rgba(245, 242, 235, 0.25);
    margin-top: var(--space-sm);
}

/* ───────────────────────────────────────────
   Scroll reveal (progressive enhancement)
   ─────────────────────────────────────────── */

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ───────────────────────────────────────────
   Responsive
   ─────────────────────────────────────────── */

@media (max-width: 1024px) {
    .about-grid,
    .craft-layout,
    .visit-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .craft-img-small {
        right: 0;
        bottom: -24px;
        width: 50%;
    }

    .offerings-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --space-4xl: 4rem;
        --space-3xl: 3rem;
    }

    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(250, 248, 244, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        flex-direction: column;
        justify-content: center;
        gap: var(--space-xl);
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-links.open {
        transform: translateX(0);
    }

    .nav-links a {
        font-size: 1rem;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-actions {
        flex-direction: column;
    }

    .offerings-grid {
        grid-template-columns: 1fr;
    }

    .craft-img-small {
        position: relative;
        right: auto;
        bottom: auto;
        width: 100%;
        margin-top: var(--space-md);
    }

    .craft-image-group {
        display: flex;
        flex-direction: column;
    }

    .about-stats {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }

    .hero-content {
        padding: var(--space-3xl) var(--space-md);
    }

    .section {
        padding: var(--space-3xl) 0;
    }
}
