/* Premium Design System — brand overrides */
:root {
  --primary: #78350f;
  --secondary: #d97706;
  --primary-light: color-mix(in srgb, #78350f 75%, var(--text-on-primary));
  --accent: #d97706;
  --accent-soft: color-mix(in srgb, #78350f 8%, var(--bg-secondary));
  --border: var(--border-color);
  /* Legacy aliases used in template CSS */
  --navy: var(--primary);
  --navy-light: color-mix(in srgb, var(--primary) 75%, var(--text-on-primary));
  --gold: var(--secondary);
  --gold-light: color-mix(in srgb, var(--secondary) 80%, var(--bg-main));
  --blue: var(--secondary);
  --light: var(--bg-secondary);
  --ink: var(--text-main);
  --muted: var(--text-muted);
  --bg: var(--bg-main);
  --surface: var(--bg-secondary);
  --white: var(--bg-main);
  --border: var(--border-color);
  --radius: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0;  color: var(--text-main); background: var(--cream); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
.container { width: min(1000px, 92%); margin: 0 auto; }

header { padding: 16px 0; border-bottom: 1px solid #fde68a; }
.header-row { display: flex; align-items: center; justify-content: space-between; position: relative; gap: 12px; flex-wrap: wrap; }
.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav-toggle { display: none; background: var(--bg-main); border: 1px solid #e8ddd0; border-radius: 8px; padding: 8px 10px; cursor: pointer; font-size: 1rem; }
.logo { font-size: 1.5rem; font-weight: 700; color: var(--brown); font-style: italic; }
nav a { margin-left: 20px;  font-size: 0.85rem; color: var(--text-muted); }
.btn {  display: inline-block; padding: 12px 24px; border-radius: 6px; font-weight: 700; font-size: 0.9rem; border: none; cursor: pointer; }
.btn-primary { background: var(--amber); color: var(--text-on-primary); }

.hero { padding: 72px 0; text-align: center; background: linear-gradient(180deg, #fef3c7 0%, var(--cream) 100%); }
.hero h1 { margin: 0 0 12px; font-size: clamp(2.2rem, 4vw, 3rem); color: var(--brown); }
.hero p { margin: 0 auto 28px; max-width: 500px;  color: var(--text-muted); font-size: 1.05rem; }

section { padding: 64px 0; }
.section-head { text-align: center; margin-bottom: 36px; }
.section-head h2 { margin: 0 0 8px; font-size: 1.8rem; color: var(--brown); }

.menu { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 700px; margin: 0 auto; }
.menu-item { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0; border-bottom: 1px dashed #d6d3d1;  }
.menu-item h3 { margin: 0; font-size: 1rem; font-weight: 600; }
.menu-item .price { font-weight: 700; color: var(--amber); }
.menu-item p { margin: 4px 0 0; font-size: 0.8rem; color: var(--text-muted); grid-column: 1 / -1; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery-item { height: 180px; border-radius: 12px; display: grid; place-items: center; font-size: 3rem; }
.gallery-item:nth-child(1) { background: #fde68a; }
.gallery-item:nth-child(2) { background: #fed7aa; }
.gallery-item:nth-child(3) { background: #fecaca; }

.hours { background: var(--brown); color: var(--text-on-primary); padding: 48px 0; text-align: center;  }
.hours h2 { margin: 0 0 16px;  }
.hours p { margin: 4px 0; opacity: 0.85; }

footer { padding: 24px 0; text-align: center;  font-size: 0.85rem; color: var(--text-muted); }

@media (max-width: 600px) {
  .menu, .gallery { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--cream);
    padding: 16px;
    border-bottom: 1px solid #fde68a;
    z-index: 50;
  }
  nav.open { display: flex; }
  nav a { margin: 8px 0 0; }
}

.page:not(.active) { display: none; }
nav a.active { color: var(--brown); font-weight: 700; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.hero-img { width: 100%; border-radius: 12px; object-fit: cover; max-height: 300px; }
.menu-tabs { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; justify-content: center; }
.menu-tab { padding: 8px 18px; border: 1px solid #e8ddd0; border-radius: 999px; background: var(--bg-main); cursor: pointer; font-size: 0.85rem; font-weight: 600;  }
.menu-tab.active { background: var(--brown); color: var(--text-on-primary); border-color: var(--brown); }
.menu-item { display: grid; grid-template-columns: 80px 1fr auto; gap: 16px; align-items: center; }
.menu-img { width: 80px; height: 60px; object-fit: cover; border-radius: 8px; }
.gallery-item { border: none; padding: 0; cursor: pointer; border-radius: 12px; overflow: hidden; transition: transform 0.15s; }
.gallery-item:hover { transform: scale(1.02); }
.gallery-item img { width: 100%; height: 180px; object-fit: cover; display: block; }
.hours-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; margin-bottom: 40px; }
.hours-img { width: 100%; border-radius: 12px; object-fit: cover; }
.reserve-form { max-width: 520px; margin: 0 auto; background: var(--bg-main); padding: 28px; border-radius: 12px; border: 1px solid #e8ddd0; }
.reserve-form h3 { margin: 0 0 16px;  }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-bottom: 12px; }
.form-row input, .form-row select { padding: 10px; border: 1px solid #e8ddd0; border-radius: 8px;  }
.toast { position: fixed; bottom: 24px; right: 24px; background: var(--brown); color: var(--text-on-primary); padding: 12px 20px; border-radius: 8px; opacity: 0; transition: opacity 0.3s; z-index: 100;  }
.toast.show { opacity: 1; }
@media (max-width: 600px) { .hero-grid, .hours-grid { grid-template-columns: 1fr; } .menu-item { grid-template-columns: 1fr; } }

/* Dark mode */

[data-theme="dark"] .site-header, body.dark .site-header, body.dark-mode .site-header, body.dark-mode header { background: rgba(15,23,42,0.95); border-color: #334155; }
body.dark-mode .site-footer, body.dark-mode footer { background: #020617; }
body.dark-mode .product-card, body.dark-mode .team-card, body.dark-mode .cat-card,
body.dark-mode .testimonial-card, body.dark-mode .faq-item, body.dark-mode .stat-counter,
body.dark-mode .menu-card, body.dark-mode .pricing-card {
  background: #1e293b; border-color: #334155;
}
.theme-toggle {
  background: none; border: 1px solid var(--border-color); border-radius: 8px;
  padding: 6px 10px; cursor: pointer; font-size: 1rem; line-height: 1;
}
body.dark-mode .theme-toggle { border-color: #475569; }
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 20px; padding: 48px 0; text-align: center; }
.stat-counter .num { font-size: 2.2rem; font-weight: 800; display: block; }
.stat-counter .lbl { font-size: 0.85rem; color: var(--text-muted); }
.testimonials { padding: 56px 0; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.testimonial-card { background: var(--white, #fff); border: 1px solid var(--border-color); border-radius: var(--radius, 12px); padding: 24px; }
.testimonial-card .stars { color: #f59e0b; margin-bottom: 10px; }
.testimonial-card .author { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.testimonial-card .author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.faq-section { padding: 56px 0; }
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border-color); border-radius: 10px; margin-bottom: 10px; overflow: hidden; }
.faq-item summary { padding: 16px 20px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.2rem; color: var(--text-muted); }
.faq-item[open] summary::after { content: '−'; }
.faq-item .answer { padding: 0 20px 16px; color: var(--text-muted); font-size: 0.95rem; }
.newsletter-cta { background: linear-gradient(135deg, var(--navy, #0B2545), var(--navy-light, #1a3a5c)); color: var(--text-on-primary); padding: 48px 24px; text-align: center; }
.newsletter-form { display: flex; gap: 10px; max-width: 420px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.newsletter-form input { flex: 1; min-width: 200px; padding: 12px 16px; border: 0; border-radius: 8px; }
.cta-banner { background: linear-gradient(90deg, var(--gold, #D4A843), var(--gold-light, #E8C96A)); color: var(--navy, #0B2545); padding: 32px 24px; text-align: center; }
.trust-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; padding: 32px 0; font-size: 0.9rem; color: var(--text-muted); }
.why-choose { padding: 56px 0; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.why-card { text-align: center; padding: 24px 16px; }
.why-card .icon { font-size: 2rem; margin-bottom: 12px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.animate-in { animation: fadeUp 0.5s ease both; }

.home-extras.hidden { display: none !important; }
