/* ============================================================
   Zaftigs Delicatessen – style.css
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=Lato:wght@300;400;700&display=swap');

/* ── Variables ─────────────────────────────────────────── */
:root {
  --espresso:    #2B1810;
  --amber:       #C17A2A;
  --amber-light: #DFA64C;
  --brick:       #8B3326;
  --cream:       #FAFAF5;
  --warm:        #F5EDE0;
  --border:      #E8D5B8;
  --text:        #1A0A04;
  --muted:       #7A5C48;
  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Lato', system-ui, sans-serif;
}

/* ── Base ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 400;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--espresso);
  line-height: 1.2;
}

a { color: var(--amber); text-decoration: none; }
a:hover { color: var(--amber-light); }

/* anchor offset for sticky nav */
section[id] { scroll-margin-top: 76px; }

/* ── Navbar ────────────────────────────────────────────── */
.navbar {
  background: var(--espresso);
  padding: 1rem 0;
  z-index: 1000;
}

.navbar-brand {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: #FAF0DC !important;
  letter-spacing: 0.02em;
}

.navbar-nav .nav-link {
  color: rgba(250,240,220,0.8) !important;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 0.8rem;
  transition: color 0.2s;
}

.navbar-nav .nav-link:hover {
  color: var(--amber-light) !important;
}

.navbar-toggler {
  border-color: rgba(250,240,220,0.35);
  padding: 0.4rem 0.6rem;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28250%2C240%2C220%2C0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.btn-order-nav {
  background: var(--amber);
  color: #fff !important;
  border: none;
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45rem 1.1rem !important;
  margin-left: 0.4rem;
  transition: background 0.2s;
  display: inline-block;
}

.btn-order-nav:hover {
  background: var(--amber-light);
  color: #fff !important;
}

/* ── Hero ──────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 580px;
  background: url('img/hero.webp') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 75% 65% at 50% 48%, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.04) 100%),
              linear-gradient(to bottom, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0.10) 45%, rgba(0,0,0,0.45) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  background: rgba(0,0,0,0.20);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  padding: 3rem 3.5rem;
  max-width: 680px;
  width: 90%;
  border: 1px solid rgba(250,220,140,0.22);
}

.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber-light);
  display: block;
  margin-bottom: 0.85rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.8);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 9vw, 6.5rem);
  font-weight: 700;
  color: #FAF0DC;
  margin-bottom: 0.2rem;
  text-shadow: 0 0 4px rgba(0,0,0,1), 0 2px 20px rgba(0,0,0,0.95), 0 0 60px rgba(0,0,0,0.8);
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2.5vw, 1.55rem);
  color: rgba(250,240,220,0.92);
  margin-bottom: 0.4rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 2px 16px rgba(0,0,0,0.95), 0 0 40px rgba(0,0,0,0.85);
}

.hero-tagline {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250,240,220,0.72);
  margin-bottom: 2.25rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.9);
}

.btn-hero {
  background: var(--amber);
  color: #fff;
  border: none;
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.9rem 2.75rem;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}

.btn-hero:hover {
  background: var(--amber-light);
  color: #fff;
  transform: translateY(-1px);
}

.btn-hero-gift {
  background: transparent;
  color: #FAF0DC;
  border: 2px solid rgba(250,240,220,0.6);
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.9rem 1.75rem;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  display: inline-block;
}

.btn-hero-gift:hover {
  background: rgba(250,240,220,0.12);
  border-color: #FAF0DC;
  color: #FAF0DC;
  transform: translateY(-1px);
}

/* ── Section Utilities ──────────────────────────────────── */
.section-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  display: block;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--espresso);
}

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0.5rem 0 0;
}

.ornament::before,
.ornament::after {
  content: '';
  flex: 1;
  max-width: 70px;
  height: 1px;
  background: var(--amber);
  opacity: 0.45;
}

.ornament span {
  color: var(--amber);
  font-size: 1rem;
  line-height: 1;
}

