/* ───────────────────────────────────────────
   S&K Lounge — Editorial Bakery & Grocery
   Emerald Green + Cream Palette
   ─────────────────────────────────────────── */

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

:root {
    --emerald-900: #042f23;
    --emerald-800: #064e3b;
    --emerald-700: #065f46;
    --emerald-600: #047857;
    --emerald-500: #10b981;
    --cream-50:  #fefdf8;
    --cream-100: #fef9c3;
    --cream-200: #fef3c7;
    --cream-300: #fde68a;
    --warm-100:  #faf8f4;
    --warm-200:  #f5f0e8;
    --warm-800:  #2d2a24;
    --warm-900:  #1a1814;

    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans:  'Inter', system-ui, -apple-system, sans-serif;

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;

    --shadow-sm: 0 1px 3px rgba(4, 47, 35, 0.08);
    --shadow-md: 0 4px 20px rgba(4, 47, 35, 0.10);
    --shadow-lg: 0 12px 40px rgba(4, 47, 35, 0.14);
    --shadow-xl: 0 20px 60px rgba(4, 47, 35, 0.18);
}

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

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

img, svg {
    display: block;
    max-width: 100%;
}

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

.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--emerald-700);
    color: var(--cream-50);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    z-index: 1000;
    font-weight: 600;
}
.skip-link:focus {
    top: 1rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ───────────────────────────────────────────
   HEADER
   ─────────────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(254, 253, 248, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(4, 47, 35, 0.07);
    transition: box-shadow 0.3s ease;
}
.site-header.scrolled {
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.logo-mark {
    font-family: var(--font-serif);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--emerald-700);
    letter-spacing: -0.02em;
}

.logo-wordmark {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--emerald-800);
    letter-spacing: 0.01em;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 0.25rem;
}

.main-nav a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--warm-800);
    padding: 0.4rem 0.85rem;
    border-radius: 100px;
    transition: background 0.2s ease, color 0.2s ease;
}
.main-nav a:hover {
    background: rgba(4, 47, 35, 0.07);
    color: var(--emerald-700);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}
.hamburger {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--warm-800);
    position: relative;
    transition: background 0.2s;
}
.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 2px;
    background: var(--warm-800);
    left: 0;
    transition: transform 0.3s ease;
}
.hamburger::before { top: -7px; }
.hamburger::after  { bottom: -7px; }

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

/* ───────────────────────────────────────────
   HERO
   ─────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    background: var(--emerald-900);
    overflow: hidden;
    padding: 6rem 0 4rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(4, 47, 35, 0.92) 0%, rgba(6, 78, 59, 0.85) 50%, rgba(4, 47, 35, 0.90) 100%),
        url('https://images.pexels.com/photos/4906454/pexels-photo-4906454.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1600&h=900') center/cover no-repeat;
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 3rem;
    align-items: center;
}

.hero-card {
    background: rgba(254, 253, 248, 0.06);
    border: 1px solid rgba(254, 253, 248, 0.12);
    border-radius: var(--radius-lg);
    padding: 3rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--cream-300);
    margin-bottom: 1.25rem;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--cream-50);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

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

.hero-description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(254, 253, 248, 0.72);
    margin-bottom: 2rem;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* ───────────────────────────────────────────
   BUTTONS
   ─────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.8rem 1.6rem;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover {
    transform: translateY(-1px);
}
.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: var(--cream-100);
    color: var(--emerald-900);
}
.btn-primary:hover {
    background: var(--cream-200);
    box-shadow: 0 8px 24px rgba(254, 249, 195, 0.3);
}

.btn-ghost {
    background: transparent;
    color: var(--cream-200);
    border: 1.5px solid rgba(254, 253, 248, 0.3);
}
.btn-ghost:hover {
    border-color: var(--cream-200);
    color: var(--cream-50);
}

.btn-full {
    width: 100%;
}

/* ───────────────────────────────────────────
   FLOATING STAT CARDS
   ─────────────────────────────────────────── */
.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat-card {
    background: rgba(254, 253, 248, 0.08);
    border: 1px solid rgba(254, 253, 248, 0.12);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease, background 0.3s ease;
}
.stat-card:hover {
    transform: translateX(6px);
    background: rgba(254, 253, 248, 0.12);
}

.stat-card svg {
    color: var(--cream-300);
    flex-shrink: 0;
}

.stat-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(254, 253, 248, 0.55);
}

.stat-value {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--cream-100);
    margin-top: 0.15rem;
}

.hero-scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(254, 253, 248, 0.4);
    animation: scrollBounce 2s ease-in-out infinite;
    z-index: 2;
}
@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(6px); }
}

/* ───────────────────────────────────────────
   SECTION UTILITIES
   ─────────────────────────────────────────── */
.section {
    padding: 6rem 0;
}

.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--emerald-600);
    margin-bottom: 0.75rem;
}

.section-headline {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.12;
    color: var(--warm-900);
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.section-headline .accent {
    font-style: italic;
    color: var(--emerald-700);
}

/* ───────────────────────────────────────────
   ABOUT
   ─────────────────────────────────────────── */
.about {
    background: var(--cream-50);
}

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

.about-image-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-content p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--warm-800);
    margin-bottom: 1.25rem;
}

