/* ============================================
   BUZZ'N — Artisan Bakery & Grocery
   Bold Editorial Design · Burgundy + Blush
   ============================================ */

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

:root {
    --burgundy: #7B2D3B;
    --burgundy-deep: #5C1F2B;
    --burgundy-light: #9A3D4E;
    --blush: #F5E6D0;
    --blush-light: #FBF5EE;
    --blush-mid: #E8D5C0;
    --cream: #FFF9F4;
    --charcoal: #1A1416;
    --warm-gray: #3D3235;
    --soft-gray: #8A7578;
    --white: #FFFFFF;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-sans);
    color: var(--charcoal);
    background-color: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Typography ---------- */
h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.section-eyebrow {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 16px;
}

.section-eyebrow.light {
    color: var(--blush);
}

.section-headline {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--charcoal);
    margin-bottom: 24px;
}

.section-headline.white {
    color: var(--white);
}

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

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.9375rem;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--burgundy);
    color: var(--white);
    border-color: var(--burgundy);
}

.btn-primary:hover {
    background-color: var(--burgundy-deep);
    border-color: var(--burgundy-deep);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(123, 45, 59, 0.3);
}

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

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--burgundy);
    transform: translateY(-2px);
}

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

.btn-light:hover {
    background-color: var(--blush);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.8125rem;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 249, 244, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(123, 45, 59, 0.08);
    transition: all var(--transition);
}

.site-header.scrolled {
    box-shadow: 0 2px 20px rgba(26, 20, 22, 0.08);
}

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

.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--burgundy);
    letter-spacing: 0.04em;
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 32px;
}

.nav-desktop a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--warm-gray);
    letter-spacing: 0.02em;
    transition: color var(--transition);
    position: relative;
}

.nav-desktop a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--burgundy);
    transition: width var(--transition);
}

.nav-desktop a:hover {
    color: var(--burgundy);
}

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

.nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--charcoal);
    position: relative;
    transition: all var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 2px;
    background-color: var(--charcoal);
    transition: all var(--transition);
}

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

.nav-toggle[aria-expanded="true"] .hamburger {
    background-color: 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);
}

/* Mobile Nav */
.mobile-nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--cream);
    z-index: 999;
    padding: 40px 24px;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav.active {
    display: flex;
}

.mobile-nav nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav a {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--charcoal);
    padding: 12px 0;
    border-bottom: 1px solid rgba(123, 45, 59, 0.1);
    transition: color var(--transition), padding-left var(--transition);
}

.mobile-nav a:hover {
    color: var(--burgundy);
    padding-left: 8px;
}

.mobile-nav .btn {
    align-self: flex-start;
    margin-top: 16px;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--charcoal);
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 20, 22, 0.85) 0%,
        rgba(92, 31, 43, 0.7) 50%,
        rgba(26, 20, 22, 0.8) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 120px 24px 80px;
}

.hero-eyebrow {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--blush);
    margin-bottom: 28px;
    padding: 8px 20px;
    border: 1px solid rgba(245, 230, 208, 0.3);
    border-radius: 100px;
}

.hero-headline {
    font-size: clamp(2.25rem, 6vw, 4.5rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 28px;
}

.hero-headline .accent-italic {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--blush);
    display: block;
    font-size: 0.7em;
    margin-top: 8px;
    letter-spacing: -0.01em;
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(245, 230, 208, 0.8);
    line-height: 1.7;
    max-width: 640px;
    margin: 0 auto 40px;
    font-weight: 300;
}

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

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(245, 230, 208, 0.5);
    font-size: 0.6875rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(245, 230, 208, 0.5), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.7); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ---------- About ---------- */
.about {
    padding: 120px 0;
    background-color: var(--cream);
}

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

.about-image-wrap {
    position: relative;
}

.about-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    aspect-ratio: 4/5;
}

.about-accent-box {
    position: absolute;
    bottom: -24px;
    right: -16px;
    background-color: var(--burgundy);
    color: var(--white);
    padding: 24px 28px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-shadow: 0 16px 48px rgba(123, 45, 59, 0.3);
}

.accent-box-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
}

.accent-box-label {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--blush);
}

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

.about-content .section-headline {
    margin-bottom: 24px;
}

.about-content p {
    font-size: 1.0625rem;
    color: var(--warm-gray);
    line-height: 1.8;
    margin-bottom: 20px;
    max-width: 560px;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(123, 45, 59, 0.12);
}

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

