/* ==========================================================================
   Comedor Santa Ana - Zacapu, Michoacán
   Estilos CSS Principales
   ========================================================================== */

:root {
  --primary: #b84a24;
  --primary-hover: #9b3917;
  --primary-light: #fbeee8;
  --secondary: #d88922;
  --secondary-hover: #b87015;
  --accent-green: #2d7a46;
  --accent-green-light: #e8f5ec;
  --dark: #221d1b;
  --dark-soft: #38302c;
  --gray: #6d645f;
  --gray-light: #f5f0ea;
  --border-color: #e8ded4;
  --bg-cream: #faf6f0;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(34, 29, 27, 0.06);
  --shadow-md: 0 8px 24px rgba(34, 29, 27, 0.08);
  --shadow-lg: 0 16px 36px rgba(34, 29, 27, 0.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-cream);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  color: var(--primary-hover);
}

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Typography Helpers */
.text-center { text-align: center; }
.mt-2 { margin-top: 0.5rem; }
.w-100 { width: 100%; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--primary-light);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.section-tag.light {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 680px;
  margin: 0 auto;
}

.section {
  padding: 80px 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white) !important;
  box-shadow: 0 4px 14px rgba(184, 74, 36, 0.35);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(184, 74, 36, 0.45);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--dark) !important;
  border-color: var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--gray-light);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white) !important;
}

.btn-outline-white {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--white) !important;
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.btn-outline-dark {
  background-color: transparent;
  border: 1px solid var(--dark-soft);
  color: var(--dark) !important;
}

.btn-outline-dark:hover {
  background-color: var(--dark);
  color: var(--white) !important;
}

.btn-whatsapp {
  background-color: #25d366;
  color: var(--white) !important;
}

.btn-whatsapp:hover {
  background-color: #20b857;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
}

.btn-fb-brand {
  background-color: #1877f2;
  color: var(--white) !important;
}

.btn-fb-brand:hover {
  background-color: #1464cc;
  box-shadow: 0 4px 14px rgba(24, 119, 242, 0.35);
}

.btn-outline-danger {
  background: transparent;
  border: 1px solid #d9383a;
  color: #d9383a !important;
}

.btn-outline-danger:hover {
  background: #d9383a;
  color: var(--white) !important;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Header & Top Bar
   ========================================================================== */
.top-bar {
  background-color: var(--dark);
  color: #cfc6be;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar a {
  color: #cfc6be;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar a:hover {
  color: var(--white);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--dark);
}

.logo-img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--primary);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.1;
}

.brand-tagline {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  font-weight: 600;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-weight: 500;
  color: var(--dark-soft);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cart-btn {
  position: relative;
  background-color: var(--primary-light);
  color: var(--primary);
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.15rem;
  transition: var(--transition);
}

.cart-btn:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: scale(1.05);
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--secondary);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
}

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

.mobile-toggle span {
  width: 26px;
  height: 2px;
  background-color: var(--dark);
  transition: var(--transition);
}

/* ==========================================================================
   Mobile Drawer
   ========================================================================== */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background-color: var(--white);
  z-index: 2000;
  box-shadow: -4px 0 20px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  transition: right 0.35s ease;
  padding: 24px;
}

.mobile-drawer.open {
  right: 0;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0,0,0,0.5);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: all;
}

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

.drawer-logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.close-drawer {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--gray);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
  flex-grow: 1;
}

.mobile-link {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--dark);
}

.mobile-link:hover {
  color: var(--primary);
}

.drawer-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, rgba(34, 29, 27, 0.88), rgba(184, 74, 36, 0.75)), url('assets/hero_dish.jpg') center/cover no-repeat;
  color: var(--white);
  padding: 100px 0 120px;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.25rem;
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-title span {
  color: #ffba7a;
  font-style: italic;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #f0e6dc;
  margin-bottom: 34px;
  max-width: 580px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 28px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stat-icon {
  font-size: 1.5rem;
  color: #ffba7a;
}

.stat-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
}

