/* ═══════════════════════════════════════════════════════════════
   NOVA CAFE & BISTRO — LUXURY BOUTIQUE GASTRONOMY PALETTE 2026
   ═══════════════════════════════════════════════════════════════ */

:root {
    --bg-main: #FAF7F2;          /* Warm Artisan Cream */
    --bg-card: #FFFFFF;
    --text-primary: #1C1917;     /* Deep Espresso Charcoal */
    --text-muted: #78716C;
    --primary: #B77945;        /* Warm Copper Amber */
    --primary-dark: #8C5325;
    --border: #E7E5E4;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1160px;
    margin: 0 auto;
}

/* TOP ANNOUNCEMENT BAR */
.top-status-bar {
    background: #1C1917;
    color: #F5F5F4;
    font-size: 0.82rem;
    padding: 8px 0;
    border-bottom: 1px solid #292524;
}

.status-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.status-badge.open i { color: #22C55E; font-size: 0.6rem; }
.phone-link { color: var(--primary); text-decoration: none; font-weight: 700; }

/* NAVBAR */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(250, 247, 242, 0.94);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
}

.nav-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-mark {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    display: block;
}

.brand-sub {
    font-size: 0.68rem;
    color: var(--primary);
    font-weight: 800;
    letter-spacing: 0.1em;
}

.nav-links { display: flex; gap: 24px; }
.nav-link { color: var(--text-muted); text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.nav-link:hover, .nav-link.active { color: var(--primary); }

.nav-actions { display: flex; gap: 10px; align-items: center; }

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.25s ease;
}

.btn-primary {
    background: var(--primary);
    color: #FFFFFF;
    box-shadow: 0 4px 16px rgba(183, 121, 69, 0.25);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-lg { padding: 14px 28px; font-size: 0.98rem; }
.btn-sm { padding: 8px 16px; font-size: 0.82rem; }
.btn-block { width: 100%; justify-content: center; }

/* HERO */
.hero {
    position: relative;
    padding: 140px 0 90px;
    background: url('images/hero.jpg') center/cover no-repeat;
    color: white;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(180deg, rgba(28, 25, 23, 0.75) 0%, rgba(28, 25, 23, 0.9) 100%);
}

.hero-container {
    position: relative;
    z-index: 10;
    max-width: 780px;
}

.hero-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(183, 121, 69, 0.25);
    border: 1px solid rgba(183, 121, 69, 0.5);
    color: #FDBA74;
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.18;
    margin-bottom: 20px;
}