.about-signature {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(4, 47, 35, 0.1);
}

.signature-line {
    width: 48px;
    height: 2px;
    background: var(--emerald-600);
}

.signature-text {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 0.95rem;
    color: var(--emerald-800);
}

/* ───────────────────────────────────────────
   PRODUCTS
   ─────────────────────────────────────────── */
.products {
    background: var(--warm-200);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3.5rem;
}

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

.product-card {
    background: var(--cream-50);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.product-card-image {
    overflow: hidden;
    aspect-ratio: 4 / 3;
}
.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.product-card:hover .product-card-image img {
    transform: scale(1.04);
}

.product-card-content {
    padding: 1.5rem;
}

.product-card-title {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--warm-900);
    margin-bottom: 0.5rem;
}

.product-card-desc {
    font-size: 0.925rem;
    line-height: 1.65;
    color: var(--warm-800);
    opacity: 0.8;
}

/* ───────────────────────────────────────────
   VISIT
   ─────────────────────────────────────────── */
.visit {
    background: var(--emerald-800);
    color: var(--cream-50);
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
}

.visit .section-eyebrow {
    color: var(--cream-300);
}

.visit .section-headline {
    color: var(--cream-50);
}

.visit .section-headline .accent {
    color: var(--cream-200);
}

.visit-details {
    font-style: normal;
    margin-top: 2rem;
}

.visit-address,
.visit-phone {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(254, 253, 248, 0.82);
    margin-bottom: 0.75rem;
}

.visit-address svg,
.visit-phone svg {
    flex-shrink: 0;
    margin-top: 4px;
    color: var(--cream-300);
}

.visit-phone a {
    color: var(--cream-100);
    transition: color 0.2s;
}
.visit-phone a:hover {
    color: var(--cream-300);
    text-decoration: underline;
}

.visit-map-hint {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: rgba(254, 253, 248, 0.5);
}
.visit-map-hint svg {
    color: var(--cream-300);
    opacity: 0.6;
}

.visit-map-wrap {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    min-height: 420px;
}
.visit-map-wrap iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 420px;
}

/* ───────────────────────────────────────────
   CONTACT
   ─────────────────────────────────────────── */
.contact {
    background: var(--cream-50);
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-text p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--warm-800);
    margin-top: 1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--warm-800);
}

.form-group .optional {
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    opacity: 0.55;
}

.form-group input,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
    border: 1.5px solid rgba(4, 47, 35, 0.15);
    border-radius: var(--radius-sm);
    background: var(--cream-50);
    color: var(--warm-800);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--emerald-600);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(45, 42, 36, 0.4);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-note {
    font-size: 0.8rem;
    color: rgba(45, 42, 36, 0.5);
    text-align: center;
}

.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(4, 47, 35, 0.04);
    border: 1.5px solid rgba(4, 47, 35, 0.1);
    border-radius: var(--radius-md);
    gap: 1rem;
}
.form-success svg {
    color: var(--emerald-600);
}
.form-success h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--warm-900);
}
.form-success p {
    font-size: 0.95rem;
    color: var(--warm-800);
    opacity: 0.75;
}

/* ───────────────────────────────────────────
   FOOTER
   ─────────────────────────────────────────── */
.site-footer {
    background: var(--emerald-900);
    color: rgba(254, 253, 248, 0.6);
    padding: 3rem 0;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.25rem;
}
.footer-brand .logo-mark {
    color: var(--cream-200);
}
.footer-brand .logo-wordmark {
    color: var(--cream-100);
}

.footer-address,
.footer-phone {
    font-size: 0.9rem;
}
.footer-phone a {
    color: var(--cream-300);
    transition: color 0.2s;
}
.footer-phone a:hover {
    color: var(--cream-100);
}

.footer-copy {
    font-size: 0.8rem;
    opacity: 0.5;
    margin-top: 0.5rem;
}

/* ───────────────────────────────────────────
   SCROLL REVEAL (progressive enhancement)
   ─────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ───────────────────────────────────────────
   RESPONSIVE
   ─────────────────────────────────────────── */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
    }
    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    .stat-card {
        flex: 1;
        min-width: 140px;
    }
    .about-grid,
    .visit-grid,
    .contact-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .about-image-wrap {
        max-height: 400px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
        z-index: 200;
    }
    .main-nav {
        position: fixed;
        inset: 0;
        background: rgba(254, 253, 248, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 150;
    }
    .main-nav.open {
        opacity: 1;
        visibility: visible;
    }
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    .main-nav a {
        font-size: 1.25rem;
        padding: 0.75rem 1.5rem;
    }
    .hero {
        padding: 7rem 0 3rem;
    }
    .hero-card {
        padding: 2rem;
    }
    .hero-stats {
        flex-direction: column;
    }
    .products-grid {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .section {
        padding: 4rem 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    .hero-headline {
        font-size: 2rem;
    }
    .hero-actions {
        flex-direction: column;
    }
    .btn {
        width: 100%;
        text-align: center;
    }
}