.stat-info p {
  font-size: 0.78rem;
  color: #dfd4ca;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-card-featured {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 360px;
  position: relative;
  transition: var(--transition);
}

.hero-card-featured:hover {
  transform: translateY(-8px);
}

.featured-img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.featured-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-sm);
}

.featured-body {
  padding: 20px;
  color: var(--dark);
}

.featured-body h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.featured-body p {
  font-size: 0.88rem;
  color: var(--gray);
  margin-bottom: 16px;
  line-height: 1.5;
}

.featured-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 14px;
}

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

/* ==========================================================================
   Info Strip
   ========================================================================== */
.info-strip {
  background-color: var(--white);
  padding: 28px 0;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border-color);
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.strip-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.strip-icon {
  font-size: 1.4rem;
  color: var(--primary);
  background-color: var(--primary-light);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.strip-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.strip-item p {
  font-size: 0.82rem;
  color: var(--gray);
  line-height: 1.35;
}

/* ==========================================================================
   Nosotros / About Section
   ========================================================================== */
.about-section {
  background-color: var(--bg-cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.about-images {
  position: relative;
}

.image-stack {
  position: relative;
  padding-bottom: 40px;
  padding-right: 40px;
}

.stack-img-main {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.stack-img-sub {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}

.experience-badge {
  position: absolute;
  top: 24px;
  left: -20px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.exp-years {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.exp-text {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  max-width: 90px;
}

.lead-text {
  font-size: 1.15rem;
  color: var(--dark-soft);
  margin-bottom: 16px;
  font-weight: 500;
}

.about-text p {
  color: var(--gray);
  margin-bottom: 16px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 28px 0;
}

.about-feat {
  display: flex;
  gap: 14px;
}

.about-feat i {
  font-size: 1.3rem;
  color: var(--primary);
  background-color: var(--primary-light);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-feat h5 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.about-feat p {
  font-size: 0.85rem;
  margin-bottom: 0;
}

.about-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Menú Virtual Section
   ========================================================================== */
.menu-section {
  background-color: var(--white);
}

.menu-controls {
  margin: 36px 0 40px;
}

.search-box {
  position: relative;
  max-width: 480px;
  margin: 0 auto 24px;
}

.search-box i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray);
  font-size: 1.1rem;
}

.search-box input {
  width: 100%;
  padding: 14px 18px 14px 48px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  background-color: var(--bg-cream);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.search-box input:focus {
  border-color: var(--primary);
  background-color: var(--white);
  box-shadow: 0 0 0 4px var(--primary-light);
}

.category-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.cat-btn {
  background-color: var(--bg-cream);
  border: 1px solid var(--border-color);
  color: var(--dark-soft);
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.cat-btn:hover {
  background-color: var(--gray-light);
  border-color: var(--gray);
}

.cat-btn.active {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(184, 74, 36, 0.3);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
  margin-bottom: 30px;
}

.menu-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: #dbc9b8;
}

.card-img-wrapper {
  position: relative;
  height: 190px;
  overflow: hidden;
  cursor: pointer;
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.dish-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--primary);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
}

.dish-badge.popular {
  background-color: var(--secondary);
}

.dish-badge.veg {
  background-color: var(--accent-green);
}

.card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}

.dish-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.25;
  cursor: pointer;
}

.dish-title:hover {
  color: var(--primary);
}

.dish-price {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
  white-space: nowrap;
}

.dish-desc {
  font-size: 0.86rem;
  color: var(--gray);
  line-height: 1.45;
  margin-bottom: 16px;
  flex-grow: 1;
}

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
}

.btn-add-cart {
  background-color: var(--primary-light);
  color: var(--primary);
  border: 1px solid rgba(184, 74, 36, 0.2);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-add-cart:hover {
  background-color: var(--primary);
  color: var(--white);
}

.btn-view-detail {
  background: none;
  border: none;
  color: var(--gray);
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: underline;
}

.btn-view-detail:hover {
  color: var(--dark);
}

.menu-note {
  font-size: 0.88rem;
  color: var(--gray);
  margin-top: 20px;
  padding: 12px;
  background-color: var(--bg-cream);
  border-radius: var(--radius-md);
}

/* ==========================================================================
   Reservations Section
   ========================================================================== */
.reservation-section {
  background: linear-gradient(rgba(34, 29, 27, 0.94), rgba(34, 29, 27, 0.94)), url('assets/terraza.jpg') center/cover fixed no-repeat;
  color: var(--white);
}

.reservation-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  background-color: transparent;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.res-info-col {
  padding: 48px;
  background: linear-gradient(135deg, rgba(184, 74, 36, 0.9), rgba(155, 57, 23, 0.95));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.res-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  line-height: 1.2;
  margin-bottom: 16px;
}

.res-desc {
  font-size: 1rem;
  color: #f7ede5;
  margin-bottom: 28px;
}

.res-highlights {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 34px;
}

.res-hl-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
}

.res-hl-item i {
  color: #ffba7a;
  font-size: 1.1rem;
}

.res-direct-call span {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 10px;
  color: #f7ede5;
}

.phone-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.res-form-col {
  padding: 48px;
  background-color: var(--white);
  color: var(--dark);
}

.form-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--dark);
}

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

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

