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

:root {
  --primary: #b45309;
  --primary-light: #d97706;
  --primary-dark: #92400e;
  --accent: #f59e0b;
  --background: #faf8f3;
  --card: #f5f3f0;
  --foreground: #1f2937;
  --muted: #9ca3af;
  --border: #e5e7eb;
  --radius: 0.625rem;
}

html.dark {
  --primary: #d97706;
  --primary-light: #fbbf24;
  --primary-dark: #b45309;
  --accent: #fcd34d;
  --background: #1f1917;
  --card: #292520;
  --foreground: #f3f4f6;
  --muted: #9ca3af;
  --border: #4b5563;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  transition: background-color 0.3s, color 0.3s;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Promotional Banner */
.promo-banner {
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: white;
  padding: 1rem;
  text-align: center;
  position: relative;
  z-index: 40;
}

.promo-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.promo-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(250, 248, 243, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 50;
  margin-top: 2.5rem;
}

html.dark .navbar {
  background-color: rgba(31, 25, 23, 0.8);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: bold;
  color: #92400e;
}

html.dark .nav-logo {
  color: #fcd34d;
}

.logo-circle {
  width: 2rem;
  height: 2rem;
  background-color: #92400e;
  border-radius: 50%;
}

html.dark .logo-circle {
  background-color: #f59e0b;
}

.nav-links {
  display: none;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  color: var(--foreground);
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #b45309;
}

html.dark .nav-links a:hover {
  color: #fbbf24;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theme-toggle {
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: background-color 0.3s;
}

.theme-toggle:hover {
  background-color: var(--card);
}

/* Buttons */
.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 500;
}

.btn-primary {
  background-color: #b45309;
  color: white;
}

.btn-primary:hover {
  background-color: #92400e;
}

html.dark .btn-primary {
  background-color: #d97706;
}

html.dark .btn-primary:hover {
  background-color: #b45309;
}

.btn-secondary {
  background-color: #b45309;
  color: white;
}

.btn-secondary:hover {
  background-color: #92400e;
}

html.dark .btn-secondary {
  background-color: #d97706;
}

html.dark .btn-secondary:hover {
  background-color: #b45309;
}

.btn-hero {
  background-color: #d97706;
  color: white;
  padding: 0.75rem 2rem;
  font-size: 1.125rem;
}

.btn-hero:hover {
  background-color: #b45309;
}