/* ── Highlights Strip ───────────────────────────────────── */
.highlights {
  background: var(--espresso);
}

.highlight-cell {
  padding: 2.5rem 1.5rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
  transition: background 0.2s;
}

.highlight-cell:last-child {
  border-right: none;
}

.highlight-cell:hover {
  background: rgba(255,255,255,0.04);
}

.highlight-cell i {
  font-size: 1.9rem;
  color: var(--amber);
  display: block;
  margin-bottom: 0.7rem;
}

.highlight-cell h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: #FAF0DC;
  margin-bottom: 0.2rem;
}

.highlight-cell p {
  font-size: 0.82rem;
  color: rgba(250,240,220,0.55);
  margin: 0;
}

/* ── Featured Signatures ────────────────────────────────── */
.featured {
  background: var(--warm);
  padding: 5.5rem 0;
}

.dish-card {
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 2rem 1.75rem;
  text-align: center;
  height: 100%;
  transition: box-shadow 0.2s, transform 0.2s;
}

.dish-card:hover {
  box-shadow: 0 10px 36px rgba(43,24,16,0.12);
  transform: translateY(-3px);
}

.dish-number {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(193,122,42,0.14);
  line-height: 1;
  margin-bottom: 0.6rem;
}

.dish-card h5 {
  font-size: 1.25rem;
  color: var(--espresso);
  margin-bottom: 0.5rem;
}

.dish-card p {
  font-size: 0.87rem;
  color: var(--muted);
  font-style: italic;
  margin: 0;
  line-height: 1.5;
}

.dish-price {
  display: inline-block;
  margin-top: 0.9rem;
  font-weight: 700;
  color: var(--amber);
  font-size: 1.05rem;
  font-family: var(--font-sans);
}

/* ── Full Menu ──────────────────────────────────────────── */
.menu-section {
  background: var(--cream);
  padding: 5.5rem 0;
}

.menu-tabs-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 2rem;
}

.menu-tabs {
  flex-wrap: nowrap;
  min-width: max-content;
  gap: 0;
  border-bottom: 2px solid var(--border);
}

.menu-tabs .nav-link {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  padding: 0.65rem 1.1rem;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}

.menu-tabs .nav-link.active,
.menu-tabs .nav-link:hover {
  color: var(--amber);
  background: none;
  border-bottom-color: var(--amber);
}

.menu-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
}

.menu-item:last-child {
  border-bottom: none;
}

.item-name {
  font-size: 0.92rem;
  color: var(--text);
  flex: 1;
  line-height: 1.4;
}

.item-desc {
  font-size: 0.78rem;
  color: var(--muted);
  font-style: italic;
  display: block;
  margin-top: 0.1rem;
}

.item-price {
  font-weight: 700;
  color: var(--amber);
  font-size: 0.88rem;
  white-space: nowrap;
  font-family: var(--font-sans);
}

.menu-category-head {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--espresso);
  padding-bottom: 0.35rem;
  border-bottom: 2px solid var(--amber);
  margin-bottom: 0.6rem;
  display: inline-block;
}

.menu-note {
  font-size: 0.78rem;
  color: var(--muted);
  font-style: italic;
  margin-top: 1rem;
  margin-bottom: 0;
}

/* ── Gallery ────────────────────────────────────────────── */
.gallery-section {
  background: var(--warm);
  padding: 5.5rem 0;
}

.gallery-img-wrap {
  overflow: hidden;
  border: 3px solid var(--border);
}

.gallery-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.gallery-img-wrap:hover .gallery-img {
  transform: scale(1.04);
}

/* ── About ──────────────────────────────────────────────── */
.about-section {
  background: var(--cream);
  padding: 5.5rem 0;
}

.about-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border: 4px solid var(--border);
  display: block;
}

.about-text .lead {
  font-size: 1.1rem;
  color: var(--muted);
  font-family: var(--font-serif);
  font-style: italic;
}

.about-stat {
  border-left: 3px solid var(--amber);
  padding-left: 1rem;
}

