/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #c41e3a;
  --primary-dark: #a01829;
  --primary-light: #e8556d;
  --secondary-color: #f8f8f8;
  --text-dark: #2c2c2c;
  --text-gray: #666;
  --text-light: #999;
  --white: #ffffff;
  --border-light: #e5e5e5;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
  --border-radius: 8px;
  --transition: all 0.3s ease;

  --font-primary: "Roboto Condensed", sans-serif;
  --font-secondary: "DM Sans", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-secondary);
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
  /* TEST COMMENT FOR DEPLOYMENT CHECK */
}

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

/* Boxed layout for modern sectioned appearance */
.boxed {
  background-color: var(--white);
}

.boxed .container {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 4rem 3rem;
  margin-top: 0.25rem; /* Reduced from 2rem to 0.25rem - about 2/3 total reduction */
  margin-bottom: 2rem;
}

/* Override padding specifically for dishes section */
.dishes.boxed .container {
  padding-top: 1.5rem; /* About 25px top padding for desktop */
}

/* Mobile-specific tighter spacing */
@media (max-width: 768px) {
  .dishes.boxed .container {
    padding-top: 1.25rem; /* About 20px top padding on mobile */
    margin-top: 0; /* No top margin on mobile */
  }

  .dishes {
    padding-top: 0; /* No section padding on mobile */
  }
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.3;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-gray);
}

.lead {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-dark);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-gray);
  text-align: center;
  margin-bottom: 3rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: var(--border-radius);
  font-weight: 500;
  font-size: 1rem;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
  min-height: 48px;
  height: 48px; /* Consistent height for all buttons */
}

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

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  box-shadow: var(--shadow);
  z-index: 1000;
  transition: var(--transition);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
  height: 70px;
}

.nav-brand .logo {
  height: 45px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}

.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 2.5rem;
  flex: 1;
  justify-content: center;
  margin: 0 2rem;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 1rem;
  transition: var(--transition);
  position: relative;
}

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

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

.sign-in-btn {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 1rem;
  transition: var(--transition);
}

.sign-in-btn:hover {
  color: var(--primary-color);
}

.order-btn {
  padding: 10px 20px !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  border-radius: 6px !important;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  align-items: center;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--text-dark);
  margin: 2px 0;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  position: relative;
  height: 65vh;
  min-height: 500px;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

.hero-bg {
  background-image: url("https://wuufuewpbgciitslfvbl.supabase.co/storage/v1/object/public/restaurant-images/photos/1755181745760-photo-3?format=webp&width=1920&quality=70");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: inherit;
  background-size: inherit;
  background-position: inherit;
  background-repeat: inherit;
  filter: brightness(1.4) contrast(1.2);
  z-index: -1;
}

.hero-bg::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2), transparent);
  z-index: 0;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: none;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

.hero-content {
  text-align: left;
  color: var(--white);
  max-width: 1400px;
  padding: 3rem 2rem;
  z-index: 1;
  margin: 0 auto 2rem auto;
  width: 100%;
}

.hero-text {
  max-width: 600px;
  margin-left: 0;
}

/* Align hero text with "Menu" nav item on medium screens and up */
@media (min-width: 768px) {
  .hero-text {
    margin-left: 200px; /* Left alignment for tablets */
  }
}

@media (min-width: 1200px) {
  .hero-content {
    /* Create exact same layout as nav */
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 3rem 2rem;
  }

  .hero-text {
    display: block;
    margin-left: 292px; /* ~2 inches for large screens to align with Menu */
    max-width: 600px;
  }
}

.hero-tagline {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: var(--white);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.hero-subtitle {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--white);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  font-weight: 400;
  opacity: 0.9;
  font-style: italic;
}

.services-line {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: var(--text-gray);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  opacity: 0.8;
}

.hero-text h2 {
  font-size: 2.75rem;
  margin-bottom: 1.5rem;
  color: var(--white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
  font-weight: 700;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 1rem;
}

/* Menu Section */
.menu-section {
  padding: 4rem 0; /* Reduced from 6rem to 4rem */
  background-color: var(--white);
}

.menu-content {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.menu-text {
  padding-right: 2rem;
}

.menu-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.menu-text p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: var(--text-gray);
}

.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 12px 24px;
  font-weight: 600;
  min-height: 48px;
  height: 48px; /* Consistent height with other buttons */
}

