:root {
  --primary: #c0392b;
  --secondary: #f39c12;
  --accent: #27ae60;
  --background: #fff8f2;
  --dark: #1e1e1e;
  --white: #ffffff;
  --text: #3b332e;
  --muted: #75695f;
  --border: rgba(30, 30, 30, 0.08);
  --shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
  --radius: 26px;
  --radius-sm: 16px;
  --container: min(1180px, calc(100% - 2rem));
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: linear-gradient(135deg, #fff8f2 0%, #fffaf5 100%);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

section {
  position: relative;
}

.section {
  padding: 6rem 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--primary);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Loading Screen */
.loading-screen {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, var(--dark), var(--primary));
  color: var(--white);
  display: grid;
  place-items: center;
  z-index: 2000;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-ring {
  width: 80px;
  height: 80px;
  border: 4px solid rgba(255,255,255,0.3);
  border-top-color: var(--secondary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 248, 242, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(30, 30, 30, 0.06);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  box-shadow: var(--shadow);
}

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-actions {
  flex-wrap: nowrap;
  margin-left: auto;
}

.nav-actions .btn {
  padding: 0.68rem 0.95rem;
  font-size: 0.92rem;
  white-space: nowrap;
}

.nav-link {
  color: var(--dark);
  font-weight: 500;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.nav-link.active::after,
.nav-link:hover::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 0.3rem;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  width: 28px;
  height: 2px;
  background: var(--dark);
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  padding: 0.9rem 1.45rem;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  box-shadow: 0 12px 30px rgba(192, 57, 43, 0.25);
}

.btn-secondary {
  background: rgba(255,255,255,0.86);
  color: var(--dark);
  border: 1px solid rgba(30,30,30,0.08);
}

.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 1px solid rgba(30,30,30,0.2);
}

.btn-light {
  background: var(--white);
  color: var(--primary);
}

.ripple-span {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: ripple 0.6s linear;
  background: rgba(255,255,255,0.35);
  pointer-events: none;
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Typography */
.eyebrow {
  display: inline-block;
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
}

h1,
h2,
h3 {
  font-family: 'Playfair Display', serif;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  color: var(--white);
}

h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--dark);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.3rem;
  color: var(--dark);
}

p {
  color: var(--muted);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(120deg, rgba(30,30,30,0.8), rgba(30,30,30,0.65)), url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?auto=format&fit=crop&w=1800&q=80') center/cover;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(243,156,18,0.26), transparent 25%), radial-gradient(circle at bottom right, rgba(192,57,43,0.18), transparent 30%);
  z-index: -1;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  padding: 7rem 0 5rem;
}

.hero-copy {
  max-width: 680px;
}

.hero-description {
  font-size: 1.07rem;
  color: rgba(255,255,255,0.82);
  margin: 1rem 0 2rem;
  max-width: 620px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.7rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-badge {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.16);
  color: var(--white);
  backdrop-filter: blur(16px);
}

.hero-visual {
  position: relative;
  min-height: 460px;
  display: grid;
  place-items: center;
}

.hero-card {
  position: absolute;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 1.3rem 1.4rem;
  color: var(--white);
  box-shadow: var(--shadow);
  animation: float 4.5s ease-in-out infinite;
}

.card-one {
  top: 5%;
  left: 10%;
}

.card-two {
  right: 6%;
  bottom: 8%;
  animation-delay: 1.2s;
}

@keyframes float {
  0%,
  100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* About */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-media img {
  border-radius: 32px;
  box-shadow: var(--shadow);
  min-height: 450px;
  object-fit: cover;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem 1.5rem;
  margin: 1.2rem 0 1.7rem;
  padding-left: 1.2rem;
}

.feature-list li {
  color: var(--text);
}

/* Menu */
.section-heading {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.menu-grid,
.special-grid,
.benefit-grid,
.chef-grid,
.blog-grid,
.event-grid,
.instagram-grid {
  display: grid;
  gap: 1.5rem;
}

.menu-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.food-card,
.special-card,
.benefit-card,
.chef-card,
.blog-card,
.event-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.food-card:hover,
.special-card:hover,
.chef-card:hover,
.blog-card:hover,
.event-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 45px rgba(0,0,0,0.16);
}

.food-card img,
.special-card img,
.blog-card img,
.chef-card img {
  height: 220px;
  width: 100%;
  object-fit: cover;
}

.food-card-content {
  padding: 1.15rem 1.15rem 1.25rem;
}

.food-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
}

.food-topline span {
  color: var(--primary);
  font-weight: 700;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.8rem;
  color: var(--primary);
  font-weight: 600;
}

/* Specials */
.special-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.special-card {
  position: relative;
}

.special-card .badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  font-weight: 600;
}

.special-card h3,
.special-card p,
.special-card .btn {
  margin: 0.75rem 1rem 0;
}

.special-card .btn {
  margin-bottom: 1rem;
}

/* Benefits */
.benefits {
  background: linear-gradient(135deg, rgba(243,156,18,0.08), rgba(192,57,43,0.06));
}

.benefit-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.benefit-card {
  padding: 1.5rem;
  background: rgba(255,255,255,0.84);
}