.btn-outline {
  background-color: transparent;
  color: var(--foreground);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  background-color: var(--card);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  margin-top: 6.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-background {
  position: absolute;
  inset: 0;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1920 1080"><rect fill="%23d4a574" width="1920" height="1080"/></svg>');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 42rem;
  padding: 2rem;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: #f3f4f6;
}

/* Featured Banner */
.featured-banner {
  position: relative;
  padding: 5rem 1rem;
  background: linear-gradient(to right, #fef3c7, #fef08a);
}

html.dark .featured-banner {
  background: linear-gradient(to right, #78350f, #92400e);
}

.featured-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 768px) {
  .featured-container {
    grid-template-columns: 1fr;
  }
}

.featured-image {
  position: relative;
}

.featured-image img {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.chef-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background-color: #f59e0b;
  color: #78350f;
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  font-weight: bold;
  font-size: 1.125rem;
}

html.dark .chef-badge {
  background-color: #fbbf24;
}

.featured-content {
  space-y: 1.5rem;
}

.featured-label {
  color: #b45309;
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

html.dark .featured-label {
  color: #fcd34d;
}

.featured-content h2 {
  font-size: 2.25rem;
  font-weight: bold;
  color: #78350f;
  margin-bottom: 1rem;
}

html.dark .featured-content h2 {
  color: #fef3c7;
}

.featured-content p {
  font-size: 1.125rem;
  color: #92400e;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

html.dark .featured-content p {
  color: #fef3c7;
}

.featured-list {
  list-style: none;
  margin-bottom: 2rem;
}

.featured-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #92400e;
  margin-bottom: 0.75rem;
}

html.dark .featured-list li {
  color: #fef3c7;
}

.featured-list li:before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  background-color: #f59e0b;
  border-radius: 50%;
}

/* About Section */
.about {
  padding: 5rem 1rem;
  background-color: var(--card);
}

.about-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

.about-image img {
  width: 100%;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.about-content h2 {
  font-size: 2.25rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  color: #78350f;
}

html.dark .about-content h2 {
  color: #fcd34d;
}

.about-content p {
  font-size: 1.125rem;
  color: var(--muted);
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* Stats Section */
.stats {
  padding: 5rem 1rem;
  background-color: var(--background);
}

.stats h2 {
  font-size: 2.25rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 4rem;
  color: #78350f;
}

html.dark .stats h2 {
  color: #fcd34d;
}

.stats-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

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

.stat-number {
  font-size: 3.75rem;
  font-weight: bold;
  color: #b45309;
  margin-bottom: 0.5rem;
}

html.dark .stat-number {
  color: #fbbf24;
}

.stat-number .suffix {
  font-size: 2rem;
}

.stat-label {
  font-size: 1.125rem;
  color: var(--muted);
}

/* Menu Section */
.menu {
  padding: 5rem 1rem;
  background-color: var(--card);
}

.menu h2 {
  font-size: 2.25rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 4rem;
  color: #78350f;
}

html.dark .menu h2 {
  color: #fcd34d;
}

.menu-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.menu-card {
  background-color: var(--background);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s;
  cursor: pointer;
}

.menu-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
}

.menu-card img {
  width: 100%;
  height: 12rem;
  object-fit: cover;
  transition: opacity 0.3s;
}

.menu-card:hover img {
  opacity: 0.9;
}

.menu-card-content {
  padding: 1.5rem;
}

.menu-card h3 {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #78350f;
}

html.dark .menu-card h3 {
  color: #fcd34d;
}

.menu-card p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.menu-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu-price {
  font-size: 1.5rem;
  font-weight: bold;
  color: #b45309;
}

html.dark .menu-price {
  color: #fbbf24;
}

/* Special Offers */
.special-offers {
  padding: 5rem 1rem;
  background-color: var(--background);
}

.special-offers h2 {
  font-size: 2.25rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 4rem;
  color: #78350f;
}

html.dark .special-offers h2 {
  color: #fcd34d;
}

.offers-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.offer-card {
  background: linear-gradient(135deg, #fef3c7, #fef08a);
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

html.dark .offer-card {
  background: linear-gradient(135deg, #78350f, #92400e);
}

.offer-card h3 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #78350f;
}

html.dark .offer-card h3 {
  color: #fef3c7;
}

.offer-card p {
  color: #92400e;
  margin-bottom: 1.5rem;
}

html.dark .offer-card p {
  color: #fef3c7;
}

/* Testimonials */
.testimonials {
  padding: 5rem 1rem;
  background-color: var(--card);
}

.testimonials h2 {
  font-size: 2.25rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 4rem;
  color: #78350f;
}

html.dark .testimonials h2 {
  color: #fcd34d;
}

.testimonials-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background-color: var(--background);
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.stars {
  color: #fbbf24;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.testimonial-card p {
  color: var(--muted);
  margin-bottom: 1rem;
  font-style: italic;
}

.testimonial-author {
  font-weight: bold;
  color: #78350f;
}

html.dark .testimonial-author {
  color: #fcd34d;
}

/* Contact Section */
.contact {
  padding: 5rem 1rem;
  background-color: var(--background);
}

.contact h2 {
  font-size: 2.25rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 4rem;
  color: #78350f;
}

html.dark .contact h2 {
  color: #fcd34d;
}

.contact-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info h3 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  color: #78350f;
}

html.dark .contact-info h3 {
  color: #fcd34d;
}

.info-item {
  margin-bottom: 1.5rem;
}

.info-label {
  font-weight: bold;
  color: #b45309;
  margin-bottom: 0.25rem;
}

html.dark .info-label {
  color: #fbbf24;
}

.info-item p {
  color: var(--muted);
}

.contact-map {
  border-radius: 0.5rem;
  overflow: hidden;
}

/* Footer */
.footer {
  background-color: #78350f;
  color: white;
  padding: 3rem 1rem;
}

html.dark .footer {
  background-color: #1f1917;
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.footer-col h4 {
  font-weight: bold;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: #fef3c7;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: white;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: background-color 0.3s;
}

.social-links a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  color: #fef3c7;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 50;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal.active {
  display: flex;
}

.modal-content {
  background-color: var(--background);
  border-radius: 0.5rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  max-width: 28rem;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-large {
  max-width: 48rem;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.modal-header h2 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #78350f;
}

html.dark .modal-header h2 {
  color: #fcd34d;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--foreground);
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-form {
  padding: 1.5rem;
  space-y: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--card);
  color: var(--foreground);
  font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  ring: 2px;
  ring-color: #b45309;
  border-color: #b45309;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.form-actions button {
  flex: 1;
}

/* Menu Details Modal */
.menu-details-content {
  padding: 2rem;
}

.menu-details-header {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .menu-details-header {
    flex-direction: column;
  }
}

.menu-details-image {
  flex: 1;
}

.menu-details-image img {
  width: 100%;
  border-radius: 0.5rem;
}

.menu-details-info {
  flex: 1;
}

.menu-details-info h2 {
  font-size: 2rem;
  font-weight: bold;
  color: #78350f;
  margin-bottom: 1rem;
}

html.dark .menu-details-info h2 {
  color: #fcd34d;
}

.menu-details-price {
  font-size: 1.75rem;
  font-weight: bold;
  color: #b45309;
  margin-bottom: 1rem;
}

html.dark .menu-details-price {
  color: #fbbf24;
}

.menu-details-description {
  color: var(--muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.menu-details-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.meta-item {
  background-color: var(--card);
  padding: 1rem;
  border-radius: var(--radius);
}

.meta-label {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.meta-value {
  font-weight: bold;
  color: var(--foreground);
}

.menu-details-section h3 {
  font-size: 1.25rem;
  font-weight: bold;
  color: #78350f;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

html.dark .menu-details-section h3 {
  color: #fcd34d;
}

.ingredients-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.5rem;
}

.ingredients-list li {
  background-color: var(--card);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  color: var(--foreground);
}

.allergens {
  background-color: #fee2e2;
  padding: 1rem;
  border-radius: var(--radius);
  color: #991b1b;
  margin-top: 1rem;
}

html.dark .allergens {
  background-color: #7f1d1d;
  color: #fecaca;
}

.menu-details-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.menu-details-actions button {
  flex: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-logo span {
    display: none;
  }

  .nav-links {
    display: none;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .featured-container {
    grid-template-columns: 1fr;
  }

  .featured-image {
    margin-bottom: 1rem;
  }

  .chef-badge {
    position: static;
    margin-top: 1rem;
  }
}
