:root {
  --red: #c8262f;
  --red-dark: #a11e26;
  --green: #3f9142;
  --gold: #e8a83d;
  --cream: #fdf6ea;
  --dark: #1a1714;
  --dark-soft: #2b2622;
  --text: #2c2420;
  --font-display: 'Baloo 2', cursive;
  --font-body: 'Poppins', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

h1, h2, h3 { font-family: var(--font-display); }

/* ---------- Buttons ---------- */
.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 20px rgba(200, 38, 47, 0.4);
}

.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(200, 38, 47, 0.5); }

.btn-secondary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 8px 20px rgba(63, 145, 66, 0.35);
}

.btn-secondary:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(63, 145, 66, 0.45); }

/* ---------- Header bar ---------- */
.site-header { position: relative; }

.header-bar {
  background: var(--dark);
  height: 76px;
  position: relative;
  z-index: 30;
  border-bottom: 3px solid var(--gold);
}

.main-nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 2.5rem 0 210px;
  max-width: 1400px;
  margin: 0 auto;
}

.nav-links {
  display: flex;
  gap: 2.2rem;
}

.nav-links a {
  color: #f2ede4;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.03em;
  padding: 0.4rem 0.1rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  border-color: var(--gold);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 26px;
  height: 3px;
  background: #f2ede4;
  border-radius: 2px;
}

/* ---------- Overlapping logo badge ---------- */
.logo-badge {
  position: absolute;
  top: 14px;
  left: 2rem;
  width: 168px;
  z-index: 40;
  background: #fff;
  padding: 12px;
  border-radius: 10px;
  border: 3px solid var(--gold);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.logo-badge:active { transform: scale(0.96); }

.logo-badge.clicked { animation: logo-pulse 0.5s ease; }

@keyframes logo-pulse {
  0% { box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35), 0 0 0 0 rgba(232, 168, 61, 0.7); }
  60% { box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35), 0 0 0 14px rgba(232, 168, 61, 0); }
  100% { box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35), 0 0 0 0 rgba(232, 168, 61, 0); }
}

/* ---------- Hero / Slideshow ---------- */
.hero {
  position: relative;
  height: 640px;
  overflow: hidden;
}

.slideshow { position: absolute; inset: 0; }

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}

.slide.active { opacity: 1; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 8, 6, 0.35) 0%, rgba(10, 8, 6, 0.35) 40%, rgba(10, 8, 6, 0.7) 100%);
  z-index: 5;
}

.hero-content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 100px 1.5rem 0;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
  margin-bottom: 0.75rem;
}

.hero-content p {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 2rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 15;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  border: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.slide-arrow:hover { background: var(--red); }
.slide-arrow.prev { left: 1.5rem; }
.slide-arrow.next { right: 1.5rem; }

.slide-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  display: flex;
  gap: 10px;
}

.slide-dots button {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease;
}

.slide-dots button.active { background: var(--gold); border-color: var(--gold); }

/* ---------- Section heading ---------- */
.section-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.eyebrow {
  display: inline-block;
  color: var(--red);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--dark);
}

/* ---------- Menu ---------- */
.menu {
  padding: 6rem 2rem;
  max-width: 1300px;
  margin: 0 auto;
}

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

.menu-item {
  text-align: center;
}

.menu-item-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: 0 18px 32px rgba(26, 23, 20, 0.18);
  border: 4px solid #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.menu-item:hover .menu-item-img {
  transform: translateY(-6px);
  box-shadow: 0 24px 40px rgba(26, 23, 20, 0.25);
}

.menu-item:hover .menu-item-img img { transform: scale(1.06); }

.menu-item h3 {
  font-size: 1.35rem;
  color: var(--dark);
  margin-bottom: 0.4rem;
}

.menu-desc {
  font-size: 0.92rem;
  color: #5c5248;
  line-height: 1.5;
  margin-bottom: 0.6rem;
  padding: 0 0.5rem;
}

.menu-price {
  display: inline-block;
  font-weight: 700;
  color: #fff;
  background: var(--green);
  padding: 0.3rem 1rem;
  border-radius: 50px;
  font-size: 0.95rem;
}

/* ---------- About ---------- */
.about {
  background: var(--dark);
  color: #f2ede4;
  padding: 5.5rem 2rem;
  position: relative;
}

.about::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg, rgba(232, 168, 61, 0.04) 0 2px, transparent 2px 40px);
  pointer-events: none;
}

.about-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.about .eyebrow { color: var(--gold); }

.about-text h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 1.25rem; }

.about-text p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #d8d0c4;
  margin-bottom: 2rem;
}

/* ---------- Catering ---------- */
.catering {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: #fff;
  padding: 5rem 2rem;
  text-align: center;
}

.catering-inner { max-width: 600px; margin: 0 auto; }

.catering h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1rem; }

.catering p { margin-bottom: 2rem; line-height: 1.6; opacity: 0.95; }

.catering .btn-primary { background: #fff; color: var(--red); box-shadow: 0 8px 20px rgba(0,0,0,0.25); }
.catering .btn-primary:hover { background: var(--gold); color: var(--dark); }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark-soft); color: #f2ede4; }

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  align-items: center;
  justify-content: space-between;
}

.footer-logo { width: 140px; background: #fff; border-radius: 10px; padding: 10px; }

.footer-info h3 { color: var(--gold); font-size: 1.2rem; margin-bottom: 0.75rem; }

.footer-info p { line-height: 1.6; color: #d8d0c4; margin-bottom: 0.5rem; font-size: 0.95rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  padding: 1.25rem;
  font-size: 0.85rem;
  color: #a89e90;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .menu-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem 1.5rem; }
}

@media (max-width: 760px) {
  .main-nav {
    padding: 0 1.5rem;
    justify-content: flex-end;
  }

  .nav-toggle { display: flex; }

  .nav-links {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--dark);
    flex-direction: column;
    align-items: center;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 25;
  }

  .nav-links.open { max-height: 320px; border-bottom: 3px solid var(--gold); }

  .nav-links li { width: 100%; text-align: center; }

  .nav-links a { display: block; padding: 1rem; border-bottom: 1px solid rgba(255,255,255,0.08); }

  .logo-badge { width: 128px; left: 1rem; top: 10px; }

  .hero { height: 560px; }
  .hero-content { padding-top: 90px; }

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

  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .logo-badge { width: 100px; padding: 8px; top: 8px; }
  .hero-content h1 { font-size: 1.8rem; }
  .slide-arrow { width: 38px; height: 38px; font-size: 0.9rem; }
}