.stat-number {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--burgundy);
    line-height: 1;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--soft-gray);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 500;
}

/* ---------- Products ---------- */
.products {
    padding: 120px 0;
    background-color: var(--blush-light);
}

.products .section-header {
    margin-bottom: 64px;
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.product-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(26, 20, 22, 0.06);
    transition: all var(--transition);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(26, 20, 22, 0.12);
}

.product-image {
    overflow: hidden;
    aspect-ratio: 4/3;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.product-body {
    padding: 28px 28px 32px;
}

.product-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 12px;
}

.product-desc {
    font-size: 0.9375rem;
    color: var(--soft-gray);
    line-height: 1.7;
}

/* ---------- Philosophy ---------- */
.philosophy {
    position: relative;
    padding: 140px 0;
    overflow: hidden;
}

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

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

.philosophy-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(92, 31, 43, 0.92) 0%,
        rgba(123, 45, 59, 0.88) 100%
    );
}

.philosophy-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.philosophy-quote {
    margin: 28px auto 56px;
    padding: 0;
}

.philosophy-quote p {
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-style: italic;
    font-weight: 400;
    color: var(--white);
    line-height: 1.6;
    max-width: 680px;
    margin: 0 auto;
}

.philosophy-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 600px;
    margin: 0 auto;
}

.philosophy-point {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--blush);
    font-size: 0.9375rem;
    font-weight: 500;
}

.philosophy-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--blush);
    opacity: 0.8;
}

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

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

.visit-info {
    max-width: 520px;
}

.visit-info .section-headline {
    margin-bottom: 20px;
}

.visit-info > p {
    font-size: 1.0625rem;
    color: var(--warm-gray);
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 40px;
}

.contact-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    align-items: start;
}

.contact-item dt {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: var(--burgundy);
    border-radius: 8px;
    flex-shrink: 0;
}

.contact-item dt svg {
    width: 20px;
    height: 20px;
    color: var(--white);
}

.contact-item dd {
    font-size: 1rem;
    color: var(--warm-gray);
    line-height: 1.6;
    padding-top: 10px;
}

.contact-item dd a {
    color: var(--burgundy);
    font-weight: 500;
    transition: color var(--transition);
}

.contact-item dd a:hover {
    color: var(--burgundy-deep);
    text-decoration: underline;
}

.map-link {
    display: inline-flex;
}

.map-icon {
    width: 18px;
    height: 18px;
}

.visit-map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(26, 20, 22, 0.1);
    aspect-ratio: 4/3;
    min-height: 320px;
}

.visit-map iframe {
    width: 100%;
    height: 100%;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
    background-color: var(--burgundy);
    padding: 80px 0;
}

.cta-banner .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.cta-text {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
}

.cta-phone-icon {
    width: 18px;
    height: 18px;
}

/* ---------- Footer ---------- */
.site-footer {
    background-color: var(--charcoal);
    color: var(--blush);
    padding: 80px 0 32px;
}

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

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--white);
    letter-spacing: 0.04em;
    display: block;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9375rem;
    color: rgba(245, 230, 208, 0.6);
    line-height: 1.7;
    max-width: 300px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(245, 230, 208, 0.4);
    margin-bottom: 4px;
}

.footer-nav a {
    font-size: 0.9375rem;
    color: rgba(245, 230, 208, 0.7);
    transition: color var(--transition), padding-left var(--transition);
}

.footer-nav a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact p {
    font-size: 0.9375rem;
    color: rgba(245, 230, 208, 0.7);
    line-height: 1.6;
}

.footer-contact a {
    color: var(--blush);
    transition: color var(--transition);
}

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

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(245, 230, 208, 0.1);
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(245, 230, 208, 0.35);
}

/* ---------- Scroll Reveal (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    }

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

/* ---------- Desktop ---------- */
@media (min-width: 768px) {
    .container {
        padding: 0 48px;
    }

    .nav-desktop {
        display: flex;
    }

    .nav-toggle {
        display: none;
    }

    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }

    .about-image-wrap {
        aspect-ratio: auto;
    }

    .about-image-wrap img {
        aspect-ratio: 4/5;
    }

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

    .visit-grid {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
    }

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

    .cta-banner {
        padding: 100px 0;
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .products .section-header {
        margin-bottom: 80px;
    }
}

@media (min-width: 1200px) {
    .container {
        padding: 0 64px;
    }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