.about-stat .stat-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
}

.about-stat .stat-label {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ── Catering CTA ───────────────────────────────────────── */
.catering-cta {
  background: var(--espresso);
  padding: 5rem 0;
  text-align: center;
}

.catering-cta .section-label {
  color: var(--amber);
}

.catering-cta h2 {
  font-family: var(--font-serif);
  color: #FAF0DC;
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-top: 0.25rem;
  margin-bottom: 1rem;
}

.catering-cta p {
  color: rgba(250,240,220,0.7);
  max-width: 560px;
  margin: 0 auto 2rem;
  font-size: 1rem;
}

.btn-catering {
  display: inline-block;
  background: transparent;
  color: var(--amber);
  border: 2px solid var(--amber);
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.9rem 2.5rem;
  transition: background 0.2s, color 0.2s;
}

.btn-catering:hover {
  background: var(--amber);
  color: #fff;
}

/* ── Location & Hours ───────────────────────────────────── */
.location-section {
  background: var(--warm);
  padding: 5.5rem 0;
}

.location-card {
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 2.5rem;
  height: 100%;
}

.location-card h5 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
}

.hours-table {
  width: 100%;
  font-size: 0.88rem;
}

.hours-table td {
  padding: 0.45rem 0;
  vertical-align: middle;
}

.hours-table td:last-child {
  text-align: right;
  color: var(--amber);
  font-weight: 700;
}

.hours-table tr:not(:last-child) td {
  border-bottom: 1px solid var(--border);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.92rem;
}

.contact-item i {
  color: var(--amber);
  font-size: 1rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.contact-item a {
  color: var(--text);
}

.contact-item a:hover {
  color: var(--amber);
}

.map-frame {
  width: 100%;
  height: 100%;
  min-height: 440px;
  border: none;
  display: block;
}

/* ── Footer ─────────────────────────────────────────────── */
footer {
  background: #1A0804;
  color: rgba(250,240,220,0.65);
  padding: 3rem 0 2rem;
  text-align: center;
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: #FAF0DC;
  margin-bottom: 0.2rem;
}

.footer-tagline {
  font-size: 0.82rem;
  color: rgba(250,240,220,0.45);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.social-links {
  margin-bottom: 1.75rem;
}

.social-links a {
  color: rgba(250,240,220,0.55);
  font-size: 1.3rem;
  margin: 0 0.5rem;
  transition: color 0.2s;
}

.social-links a:hover {
  color: var(--amber);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.25rem;
}

.footer-links li a {
  color: rgba(250,240,220,0.55);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.footer-links li a:hover {
  color: var(--amber);
}

.powered-by {
  font-size: 0.78rem;
  color: rgba(250,240,220,0.35);
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.powered-by a {
  color: var(--amber);
  font-weight: 700;
}

.powered-by a:hover {
  color: var(--amber-light);
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .highlight-cell {
    border-right: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  /* 2×2 on md — clear right border for 2nd column cells */
  .highlight-cell:nth-child(2n) { border-right: none; }
  .highlight-cell:nth-child(3),
  .highlight-cell:nth-child(4)  { border-bottom: none; }

  .navbar-collapse {
    background: var(--espresso);
    padding: 1rem 0.5rem;
    margin-top: 0.5rem;
  }

  .btn-order-nav {
    margin-left: 0;
    margin-top: 0.4rem;
  }
}

@media (max-width: 575.98px) {
  .btn-hero-gift { margin-left: 0 !important; margin-top: 0.75rem; display: block; }
  .btn-hero      { display: block; }
}

@media (max-width: 767.98px) {
  .hero-content { padding: 2rem 1.5rem; }
  .gallery-img  { height: 200px; }
  .about-img    { height: 280px; margin-bottom: 2rem; }
  .map-frame    { min-height: 300px; height: 300px; }

  .dish-card { padding: 1.5rem 1rem; }
  .dish-number { font-size: 2.5rem; }
}