.form-group label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--dark-soft);
}

.form-group label i {
  color: var(--primary);
  margin-right: 4px;
}

.form-group input, 
.form-group select, 
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: var(--bg-cream);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
  border-color: var(--primary);
  background-color: var(--white);
  box-shadow: 0 0 0 3px var(--primary-light);
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */
.gallery-section {
  background-color: var(--bg-cream);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 40px;
}

.gallery-item {
  position: relative;
  height: 240px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

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

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(34, 29, 27, 0.85) 0%, rgba(34, 29, 27, 0.2) 60%, transparent 100%);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  color: var(--white);
}

.gallery-overlay h4 {
  font-size: 1rem;
  font-weight: 600;
}

.gallery-overlay p {
  font-size: 0.78rem;
  color: #dfd4ca;
}

.social-banner {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  gap: 20px;
}

.social-banner-text {
  display: flex;
  align-items: center;
  gap: 20px;
}

.banner-icon {
  font-size: 2.5rem;
  color: #1877f2;
}

.social-banner-text h3 {
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.social-banner-text p {
  font-size: 0.9rem;
  color: var(--gray);
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonials-section {
  background-color: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background-color: var(--bg-cream);
  padding: 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.testi-stars {
  color: #f59e0b;
  font-size: 0.9rem;
  margin-bottom: 16px;
  display: flex;
  gap: 3px;
}

.testi-text {
  font-style: italic;
  color: var(--dark-soft);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 24px;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.testi-author h5 {
  font-size: 0.95rem;
  font-weight: 600;
}

.testi-author span {
  font-size: 0.78rem;
  color: var(--gray);
}

/* ==========================================================================
   Contact & Location Section
   ========================================================================== */
.contact-section {
  background-color: var(--bg-cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 32px;
  align-items: stretch;
}

.contact-card {
  background-color: var(--white);
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}

.contact-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-icon {
  font-size: 1.25rem;
  color: var(--primary);
  background-color: var(--primary-light);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-list strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 2px;
}

.contact-list p {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.4;
}

.quick-contact-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.map-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  min-height: 440px;
}

/* ==========================================================================
   Cart / Order Drawer
   ========================================================================== */
.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 380px;
  height: 100vh;
  background-color: var(--white);
  z-index: 2500;
  box-shadow: -6px 0 25px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transition: right 0.35s ease;
}

.cart-drawer.open {
  right: 0;
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2499;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cart-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.cart-drawer-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--bg-cream);
}

.cart-drawer-header h3 {
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--dark);
}

.cart-drawer-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--gray);
}