.menu-btn::after {
  content: "→";
  font-size: 1.2rem;
  transition: var(--transition);
}

.menu-btn:hover::after {
  transform: translateX(4px);
}

.menu-image {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  height: auto;
}

.menu-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  transition: var(--transition);
}

.menu-image:hover img {
  transform: scale(1.05);
}

.menu-note {
  margin-top: 0.75rem;
  color: var(--text-light);
  font-size: 0.9rem;
}

.menu-note a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 0;
  display: inline-block;
  min-height: 44px;
  line-height: 1.2;
}

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

/* Deals Section */
.deals {
  padding: 4rem 0;
  background-color: var(--white);
}

.deals h2 {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.deals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
  align-items: stretch; /* Ensures all cards have equal height */
}

.deal-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 2px solid var(--primary-color);
  display: flex;
  flex-direction: column;
  height: 100%; /* Ensure all cards have equal height */
}

.deal-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.deal-image {
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.deal-image img {
  width: 100% !important;
  height: auto !important;
  min-width: 100% !important;
  object-fit: contain;
  object-position: center;
  transition: var(--transition);
  display: block;
}

.deal-card:hover .deal-image img {
  /* Removed scale transform to prevent cropping */
}

.deal-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1; /* Takes up remaining space */
}

.deal-content h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.deal-content h4 {
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 500;
}

.deal-content p {
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1; /* Pushes button to bottom */
}

.deal-order-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  color: var(--white);
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow);
  min-height: 48px;
  height: 48px; /* Consistent height with other buttons */
}

.deal-order-btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

@media (max-width: 768px) {
  .deals-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .deal-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
  }

  .deal-content p {
    flex-grow: 1;
  }
}

/* Reviews Section */
.reviews {
  padding: 4rem 0; /* Reduced from 6rem to 4rem */
  background-color: #f8f9fa;
}

.reviews-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
  gap: 2rem;
  margin-top: 3rem;
}

.review-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.review-stars {
  color: #ffc107;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.review-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-gray);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.reviewer {
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.9rem;
}

/* About Section */
.about {
  padding: 6rem 0;
  background-color: var(--secondary-color);
}

.about.boxed {
  background-color: #f8f9fa;
}

.about.boxed .container {
  background-color: var(--secondary-color);
}

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

.about-text {
  text-align: left;
}

.about-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-hover);
}

.owner-quote {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  border-left: 4px solid var(--primary-color);
  margin: 2rem 0;
  font-style: italic;
  font-size: 1.125rem;
  line-height: 1.7;
  box-shadow: var(--shadow);
}

.owner-quote cite {
  display: block;
  margin-top: 1rem;
  font-weight: 600;
  color: var(--primary-color);
  font-style: normal;
}

/* Quick Contact Section - Super Minimal */
.quick-contact {
  padding: 1.5rem 0;
  text-align: center;
  background-color: #f8f9fa;
}

