/* ===================================================
   Jacques Pizzeria – CSS Complet (PHP Version)
   Reproduction fidèle du design React/Tailwind
   =================================================== */

/* === Google Fonts === */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Inter:wght@300;400;500;600;700&display=swap');

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

/* ===== LIGHT MODE – Warm & Elegant ===== */
:root {
  --background: hsl(35, 25%, 96%);
  --foreground: hsl(0, 0%, 5%);
  --card: hsl(35, 20%, 98%);
  --card-foreground: hsl(0, 0%, 5%);
  --popover: hsl(35, 20%, 98%);
  --popover-foreground: hsl(0, 0%, 5%);
  --primary: hsl(0, 70%, 35%);
  --primary-foreground: hsl(0, 0%, 100%);
  --secondary: hsl(35, 20%, 90%);
  --secondary-foreground: hsl(0, 0%, 8%);
  --muted: hsl(35, 15%, 92%);
  --muted-foreground: hsl(0, 0%, 25%);
  --accent: hsl(35, 25%, 90%);
  --accent-foreground: hsl(0, 0%, 5%);
  --destructive: hsl(0, 84%, 60%);
  --border: hsl(35, 15%, 88%);
  --input: hsl(35, 15%, 88%);
  --ring: hsl(0, 70%, 35%);
  --radius: 0.75rem;

  --hero-nav-bg: rgba(255, 255, 255, 0.9);
  --hero-nav-text: #1a1a1a;
  --hero-nav-border: rgba(0, 0, 0, 0.08);
  --gold-gradient: linear-gradient(90deg, transparent, hsl(35, 60%, 45%), transparent);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

/* ===== DARK MODE ===== */
.dark {
  --background: hsl(0, 0%, 5%);
  --foreground: hsl(40, 30%, 92%);
  --card: hsl(0, 0%, 9%);
  --card-foreground: hsl(40, 30%, 92%);
  --popover: hsl(0, 0%, 9%);
  --popover-foreground: hsl(40, 30%, 92%);
  --primary: hsl(0, 70%, 35%);
  --primary-foreground: hsl(40, 30%, 96%);
  --secondary: hsl(35, 30%, 18%);
  --secondary-foreground: hsl(40, 30%, 92%);
  --muted: hsl(0, 0%, 12%);
  --muted-foreground: hsl(40, 10%, 55%);
  --accent: hsl(35, 40%, 15%);
  --accent-foreground: hsl(40, 30%, 92%);
  --border: hsl(0, 0%, 15%);
  --input: hsl(0, 0%, 15%);
  --ring: hsl(0, 70%, 35%);

  --hero-nav-bg: rgba(13, 13, 13, 0.95);
  --hero-nav-text: #ffffff;
  --hero-nav-border: rgba(255, 255, 255, 0.05);
  --gold-gradient: linear-gradient(90deg, transparent, hsl(35, 60%, 50%), transparent);
}

/* === Base === */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--foreground);
}

a {
  text-decoration: none;
  color: inherit;
}

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

button {
  border: none;
  background: none;
  font-family: inherit;
  cursor: pointer;
}

/* === Utility Classes === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-primary { color: var(--primary); }
.text-foreground { color: var(--foreground); }
.text-muted-foreground { color: var(--muted-foreground); }
.bg-background { background-color: var(--background); }
.bg-card { background-color: var(--card); }
.bg-secondary { background-color: var(--secondary); }
.bg-muted { background-color: var(--muted); }
.bg-primary { background-color: var(--primary); }

.border-border { border-color: var(--border); }

.rounded-full { border-radius: 9999px; }
.rounded-xl { border-radius: calc(var(--radius) + 4px); }
.rounded-2xl { border-radius: 1rem; }

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

/* === Gold Separator === */
.gold-separator {
  width: 60px;
  height: 2px;
  background: var(--gold-gradient);
  margin: 0 auto;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.5s ease;
  background: transparent;
}

.navbar.scrolled {
  background-color: var(--hero-nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  border-bottom: 1px solid var(--hero-nav-border);
}

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

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

.navbar-logo img {
  height: 48px;
  width: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.1);
  transition: border-color 0.3s;
}

.navbar-logo:hover img {
  border-color: var(--primary);
}

.navbar-logo span {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  letter-spacing: 0.05em;
  transition: color 0.5s;
  color: white;
}

.navbar.scrolled .navbar-logo span {
  color: var(--foreground);
}