/* Gallery */
.masonry-grid {
  columns: 3 280px;
  column-gap: 1rem;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.gallery-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

/* Chefs */
.chef-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.chef-card {
  display: flex;
  flex-direction: column;
}

.chef-info {
  padding: 1.3rem;
}

.chef-role {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.chef-exp {
  font-weight: 600;
  margin: 0.25rem 0 0.7rem;
}

.socials {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(192,57,43,0.08);
  color: var(--primary);
}

/* Reservation */
.reservation-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  padding: 2rem;
  border-radius: 36px;
  background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,248,242,0.95));
  box-shadow: var(--shadow);
}

.reservation-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

.reservation-highlights span {
  padding: 0.55rem 0.85rem;
  background: rgba(39,174,96,0.08);
  color: var(--accent);
  border-radius: 999px;
  font-weight: 600;
}

.reservation-form,
.contact-form,
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

label {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-weight: 600;
  color: var(--dark);
}

input,
textarea,
select {
  border: 1px solid rgba(30,30,30,0.12);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  background: rgba(255,255,255,0.92);
  color: var(--dark);
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(192,57,43,0.2);
  border-color: var(--primary);
}

.form-message {
  min-height: 1.3rem;
  font-weight: 600;
}

.form-message.success {
  color: var(--accent);
}

.form-message.error {
  color: var(--primary);
}

/* Stats */
.stats {
  background: linear-gradient(135deg, var(--dark), #2d2d2d);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.stat-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 2rem 1.2rem;
  text-align: center;
}

.stat-card h3 {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 0.3rem;
}

.stat-card p {
  color: rgba(255,255,255,0.85);
}

/* Testimonials */
.testimonial-slider {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.testimonial-track {
  position: relative;
  min-height: 300px;
}

.testimonial-card {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  background: var(--white);
  border-radius: 26px;
  padding: 2rem;
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  text-align: center;
}

.testimonial-card.active {
  opacity: 1;
  transform: translateX(0);
}

.testimonial-card img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  cursor: pointer;
}

/* Events */
.event-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.event-card {
  padding: 1.7rem;
  text-align: center;
  font-weight: 700;
  color: var(--dark);
  background: linear-gradient(135deg, rgba(243,156,18,0.08), rgba(30,30,30,0.02));
}

/* Blog */
.blog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blog-content {
  padding: 1.2rem 1.2rem 1.4rem;
}

.blog-meta {
  color: var(--primary);
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.blog-content a {
  color: var(--primary);
  font-weight: 700;
  margin-top: 0.75rem;
  display: inline-block;
}

/* FAQ */
.faq-wrap {
  display: grid;
  gap: 1.2rem;
}

.faq-item {
  background: var(--white);
  border-radius: 18px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.2rem;
  background: transparent;
  border: none;
  text-align: left;
  font-weight: 700;
  cursor: pointer;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 1.2rem;
}

.faq-item.active .faq-answer {
  max-height: 170px;
  padding: 0 1.2rem 1rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 2rem;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,248,242,0.92));
  box-shadow: var(--shadow);
}

.contact-info ul {
  list-style: none;
  display: grid;
  gap: 0.7rem;
  margin: 1rem 0 1.25rem;
}

.map-placeholder {
  padding: 1rem;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(243,156,18,0.15), rgba(39,174,96,0.1));
  text-align: center;
  font-weight: 700;
  color: var(--dark);
}

/* Newsletter */
.newsletter-card {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 32px;
  padding: 2rem;
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  box-shadow: var(--shadow);
}

.newsletter-card h2,
.newsletter-card p {
  color: var(--white);
}

.newsletter-form {
  flex-direction: row;
  align-items: center;
  width: min(100%, 480px);
}

.newsletter-form input {
  flex: 1;
}

/* Instagram */
.instagram-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.instagram-grid img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

/* Footer */
.footer {
  padding: 4rem 0 1.5rem;
  background: var(--dark);
  color: rgba(255,255,255,0.82);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 2rem;
}

.footer h3 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.footer ul {
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

.footer a {
  color: rgba(255,255,255,0.75);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1200;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 1024px) {
  .menu-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .special-grid,
  .benefit-grid,
  .blog-grid,
  .event-grid,
  .instagram-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-grid,
  .chef-grid,
  .contact-grid,
  .split-grid,
  .reservation-card,
  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 320px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .section {
    padding: 4.5rem 0;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .nav {
    position: relative;
  }

  .nav-actions {
    display: none;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(255,248,242,0.98);
    padding: 1rem;
    border-radius: 0 0 20px 20px;
    box-shadow: var(--shadow);
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-actions {
    display: none;
  }

  .menu-grid,
  .special-grid,
  .benefit-grid,
  .chef-grid,
  .blog-grid,
  .event-grid,
  .stats-grid,
  .instagram-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding-top: 5rem;
  }

  .hero-buttons,
  .hero-badges {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .newsletter-card,
  .contact-grid,
  .reservation-card {
    padding: 1.5rem;
  }

  .newsletter-form {
    flex-direction: column;
    width: 100%;
  }

  .testimonials .testimonial-slider {
    grid-template-columns: 1fr;
  }

  .slider-btn {
    display: none;
  }
}
