/* ── Custom Properties ── */
:root {
    --emerald-50: #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-200: #a7f3d0;
    --emerald-300: #6ee7b7;
    --emerald-400: #34d399;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-700: #047857;
    --emerald-800: #065f46;
    --emerald-900: #064e3b;
    --emerald-950: #022c22;

    --cream: #faf8f4;
    --cream-dark: #f5f0e8;
    --cream-mid: #ede6d8;

    --text-dark: #1a2e28;
    --text-mid: #3d5c52;
    --text-light: #6b8f84;

    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(6, 78, 59, 0.06), 0 1px 2px rgba(6, 78, 59, 0.04);
    --shadow-md: 0 4px 16px rgba(6, 78, 59, 0.08), 0 2px 6px rgba(6, 78, 59, 0.06);
    --shadow-lg: 0 12px 40px rgba(6, 78, 59, 0.12), 0 4px 12px rgba(6, 78, 59, 0.08);
    --shadow-xl: 0 20px 60px rgba(6, 78, 59, 0.15), 0 8px 20px rgba(6, 78, 59, 0.1);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --font-heading: 'Lora', Georgia, serif;
    --font-body: 'Nunito', 'Segoe UI', sans-serif;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

ul { list-style: none; }

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

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

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-xl);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--emerald-600);
    color: var(--white);
    border-color: var(--emerald-600);
    box-shadow: var(--shadow-md);
}
.btn-primary:hover {
    background: var(--emerald-700);
    border-color: var(--emerald-700);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--emerald-700);
    border-color: var(--emerald-300);
}
.btn-outline:hover {
    background: var(--emerald-50);
    border-color: var(--emerald-500);
    transform: translateY(-2px);
}

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

.btn-full { width: 100%; justify-content: center; }

/* ── Section Shared ── */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--emerald-600);
    background: var(--emerald-50);
    border: 1px solid var(--emerald-200);
    padding: 6px 14px;
    border-radius: var(--radius-xl);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-header--center { text-align: center; }
.section-desc {
    font-size: 1.1rem;
    color: var(--text-mid);
    max-width: 540px;
    margin: 0 auto;
}

/* ── Navbar ── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 248, 244, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(6, 78, 59, 0.06);
    transition: var(--transition);
}
.navbar.scrolled {
    background: rgba(250, 248, 244, 0.96);
    box-shadow: var(--shadow-sm);
}

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

.nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--emerald-800);
}
.nav-logo { color: var(--emerald-600); }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-menu a {
    padding: 8px 16px;
    border-radius: var(--radius-xl);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-mid);
    transition: var(--transition);
}
.nav-menu a:hover,
.nav-menu a.active {
    color: var(--emerald-700);
    background: var(--emerald-50);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--emerald-800);
}
.hamburger {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    position: relative;
    transition: var(--transition);
}
.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: var(--transition);
}
.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }
.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 {
    padding-top: 72px;
    background: var(--cream);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    min-height: calc(100vh - 72px);
    padding: 60px 0 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--emerald-700);
    background: var(--emerald-100);
    padding: 8px 16px;
    border-radius: var(--radius-xl);
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
    line-height: 1.15;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.text-accent {
    color: var(--emerald-600);
    position: relative;
}
.text-accent::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--emerald-200);
    border-radius: 3px;
    z-index: -1;
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.hero-hours {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}
.hero-hours svg { color: var(--emerald-500); }

/* Hero Image */
.hero-image { position: relative; }

.hero-img-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}
.hero-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-float-card {
    position: absolute;
    bottom: -20px;
    left: -24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-lg);
    z-index: 2;
}
.float-icon {
    width: 48px;
    height: 48px;
    background: var(--emerald-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-700);
    flex-shrink: 0;
}
.hero-float-card strong {
    display: block;
    font-size: 0.9rem;
    color: var(--text-dark);
}
.hero-float-card span {
    font-size: 0.8rem;
    color: var(--text-light);
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 0;
}
.hero-wave svg { width: 100%; height: 80px; }

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

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

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

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

.about-features {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.feature-icon--coffee { background: var(--emerald-100); color: var(--emerald-700); }
.feature-icon--drink { background: var(--cream-mid); color: var(--emerald-800); }
.feature-icon--heart { background: var(--emerald-50); color: var(--emerald-600); }

.feature-item strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 2px;
}
.feature-item span {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* ── Menu ── */
.menu {
    padding: 100px 0;
    background: var(--white);
}

.menu-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.menu-tab {
    padding: 10px 24px;
    border: 2px solid var(--emerald-200);
    border-radius: var(--radius-xl);
    background: transparent;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-mid);
    cursor: pointer;
    transition: var(--transition);
}
.menu-tab:hover {
    color: var(--emerald-700);
    border-color: var(--emerald-400);
}
.menu-tab.active {
    background: var(--emerald-600);
    border-color: var(--emerald-600);
    color: var(--white);
}