/* Desktop Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links button {
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.7);
  transition: color 0.3s;
  padding: 0.5rem 0;
}

.nav-links button:hover {
  color: white;
}

.navbar.scrolled .nav-links button {
  color: color-mix(in srgb, var(--foreground) 70%, transparent);
}

.navbar.scrolled .nav-links button:hover {
  color: var(--foreground);
}

/* Nav right area */
.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.3s;
}

.nav-phone:hover {
  color: white;
}

.navbar.scrolled .nav-phone {
  color: color-mix(in srgb, var(--foreground) 50%, transparent);
}

.navbar.scrolled .nav-phone:hover {
  color: var(--foreground);
}

.nav-phone svg, .theme-toggle svg {
  width: 16px;
  height: 16px;
}

.theme-toggle {
  padding: 0.5rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: white;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle:hover {
  background: rgba(255,255,255,0.2);
}

.navbar.scrolled .theme-toggle {
  background: var(--muted);
  color: var(--foreground);
}

.navbar.scrolled .theme-toggle:hover {
  opacity: 0.7;
}

.nav-cta {
  background: var(--primary);
  color: white;
  padding: 0.625rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: all 0.3s;
}

.nav-cta:hover {
  opacity: 0.8;
  box-shadow: 0 10px 15px -3px rgba(140,28,28,0.3);
}

/* Mobile hamburger */
.mobile-actions {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

.mobile-toggle {
  padding: 0.5rem;
  color: rgba(255,255,255,0.8);
  transition: color 0.3s;
}

.mobile-toggle:hover {
  color: white;
}

.navbar.scrolled .mobile-toggle {
  color: color-mix(in srgb, var(--foreground) 80%, transparent);
}

.navbar.scrolled .mobile-toggle:hover {
  color: var(--foreground);
}

.mobile-toggle svg {
  width: 24px;
  height: 24px;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  background-color: var(--hero-nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--hero-nav-border);
  padding: 1.5rem;
  animation: fadeIn 0.3s ease-out;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu button,
.mobile-menu a.mobile-link {
  display: block;
  width: 100%;
  text-align: left;
  font-size: 1.125rem;
  font-weight: 500;
  color: color-mix(in srgb, var(--foreground) 80%, transparent);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  letter-spacing: 0.05em;
  transition: color 0.3s;
}

.mobile-menu button:hover,
.mobile-menu a.mobile-link:hover {
  color: var(--foreground);
}

.mobile-cta {
  display: block;
  width: 100%;
  text-align: center;
  background: var(--primary) !important;
  color: white !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 9999px !important;
  font-weight: 600 !important;
  margin-top: 0.75rem !important;
  border: none !important;
}

@media (max-width: 768px) {
  .nav-links, .nav-right { display: none; }
  .mobile-actions { display: flex; }
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(3px);
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
}

:root .hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.5) 0%,
    rgba(0,0,0,0.3) 40%,
    rgba(0,0,0,0.6) 80%,
    hsl(35, 25%, 96%) 100%
  );
}

.dark .hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.6) 0%,
    rgba(0,0,0,0.4) 40%,
    rgba(0,0,0,0.7) 80%,
    rgba(13,13,13,1) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 48rem;
}

.hero-logo {
  width: 11rem;
  height: 11rem;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 2rem;
  border: 4px solid rgba(255,255,255,0.1);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
  animation: scaleIn 0.6s ease-out forwards;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: 3.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
  line-height: 1.1;
  animation: fadeInUp 0.8s ease-out forwards;
}

.hero h1 em {
  font-style: italic;
  color: white;
}

.hero .hero-sep {
  margin-bottom: 1.5rem;
  animation: fadeIn 1s ease-out 200ms both;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.6);
  font-weight: 300;
  margin-bottom: 2.5rem;
  max-width: 32rem;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease-out 200ms both;
}

.hero-subtitle .hero-sub-small {
  color: rgba(255,255,255,0.4);
  font-size: 1rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  animation: fadeInUp 0.8s ease-out 300ms both;
}

.btn-primary {
  background: var(--primary);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 9999px;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: all 0.3s;
}

.btn-primary:hover {
  opacity: 0.8;
  box-shadow: 0 20px 25px -5px rgba(140,28,28,0.3);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 9999px;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: all 0.3s;
  backdrop-filter: blur(4px);
  background: transparent;
}

.btn-outline:hover {
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.05);
}

@media (min-width: 768px) {
  .hero h1 { font-size: 4.5rem; }
  .hero-logo { width: 13rem; height: 13rem; }
  .hero-subtitle { font-size: 1.25rem; }
}