.text-gradient {
    color: #FDBA74;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #E7E5E4;
    margin-bottom: 32px;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-quick-features {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: #F5F5F4;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 24px;
}

.hero-quick-features i { color: #FDBA74; }

/* SECTIONS */
.section { padding: 90px 0; }
.sub-title { color: var(--primary); font-size: 0.85rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; display: block; margin-bottom: 8px; }
.section-title h2 { font-family: var(--font-heading); font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 900; }
.section-title p { color: var(--text-muted); margin-top: 8px; }
.text-center { text-align: center; }

/* GRID & CARDS */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.special-card .card-img-wrap { position: relative; height: 220px; }
.special-card img { width: 100%; height: 100%; object-fit: cover; }

.badge-tag {
    position: absolute;
    top: 14px; right: 14px;
    background: var(--primary); color: white;
    font-size: 0.75rem; font-weight: 800;
    padding: 4px 12px; border-radius: 20px;
}
.badge-tag.gold { background: #EAB308; color: black; }
.badge-tag.dark { background: #1C1917; color: white; }

.card-body { padding: 24px; }
.card-title-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.card-title-row h3 { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 800; }
.price { font-size: 1.25rem; font-weight: 800; color: var(--primary); }
.card-body p { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 20px; line-height: 1.5; }
.card-footer-row { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border); padding-top: 16px; }
.calorie { font-size: 0.8rem; color: #A8A29E; font-weight: 600; }

/* CATEGORY STICKY BAR FOR QR MENU */
.category-nav-bar {
    position: sticky;
    top: 70px;
    z-index: 90;
    background: #FAF7F2;
    padding: 16px 0;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    margin: 32px 0 40px;
    border-bottom: 1px solid var(--border);
}

.cat-btn {
    background: white;
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 10px 20px;
    border-radius: 30px;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.cat-btn.active, .cat-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* MENU ITEMS LIST (MOBILE-FIRST COMPACT BIGCHEFS STYLE) */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    width: 100%;
}

.menu-item {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    gap: 16px;
    align-items: center;
    transition: all 0.2s ease;
}

.menu-item:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(183, 121, 69, 0.12);
}

.menu-item img {
    width: 90px;
    height: 90px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.item-info { flex: 1; }
.item-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.item-head h4 { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 800; }
.item-price { font-weight: 800; color: var(--primary); font-size: 1.1rem; }
.item-info p { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 6px; line-height: 1.4; }
.tag-fav { font-size: 0.72rem; font-weight: 700; color: var(--primary); background: #FFF7ED; padding: 2px 8px; border-radius: 12px; }
.tag-health { font-size: 0.72rem; font-weight: 700; color: #166534; background: #DCFCE7; padding: 2px 8px; border-radius: 12px; }

/* HİKAYE SECTION */
.hikaye-section { background: white; border-y: 1px solid var(--border); }
.hikaye-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px; align-items: center; }
.hikaye-img img { width: 100%; border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.hikaye-content p { color: var(--text-muted); font-size: 1rem; margin: 16px 0 24px; }
.hikaye-badges { display: flex; gap: 16px; flex-wrap: wrap; }
.h-badge { background: #FAF7F2; border: 1px solid var(--border); padding: 8px 16px; border-radius: 12px; font-size: 0.88rem; font-weight: 700; color: var(--primary); }

/* REZERVASYON */
.res-section { background: var(--bg-main); }
.res-wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 48px; align-items: center; }
.res-card { background: white; border: 1px solid var(--border); padding: 36px; border-radius: 24px; box-shadow: 0 20px 50px rgba(0,0,0,0.06); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.input-group label { display: block; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 6px; font-weight: 700; }
.input-group input, .input-group select { width: 100%; padding: 12px; background: #FAF7F2; border: 1px solid var(--border); border-radius: 10px; font-family: inherit; font-size: 0.92rem; }

/* FOOTER */
.footer { background: #1C1917; color: #F5F5F4; padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; padding-bottom: 40px; }
.footer-bottom { border-top: 1px solid #292524; padding: 24px 0; font-size: 0.85rem; color: #A8A29E; }
.bottom-wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.signature-pill { background: rgba(183, 121, 69, 0.2); color: #FDBA74; border: 1px solid rgba(183, 121, 69, 0.3); padding: 6px 16px; border-radius: 20px; }

@media (max-width: 768px) {
    .nav-links { display: none; }
    .form-grid { grid-template-columns: 1fr; }
    .bottom-wrap { flex-direction: column; text-align: center; }
}


/* ═══════════════════════════════════════════════════════════════
   10,000 CUSTOMER SIMULATION — 100% PERFECT MOBILE RESPONSIVE CSS
   ═══════════════════════════════════════════════════════════════ */

/* Hide top status strip on mobile to save vertical screen real estate */
@media (max-width: 768px) {
    .top-status-bar { display: none !important; }
    .navbar { top: 0 !important; padding: 10px 0 !important; }
    .hero { padding: 110px 0 60px !important; }
    .hero h1 { font-size: 2rem !important; }
    .hero-subtitle { font-size: 0.95rem !important; }
    .category-nav-bar { top: 56px !important; margin: 16px 0 24px !important; }
    .menu-grid { grid-template-columns: 1fr !important; }
    .menu-item { padding: 14px !important; }
    .menu-item img { width: 80px !important; height: 80px !important; }
    .item-head h4 { font-size: 0.98rem !important; }
    .item-price { font-size: 1rem !important; }
    body { padding-bottom: 70px !important; } /* Spacing for floating dock */
}

/* Category Bar Smooth Touch Scrolling */
.category-nav-bar {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.category-nav-bar::-webkit-scrollbar { display: none; }

/* FLOATING MOBILE BOTTOM ACTION DOCK */
.mobile-bottom-dock {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #1C1917;
    padding: 10px 16px;
    border-top: 1px solid #292524;
    box-shadow: 0 -10px 25px rgba(0,0,0,0.15);
    gap: 12px;
}

@media (max-width: 768px) {
    .mobile-bottom-dock { display: flex !important; }
}

.dock-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
}

.btn-waiter {
    background: #FAF7F2;
    color: #1C1917;
}

.btn-order {
    background: #22C55E;
    color: white;
}

/* DISH MODAL */
.dish-modal {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 2000;
    background: rgba(28, 25, 23, 0.8);
    backdrop-filter: blur(12px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.dish-modal.active { display: flex; }

.dish-modal-content {
    background: white;
    border-radius: 24px;
    max-width: 480px;
    width: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.2);
}

.dish-modal-close {
    position: absolute;
    top: 14px; right: 14px;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
}


/* ═══════════════════════════════════════════════════════════════
   ULTRA-COMPACT ZERO OVERFLOW & ALL MOBILE PHONE SCALING (320px - 430px)
   ═══════════════════════════════════════════════════════════════ */

html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    word-wrap: break-word !important;
}

/* Prevent any text overflow smash on title and price */
.item-head {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 8px !important;
}

.item-head h4 {
    font-size: clamp(0.9rem, 3.8vw, 1.05rem) !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    flex: 1 !important;
    min-width: 0 !important;
    overflow-wrap: break-word !important;
}

.item-price {
    font-size: clamp(0.95rem, 4vw, 1.15rem) !important;
    font-weight: 800 !important;
    color: var(--primary) !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

/* Narrow screens (iPhone SE, 320px - 375px) Ultra-Compact Rules */
@media (max-width: 375px) {
    .container { width: 94% !important; }
    .hero h1 { font-size: 1.75rem !important; }
    .hero-subtitle { font-size: 0.88rem !important; }
    .btn-lg { padding: 12px 20px !important; font-size: 0.88rem !important; }
    .menu-item { padding: 10px !important; gap: 10px !important; }
    .menu-item img { width: 72px !important; height: 72px !important; border-radius: 10px !important; }
    .item-info p { font-size: 0.78rem !important; line-height: 1.35 !important; }
    .cat-btn { padding: 8px 14px !important; font-size: 0.8rem !important; }
    .dock-btn { font-size: 0.8rem !important; padding: 10px !important; }
}

/* Medium Mobile screens (376px - 430px - iPhone 14/15 Pro, Galaxy S24) */
@media (min-width: 376px) and (max-width: 480px) {
    .menu-item { padding: 14px !important; gap: 14px !important; }
    .menu-item img { width: 84px !important; height: 84px !important; }
}


/* ═══════════════════════════════════════════════════════════════
   BIGCHEFS / HAPPY MOON'S AUTHENTIC GASTRONOMY LEGEND CSS
   ═══════════════════════════════════════════════════════════════ */

.allergen-legend-bar span {
    background: white;
    border: 1px solid #E7E5E4;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ═══════════════════════════════════════════════════════
   REVEAL ANIMATIONS
   ═══════════════════════════════════════════════════════ */
.reveal, .reveal-stagger > * {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .55s ease, transform .55s ease;
}
.reveal.visible, .reveal-stagger > *.visible {
    opacity: 1;
    transform: translateY(0);
}

/* TEXT GRADIENT */
.text-gradient {
    background: linear-gradient(135deg, #B77945, #E8C99A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* BTN GLASS */
.btn-glass {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    border-radius: 12px;
    padding: 14px 28px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background .2s;
    cursor: pointer;
}
.btn-glass:hover { background: rgba(255,255,255,0.25); }

/* H-BADGE */
.h-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FFF5EB;
    border: 1px solid #E8C99A;
    color: #8C5325;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.83rem;
    font-weight: 700;
}
.h-badge i { color: #B77945; }

/* PERK items */
.perk {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #44403C;
}
.perk i { color: #B77945; }

/* BTN BLOCK */
.btn-block { width: 100%; justify-content: center; }
