/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --emerald-900: #064e3b;
    --emerald-800: #065f46;
    --emerald-700: #047857;
    --emerald-600: #059669;
    --emerald-500: #10b981;
    --cream-50:  #fefdf8;
    --cream-100: #fef9ef;
    --cream-200: #fef3c7;
    --cream-300: #fde68a;
    --warm-50:   #faf8f5;
    --warm-100:  #f5f0e8;
    --warm-200:  #e8e0d0;
    --text-dark:  #1a1a1a;
    --text-mid:   #3d3d3d;
    --text-light: #6b6b6b;
    --radius-sm:  8px;
    --radius-md:  16px;
    --radius-lg:  24px;
    --radius-xl:  32px;
    --shadow-sm:  0 1px 3px rgba(0,0,0,.06), 0 4px 12px rgba(0,0,0,.04);
    --shadow-md:  0 4px 16px rgba(0,0,0,.07), 0 8px 32px rgba(0,0,0,.05);
    --shadow-lg:  0 8px 32px rgba(0,0,0,.09), 0 16px 48px rgba(0,0,0,.06);
    --transition: .3s cubic-bezier(.4,0,.2,1);
}

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

body {
    font-family: 'Nunito', sans-serif;
    color: var(--text-dark);
    background: var(--cream-50);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Lora', serif;
    line-height: 1.25;
    color: var(--text-dark);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }

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

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--emerald-800);
    color: #fff;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 9999;
    font-weight: 700;
}
.skip-link:focus { top: 16px; }

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    border: 2px solid transparent;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-sm { padding: 8px 20px; font-size: .875rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }

.btn-cream {
    background: var(--cream-200);
    color: var(--emerald-900);
    border-color: var(--cream-200);
}
.btn-cream:hover {
    background: var(--cream-300);
    border-color: var(--cream-300);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-emerald {
    background: var(--emerald-700);
    color: #fff;
    border-color: var(--emerald-700);
}
.btn-emerald:hover {
    background: var(--emerald-800);
    border-color: var(--emerald-800);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,.6);
}
.btn-outline-light:hover {
    background: rgba(255,255,255,.15);
    border-color: #fff;
    transform: translateY(-2px);
}

.btn-outline-emerald {
    background: transparent;
    color: var(--emerald-800);
    border-color: var(--emerald-700);
}
.btn-outline-emerald:hover {
    background: var(--emerald-50);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ─── Section shared ─── */
.section-eyebrow {
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--emerald-600);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 520px;
    margin: 0 auto;
}

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

/* ─── Header ─── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

.site-header.scrolled {
    background: rgba(254,253,248,.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0,0,0,.06);
    padding: 10px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Lora', serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: #fff;
    transition: var(--transition);
}

.site-header.scrolled .logo { color: var(--emerald-800); }

.logo-icon {
    color: var(--cream-200);
    flex-shrink: 0;
}

.logo-text { transition: var(--transition); }

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav a {
    padding: 8px 16px;
    font-weight: 700;
    font-size: .9rem;
    color: rgba(255,255,255,.85);
    border-radius: var(--radius-xl);
    transition: var(--transition);
}

.main-nav a:hover {
    color: #fff;
    background: rgba(255,255,255,.12);
}

.site-header.scrolled .main-nav a { color: var(--text-mid); }
.site-header.scrolled .main-nav a:hover { color: var(--emerald-700); background: var(--emerald-50); }

/* Nav toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    position: relative;
    z-index: 1001;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: var(--transition);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.hamburger { top: 50%; transform: translate(-50%,-50%); }
.hamburger::before { content: ''; top: -7px; left: 0; }
.hamburger::after { content: ''; bottom: -7px; left: 0; }

.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { top: 0; transform: translate(-50%,0) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger::after { bottom: 0; transform: translate(-50%,0) rotate(-45deg); }

.site-header.scrolled .hamburger,
.site-header.scrolled .hamburger::before,
.site-header.scrolled .hamburger::after { background: var(--emerald-800); }

/* ─── Hero ─── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(6,79,59,.82) 0%,
        rgba(4,120,87,.68) 50%,
        rgba(6,79,59,.78) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 140px 24px 80px;
    max-width: 720px;
}

.hero-eyebrow {
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--cream-200);
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(2.25rem, 6vw, 4.25rem);
    color: #fff;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-title .highlight {
    color: var(--cream-200);
    font-style: italic;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,.85);
    margin-bottom: 40px;
    max-width: 540px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.6);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    animation: float 2.5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ─── Info Strip ─── */
.info-strip {
    background: #fff;
    border-bottom: 1px solid var(--warm-200);
    padding: 0;
}

.info-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    padding: 28px 24px;
}

.info-icon {
    color: var(--emerald-600);
    flex-shrink: 0;
}

.info-item strong {
    display: block;
    font-family: 'Lora', serif;
    font-size: 1rem;
    color: var(--text-dark);
}

.info-item span {
    font-size: .875rem;
    color: var(--text-light);
}

.info-divider {
    width: 1px;
    height: 40px;
    background: var(--warm-200);
    flex-shrink: 0;
}

/* ─── About ─── */
.about {
    padding: 100px 0;
    background: var(--cream-50);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-main img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.about-img-secondary {
    position: absolute;
    bottom: -40px;
    right: -30px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--cream-50);
}

.about-img-secondary img {
    width: 220px;
    height: 220px;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    top: -20px;
    right: 40px;
    width: 56px;
    height: 56px;
    background: var(--emerald-700);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cream-200);
    box-shadow: var(--shadow-md);
}