/* ===== GALLERY STRIP ===== */
.gallery-strip {
  padding: 1.5rem 0;
  background: var(--background);
  overflow: hidden;
}

.gallery-strip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  max-width: 72rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .gallery-strip-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .gallery-strip-grid { grid-template-columns: repeat(6, 1fr); }
}

.gallery-strip-item {
  aspect-ratio: 1;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  cursor: pointer;
}

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

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

/* ===== SECTION TITLES (reusable) ===== */
.section-label {
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-title { font-size: 3rem; }
}

.section-desc {
  color: var(--muted-foreground);
  max-width: 28rem;
  margin: 0 auto;
}

/* ===== MENU SECTION ===== */
.menu-section {
  padding: 6rem 0;
  background: var(--background);
}

/* Category tabs */
.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
}

.menu-tab {
  padding: 0.625rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s;
  background: var(--muted);
  color: var(--muted-foreground);
  border: 1px solid var(--border);
}

.menu-tab:hover {
  background: var(--accent);
  color: var(--foreground);
}

.menu-tab.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 10px 15px -3px rgba(140,28,28,0.3);
}

/* Menu content wrapper */
.menu-content {
  max-width: 64rem;
  margin: 0 auto;
}

.menu-subtitle {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  font-style: italic;
  text-align: center;
  margin-bottom: 2rem;
}

/* Pizza Grid */
.pizza-grid {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .pizza-grid { grid-template-columns: repeat(2, 1fr); }
}

.pizza-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  transition: all 0.3s;
}

.pizza-card:hover {
  background: var(--accent);
  border-color: color-mix(in srgb, var(--primary) 20%, transparent);
}

.pizza-card .item-name {
  font-weight: 600;
  color: var(--foreground);
  font-size: 0.95rem;
}

.pizza-card .item-desc {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pizza-sizes {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.pizza-size {
  text-align: center;
}

.pizza-size-label {
  font-size: 0.625rem;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

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

/* Standard Table (kebab, burgers etc.) */
.menu-table-wrap {
  background: var(--card);
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--border);
  overflow: hidden;
}

.menu-table {
  width: 100%;
  border-collapse: collapse;
}

.menu-table th {
  padding: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted-foreground);
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.menu-table th:nth-child(2),
.menu-table th:nth-child(3) {
  text-align: center;
}

.menu-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border);
}

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

.menu-table tr:hover {
  background: color-mix(in srgb, var(--accent) 50%, transparent);
}

.menu-table .item-name {
  font-weight: 600;
  color: var(--foreground);
}

.menu-table .item-desc {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-top: 0.125rem;
}

.menu-table .price {
  text-align: center;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.875rem;
}

/* Tacos extras */
.tacos-footer {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 1rem;
}

.tacos-extras {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
  background: var(--card);
  padding: 1.5rem;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid var(--border);
}

@media (min-width: 768px) {
  .tacos-extras { grid-template-columns: repeat(3, 1fr); }
}

.tacos-extras h4 {
  font-weight: 700;
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--foreground);
}

.tacos-extras ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.tacos-extras li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.tacos-extras li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--primary) 60%, transparent);
  flex-shrink: 0;
}

/* Menu images buttons */
.menu-images-cta {
  margin-top: 4rem;
  text-align: center;
}

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

.menu-images-cta .cta-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}

@media (min-width: 640px) {
  .menu-images-cta .cta-wrap { flex-direction: row; }
}

.menu-img-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  color: var(--muted-foreground);
  font-size: 0.875rem;
  transition: all 0.3s;
  background: transparent;
}

.menu-img-btn:hover {
  color: var(--foreground);
  border-color: color-mix(in srgb, var(--primary) 30%, transparent);
  background: color-mix(in srgb, var(--primary) 5%, transparent);
}

/* ===== INFO SECTION ===== */
.info-section {
  padding: 6rem 0;
  background: var(--background);
}

.info-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .info-grid { grid-template-columns: repeat(2, 1fr); }
}

.info-card {
  background: var(--card);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid var(--border);
}

.info-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.info-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.info-card-icon svg {
  width: 24px;
  height: 24px;
}

.info-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--foreground);
}

.info-card-body {
  color: var(--muted-foreground);
}

.info-card-body .hours-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.info-card-body .hours-row span:last-child {
  color: var(--foreground);
  font-weight: 500;
}

.info-card-body .hours-note {
  font-size: 0.875rem;
  color: color-mix(in srgb, var(--primary) 80%, transparent);
  font-style: italic;
}

