:root {
  --bg-cream: #FFF8F0;
  --primary: #D44000;
  --accent: #FFB400;
  --text: #1A1A1A;
  --card-bg: #F2EDE7;
  --v-badge: #4CAF50;
  --gf-badge: #2196F3;
  --spicy-badge: #E53935;
  --font-header: 'Playfair Display', Georgia, serif;
  --font-body: 'Lato', sans-serif;
  --nav-height: 70px;
  --shadow: 0 4px 12px rgba(0,0,0,0.08);
  --radius: 8px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg-cream);
  color: var(--text);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: var(--font-header);
  font-weight: 700;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container--narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.btn:hover {
  background: #B83700;
  transform: translateY(-2px);
  text-decoration: none;
}

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

.btn--outline:hover {
  background: var(--primary);
  color: #fff;
}

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-cream);
  box-shadow: var(--shadow);
  transition: padding 0.3s;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.nav__logo {
  font-family: var(--font-header);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: font-size 0.3s;
}

.nav__logo svg {
  width: 36px;
  height: 36px;
}

.nav--scrolled .nav__logo {
  font-size: 1.2rem;
}

.nav__links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav__links a {
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav__links a:hover {
  color: var(--primary);
  text-decoration: none;
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s;
}

@media (max-width: 768px) {
  .nav__toggle {
    display: block;
  }

  .nav__links {
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--bg-cream);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    box-shadow: var(--shadow);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
  }

  .nav__links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
}

/* Hero Section */
.hero {
  position: relative;
  height: 80vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.7);
}

.hero__content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 20px;
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 16px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.hero__tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  margin-bottom: 32px;
  font-weight: 300;
}

.hero__cta {
  font-size: 1.1rem;
}

/* Special Banner */
.special-banner {
  background: var(--primary);
  color: #fff;
  padding: 12px 20px;
  text-align: center;
  font-weight: 600;
}

.special-banner__title {
  display: inline;
  margin-right: 8px;
}

.special-banner__item {
  display: inline;
  font-weight: 400;
  opacity: 0.95;
}

/* Section Styles */
.section {
  padding: 80px 0;
}

.section--alt {
  background: var(--card-bg);
}

.section__header {
  text-align: center;
  margin-bottom: 48px;
}

.section__title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--text);
  margin-bottom: 16px;
}

.section__subtitle {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* Menu Filters */
.menu-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--primary);
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  color: #fff;
}

/* Menu Grid */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.menu-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.menu-card__image {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-card__image--placeholder::before {
  font-size: 4rem;
  opacity: 0.6;
}

.menu-card__badges {
  position: absolute;
  bottom: 12px;
  left: 12px;
  display: flex;
  gap: 8px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
}

.menu-card:hover .menu-card__badges {
  opacity: 1;
  transform: translateY(0);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}

.badge--v {
  background: var(--v-badge);
  color: #fff;
}

.badge--gf {
  background: var(--gf-badge);
  color: #fff;
}

.badge--spicy {
  background: var(--spicy-badge);
  color: #fff;
}

.badge svg {
  width: 12px;
  height: 12px;
}

.menu-card__content {
  padding: 20px;
}

.menu-card__name {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--text);
}

.menu-card__desc {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 12px;
  line-height: 1.5;
}

.menu-card__price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  background: #fff;
  border-radius: var(--radius);
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.9);
  transition: transform 0.3s;
}

.modal-overlay.active .modal {
  transform: scale(1);
}

.modal__header {
  padding: 20px;
  border-bottom: 1px solid #eee;
  position: relative;
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #999;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}

.modal__close:hover {
  background: #f5f5f5;
  color: var(--text);
}

.modal__title {
  font-size: 1.5rem;
  padding-right: 40px;
}

.modal__price {
  color: var(--primary);
  font-weight: 700;
  margin-top: 4px;
}

.modal__body {
  padding: 20px;
}

.modal__desc {
  font-size: 1rem;
  line-height: 1.7;
  color: #555;
}

.modal__badges {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

/* Schedule Table */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.schedule-table th,
.schedule-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.schedule-table th {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
}

.schedule-table tr:last-child td {
  border-bottom: none;
}

.schedule-table tr.closed td {
  color: #aaa;
  background: #fafafa;
}

.schedule-table td:first-child {
  font-weight: 600;
}

/* Location Cards */
.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.location-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.location-card__image {
  height: 180px;
  background-size: cover;
  background-position: center;
}

.location-card__content {
  padding: 20px;
}

.location-card__name {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.location-card__address {
  color: #666;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.location-card__hours {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 600;
}

/* Catering Form */
.catering-form {
  background: #fff;
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.catering-info {
  max-width: 700px;
  margin: 0 auto 40px;
}

.catering-info h3 {
  margin-bottom: 16px;
  color: var(--primary);
}

.catering-info ul {
  list-style: none;
  padding: 0;
}

.catering-info li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
}

.catering-info li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 16px;
  height: 16px;
  background: var(--accent);
  border-radius: 50%;
}

/* Reviews */
.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.review-card {
  background: #fff;
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.review-card__stars {
  color: var(--accent);
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.review-card__text {
  font-style: italic;
  color: #555;
  line-height: 1.6;
  margin-bottom: 16px;
}

.review-card__author {
  font-weight: 600;
  color: var(--text);
}

/* About Page */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 60px;
}

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

.about-hero__image {
  border-radius: var(--radius);
  overflow: hidden;
}

.about-hero__image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-hero__content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.about-hero__content p {
  margin-bottom: 16px;
  line-height: 1.8;
}

/* Footer */
.footer {
  background: var(--text);
  color: #fff;
  padding: 60px 0 30px;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer__title {
  font-size: 1.25rem;
  margin-bottom: 20px;
  color: var(--accent);
}

.footer__text {
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: 12px;
}

.footer__links a {
  color: rgba(255,255,255,0.8);
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--accent);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
  text-align: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

.footer__social {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: #fff;
  transition: background 0.2s;
}

.footer__social a:hover {
  background: var(--primary);
}

/* Utilities */
.text-center { text-align: center; }
.mt-4 { margin-top: 32px; }
.mb-4 { margin-bottom: 32px; }

/* Photo Attribution */
.photo-credit {
  font-size: 0.75rem;
  color: #888;
  margin-top: 8px;
  text-align: center;
}

.photo-credit a {
  color: #666;
}