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

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background: #080810;
  color: #fff;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
#navbar {
  background: transparent;
  transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}
#navbar.scrolled {
  background: rgba(8, 8, 16, 0.85);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}
.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #fbbf24;
  transition: width 0.3s;
}
.nav-link:hover::after { width: 100%; }

/* ── MOBILE MENU ── */
#mobile-menu.open { opacity: 1 !important; pointer-events: all !important; }
#mobile-menu.open .mobile-link { animation: fadeUp 0.4s ease forwards; }
#mobile-menu .mobile-link:nth-child(1) { animation-delay: 0.05s; }
#mobile-menu .mobile-link:nth-child(2) { animation-delay: 0.1s; }
#mobile-menu .mobile-link:nth-child(3) { animation-delay: 0.15s; }
#mobile-menu .mobile-link:nth-child(4) { animation-delay: 0.2s; }
#mobile-menu .mobile-link:nth-child(5) { animation-delay: 0.25s; }

.bar { transition: all 0.3s ease; }
#menu-btn.active .bar:nth-child(1) { transform: rotate(45deg) translate(3px, 3px); }
#menu-btn.active .bar:nth-child(2) { opacity: 0; }
#menu-btn.active .bar:nth-child(3) { transform: rotate(-45deg) translate(3px, -3px); width: 24px; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── HERO SHAPES ── */
.hero-shape {
  position: absolute;
  pointer-events: none;
  will-change: transform;
}
.shape-circle-1 {
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(157,23,77,0.35) 0%, transparent 70%);
  top: -100px;
  right: -150px;
  animation: float-slow 8s ease-in-out infinite;
}
.shape-circle-2 {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251,191,36,0.15) 0%, transparent 70%);
  bottom: -50px;
  left: -100px;
  animation: float-medium 10s ease-in-out infinite reverse;
}
.shape-rect-1 {
  width: 120px;
  height: 120px;
  background: rgba(157,23,77,0.2);
  border: 2px solid rgba(157,23,77,0.3);
  border-radius: 24px;
  top: 20%;
  left: 5%;
  transform: rotate(45deg);
  animation: float-fast 6s ease-in-out infinite;
}
.shape-rect-2 {
  width: 80px;
  height: 80px;
  background: rgba(251,191,36,0.15);
  border: 2px solid rgba(251,191,36,0.25);
  border-radius: 16px;
  bottom: 25%;
  left: 15%;
  transform: rotate(20deg);
  animation: float-medium 7s ease-in-out infinite;
}
.shape-triangle {
  width: 0;
  height: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-bottom: 86px solid rgba(157,23,77,0.15);
  top: 15%;
  right: 5%;
  animation: float-slow 9s ease-in-out infinite reverse;
}
.shape-dot-group {
  top: 60%;
  right: 2%;
  width: 60px;
  height: 60px;
  background-image: radial-gradient(circle, rgba(251,191,36,0.5) 2px, transparent 2px);
  background-size: 15px 15px;
  background-position: 0 0, 7px 7px;
  animation: float-fast 5s ease-in-out infinite;
}

/* ── FLOATING CARDS ── */
.floating-card {
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
@keyframes float-slow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}
@keyframes float-medium {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(1deg); }
}
@keyframes float-fast {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}
.card-fresh { animation: float-slow 6s ease-in-out infinite; }
.card-hours { animation: float-medium 5s ease-in-out infinite; }
.card-reviews { animation: float-fast 4s ease-in-out infinite; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fbbf24;
  color: #1a1a2e;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.875rem 1.75rem;
  border-radius: 60px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid #fbbf24;
}
.btn-primary:hover {
  background: transparent;
  color: #fbbf24;
  box-shadow: 0 0 30px rgba(251,191,36,0.3);
  transform: translateY(-2px);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.875rem 1.75rem;
  border-radius: 60px;
  border: 2px solid rgba(255,255,255,0.2);
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-secondary:hover {
  border-color: #fbbf24;
  color: #fbbf24;
  transform: translateY(-2px);
}

/* ── MARQUEE ── */
.marquee-track {
  display: flex;
  animation: marquee 25s linear infinite;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── MENU TABS ── */
.menu-tab {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.6rem 1.25rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.menu-tab:hover {
  border-color: rgba(251,191,36,0.4);
  color: #fbbf24;
}
.menu-tab.active {
  background: #fbbf24;
  border-color: #fbbf24;
  color: #1a1a2e;
}

/* ── MENU CARDS ── */
.menu-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(20px);
}
.menu-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.menu-card:hover {
  border-color: rgba(251,191,36,0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(251,191,36,0.08);
}
.menu-card-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}
.menu-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.menu-card:hover .menu-card-img img {
  transform: scale(1.08);
}
.menu-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,16,0.6) 0%, transparent 50%);
}
.menu-card-category {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(8,8,16,0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50px;
  padding: 0.25rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fbbf24;
  z-index: 1;
}
.menu-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
}
.menu-card-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
}
.menu-card-body p {
  color: rgba(255,255,255,0.45);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}
.menu-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.menu-card-price {
  font-weight: 800;
  font-size: 1.1rem;
  color: #fbbf24;
}
.menu-card-tag {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  background: rgba(157,23,77,0.3);
  color: #f9a8d4;
  border: 1px solid rgba(157,23,77,0.4);
}

/* ── REVIEW CARDS ── */
.review-card {
  transition: all 0.4s ease;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

/* ── INPUT FIELDS ── */
.input-field {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 0.875rem 1rem;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  outline: none;
}
.input-field::placeholder { color: rgba(255,255,255,0.25); }
.input-field:focus {
  border-color: #fbbf24;
  background: rgba(251,191,36,0.05);
  box-shadow: 0 0 0 3px rgba(251,191,36,0.1);
}
.input-field:focus ~ label,
.input-field:not(:placeholder-shown) ~ label {
  color: #fbbf24;
}

/* ── SCROLL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .shape-circle-1 { width: 300px; height: 300px; right: -80px; top: -50px; }
  .shape-circle-2 { width: 200px; height: 200px; }
  .shape-rect-1 { width: 60px; height: 60px; top: 15%; left: 3%; }
  .shape-rect-2 { display: none; }
  .shape-triangle { border-left: 30px solid transparent; border-right: 30px solid transparent; border-bottom: 52px solid rgba(157,23,77,0.15); }
  .floating-card.card-reviews { right: 0; }
  .floating-card.card-hours { left: 0; }
  .floating-card.card-fresh { left: 0; }
}