.info-card-body a.map-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--primary);
  font-size: 0.875rem;
  transition: text-decoration 0.3s;
}

.info-card-body a.map-link:hover {
  text-decoration: underline;
}

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .features-grid { grid-template-columns: repeat(4, 1fr); }
}

.feature-card {
  background: var(--card);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.25rem;
  text-align: center;
  border: 1px solid var(--border);
  transition: border-color 0.3s;
}

.feature-card:hover {
  border-color: color-mix(in srgb, var(--primary) 10%, transparent);
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-card h4 {
  font-weight: 600;
  color: var(--foreground);
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
  font-family: var(--font-sans);
}

.feature-card p {
  color: var(--muted-foreground);
  font-size: 0.75rem;
}

/* ===== ORDER SECTION ===== */
.order-section {
  padding: 6rem 0;
  background: var(--secondary);
  text-align: center;
}

.platforms-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 56rem;
  margin: 0 auto 3rem;
}

@media (min-width: 768px) {
  .platforms-grid { grid-template-columns: repeat(3, 1fr); }
}

.platform-card {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  transition: all 0.5s;
  display: block;
}

.platform-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.3);
}

.platform-card-inner {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  gap: 1rem;
}

.platform-card-inner.smood {
  background: linear-gradient(to bottom right, #00A082, #006B56);
}

.platform-card-inner.ubereats {
  background: linear-gradient(to bottom right, #06C167, #048B48);
}

.platform-card-inner.justeat {
  background: linear-gradient(to bottom right, #FF8000, #CC6600);
}

.platform-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: transform 0.3s;
}

.platform-card:hover .platform-icon {
  transform: scale(1.1);
}

.platform-icon svg {
  width: 28px;
  height: 28px;
}

.platform-card-inner h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.25rem;
  font-family: var(--font-sans);
}

.platform-time {
  background: rgba(0,0,0,0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.8);
}

.order-phone-cta {
  margin-top: 2rem;
}

.order-phone-cta p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--primary);
  color: white;
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-size: 1.25rem;
  font-weight: 700;
  box-shadow: 0 25px 50px -12px rgba(140,28,28,0.2);
  transition: all 0.3s;
}

.phone-btn:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

.phone-btn svg {
  width: 24px;
  height: 24px;
  transition: transform 0.3s;
}

.phone-btn:hover svg {
  transform: rotate(12deg);
}

/* ===== REVIEWS SECTION ===== */
.reviews-section {
  padding: 6rem 0;
  background: var(--background);
}

.reviews-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.reviews-header .rating-num {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--foreground);
}

.stars {
  display: flex;
  color: #facc15;
}

.stars svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.stars-sm svg {
  width: 16px;
  height: 16px;
}

.reviews-header .rating-count {
  color: var(--muted-foreground);
  margin-left: 0.5rem;
}

.reviews-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 72rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .reviews-grid { grid-template-columns: repeat(4, 1fr); }
}

.review-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  position: relative;
  transition: border-color 0.3s;
}

.review-card:hover {
  border-color: color-mix(in srgb, var(--primary) 10%, transparent);
}

.review-quote {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: color-mix(in srgb, var(--muted) 30%, transparent);
}

.review-quote svg {
  width: 32px;
  height: 32px;
}

.review-text {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--primary) 20%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.875rem;
}

.review-name {
  font-weight: 500;
  color: var(--foreground);
  font-size: 0.875rem;
}

/* ===== WHY JACQUES SECTION ===== */
.why-section {
  padding: 5rem 0;
  background: linear-gradient(to bottom, var(--background), var(--secondary));
}

.why-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .why-grid { grid-template-columns: repeat(3, 1fr); }
}

.why-card {
  background: var(--card);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid var(--border);
  text-align: center;
  transition: border-color 0.3s;
}

.why-card:hover {
  border-color: color-mix(in srgb, var(--primary) 30%, transparent);
}

.why-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.why-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

.why-card p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

/* Specialty box */
.specialty-box {
  background: linear-gradient(to right, color-mix(in srgb, var(--primary) 10%, transparent), color-mix(in srgb, var(--primary) 5%, transparent));
  border: 1px solid color-mix(in srgb, var(--primary) 20%, transparent);
  border-radius: 1rem;
  padding: 2rem;
  margin-top: 3rem;
  text-align: center;
}

.specialty-box h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

.specialty-box p {
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto;
}

.specialty-box strong {
  color: var(--primary);
}

.specialty-box .spec-note {
  font-size: 0.875rem;
  font-style: italic;
  margin-top: 1rem;
}