.quick-contact-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.contact-item span,
.contact-item a {
  color: var(--text-gray);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

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

@media (max-width: 768px) {
  .quick-contact {
    padding: 1rem 0;
  }

  .quick-contact-content {
    flex-direction: column;
    gap: 0.5rem;
  }

  .contact-item span,
  .contact-item a {
    font-size: 0.85rem;
  }

  /* Prevent address wrapping on mobile */
  .contact-item span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* Online Ordering Section */
.online-ordering {
  padding: 4rem 0;
  background-color: #f8f9fa;
}

.online-ordering.boxed .container {
  background-color: var(--white);
  border: 2px solid var(--primary-color);
}

.ordering-content {
  text-align: center;
}

.ordering-content h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.ordering-content .lead {
  font-size: 1.125rem;
  color: var(--text-dark);
  margin-bottom: 2rem;
}

.ordering-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0 3rem 0;
}

.benefit-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  padding: 1.5rem;
  background-color: var(--secondary-color);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.benefit-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.benefit-item strong {
  color: var(--primary-color);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.benefit-item span {
  color: var(--text-gray);
  font-size: 0.95rem;
}

.ordering-cta {
  margin-top: 2rem;
}

.btn-large {
  padding: 16px 32px;
  font-size: 1.125rem;
  font-weight: 600;
  min-height: 56px;
  height: 56px; /* Larger consistent height for large buttons */
}

.ordering-note {
  margin-top: 1rem;
  color: var(--text-gray);
  font-size: 0.95rem;
}

.ordering-note a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.ordering-note a:hover {
  text-decoration: underline;
}

/* Dishes Section */
.dishes {
  padding: 0.25rem 0 3rem 0; /* Reduced top padding to 0.25rem */
  position: relative;
}

.dishes h2 {
  text-align: center;
  margin-bottom: 1rem;
}

/* Horizontal Scrolling Dishes */
.dishes-conveyor {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 1rem 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  align-items: stretch !important; /* Ensures all cards have equal height */
}

.dishes-conveyor::-webkit-scrollbar {
  display: none;
}

.dish-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  min-width: 300px;
  max-width: 300px;
  flex-shrink: 0;
  /* Flexbox handled by specific conveyor rules below */
}

.dish-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.dish-image {
  height: 200px;
  overflow: hidden;
}

.dish-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: var(--transition);
}

/* Zoom in on specific dish images for closer food view */
.dish-card:nth-child(2) .dish-image img,
.dish-card:nth-child(3) .dish-image img,
.dish-card:nth-child(4) .dish-image img {
  object-fit: cover;
  object-position: center;
  transform: scale(1.2);
}

.dish-card:hover .dish-image img {
  transform: scale(1.05);
}

.dish-content {
  padding: 1.5rem;
  /* Flexbox handled by specific conveyor rules below */
}

.dish-content h3 {
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.dish-content p {
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  /* Flex-grow handled by specific conveyor rules below */
}

.dish-order-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  color: var(--white);
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow);
  width: 100%;
  min-height: 48px;
  height: 48px; /* Consistent height with other buttons */
}

.dish-order-btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.dishes-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
  pointer-events: none;
  z-index: 2;
}

.arrow-btn {
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  pointer-events: auto;
  transform: translateY(-50%);
  backdrop-filter: blur(2px);
}

.arrow-btn:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 16px rgba(196, 30, 58, 0.4);
}

.arrow-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.cta-section {
  text-align: center;
  margin-top: 3rem;
}

/* Gallery Section */
.gallery {
  padding: 6rem 0;
  background-color: var(--secondary-color);
}

.gallery h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.gallery-item {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  aspect-ratio: 4/3;
}

.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

/* Hours Section */
.hours {
  padding: 6rem 0;
}

.hours-content {
  max-width: 800px;
  margin: 0 auto;
}

.hours h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.hours-section {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

.hours-section h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  text-align: center;
}

.hours-list {
  list-style: none;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-light);
}

.hours-list li:last-child {
  border-bottom: none;
}

.hours-list li span:first-child {
  font-weight: 500;
  color: var(--text-dark);
}

.hours-list li span:last-child {
  color: var(--text-gray);
}

.delivery-areas {
  background-color: var(--secondary-color);
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
}

.delivery-areas h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.delivery-note {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 1rem;
}

/* Contact Section */
.contact {
  padding: 6rem 0;
  background-color: var(--secondary-color);
}

.contact.boxed {
  background-color: #f8f9fa;
}

.contact.boxed .container {
  background-color: var(--secondary-color);
}

.contact h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin: 3rem 0;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.contact-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.contact-details h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.contact-line {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.contact-line strong {
  color: var(--text-dark);
  font-weight: 600;
  display: inline-block;
  min-width: 110px;
}

.contact-line a {
  color: var(--text-gray);
  text-decoration: none;
  transition: var(--transition);
  padding: 0.5rem 0;
  display: inline-block;
  min-height: 44px;
  line-height: 1.4;
}

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

.map-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.map-container {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 300px;
}

.map-container iframe {
  border-radius: var(--border-radius);
  width: 100%;
  height: 100%;
}

.social-media {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.social-media h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

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

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  background-color: var(--primary-color);
  color: var(--white);
  text-decoration: none;
  border-radius: var(--border-radius);
  transition: var(--transition);
  font-weight: 500;
  min-height: 48px;
  height: 48px; /* Consistent height with other buttons */
}

.social-link .icon {
  margin-right: 8px;
  fill: currentColor;
}

/* removed circle badge for social icons per request */

.social-link:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background-color: #f5f5f5;
  border-top: 1px solid #e0e0e0;
  padding: 1.5rem 0 1rem;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-brand {
  flex-shrink: 0;
}

.footer-logo {
  height: 40px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

.footer-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  margin: 0 2rem;
}

.footer-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
  align-items: center;
}