.about-content { padding: 20px 0; }

.about-content p {
    color: var(--text-mid);
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.about-features {
    margin-top: 28px;
    display: grid;
    gap: 12px;
}

.about-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    color: var(--text-dark);
}

.about-features svg {
    color: var(--emerald-600);
    flex-shrink: 0;
}

/* ─── Products ─── */
.products {
    padding: 100px 0;
    background: var(--warm-100);
}

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

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.product-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.product-img {
    height: 200px;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform .5s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.06);
}

.product-card h3 {
    padding: 20px 24px 4px;
    font-size: 1.15rem;
}

.product-card p {
    padding: 0 24px 24px;
    color: var(--text-light);
    font-size: .95rem;
    line-height: 1.6;
}

/* ─── Bakery ─── */
.bakery {
    padding: 100px 0;
    background: var(--cream-50);
}

.bakery-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.bakery-img-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.bakery-img-row img {
    border-radius: var(--radius-lg);
    width: 100%;
    height: 240px;
    object-fit: cover;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.bakery-img-row img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.bakery-content { padding: 20px 0; }

.bakery-content p {
    color: var(--text-mid);
    font-size: 1.05rem;
    margin-bottom: 16px;
}

.bakery-cta { margin-top: 28px; }

/* ─── Testimonials ─── */
.testimonials {
    padding: 100px 0;
    background: var(--emerald-800);
}

.testimonials .section-eyebrow { color: var(--cream-200); }
.testimonials .section-title { color: #fff; }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 56px;
}

.testimonial-card {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    transition: var(--transition);
}

.testimonial-card:hover {
    background: rgba(255,255,255,.12);
    transform: translateY(-4px);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    color: var(--cream-300);
    margin-bottom: 20px;
}

.testimonial-card p {
    color: rgba(255,255,255,.9);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 24px;
}

.testimonial-card footer {
    border-top: 1px solid rgba(255,255,255,.12);
    padding-top: 20px;
}

.testimonial-card cite {
    font-style: normal;
    color: var(--cream-200);
    font-weight: 700;
    font-size: .9rem;
}

/* ─── Visit ─── */
.visit {
    padding: 100px 0;
    background: var(--cream-100);
}

.visit-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}

.visit-details {
    margin: 32px 0;
    display: grid;
    gap: 24px;
}

.visit-detail {
    display: flex;
    gap: 16px;
}

.visit-icon {
    color: var(--emerald-600);
    flex-shrink: 0;
    margin-top: 2px;
}

.visit-detail strong {
    display: block;
    font-family: 'Lora', serif;
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.visit-detail span,
.visit-detail a {
    color: var(--text-light);
    font-size: .95rem;
    line-height: 1.6;
}

.visit-detail a:hover { color: var(--emerald-700); }

.visit-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 8px;
}

.visit-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 420px;
}

/* ─── Footer ─── */
.site-footer {
    background: var(--emerald-900);
    color: rgba(255,255,255,.75);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-brand .logo { color: var(--cream-200); margin-bottom: 16px; }

.footer-brand p {
    font-size: .95rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: 'Nunito', sans-serif;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--cream-200);
    margin-bottom: 20px;
}

.footer-links ul { display: grid; gap: 10px; }

.footer-links a {
    font-size: .95rem;
    transition: var(--transition);
}

.footer-links a:hover { color: #fff; }

.footer-contact address p {
    font-size: .95rem;
    margin-bottom: 6px;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: .85rem;
}

.footer-bottom a { transition: var(--transition); }
.footer-bottom a:hover { color: var(--cream-200); }

/* ─── Back to top ─── */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--emerald-700);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: var(--transition);
    z-index: 900;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--emerald-800);
    transform: translateY(-3px);
}

/* ─── Animations ─── */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .7s ease, transform .7s ease;
}

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

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .about-grid,
    .bakery-layout,
    .visit-layout {
        gap: 40px;
    }

    .products-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .nav-toggle { display: block; }

    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: var(--emerald-800);
        padding: 80px 32px 32px;
        transform: translateX(100%);
        transition: transform .4s cubic-bezier(.4,0,.2,1);
        box-shadow: -8px 0 32px rgba(0,0,0,.15);
    }

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

    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }

    .main-nav a {
        padding: 14px 16px;
        font-size: 1rem;
        color: rgba(255,255,255,.85);
        border-radius: var(--radius-md);
    }

    .main-nav a:hover {
        background: rgba(255,255,255,.1);
        color: #fff;
    }

    .main-nav .btn-sm {
        margin-top: 16px;
        text-align: center;
        justify-content: center;
        background: var(--cream-200);
        color: var(--emerald-900);
    }

    .hero-content { padding: 120px 24px 100px; }

    .hero-actions { flex-direction: column; }
    .hero-actions .btn { justify-content: center; }

    .info-strip-inner { flex-direction: column; }
    .info-item { padding: 20px 24px; width: 100%; }
    .info-divider { width: 100%; height: 1px; }

    .about-grid,
    .bakery-layout,
    .visit-layout {
        grid-template-columns: 1fr;
    }

    .about-img-secondary {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 20px;
    }

    .about-img-secondary img { width: 100%; height: 220px; }

    .products-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .bakery-img-row { grid-template-columns: 1fr; }
    .bakery-img-row img { height: 220px; }

    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }

    .back-to-top { bottom: 24px; right: 24px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-title { font-size: 2rem; }
    .section-title { font-size: 1.6rem; }
}