/* ===== MAP SECTION ===== */
.map-section {
  height: 450px;
  width: 100%;
  position: relative;
  border-top: 1px solid var(--border);
}

.map-section iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

:root .map-section iframe {
  filter: brightness(0.95);
}

.dark .map-section iframe {
  filter: invert(90%) hue-rotate(180deg) brightness(0.7) contrast(1.2);
}

.map-info {
  position: absolute;
  top: 2rem;
  left: 2rem;
  background: color-mix(in srgb, var(--background) 95%, transparent);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
  max-width: 24rem;
  border: 1px solid var(--border);
}

@media (max-width: 640px) {
  .map-info { display: none; }
}

.map-info h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--foreground);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.map-info h3 svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.map-info .address {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-size: 0.875rem;
}

.map-info .phone-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.map-info .phone-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: color-mix(in srgb, var(--foreground) 70%, transparent);
  transition: color 0.3s;
}

.map-info .phone-link:hover {
  color: var(--primary);
}

.map-info .phone-link svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

.map-directions {
  display: block;
  margin-top: 1.5rem;
  background: var(--primary);
  color: white;
  text-align: center;
  padding: 0.75rem 1.5rem;
  border-radius: calc(var(--radius) + 4px);
  font-weight: 600;
  transition: all 0.3s;
}

.map-directions:hover {
  opacity: 0.8;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--card);
  color: color-mix(in srgb, var(--foreground) 80%, transparent);
  padding: 5rem 0;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  gap: 4rem;
  margin-bottom: 4rem;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.footer-brand img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}

.footer-brand h3 {
  font-size: 1.5rem;
  color: var(--foreground);
  font-family: var(--font-serif);
}

.footer-desc {
  color: var(--muted-foreground);
  max-width: 20rem;
  line-height: 1.7;
  font-size: 0.875rem;
  margin-bottom: 2rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  padding: 0.75rem;
  background: var(--muted);
  border-radius: 50%;
  border: 1px solid var(--border);
  color: inherit;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-social a:hover {
  background: color-mix(in srgb, var(--primary) 20%, transparent);
  color: var(--primary);
}

.footer-social a svg {
  width: 20px;
  height: 20px;
}

.footer h4 {
  font-family: var(--font-serif);
  color: var(--foreground);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-contact-list svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-list a {
  transition: color 0.3s;
}

.footer-contact-list a:hover {
  color: var(--foreground);
}

.footer-bottom {
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer-bottom p {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .footer-bottom p {
    flex-direction: row;
    justify-content: center;
    gap: 0.75rem;
  }
}

.footer-bottom .dot {
  display: none;
  color: var(--border);
}

@media (min-width: 768px) {
  .footer-bottom .dot { display: inline; }
}

.footer-bottom .credit {
  font-weight: 500;
}

.footer-bottom .credit a {
  margin-left: 0.25rem;
  font-weight: 900;
  text-decoration: underline;
  background: linear-gradient(to right, #3b82f6, #f97316, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== GALLERY OVERLAY ===== */
.gallery-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0,0,0,0.95);
  backdrop-filter: blur(4px);
  overflow-y: auto;
  animation: fadeIn 0.3s ease-out;
  display: none;
}

.gallery-overlay.open {
  display: block;
}

.gallery-overlay-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.gallery-overlay-header h2 {
  font-size: 1.875rem;
  color: white;
}

.gallery-close-btn {
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.1);
  padding: 0.5rem;
  border-radius: 50%;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-close-btn:hover {
  color: white;
}

.gallery-close-btn svg {
  width: 28px;
  height: 28px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 4px);
  cursor: pointer;
  aspect-ratio: 1;
}

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

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

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent, transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

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

/* ===== IMAGE MODAL ===== */
.image-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0,0,0,0.95);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(4px);
  cursor: zoom-out;
  animation: fadeIn 0.3s ease-out;
}

.image-modal.open {
  display: flex;
}

.image-modal .modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.1);
  padding: 0.5rem;
  border-radius: 50%;
  transition: color 0.3s;
}

.image-modal .modal-close:hover {
  color: white;
}

.image-modal .modal-close svg {
  width: 28px;
  height: 28px;
}

.image-modal img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 0.5rem;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* Scroll-triggered fade-in */
.scroll-fade {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.scroll-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === SVG icon styling (for inline SVGs) === */
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Prevent body scroll when modal/gallery is open */
body.no-scroll {
  overflow: hidden;
}