.footer-menu li a {
  color: #666;
  text-decoration: none;
  font-weight: 400;
  font-size: 0.95rem;
  transition: var(--transition);
  padding: 0.75rem 0.5rem;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-menu li a:hover {
  color: var(--primary-color);
}

.footer-cta {
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid #e0e0e0;
  padding-top: 0.75rem;
  text-align: center;
  margin-top: 0.75rem;
}

.footer-bottom p {
  color: #888;
  margin: 0;
  font-size: 0.85rem;
  font-weight: 400;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    flex-direction: column;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-menu li {
    margin: 0.5rem 0;
  }

  .nav-menu a {
    display: block;
    padding: 1rem 0.75rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 8px;
    transition: all 0.3s ease;
  }

  .nav-menu a:hover {
    background-color: #f8f8f8;
  }

  .nav-actions {
    gap: 0.5rem;
    order: 2;            /* place near hamburger */
    margin-left: auto;    /* push to the right */
    display: flex;
    align-items: center;
  }

  .nav-actions .sign-in-btn {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
    order: 3;            /* sit to the right of language toggle */
    margin-left: 8px;
  }

  /* Reduce logo size on mobile */
  .nav-brand .logo {
    height: 35px;
    max-width: 140px;
  }

  /* Reduce button size on mobile */
  .order-btn {
    padding: 8px 16px !important;
    font-size: 0.9rem !important;
    min-height: 40px !important;
    height: 40px !important;
  }

  /* Hide header "Commander" button on mobile to avoid crowding EN/FR */
  .nav-actions .order-btn {
    display: none !important;
  }

  /* Shorten nav labels and hide less critical links on mid-small screens */
  .nav-menu a[data-i18n="nav.ourStory"]::after { content: ""; }
  .nav-menu a[data-i18n="nav.popularDishes"] { white-space: nowrap; }
}

/* Hide hamburger toggle when desktop nav is visible */
@media (min-width: 769px) {
  .mobile-menu-toggle { display: none !important; }
}

/* Hide Contact link at narrower tablet widths (space constraints) */
@media (max-width: 769px) {
  .nav-menu .nav-contact { display: none; }
}

  .nav-menu a:hover {
    background-color: #f8f8f8;
  }

  .nav-actions {
    gap: 0.5rem;
  }

  .nav-actions .sign-in-btn {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  /* Reduce logo size on mobile */
  .nav-brand .logo {
    height: 35px;
    max-width: 140px;
  }

  /* Reduce button size on mobile */
  .order-btn {
    padding: 8px 16px !important;
    font-size: 0.9rem !important;
    min-height: 40px !important;
    height: 40px !important;
  }

  /* Hide header "Commander" button on mobile to avoid crowding EN/FR */
  .nav-actions .order-btn {
    display: none !important;
  }

  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .hero {
    height: 50vh;
    min-height: 350px;
  }

  .hero-content {
    padding: 4rem 1rem 2rem 1rem;
    margin-bottom: 1rem;
  }

  .hero-text h2 {
    font-size: 2.25rem;
    max-width: 100%;
    margin-bottom: 0.375rem;
  }

  .hero-tagline {
    font-size: 1rem;
  }

  .services-line {
    font-size: 0.8rem;
    letter-spacing: 0.5px;
  }

  .hero-buttons {
    justify-content: flex-start;
    margin-top: 1rem;
  }

  h2 {
    font-size: 2rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .about-text {
    text-align: center;
  }

  .dishes-conveyor .dish-card {
    min-width: 280px !important;
    max-width: 280px !important;
  }
}

/* CLEAN FLEXBOX SOLUTION - All dish cards equal height with aligned buttons */
.dishes-conveyor .dish-card {
  display: flex !important;
  flex-direction: column !important;
  /* Remove fixed height, let content determine it */
}

.dishes-conveyor .dish-content {
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
}

.dishes-conveyor .dish-content p {
  flex-grow: 1 !important;
  /* This pushes the button to the bottom */
}
@media (max-width: 768px) {
  /* Mobile arrow positioning */
  .dishes-nav {
    padding: 0 0.5rem;
  }

  .arrow-btn {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border-width: 2px;
  }

  /* Hide "Voir le Menu Complet" button on mobile */
  .dishes .cta-section {
    display: none;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .menu-content {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }

  .menu-text {
    padding-right: 0;
    text-align: center;
  }

  .menu-image {
    height: auto;
  }

  .menu-image img {
    height: auto;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .review-card {
    padding: 1.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .nav-actions {
    flex-direction: column;
    gap: 0.5rem;
  }

  .map-container {
    height: 250px;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }

  .social-links {
    flex-direction: column;
  }

  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-nav {
    margin: 0;
    order: 2;
  }

  .footer-menu {
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
  }

  .footer-cta {
    order: 3;
  }

  .footer-brand {
    order: 1;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .nav {
    padding: 1rem 15px;
  }

  .hero-text h2 {
    font-size: 2rem;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 250px;
  }

  .dishes,
  .gallery,
  .hours,
  .contact,
  .about {
    padding: 4rem 0;
  }

  .dish-content,
  .contact-card,
  .social-media,
  .hours-section {
    padding: 1.5rem;
  }
}

/* Ensure 2-column layout for printed menu section on desktop */
@media (min-width: 992px) {
  .menu-content {
    grid-template-columns: 1fr 1fr !important;
  }
}

/* Mobile Sticky Footer */
.mobile-sticky-footer {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid #e0e0e0;
  padding: 6px 12px;
  z-index: 1000;
  box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.1);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.mobile-sticky-footer.show {
  transform: translateY(0);
}

.sticky-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  font-size: 12px;
  transition: all 0.2s ease;
  flex: 1;
  max-width: none;
  white-space: nowrap;
}

.call-btn {
  background: white;
  color: #333;
  border: 1px solid #e0e0e0;
}

.call-btn:hover {
  background: #f8f8f8;
  border-color: #ccc;
}

.order-btn {
  background: var(--primary-color);
  color: white;
  border: 1px solid var(--primary-color);
}

.order-btn:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.arrow {
  font-size: 10px;
  opacity: 0.7;
}

/* Show sticky footer only on mobile */
@media (max-width: 768px) {
  .mobile-sticky-footer {
    display: flex;
    gap: 8px;
    justify-content: center;
  }

  /* Add bottom padding to body to prevent content from being hidden behind sticky footer */
  body {
    padding-bottom: 50px;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* Focus styles for accessibility */
a:focus,
button:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --primary-color: #000;
    --text-gray: #000;
    --border-light: #000;
  }
}

/* ========================================
   Language Toggle Styles
   ======================================== */

.language-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-right: 15px;
}

.lang-btn {
  background: none;
  border: none;
  font-size: 13px;
  font-weight: 600;
  color: #666;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 4px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lang-btn:hover {
  color: var(--primary-color);
  background: rgba(196, 30, 58, 0.05);
}

.lang-btn.active {
  color: var(--primary-color);
  font-weight: 700;
  background: rgba(196, 30, 58, 0.1);
}

.lang-separator {
  color: #ddd;
  font-size: 14px;
  font-weight: 300;
}

/* Mobile Language Toggle */
@media (max-width: 768px) {
  .language-toggle {
    margin-right: 10px;
    margin-left: auto;
  }

  .lang-btn {
    font-size: 12px;
    padding: 4px 8px;
  }

  .lang-separator {
    font-size: 12px;
  }
}

/* Smooth content transition */
[data-i18n] {
  transition: opacity 0.2s ease;
}

.lang-transitioning [data-i18n] {
  opacity: 0.7;
}