.menu-panel { display: grid; gap: 24px; }
.menu-panel.active { display: grid; }
.menu-panel[hidden] { display: none; }

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

.menu-card {
    background: var(--cream);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.menu-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.menu-card-img {
    overflow: hidden;
    height: 200px;
}
.menu-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.menu-card:hover .menu-card-img img { transform: scale(1.05); }

.menu-card-body {
    padding: 24px;
}
.menu-card-body h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}
.menu-card-body p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}

.menu-note {
    text-align: center;
    margin-top: 32px;
    padding: 16px 24px;
    background: var(--emerald-50);
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--emerald-800);
    font-weight: 500;
    width: 100%;
    justify-content: center;
}
.menu-note svg { color: var(--emerald-500); flex-shrink: 0; }

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

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

.vibe-text p {
    color: var(--text-mid);
    font-size: 1.05rem;
    margin-bottom: 16px;
}
.vibe-text em { color: var(--emerald-700); }

.vibe-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 40px;
    padding: 28px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.stat {
    text-align: center;
    flex: 1;
}
.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--emerald-700);
}
.stat-label {
    font-size: 0.8rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}

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

.vibe-images {
    position: relative;
}

.vibe-img-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.vibe-img-main img { width: 100%; height: 100%; object-fit: cover; }

.vibe-img-stack {
    position: absolute;
    bottom: -32px;
    right: -24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.vibe-img-stack img {
    width: 200px;
    height: 160px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

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

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

.visit-desc {
    color: var(--text-mid);
    font-size: 1.05rem;
    margin-bottom: 32px;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--emerald-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-700);
    flex-shrink: 0;
}

.contact-list strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 2px;
}
.contact-list span,
.contact-list a {
    font-size: 0.9rem;
    color: var(--text-mid);
}
.contact-list a:hover { color: var(--emerald-600); text-decoration: underline; }

.map-placeholder {
    margin-top: 8px;
}
.map-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--emerald-50);
    border: 1px solid var(--emerald-200);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--emerald-700);
    transition: var(--transition);
}
.map-link:hover {
    background: var(--emerald-100);
    transform: translateY(-2px);
}
.map-link svg { flex-shrink: 0; }

/* Form */
.visit-form-wrapper {
    position: sticky;
    top: 100px;
}

.visit-form-card {
    background: var(--cream);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.visit-form-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}
.visit-form-card > p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--cream-mid);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--white);
    transition: var(--transition);
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--emerald-400);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}
.form-group textarea { resize: vertical; min-height: 100px; }

.form-success {
    text-align: center;
    padding: 32px 16px;
}
.success-icon {
    width: 64px;
    height: 64px;
    background: var(--emerald-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: var(--emerald-600);
}
.form-success strong {
    display: block;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}
.form-success p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ── Footer ── */
.footer {
    background: var(--emerald-950);
    color: var(--emerald-100);
    padding: 64px 0 0;
}

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

.footer-brand p {
    color: var(--emerald-300);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 300px;
}

.footer h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--emerald-100);
    margin-bottom: 16px;
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-links a,
.footer-contact a {
    font-size: 0.9rem;
    color: var(--emerald-300);
    transition: var(--transition);
}
.footer-links a:hover,
.footer-contact a:hover {
    color: var(--white);
}
.footer-contact li:last-child a {
    display: inline;
}

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

/* ── Mobile Menu ── */
@media (max-width: 900px) {
    .nav-toggle { display: block; }
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(250, 248, 244, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 24px;
        gap: 8px;
        border-bottom: 1px solid rgba(6, 78, 59, 0.08);
        box-shadow: var(--shadow-md);
        transform: translateY(-120%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    .nav-menu a {
        width: 100%;
        padding: 12px 16px;
        font-size: 1rem;
    }
    .nav-menu .btn { text-align: center; justify-content: center; }
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px 0 60px;
        min-height: auto;
    }
    .hero-desc { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-image { order: -1; max-width: 480px; margin: 0 auto; }
    .hero-float-card { left: 16px; bottom: -16px; }

    .about-grid,
    .vibe-grid,
    .visit-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-image { order: -1; }
    .vibe-img-stack { right: 16px; bottom: -24px; }
    .vibe-img-stack img { width: 160px; height: 128px; }

    .menu-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }

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

    .visit-form-wrapper { position: static; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .hero-float-card { position: relative; bottom: auto; left: auto; margin-top: 16px; }
    .vibe-stats { flex-direction: column; gap: 16px; }
    .stat-divider { width: 40px; height: 1px; }
    .visit-form-card { padding: 24px; }
    .menu-tabs { gap: 6px; }
    .menu-tab { padding: 8px 16px; font-size: 0.8rem; }
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: no-preference) {
    .menu-card { transition: transform 0.3s ease, box-shadow 0.3s ease; }
    .menu-card:hover { transform: translateY(-4px); }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}