.cart-items {
  flex-grow: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-item {
  display: flex;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
  align-items: center;
}

.cart-item-img {
  width: 55px;
  height: 55px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.cart-item-info {
  flex-grow: 1;
}

.cart-item-title {
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.cart-item-price {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 700;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-qty {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background-color: var(--bg-cream);
  cursor: pointer;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-qty:hover {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.cart-empty-message {
  text-align: center;
  color: var(--gray);
  margin: 40px auto;
}

.cart-empty-message i {
  font-size: 3rem;
  color: #dbc9b8;
  margin-bottom: 12px;
}

.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-cream);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.total-amount {
  color: var(--primary);
  font-size: 1.3rem;
}

.cart-disclaimer {
  font-size: 0.75rem;
  color: var(--gray);
  margin-bottom: 16px;
}

/* ==========================================================================
   Modals & Lightbox
   ========================================================================== */
.modal {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.modal-dialog {
  background-color: var(--white);
  width: 100%;
  max-width: 500px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform 0.3s ease;
  position: relative;
}

.modal.active .modal-dialog {
  transform: translateY(0);
}

.modal-content {
  padding: 32px;
  text-align: center;
}

.modal-header-icon {
  font-size: 3.5rem;
  margin-bottom: 16px;
}

.modal-header-icon.success {
  color: #25d366;
}

.modal-content h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.res-ticket {
  background-color: var(--bg-cream);
  border: 1px dashed #cbb7a6;
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: left;
  margin: 20px 0;
  font-size: 0.9rem;
}

.res-ticket-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.modal-note {
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 20px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--gray);
}

.dish-modal-content {
  padding: 0;
  text-align: left;
  max-width: 560px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.92);
  z-index: 3500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 30px;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-content {
  max-width: 800px;
  width: 100%;
  text-align: center;
}

.lightbox-content img {
  max-height: 75vh;
  margin: 0 auto 16px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.lightbox-caption h4 {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.lightbox-caption p {
  color: #cfc6be;
  font-size: 0.9rem;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  color: var(--white);
  font-size: 2.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-close:hover {
  color: var(--primary);
}

/* ==========================================================================
   Mobile Bottom Action Bar
   ========================================================================== */
.mobile-action-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  z-index: 990;
  padding: 8px 10px;
  justify-content: space-around;
}

.mob-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  color: var(--dark-soft);
  font-weight: 600;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
}

.mob-btn i {
  font-size: 1.15rem;
}

.mob-btn.wa i { color: #25d366; }
.mob-btn.call i { color: var(--primary); }
.mob-btn.menu i { color: var(--secondary); }
.mob-btn.res i { color: var(--accent-green); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--dark);
  color: #ded6cf;
  padding-top: 70px;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--primary);
}

.footer-logo h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--white);
  line-height: 1.1;
}

.footer-logo span {
  font-size: 0.78rem;
  color: var(--secondary);
  text-transform: uppercase;
}

.footer-desc {
  font-size: 0.9rem;
  color: #b5aba2;
  margin-bottom: 20px;
  line-height: 1.5;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer-socials a:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background-color: var(--primary);
}

.links-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.links-col a {
  color: #b5aba2;
  font-size: 0.92rem;
  transition: var(--transition);
}

.links-col a:hover {
  color: var(--white);
  padding-left: 6px;
}

.contact-col p {
  font-size: 0.9rem;
  color: #b5aba2;
  margin-bottom: 12px;
  line-height: 1.45;
}

.contact-col strong {
  color: var(--white);
}

.footer-bottom {
  background-color: #171312;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.85rem;
  color: #8c8279;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.fb-ref a {
  color: #8bb5f8;
}

.fb-ref a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 14px;
    text-align: left;
  }
  .hero-visual {
    margin-top: 20px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .reservation-card {
    grid-template-columns: 1fr;
  }
  .res-info-col, .res-form-col {
    padding: 32px 24px;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .main-nav {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .nav-cta {
    display: none;
  }
  .mobile-action-bar {
    display: flex;
  }
  body {
    padding-bottom: 60px;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .strip-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .about-features {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .social-banner {
    flex-direction: column;
    text-align: center;
  }
  .social-banner-text {
    flex-direction: column;
  }
  .cart-drawer {
    width: 100%;
    right: -100%;
  }
  .desktop-only {
    display: none;
  }
}
