/* ==========================================================================
   TANDA PIZZA - CSS Design System Variables
   "Rustico Tropicale" Aesthetic
   ========================================================================== */

:root {
  /* -------------------------------------------------------------------------
     COLOR PALETTE - Derived from menu ingredients and rice paddy views
     ------------------------------------------------------------------------- */

  /* Primary Colors */
  --color-paddy-emerald: #3A5F0B;        /* Rice fields - Primary buttons & headings */
  --color-paddy-emerald-light: #4A7A10;  /* Hover states */
  --color-paddy-emerald-dark: #2D4A08;   /* Active states */

  --color-san-marzano: #B22222;          /* Tomato sauce - CTAs & accents */
  --color-san-marzano-light: #C93030;    /* Hover states */
  --color-san-marzano-dark: #8B1A1A;     /* Active states */

  /* Neutral Colors */
  --color-dough-cream: #F5F5DC;          /* Background - warm & homemade feel */
  --color-dough-cream-light: #FAFAF0;    /* Cards & elevated surfaces */
  --color-dough-cream-dark: #E8E8C8;     /* Borders & dividers */

  --color-charred: #333333;              /* Primary text - softer than black */
  --color-charred-light: #555555;        /* Secondary text */
  --color-charred-lighter: #777777;      /* Muted text */

  --color-terracotta: #E07C51;           /* Accents - bridges Italy & Bali */
  --color-terracotta-light: #E99570;
  --color-terracotta-dark: #C96A42;

  /* Semantic Colors */
  --color-success: #3A5F0B;
  --color-warning: #E07C51;
  --color-error: #B22222;
  --color-info: #4A7A10;

  /* -------------------------------------------------------------------------
     TYPOGRAPHY - Elegance meets approachability
     ------------------------------------------------------------------------- */

  /* Font Families */
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-accent: 'Caveat', cursive;

  /* Font Sizes - Mobile First (rem based) */
  --text-xs: 0.75rem;      /* 12px */
  --text-sm: 0.875rem;     /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg: 1.125rem;     /* 18px */
  --text-xl: 1.25rem;      /* 20px */
  --text-2xl: 1.5rem;      /* 24px */
  --text-3xl: 1.875rem;    /* 30px */
  --text-4xl: 2.25rem;     /* 36px */
  --text-5xl: 3rem;        /* 48px */
  --text-6xl: 3.75rem;     /* 60px */

  /* Font Weights */
  --font-light: 300;
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;

  /* Line Heights */
  --leading-none: 1;
  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --leading-loose: 2;

  /* Letter Spacing */
  --tracking-tighter: -0.05em;
  --tracking-tight: -0.025em;
  --tracking-normal: 0;
  --tracking-wide: 0.025em;
  --tracking-wider: 0.05em;
  --tracking-widest: 0.1em;

  /* -------------------------------------------------------------------------
     SPACING - Consistent rhythm throughout
     ------------------------------------------------------------------------- */

  --space-1: 0.25rem;      /* 4px */
  --space-2: 0.5rem;       /* 8px */
  --space-3: 0.75rem;      /* 12px */
  --space-4: 1rem;         /* 16px */
  --space-5: 1.25rem;      /* 20px */
  --space-6: 1.5rem;       /* 24px */
  --space-8: 2rem;         /* 32px */
  --space-10: 2.5rem;      /* 40px */
  --space-12: 3rem;        /* 48px */
  --space-16: 4rem;        /* 64px */
  --space-20: 5rem;        /* 80px */
  --space-24: 6rem;        /* 96px */
  --space-32: 8rem;        /* 128px */

  /* -------------------------------------------------------------------------
     LAYOUT
     ------------------------------------------------------------------------- */

  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
  --container-2xl: 1536px;

  /* -------------------------------------------------------------------------
     BORDERS & RADIUS
     ------------------------------------------------------------------------- */

  --radius-sm: 0.25rem;    /* 4px */
  --radius-md: 0.375rem;   /* 6px */
  --radius-lg: 0.5rem;     /* 8px */
  --radius-xl: 0.75rem;    /* 12px */
  --radius-2xl: 1rem;      /* 16px */
  --radius-full: 9999px;

  --border-width: 1px;
  --border-width-2: 2px;

  /* -------------------------------------------------------------------------
     SHADOWS - Subtle depth for the organic feel
     ------------------------------------------------------------------------- */

  --shadow-sm: 0 1px 2px 0 rgba(51, 51, 51, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(51, 51, 51, 0.1), 0 2px 4px -1px rgba(51, 51, 51, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(51, 51, 51, 0.1), 0 4px 6px -2px rgba(51, 51, 51, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(51, 51, 51, 0.1), 0 10px 10px -5px rgba(51, 51, 51, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(51, 51, 51, 0.25);

  /* -------------------------------------------------------------------------
     TRANSITIONS
     ------------------------------------------------------------------------- */

  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 300ms ease;
  --transition-slower: 500ms ease;

  /* -------------------------------------------------------------------------
     Z-INDEX SCALE
     ------------------------------------------------------------------------- */

  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-popover: 600;
  --z-tooltip: 700;
  --z-toast: 800;
  --z-lightbox: 900;
}

/* -------------------------------------------------------------------------
   RESPONSIVE TYPOGRAPHY ADJUSTMENTS
   ------------------------------------------------------------------------- */

@media (min-width: 768px) {
  :root {
    --text-4xl: 2.5rem;    /* 40px */
    --text-5xl: 3.5rem;    /* 56px */
    --text-6xl: 4.5rem;    /* 72px */
  }
}

@media (min-width: 1024px) {
  :root {
    --text-5xl: 4rem;      /* 64px */
    --text-6xl: 5rem;      /* 80px */
  }
}
/* ==========================================================================
   TANDA PIZZA - Base Styles & Reset
   ========================================================================== */

/* -------------------------------------------------------------------------
   CSS RESET - Modern approach
   ------------------------------------------------------------------------- */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--font-normal);
  line-height: var(--leading-normal);
  color: var(--color-charred);
  background-color: var(--color-dough-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

/* -------------------------------------------------------------------------
   TYPOGRAPHY BASE
   ------------------------------------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
  color: var(--color-charred);
}

h1 {
  font-size: var(--text-4xl);
  letter-spacing: var(--tracking-tight);
}

h2 {
  font-size: var(--text-3xl);
}

h3 {
  font-size: var(--text-2xl);
}

h4 {
  font-size: var(--text-xl);
}

h5 {
  font-size: var(--text-lg);
}

h6 {
  font-size: var(--text-base);
}

p {
  margin-bottom: var(--space-4);
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--color-paddy-emerald);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-paddy-emerald-light);
}

strong, b {
  font-weight: var(--font-semibold);
}

em, i {
  font-style: italic;
}

small {
  font-size: var(--text-sm);
}

/* -------------------------------------------------------------------------
   LISTS
   ------------------------------------------------------------------------- */

ul, ol {
  list-style: none;
}

/* -------------------------------------------------------------------------
   MEDIA
   ------------------------------------------------------------------------- */

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

img {
  border-style: none;
}

/* -------------------------------------------------------------------------
   FORMS
   ------------------------------------------------------------------------- */

button, input, optgroup, select, textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: var(--leading-normal);
  margin: 0;
}

button, input {
  overflow: visible;
}

button, select {
  text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

textarea {
  overflow: auto;
  resize: vertical;
}

/* -------------------------------------------------------------------------
   TABLES
   ------------------------------------------------------------------------- */

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* -------------------------------------------------------------------------
   MISC
   ------------------------------------------------------------------------- */

hr {
  border: 0;
  border-top: 1px solid var(--color-dough-cream-dark);
  margin: var(--space-8) 0;
}

::selection {
  background-color: var(--color-paddy-emerald);
  color: white;
}

/* Focus styles for accessibility */
:focus-visible {
  outline: 2px solid var(--color-paddy-emerald);
  outline-offset: 2px;
}

/* Enhanced focus for navigation links */
a:focus-visible {
  outline: 2px solid var(--color-paddy-emerald);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Enhanced focus for buttons */
button:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--color-paddy-emerald);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(58, 95, 11, 0.2);
}

/* High contrast focus for dark backgrounds */
.hero a:focus-visible,
.hero button:focus-visible,
.cta a:focus-visible,
.cta button:focus-visible,
.footer a:focus-visible,
.footer button:focus-visible {
  outline-color: white;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3);
}

/* Hide focus for mouse users */
:focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip link - visible on focus for keyboard users */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-paddy-emerald);
  color: white;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  font-weight: var(--font-semibold);
  z-index: var(--z-tooltip);
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--space-4);
  outline: 2px solid white;
  outline-offset: 2px;
}

/* -------------------------------------------------------------------------
   REDUCED MOTION PREFERENCES
   Respect user's motion preferences for accessibility
   ------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  /* Disable parallax and decorative transforms */
  .parallax,
  [data-parallax] {
    transform: none !important;
  }

  /* Disable scroll animations */
  .scroll-animate,
  .scroll-animate--visible {
    opacity: 1 !important;
    transform: none !important;
  }

  /* Keep essential feedback visible but instant */
  .toast {
    transition: none !important;
  }
}
/* ==========================================================================
   TANDA PIZZA - Component Styles
   ========================================================================== */

/* -------------------------------------------------------------------------
   CONTAINER
   ------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container-xl);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
}

@media (min-width: 768px) {
  .container {
    padding-left: var(--space-6);
    padding-right: var(--space-6);
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: var(--space-8);
    padding-right: var(--space-8);
  }
}

.container--narrow {
  max-width: var(--container-md);
}

.container--wide {
  max-width: var(--container-2xl);
}

/* -------------------------------------------------------------------------
   BUTTONS
   ------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  line-height: var(--leading-none);
  text-align: center;
  text-decoration: none;
  border: var(--border-width-2) solid transparent;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Primary Button - Paddy Emerald */
.btn--primary {
  background-color: var(--color-paddy-emerald);
  color: white;
  border-color: var(--color-paddy-emerald);
}

.btn--primary:hover:not(:disabled) {
  background-color: var(--color-paddy-emerald-light);
  border-color: var(--color-paddy-emerald-light);
  color: white;
}

.btn--primary:active:not(:disabled) {
  background-color: var(--color-paddy-emerald-dark);
  border-color: var(--color-paddy-emerald-dark);
}

/* Secondary Button - Outline */
.btn--secondary {
  background-color: transparent;
  color: var(--color-paddy-emerald);
  border-color: var(--color-paddy-emerald);
}

.btn--secondary:hover:not(:disabled) {
  background-color: var(--color-paddy-emerald);
  color: white;
}

/* Secondary Button on Dark Backgrounds */
.btn--secondary.btn--light {
  color: white;
  border-color: white;
}

.btn--secondary.btn--light:hover:not(:disabled) {
  background-color: white;
  color: var(--color-paddy-emerald);
}

.btn--block {
  width: 100%;
}

.btn--block-mobile {
  width: 100%;
}

@media (min-width: 640px) {
  .btn--block-mobile {
    width: auto;
  }
}

/* CTA Button - San Marzano Red */
.btn--cta {
  background-color: var(--color-san-marzano);
  color: white;
  border-color: var(--color-san-marzano);
}

.btn--cta:hover:not(:disabled) {
  background-color: var(--color-san-marzano-light);
  border-color: var(--color-san-marzano-light);
  color: white;
}

.btn--cta:active:not(:disabled) {
  background-color: var(--color-san-marzano-dark);
  border-color: var(--color-san-marzano-dark);
}

/* WhatsApp Button */
.btn--whatsapp {
  background-color: #25D366;
  color: white;
  border-color: #25D366;
}

.btn--whatsapp:hover:not(:disabled) {
  background-color: #20BD5A;
  border-color: #20BD5A;
  color: white;
}

/* Ghost Button */
.btn--ghost {
  background-color: transparent;
  color: var(--color-charred);
  border-color: transparent;
}

.btn--ghost:hover:not(:disabled) {
  background-color: rgba(51, 51, 51, 0.05);
  color: var(--color-charred);
}

.btn--ghost.btn--light {
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn--ghost.btn--light:hover:not(:disabled) {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}

/* Button Sizes */
.btn--sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
}

.btn--lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-lg);
}

/* -------------------------------------------------------------------------
   CARDS
   ------------------------------------------------------------------------- */

.card {
  background-color: var(--color-dough-cream-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.card:hover {
  box-shadow: var(--shadow-lg);
}

.card__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.card__body {
  padding: var(--space-6);
}

.card__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
}

.card__text {
  color: var(--color-charred-light);
  font-size: var(--text-sm);
}

/* -------------------------------------------------------------------------
   BADGES
   ------------------------------------------------------------------------- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  font-family: var(--font-accent);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.badge--gf {
  background-color: var(--color-paddy-emerald);
  color: white;
}

.badge--chef {
  background-color: var(--color-terracotta);
  color: white;
}

.badge--popular {
  background-color: var(--color-san-marzano);
  color: white;
}

.badge--signature {
  background-color: var(--color-paddy-emerald-dark);
  color: white;
}

.badge--family {
  background-color: var(--color-terracotta);
  color: white;
}

/* -------------------------------------------------------------------------
   DRINK PAIRINGS
   ------------------------------------------------------------------------- */

.drink-pairings {
  padding: var(--space-8) 0;
}

.drink-pairings__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}

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

.drink-pairings__card {
  text-align: center;
  padding: var(--space-4);
  background: var(--color-dough-cream-light);
  border-radius: var(--radius-lg);
}

.drink-pairings__dish {
  font-weight: var(--font-medium);
  color: var(--color-paddy-emerald);
  margin-bottom: var(--space-1);
  font-size: var(--text-sm);
}

.drink-pairings__drink {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  margin-bottom: var(--space-1);
}

.drink-pairings__note {
  font-size: var(--text-sm);
  color: var(--color-charred-light);
}

/* -------------------------------------------------------------------------
   CHEF QUOTE
   ------------------------------------------------------------------------- */

.chef-quote {
  margin-top: var(--space-12);
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.chef-quote__text {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-style: italic;
  color: var(--color-charred);
  line-height: var(--leading-relaxed);
}

@media (min-width: 768px) {
  .chef-quote__text {
    font-size: var(--text-2xl);
  }
}

.chef-quote__attribution {
  display: block;
  margin-top: var(--space-4);
  font-size: var(--text-base);
  color: var(--color-charred-light);
}

/* Dark variant for hero sections */
.chef-quote--dark {
  max-width: 600px;
  margin-top: var(--space-8);
}

.chef-quote--dark .chef-quote__text {
  font-size: var(--text-lg);
  color: white;
  opacity: 0.9;
}

.chef-quote--dark .chef-quote__attribution {
  margin-top: var(--space-2);
  font-size: var(--text-sm);
  color: white;
  opacity: 0.7;
}

/* -------------------------------------------------------------------------
   DIRECTIONS HINT
   ------------------------------------------------------------------------- */

.directions-hint {
  padding: var(--space-6) 0;
  background: var(--color-dough-cream-light);
}

.directions-hint__content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.directions-hint__text {
  margin: 0;
  color: var(--color-charred-light);
}

/* -------------------------------------------------------------------------
   GF SAFETY LIST
   ------------------------------------------------------------------------- */

.gf-safety-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  max-width: 800px;
  margin: 0 auto;
}

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

.gf-safety-item {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
}

.gf-safety-item__icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-paddy-emerald);
}

.gf-safety-item__text {
  margin: 0;
}

/* -------------------------------------------------------------------------
   TABLE NOTE
   ------------------------------------------------------------------------- */

.table-note {
  padding: var(--space-6) 0;
  background: var(--color-dough-cream-light);
}

.table-note__content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.table-note__title {
  font-size: var(--text-lg);
  color: var(--color-charred);
  margin-bottom: var(--space-2);
}

.table-note__text {
  margin: 0;
  color: var(--color-charred-light);
  font-size: var(--text-sm);
}

/* -------------------------------------------------------------------------
   FAQ LIST
   ------------------------------------------------------------------------- */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.faq-item {
  background: white;
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.faq-item__question {
  color: var(--color-paddy-emerald);
  margin-bottom: var(--space-2);
  font-size: var(--text-lg);
}

.faq-item__answer {
  margin: 0;
  color: var(--color-charred);
}

/* -------------------------------------------------------------------------
   SECTION STYLES
   ------------------------------------------------------------------------- */

.section {
  padding: var(--space-16) 0;
}

@media (min-width: 768px) {
  .section {
    padding: var(--space-20) 0;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: var(--space-24) 0;
  }
}

.section--alt {
  background-color: var(--color-dough-cream-light);
}

.section__header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-12);
}

.section__title {
  margin-bottom: var(--space-4);
}

.section__subtitle {
  font-family: var(--font-accent);
  font-size: var(--text-xl);
  color: var(--color-terracotta);
  margin-bottom: var(--space-2);
}

.section__description {
  color: var(--color-charred-light);
  font-size: var(--text-lg);
}

/* -------------------------------------------------------------------------
   MENU ITEM COMPONENT
   ------------------------------------------------------------------------- */

.menu-item {
  display: flex;
  flex-direction: column;
  padding: var(--space-6);
  background-color: var(--color-dough-cream-light);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
  position: relative;
}

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

.menu-item--gf {
  border-left: 4px solid var(--color-paddy-emerald);
}

.menu-item__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-2);
}

.menu-item__name {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  color: var(--color-charred);
}

.menu-item__price {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: var(--color-san-marzano);
  white-space: nowrap;
}

.menu-item__description {
  color: var(--color-charred-light);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  flex-grow: 1;
}

.menu-item__badges {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

/* -------------------------------------------------------------------------
   TOGGLE SWITCH (for GF filter)
   ------------------------------------------------------------------------- */

.toggle {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  cursor: pointer;
}

.toggle__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle__slider {
  position: relative;
  width: 52px;
  height: 28px;
  background-color: var(--color-dough-cream-dark);
  border-radius: var(--radius-full);
  transition: background-color var(--transition-base);
}

.toggle__slider::before {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  top: 3px;
  left: 3px;
  background-color: white;
  border-radius: 50%;
  transition: transform var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.toggle__input:checked + .toggle__slider {
  background-color: var(--color-paddy-emerald);
}

.toggle__input:checked + .toggle__slider::before {
  transform: translateX(24px);
}

.toggle__input:focus-visible + .toggle__slider {
  outline: 2px solid var(--color-paddy-emerald);
  outline-offset: 2px;
}

.toggle__label {
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-charred);
}

/* -------------------------------------------------------------------------
   DIVIDER
   ------------------------------------------------------------------------- */

.divider {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin: var(--space-8) 0;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: var(--color-dough-cream-dark);
}

.divider__icon {
  color: var(--color-terracotta);
  font-size: var(--text-xl);
}

/* -------------------------------------------------------------------------
   STATUS INDICATOR
   ------------------------------------------------------------------------- */

.status {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
}

.status__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.status--open .status__dot {
  background-color: var(--color-paddy-emerald);
}

.status--closed .status__dot {
  background-color: var(--color-san-marzano);
  animation: none;
}

.status--closing .status__dot {
  background-color: var(--color-terracotta);
  animation: pulse 1.5s infinite;
}

.status--kitchen-closed .status__dot {
  background-color: var(--color-terracotta);
  animation: none;
}

/* Accent note text (e.g., kitchen closes) */
.hours-note {
  display: inline-block;
  font-size: var(--text-sm);
  color: var(--color-terracotta-dark);
  margin-top: var(--space-1);
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* -------------------------------------------------------------------------
   GRID LAYOUTS
   ------------------------------------------------------------------------- */

.grid {
  display: grid;
  gap: var(--space-6);
}

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

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

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

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

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

  .grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* -------------------------------------------------------------------------
   TEXT UTILITIES
   ------------------------------------------------------------------------- */

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

.text-accent {
  font-family: var(--font-accent);
  color: var(--color-terracotta);
}

.text-muted {
  color: var(--color-charred-lighter);
}

/* -------------------------------------------------------------------------
   SPACING UTILITIES
   ------------------------------------------------------------------------- */

.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

/* -------------------------------------------------------------------------
   GF FILTER BANNER
   ------------------------------------------------------------------------- */

.gf-banner {
  display: none;
  margin-top: var(--space-6);
}

.gf-banner--visible {
  display: block;
}

.gf-banner__content {
  background-color: var(--color-paddy-emerald);
  color: white;
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.gf-banner__text {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.gf-banner__link {
  color: white;
  text-decoration: underline;
}

.gf-banner__link:hover {
  color: var(--color-dough-cream);
}

.gf-banner__btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  transition: background-color var(--transition-base);
}

.gf-banner__btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* -------------------------------------------------------------------------
   MODAL
   ------------------------------------------------------------------------- */

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  padding: var(--space-8);
  align-items: center;
  justify-content: center;
}

.modal--visible {
  display: flex;
}

.modal__content {
  background: white;
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  max-width: 500px;
  text-align: center;
}

.modal__subtitle {
  font-size: var(--text-sm);
  color: var(--color-terracotta);
  margin-bottom: var(--space-2);
}

.modal__text {
  font-size: var(--text-xl);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
}

/* -------------------------------------------------------------------------
   BUTTON STATES
   ------------------------------------------------------------------------- */

.btn--success {
  color: var(--color-paddy-emerald) !important;
}

.btn--error {
  color: var(--color-san-marzano) !important;
}

/* -------------------------------------------------------------------------
   TOAST NOTIFICATIONS
   ------------------------------------------------------------------------- */

.toast {
  position: fixed;
  bottom: calc(var(--bottom-bar-height, 60px) + var(--space-4));
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  background-color: var(--color-charred);
  color: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  z-index: var(--z-toast);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}

.toast--visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast--success {
  background-color: var(--color-paddy-emerald);
}

.toast--success svg {
  stroke: white;
}

.toast--error {
  background-color: var(--color-san-marzano);
}

.toast--error svg {
  stroke: white;
}

/* Desktop: position at bottom-center without accounting for bottom bar */
@media (min-width: 769px) {
  .toast {
    bottom: var(--space-6);
  }
}

/* -------------------------------------------------------------------------
   LAYOUT UTILITIES
   ------------------------------------------------------------------------- */

.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.w-full { width: 100%; }

/* Position utilities */
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.z-1 { z-index: 1; }

/* Text styles */
.text-left { text-align: left; }
.text-lg { font-size: var(--text-lg); line-height: var(--leading-relaxed); }
.text-xl { font-size: var(--text-xl); }

/* Image utilities */
.img-cover {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius-2xl);
}

.img-cover--4-3 {
  aspect-ratio: 4 / 3;
}

.img-gallery {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-gallery--sepia {
  filter: sepia(20%);
}

.img-gallery--bright {
  filter: brightness(1.1);
}

.img-gallery--top {
  object-position: center top;
}

.img-gallery--right {
  object-position: right center;
}

.img-gallery--bottom {
  object-position: center bottom;
}

/* -------------------------------------------------------------------------
   HASHTAG TAGS
   ------------------------------------------------------------------------- */

.hashtag-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.hashtag {
  background: var(--color-dough-cream-light);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-family: var(--font-accent);
  color: var(--color-paddy-emerald);
}

/* -------------------------------------------------------------------------
   LANDMARK LIST (story page)
   ------------------------------------------------------------------------- */

.landmark-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.landmark-item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4);
  background: var(--color-dough-cream-light);
  border-radius: var(--radius-lg);
}

.landmark-item__time {
  font-size: var(--text-2xl);
  flex-shrink: 0;
}

.landmark-item__name {
  margin: 0;
  font-weight: var(--font-medium);
}

.landmark-item__desc {
  color: var(--color-charred-light);
  font-size: var(--text-sm);
  margin: 0;
}

/* -------------------------------------------------------------------------
   NOTICE CARD (GF page)
   ------------------------------------------------------------------------- */

.notice-card {
  background-color: white;
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--color-terracotta);
}

.notice-card__title {
  color: var(--color-terracotta);
  margin-bottom: var(--space-4);
}

.notice-card__text {
  margin-bottom: var(--space-4);
}

.notice-card__text:last-child {
  margin-bottom: 0;
  color: var(--color-charred-light);
}

/* -------------------------------------------------------------------------
   TESTIMONIALS
   ------------------------------------------------------------------------- */

.testimonial {
  background-color: var(--color-dough-cream-light);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

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

.testimonial__quote {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-charred);
  flex-grow: 1;
  margin-bottom: var(--space-6);
  position: relative;
}

.testimonial__quote::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: -5px;
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  color: var(--color-paddy-emerald);
  opacity: 0.3;
  line-height: 1;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: var(--font-bold);
  font-size: var(--text-sm);
  flex-shrink: 0;
}

.testimonial__name {
  font-weight: var(--font-semibold);
  font-size: var(--text-sm);
  color: var(--color-charred);
}

.testimonial__avatar--emerald { background-color: var(--color-paddy-emerald); }
.testimonial__avatar--terracotta { background-color: var(--color-terracotta); }
.testimonial__avatar--san-marzano { background-color: var(--color-san-marzano); }
.testimonial__avatar--charred { background-color: var(--color-charred); }

.testimonial__source {
  font-size: var(--text-sm);
  color: var(--color-charred-light);
}

/* -------------------------------------------------------------------------
   INSTAGRAM FEED
   ------------------------------------------------------------------------- */

.ig-feed {
  width: 100%;
  text-align: center;
}

.ig-feed__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-4);
  text-decoration: none;
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

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

.ig-feed__item {
  aspect-ratio: 1;
  overflow: hidden;
}

.ig-feed__item--placeholder .ig-feed__item-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.ig-feed__grid:hover .ig-feed__item-inner {
  transform: scale(1.05);
  opacity: 0.7;
}

/* IG Placeholder gradient variants */
.ig-feed__item-inner--gradient-1 {
  background: linear-gradient(135deg, var(--color-terracotta) 0%, var(--color-san-marzano) 100%);
}

.ig-feed__item-inner--gradient-2 {
  background: linear-gradient(135deg, var(--color-paddy-emerald) 0%, var(--color-paddy-emerald-dark) 100%);
}

.ig-feed__item-inner--gradient-3 {
  background: linear-gradient(135deg, var(--color-dough-cream-dark) 0%, var(--color-terracotta) 100%);
}

.ig-feed__item-inner--gradient-4 {
  background: linear-gradient(135deg, var(--color-san-marzano) 0%, var(--color-charred) 100%);
}

.ig-feed__item-inner--gradient-5 {
  background: linear-gradient(135deg, var(--color-paddy-emerald-dark) 0%, var(--color-paddy-emerald) 100%);
}

.ig-feed__item-inner--gradient-6 {
  background: linear-gradient(135deg, var(--color-terracotta) 0%, var(--color-dough-cream-dark) 100%);
}

.ig-feed__grid-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  background-color: rgba(51, 51, 51, 0);
  color: white;
  opacity: 0;
  transition: all var(--transition-base);
  pointer-events: none;
}

.ig-feed__grid:hover .ig-feed__grid-overlay {
  background-color: rgba(51, 51, 51, 0.6);
  opacity: 1;
}

.ig-feed__grid-overlay span {
  font-weight: var(--font-semibold);
  font-size: var(--text-base);
}

.ig-feed__preview-label {
  font-family: var(--font-accent);
  font-size: var(--text-sm);
  color: var(--color-charred-light);
}

/* -------------------------------------------------------------------------
   STAGGERED SCROLL ANIMATIONS
   ------------------------------------------------------------------------- */

.scroll-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.scroll-animate--delay-1 { transition-delay: 0.1s; }
.scroll-animate--delay-2 { transition-delay: 0.2s; }
.scroll-animate--delay-3 { transition-delay: 0.3s; }
.scroll-animate--delay-4 { transition-delay: 0.4s; }
.scroll-animate--delay-5 { transition-delay: 0.5s; }
.scroll-animate--delay-6 { transition-delay: 0.6s; }

/* -------------------------------------------------------------------------
   LANGUAGE TOGGLE
   ------------------------------------------------------------------------- */

.lang-toggle {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.lang-toggle__btn {
  padding: var(--space-1) var(--space-2);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-charred-light);
  background: none;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-transform: uppercase;
}

.lang-toggle__btn:hover {
  color: var(--color-charred);
  background-color: var(--color-dough-cream);
}

.lang-toggle__btn--active {
  color: var(--color-paddy-emerald);
  border-color: var(--color-paddy-emerald);
  background-color: rgba(58, 95, 11, 0.1);
}

.lang-toggle__btn:focus-visible {
  outline: 2px solid var(--color-paddy-emerald);
  outline-offset: 2px;
}

/* Footer language toggle (light on dark) */
.footer .lang-toggle__btn {
  color: rgba(255, 255, 255, 0.7);
}

.footer .lang-toggle__btn:hover {
  color: white;
  background-color: rgba(255, 255, 255, 0.1);
}

.footer .lang-toggle__btn--active {
  color: white;
  border-color: var(--color-terracotta);
  background-color: rgba(224, 124, 81, 0.2);
}

/* Mobile nav language toggle */
.mobile-nav__lang {
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-dough-cream);
  text-align: center;
}

.mobile-nav__lang-label {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-charred-light);
  margin-bottom: var(--space-3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lang-toggle--mobile {
  justify-content: center;
}

/* Footer language toggle container */
.footer__lang {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__lang-label {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-2);
  display: block;
}

/* -------------------------------------------------------------------------
   ACCESSIBILITY UTILITIES
   ------------------------------------------------------------------------- */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* -------------------------------------------------------------------------
   LIGHTBOX
   ------------------------------------------------------------------------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-lightbox, 9999);
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox--open {
  display: flex;
}

.lightbox__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
}

.lightbox__content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox__image {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
}

.lightbox__close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem;
  line-height: 1;
}

.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 1rem 0.75rem;
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}

.lightbox__prev:hover,
.lightbox__next:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox__prev:focus,
.lightbox__next:focus,
.lightbox__close:focus {
  outline: 2px solid white;
  outline-offset: 2px;
}

.lightbox__prev {
  left: -60px;
}

.lightbox__next {
  right: -60px;
}

@media (max-width: 768px) {
  .lightbox__prev {
    left: 10px;
  }

  .lightbox__next {
    right: 10px;
  }

  .lightbox__close {
    top: -50px;
    right: 10px;
  }
}

.lightbox__caption {
  color: white;
  text-align: center;
  margin-top: var(--space-4);
  font-size: var(--text-base);
  max-width: 80%;
}

.lightbox__counter {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--text-sm);
  margin-top: var(--space-2);
}
/* ==========================================================================
   TANDA PIZZA - Layout Styles (Header, Footer, Navigation)
   ========================================================================== */

/* -------------------------------------------------------------------------
   HEADER
   ------------------------------------------------------------------------- */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  background-color: rgba(245, 245, 220, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: box-shadow var(--transition-base);
}

.header--scrolled {
  box-shadow: var(--shadow-md);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  padding: 0 var(--space-4);
  max-width: var(--container-xl);
  margin: 0 auto;
}

@media (min-width: 768px) {
  .header__inner {
    height: 80px;
    padding: 0 var(--space-6);
  }
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
}

.header__logo-icon {
  width: 45px;
  height: 45px;
}

.header__logo-text {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--color-charred);
}

.header__logo-tagline {
  display: none;
  font-family: var(--font-accent);
  font-size: var(--text-sm);
  color: var(--color-terracotta);
}

@media (min-width: 768px) {
  .header__logo-tagline {
    display: block;
  }
}

/* Navigation */
.nav {
  display: none;
}

@media (min-width: 1024px) {
  .nav {
    display: flex;
    align-items: center;
    gap: var(--space-8);
  }
}

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.nav__link {
  font-size: var(--text-base);
  font-weight: var(--font-medium);
  color: var(--color-charred);
  text-decoration: none;
  padding: var(--space-2) 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-paddy-emerald);
  transition: width var(--transition-base);
}

.nav__link:hover,
.nav__link--active {
  color: var(--color-paddy-emerald);
}

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

.nav__link--gf {
  color: var(--color-paddy-emerald);
  font-weight: var(--font-semibold);
}

/* Header Actions */
.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.header__status {
  display: none;
}

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

/* Mobile Menu Toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
}

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }
}

.menu-toggle__bar {
  width: 24px;
  height: 2px;
  background-color: var(--color-charred);
  transition: all var(--transition-base);
  transform-origin: center;
}

.menu-toggle__bar + .menu-toggle__bar {
  margin-top: 6px;
}

.menu-toggle--open .menu-toggle__bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle--open .menu-toggle__bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle--open .menu-toggle__bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* -------------------------------------------------------------------------
   MOBILE NAVIGATION
   ------------------------------------------------------------------------- */

.mobile-nav {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-dough-cream);
  z-index: var(--z-fixed);
  transform: translateX(100%);
  transition: transform var(--transition-slow);
  overflow-y: auto;
}

@media (min-width: 768px) {
  .mobile-nav {
    top: 80px;
  }
}

.mobile-nav--open {
  transform: translateX(0);
}

@media (min-width: 1024px) {
  .mobile-nav {
    display: none;
  }
}

.mobile-nav__inner {
  padding: var(--space-6);
}

.mobile-nav__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.mobile-nav__link {
  display: block;
  padding: var(--space-4);
  font-size: var(--text-lg);
  font-weight: var(--font-medium);
  color: var(--color-charred);
  text-decoration: none;
  border-radius: var(--radius-lg);
  transition: background-color var(--transition-fast);
}

.mobile-nav__link:hover,
.mobile-nav__link--active {
  background-color: var(--color-dough-cream-dark);
  color: var(--color-paddy-emerald);
}

.mobile-nav__link--gf {
  color: var(--color-paddy-emerald);
  font-weight: var(--font-semibold);
}

.mobile-nav__cta {
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-dough-cream-dark);
}

/* -------------------------------------------------------------------------
   MOBILE BOTTOM BAR (Sticky)
   ------------------------------------------------------------------------- */

.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  background-color: var(--color-dough-cream-light);
  box-shadow: 0 -4px 6px -1px rgba(51, 51, 51, 0.1);
  padding: var(--space-3) var(--space-4);
  padding-bottom: calc(var(--space-3) + env(safe-area-inset-bottom, 0));
}

@media (min-width: 1024px) {
  .bottom-bar {
    display: none;
  }
}

.bottom-bar__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  max-width: 500px;
  margin: 0 auto;
}

.bottom-bar .btn {
  width: 100%;
}

/* -------------------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------------------- */

.footer {
  background-color: var(--color-charred);
  color: white;
  padding: var(--space-16) 0 var(--space-8);
}

.footer__grid {
  display: grid;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}

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

@media (min-width: 1024px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

/* Footer Brand */
.footer__brand {
  max-width: 300px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.footer__logo-icon {
  width: 50px;
  height: 50px;
}

.footer__logo-text {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: white;
}

.footer__description {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
}

/* Footer Columns */
.footer__column h4 {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: white;
  margin-bottom: var(--space-4);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__link {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: white;
}

/* Footer Contact */
.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.footer__contact-item svg {
  flex-shrink: 0;
  color: var(--color-terracotta);
  margin-top: 2px;
}

.footer__contact-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}

/* Footer Driver Card */
.footer__driver-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  margin-bottom: var(--space-4);
}

.footer__driver-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--text-sm);
  font-style: italic;
  margin-bottom: var(--space-2);
  line-height: var(--leading-relaxed);
}

.footer__driver-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-terracotta);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  font-family: var(--font-body);
  background: none;
  border: 1px solid var(--color-terracotta);
  border-radius: var(--radius-sm);
  padding: var(--space-1) var(--space-2);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.footer__driver-btn:hover {
  background-color: var(--color-terracotta);
  color: white;
}

.footer__driver-btn--success {
  border-color: var(--color-paddy-emerald);
  color: var(--color-paddy-emerald);
  background-color: rgba(58, 95, 11, 0.1);
}

.footer__driver-btn--error {
  border-color: var(--color-san-marzano);
  color: var(--color-san-marzano);
  background-color: rgba(178, 34, 34, 0.1);
}

.footer__driver-btn svg {
  flex-shrink: 0;
}

/* Footer Social */
.footer__social {
  display: flex;
  gap: var(--space-3);
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  color: white;
  transition: all var(--transition-fast);
}

.footer__social-link:hover {
  background-color: var(--color-terracotta);
  color: white;
}

/* Footer Bottom */
.footer__bottom {
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer__copyright {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
}

.footer__legal {
  display: flex;
  gap: var(--space-6);
}

.footer__legal-link {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
  text-decoration: none;
}

.footer__legal-link:hover {
  color: white;
}

.footer__legal-link--pending {
  cursor: default;
  opacity: 0.5;
}

.footer__legal-link--pending:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* Footer subtitles - accessible contrast for dark backgrounds */
.footer__subtitle {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-2);
}

.footer__kitchen-closes {
  margin-top: var(--space-2);
  color: var(--color-terracotta);
}

/* -------------------------------------------------------------------------
   MAIN CONTENT OFFSET (for fixed header)
   ------------------------------------------------------------------------- */

.main {
  padding-top: 70px;
  padding-bottom: 80px; /* Space for mobile bottom bar */
}

@media (min-width: 768px) {
  .main {
    padding-top: 80px;
  }
}

@media (min-width: 1024px) {
  .main {
    padding-bottom: 0;
  }
}
/* ==========================================================================
   TANDA PIZZA - Page-Specific Styles
   ========================================================================== */

/* -------------------------------------------------------------------------
   PRINT HEADER (hidden on screen, shown only in print)
   ------------------------------------------------------------------------- */

.print-header {
  display: none;
}

/* -------------------------------------------------------------------------
   HERO SECTION
   ------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__background {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(51, 51, 51, 0.3) 0%,
    rgba(51, 51, 51, 0.5) 50%,
    rgba(51, 51, 51, 0.7) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--space-8);
  max-width: 800px;
}

.hero__subtitle {
  font-family: var(--font-accent);
  font-size: var(--text-xl);
  color: var(--color-terracotta);
  margin-bottom: var(--space-4);
}

@media (min-width: 768px) {
  .hero__subtitle {
    font-size: var(--text-2xl);
  }
}

.hero__title {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: var(--font-bold);
  color: white;
  margin-bottom: var(--space-6);
  line-height: var(--leading-tight);
}

@media (min-width: 768px) {
  .hero__title {
    font-size: var(--text-5xl);
  }
}

@media (min-width: 1024px) {
  .hero__title {
    font-size: var(--text-6xl);
  }
}

.hero__description {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-8);
  line-height: var(--leading-relaxed);
}

@media (min-width: 768px) {
  .hero__description {
    font-size: var(--text-xl);
  }
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: center;
}

@media (min-width: 640px) {
  .hero__actions {
    flex-direction: row;
    justify-content: center;
  }
}

.hero__scroll {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  opacity: 0.7;
  transition: opacity var(--transition-fast);
  cursor: pointer;
}

.hero__scroll:hover {
  opacity: 1;
}

.hero__scroll-text {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: var(--tracking-widest);
}

.hero__scroll-icon {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(10px);
  }
  60% {
    transform: translateY(5px);
  }
}

/* -------------------------------------------------------------------------
   FEATURES SECTION (Homepage)
   ------------------------------------------------------------------------- */

.features {
  display: grid;
  gap: var(--space-8);
}

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

.feature {
  text-align: center;
  padding: var(--space-8);
}

.feature__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-6);
  color: var(--color-paddy-emerald);
}

.feature__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}

.feature__text {
  color: var(--color-charred-light);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
}

/* -------------------------------------------------------------------------
   MENU PAGE
   ------------------------------------------------------------------------- */

.menu-page__header {
  text-align: center;
  padding: var(--space-12) 0;
  background-color: var(--color-dough-cream-light);
}

.menu-page__filter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
  padding: var(--space-6);
  background-color: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  margin-top: var(--space-8);
}

@media (min-width: 768px) {
  .menu-page__filter {
    flex-direction: row;
    justify-content: center;
  }
}

.menu-page__gf-info {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-paddy-emerald);
}

/* Menu Category Quick Nav */
.menu-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-6);
}

.menu-nav__link {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-family: var(--font-accent);
  color: var(--color-paddy-emerald);
  background-color: var(--color-dough-cream);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.menu-nav__link:hover,
.menu-nav__link:focus {
  background-color: var(--color-paddy-emerald);
  color: white;
}

/* Back to Top */
.back-to-top {
  text-align: center;
  padding: var(--space-8) 0;
}

.back-to-top__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
  color: var(--color-charred-light);
  background-color: var(--color-dough-cream-light);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.back-to-top__link:hover,
.back-to-top__link:focus {
  background-color: var(--color-paddy-emerald);
  color: white;
}

.back-to-top__link svg {
  transition: transform var(--transition-fast);
}

.back-to-top__link:hover svg {
  transform: translateY(-2px);
}

/* Menu Category */
.menu-category {
  padding: var(--space-12) 0;
}

.menu-category:nth-child(even) {
  background-color: var(--color-dough-cream-light);
}

.menu-category__header {
  text-align: center;
  margin-bottom: var(--space-10);
}

.menu-category__title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  margin-bottom: var(--space-2);
}

.menu-category__subtitle {
  font-family: var(--font-accent);
  font-size: var(--text-lg);
  color: var(--color-terracotta);
}

.menu-category__grid {
  display: grid;
  gap: var(--space-6);
}

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

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

/* Hidden state for GF filter */
.menu-item--hidden {
  display: none;
}

/* -------------------------------------------------------------------------
   GLUTEN-FREE PAGE
   ------------------------------------------------------------------------- */

.gf-hero {
  background: linear-gradient(135deg, var(--color-paddy-emerald) 0%, var(--color-paddy-emerald-dark) 100%);
  color: white;
  padding: var(--space-16) 0;
  text-align: center;
}

.gf-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background-color: rgba(255, 255, 255, 0.2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  margin-bottom: var(--space-6);
}

.gf-hero__title {
  color: white;
  margin-bottom: var(--space-4);
}

.gf-hero__description {
  font-size: var(--text-lg);
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

.gf-hero__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: center;
  margin-top: var(--space-8);
}

@media (min-width: 640px) {
  .gf-hero__actions {
    flex-direction: row;
    justify-content: center;
  }
}

.gf-section {
  padding: var(--space-16) 0;
}

.gf-features {
  display: grid;
  gap: var(--space-8);
}

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

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

.gf-feature {
  text-align: center;
  padding: var(--space-6);
}

.gf-feature__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-4);
  color: var(--color-paddy-emerald);
}

.gf-feature__title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}

.gf-feature__text {
  color: var(--color-charred-light);
  font-size: var(--text-sm);
}

/* Testimonials */
.testimonials {
  background-color: var(--color-dough-cream-light);
  padding: var(--space-16) 0;
}

.testimonial {
  background-color: white;
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.testimonial__quote {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
  font-style: italic;
  color: var(--color-charred);
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-dough-cream-dark);
}

.testimonial__name {
  font-weight: var(--font-semibold);
  font-size: var(--text-sm);
}

.testimonial__source {
  font-size: var(--text-sm);
  color: var(--color-charred-light);
}

/* -------------------------------------------------------------------------
   ABOUT / STORY PAGE
   ------------------------------------------------------------------------- */

.story-hero {
  position: relative;
  padding: var(--space-20) 0;
  background-color: var(--color-dough-cream-light);
  overflow: hidden;
}

.story-hero__content {
  display: grid;
  gap: var(--space-12);
  align-items: center;
}

@media (min-width: 1024px) {
  .story-hero__content {
    grid-template-columns: 1fr 1fr;
  }

  /* Reversed layout - image on left, text on right */
  .story-hero__content--reversed > :first-child {
    order: 2;
  }

  .story-hero__content--reversed > :last-child {
    order: 1;
  }
}

.story-hero__title {
  text-align: left;
  margin-bottom: var(--space-6);
}

.story-hero__text {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
}

.story-hero__text:last-of-type {
  margin-bottom: 0;
}

.story-hero__image {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.story-hero__image img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.story-section {
  padding: var(--space-16) 0;
}

.story-section__content {
  max-width: 700px;
  margin: 0 auto;
}

.story-section__content p {
  font-size: var(--text-lg);
  line-height: var(--leading-loose);
  margin-bottom: var(--space-6);
}

/* Location Section */
.location {
  background-color: var(--color-dough-cream-light);
  padding: var(--space-16) 0;
}

.location__grid {
  display: grid;
  gap: var(--space-8);
}

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

.location__map {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 400px;
}

.location__map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: 0;
}

.location__info {
  padding: var(--space-8);
  background-color: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.location__title {
  margin-bottom: var(--space-6);
}

.location__item {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.location__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--color-paddy-emerald);
}

.location__text h4 {
  font-size: var(--text-base);
  margin-bottom: var(--space-1);
}

.location__text p {
  color: var(--color-charred-light);
  font-size: var(--text-sm);
  margin-bottom: 0;
}

.location__driver-card {
  margin-top: var(--space-6);
  padding: var(--space-4);
  background-color: var(--color-dough-cream);
  border-radius: var(--radius-lg);
  border: 2px dashed var(--color-terracotta);
}

.location__driver-title {
  font-family: var(--font-accent);
  font-size: var(--text-lg);
  color: var(--color-terracotta);
  margin-bottom: var(--space-2);
}

.location__driver-subtitle {
  font-size: var(--text-sm);
  color: var(--color-charred-light);
  margin-bottom: var(--space-3);
}

.location__driver-text {
  font-size: var(--text-sm);
  color: var(--color-charred-light);
  margin-bottom: 0;
}

.location__driver-actions {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-4);
  flex-wrap: wrap;
}

/* -------------------------------------------------------------------------
   GALLERY PAGE
   ------------------------------------------------------------------------- */

.gallery {
  padding: var(--space-16) 0;
}

.gallery__grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(2, 1fr);
}

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

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

.gallery__item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery__item:hover img {
  transform: scale(1.05);
}

.gallery__item--featured {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(51, 51, 51, 0.7) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-base);
  display: flex;
  align-items: flex-end;
  padding: var(--space-4);
}

.gallery__item:hover .gallery__overlay {
  opacity: 1;
}

.gallery__caption {
  color: white;
  font-size: var(--text-sm);
}

/* -------------------------------------------------------------------------
   CONTACT SECTION
   ------------------------------------------------------------------------- */

.contact {
  padding: var(--space-16) 0;
}

.contact__grid {
  display: grid;
  gap: var(--space-8);
}

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

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

.contact__card {
  background-color: var(--color-dough-cream-light);
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  text-align: center;
  transition: all var(--transition-base);
}

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

.contact__icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--space-4);
  color: var(--color-paddy-emerald);
}

.contact__card h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}

.contact__card p {
  color: var(--color-charred-light);
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
}

/* -------------------------------------------------------------------------
   CTA SECTION
   ------------------------------------------------------------------------- */

.cta {
  background: linear-gradient(135deg, var(--color-charred) 0%, #1a1a1a 100%);
  padding: var(--space-16) 0;
  text-align: center;
}

.cta__content {
  max-width: 600px;
  margin: 0 auto;
}

.cta__title {
  color: white;
  margin-bottom: var(--space-4);
}

.cta__description {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-lg);
  margin-bottom: var(--space-8);
}

.cta__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: center;
}

@media (min-width: 640px) {
  .cta__actions {
    flex-direction: row;
    justify-content: center;
  }
}
/* ==========================================================================
   TANDA PIZZA - Immersive Experience Layer
   Sensory textures, micro-animations, and atmospheric effects
   ========================================================================== */

/* -------------------------------------------------------------------------
   TEXTURE OVERLAYS - Organic warmth and tactile feel
   ------------------------------------------------------------------------- */

/* Film grain texture - subtle organic noise */
.texture-grain::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

/* Paper texture - warm, handmade feel */
.texture-paper {
  position: relative;
}

.texture-paper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(224, 124, 81, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(58, 95, 11, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(245, 245, 220, 0.02) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* -------------------------------------------------------------------------
   WARM VIGNETTES - Cinematic depth and focus
   ------------------------------------------------------------------------- */

.vignette {
  position: relative;
}

.vignette::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    ellipse at center,
    transparent 40%,
    rgba(51, 51, 51, 0.15) 100%
  );
  pointer-events: none;
  z-index: 2;
}

/* Warm vignette for food sections */
.vignette--warm::after {
  background: radial-gradient(
    ellipse at center,
    transparent 50%,
    rgba(178, 34, 34, 0.08) 100%
  );
}

/* -------------------------------------------------------------------------
   HEAT SHIMMER EFFECT - Wood-fired oven warmth
   ------------------------------------------------------------------------- */

@keyframes heatShimmer {
  0%, 100% {
    transform: translateY(0) scaleY(1);
    filter: blur(0);
  }
  25% {
    transform: translateY(-1px) scaleY(1.002);
    filter: blur(0.3px);
  }
  50% {
    transform: translateY(1px) scaleY(0.998);
    filter: blur(0);
  }
  75% {
    transform: translateY(-0.5px) scaleY(1.001);
    filter: blur(0.2px);
  }
}

.heat-shimmer {
  animation: heatShimmer 3s ease-in-out infinite;
}

/* Apply heat shimmer on hover for oven/fire related elements */
.btn--cta:hover,
.heat-shimmer-hover:hover {
  animation: heatShimmer 2s ease-in-out infinite;
}

/* -------------------------------------------------------------------------
   RIPPLE EFFECT - Tactile touch feedback
   ------------------------------------------------------------------------- */

.ripple {
  position: relative;
  overflow: hidden;
}

.ripple::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: width 0.4s ease-out, height 0.4s ease-out, opacity 0.4s ease-out;
}

.ripple:active::after {
  width: 200%;
  height: 200%;
  opacity: 0;
}

/* Green ripple for nature/GF elements */
.ripple--green::after {
  background: rgba(58, 95, 11, 0.2);
}

/* -------------------------------------------------------------------------
   FLOAT ANIMATION - Gentle organic movement
   ------------------------------------------------------------------------- */

@keyframes gentleFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.float {
  animation: gentleFloat 4s ease-in-out infinite;
}

.float--slow {
  animation: gentleFloat 6s ease-in-out infinite;
}

.float--delay-1 {
  animation-delay: 0.5s;
}

.float--delay-2 {
  animation-delay: 1s;
}

.float--delay-3 {
  animation-delay: 1.5s;
}

/* -------------------------------------------------------------------------
   PARALLAX DEPTH LAYERS
   ------------------------------------------------------------------------- */

.parallax-container {
  perspective: 1000px;
  overflow: hidden;
}

.parallax-layer {
  will-change: transform;
  transition: transform 0.1s ease-out;
}

.parallax-layer--back {
  transform: translateZ(-100px) scale(1.1);
}

.parallax-layer--mid {
  transform: translateZ(-50px) scale(1.05);
}

.parallax-layer--front {
  transform: translateZ(0);
}

/* -------------------------------------------------------------------------
   GLOW EFFECTS - Warm atmospheric lighting
   ------------------------------------------------------------------------- */

.glow-warm {
  box-shadow:
    0 0 20px rgba(224, 124, 81, 0.15),
    0 0 40px rgba(224, 124, 81, 0.1),
    0 0 60px rgba(224, 124, 81, 0.05);
}

.glow-fire {
  box-shadow:
    0 0 15px rgba(178, 34, 34, 0.2),
    0 0 30px rgba(224, 124, 81, 0.15),
    0 0 45px rgba(178, 34, 34, 0.1);
}

.glow-green {
  box-shadow:
    0 0 20px rgba(58, 95, 11, 0.15),
    0 0 40px rgba(58, 95, 11, 0.1);
}

/* -------------------------------------------------------------------------
   SECTION BACKGROUNDS - Layered warmth
   ------------------------------------------------------------------------- */

/* Warm gradient section */
.section--warm {
  background: linear-gradient(
    180deg,
    var(--color-dough-cream) 0%,
    rgba(224, 124, 81, 0.05) 50%,
    var(--color-dough-cream) 100%
  );
}

/* Rice paddy inspired gradient */
.section--paddy {
  background: linear-gradient(
    180deg,
    rgba(58, 95, 11, 0.03) 0%,
    var(--color-dough-cream) 30%,
    var(--color-dough-cream) 70%,
    rgba(58, 95, 11, 0.05) 100%
  );
}

/* Terracotta warmth */
.section--terracotta {
  position: relative;
  background:
    linear-gradient(135deg, rgba(224, 124, 81, 0.08) 0%, transparent 50%),
    linear-gradient(225deg, rgba(178, 34, 34, 0.05) 0%, transparent 50%),
    var(--color-dough-cream);
}

/* -------------------------------------------------------------------------
   DECORATIVE SHAPES - Organic visual interest
   ------------------------------------------------------------------------- */

.deco-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.5;
}

.deco-circle--terracotta {
  background: radial-gradient(circle, rgba(224, 124, 81, 0.1) 0%, transparent 70%);
}

.deco-circle--green {
  background: radial-gradient(circle, rgba(58, 95, 11, 0.08) 0%, transparent 70%);
}

.deco-circle--cream {
  background: radial-gradient(circle, rgba(245, 245, 220, 0.3) 0%, transparent 70%);
}

/* Decorative circle size/position modifiers */
.deco-circle--lg {
  width: 400px;
  height: 400px;
}

.deco-circle--md {
  width: 300px;
  height: 300px;
}

.deco-circle--top-right {
  top: -100px;
  right: -150px;
}

.deco-circle--bottom-left {
  bottom: -80px;
  left: -100px;
}

/* -------------------------------------------------------------------------
   REVEAL ANIMATIONS - Scroll-triggered entrances
   ------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal--left {
  transform: translateX(-30px);
}

.reveal--right {
  transform: translateX(30px);
}

.reveal--scale {
  transform: scale(0.95);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* Staggered reveals */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal-stagger.revealed > *:nth-child(1) { transition-delay: 0.1s; }
.reveal-stagger.revealed > *:nth-child(2) { transition-delay: 0.2s; }
.reveal-stagger.revealed > *:nth-child(3) { transition-delay: 0.3s; }
.reveal-stagger.revealed > *:nth-child(4) { transition-delay: 0.4s; }
.reveal-stagger.revealed > *:nth-child(5) { transition-delay: 0.5s; }
.reveal-stagger.revealed > *:nth-child(6) { transition-delay: 0.6s; }

.reveal-stagger.revealed > * {
  opacity: 1;
  transform: translateY(0);
}

/* -------------------------------------------------------------------------
   BUTTON ENHANCEMENTS - Tactile micro-interactions
   ------------------------------------------------------------------------- */

/* Enhanced press effect */
.btn {
  transition: all var(--transition-base), transform 0.1s ease-out;
}

.btn:active:not(:disabled) {
  transform: scale(0.97);
}

/* WhatsApp pulse animation for CTAs */
@keyframes whatsappPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
}

.btn--whatsapp {
  position: relative;
}

.btn--whatsapp::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  animation: whatsappPulse 2s ease-in-out infinite;
  pointer-events: none;
}

/* Heat effect on CTA buttons */
.btn--cta::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    45deg,
    rgba(178, 34, 34, 0.3),
    rgba(224, 124, 81, 0.3),
    rgba(178, 34, 34, 0.3)
  );
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity var(--transition-base);
  filter: blur(8px);
}

.btn--cta:hover::after {
  opacity: 1;
}

/* -------------------------------------------------------------------------
   CARD HOVER EFFECTS - Depth and interaction
   ------------------------------------------------------------------------- */

.card-lift {
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

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

/* -------------------------------------------------------------------------
   IMAGE MASKS - Organic shapes
   ------------------------------------------------------------------------- */

.mask-organic {
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' d='M44.7,-76.4C58.8,-69.2,71.8,-59.1,79.6,-45.8C87.4,-32.5,90,-16.3,88.5,-0.9C87,14.5,81.4,29,73.1,42.1C64.8,55.2,53.8,66.9,40.5,74.2C27.2,81.5,11.6,84.4,-3.1,89.6C-17.8,94.8,-35.6,102.3,-49.2,97.9C-62.8,93.5,-72.2,77.2,-77.4,60.6C-82.6,44,-83.6,27.1,-83.9,10.5C-84.2,-6.1,-83.8,-22.4,-78.1,-36.8C-72.4,-51.2,-61.4,-63.7,-47.8,-71.2C-34.2,-78.7,-17.1,-81.2,-0.6,-80.2C15.9,-79.2,31.8,-74.7,44.7,-76.4Z' transform='translate(100 100)'/%3E%3C/svg%3E");
  mask-size: cover;
  mask-position: center;
}

/* -------------------------------------------------------------------------
   DRIVER CARD - Above the fold, "hidden gem" feel
   ------------------------------------------------------------------------- */

.driver-card-mini {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  font-size: var(--text-sm);
  cursor: pointer;
  transition: all var(--transition-base);
  border: 1px solid rgba(58, 95, 11, 0.1);
}

.driver-card-mini:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.driver-card-mini__icon {
  width: 32px;
  height: 32px;
  background: var(--color-paddy-emerald);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.driver-card-mini__text {
  color: var(--color-charred);
  font-weight: var(--font-medium);
}

.driver-card-mini__hint {
  color: var(--color-charred-light);
  font-size: var(--text-sm);
}

/* -------------------------------------------------------------------------
   LOADING SHIMMER - Content placeholder
   ------------------------------------------------------------------------- */

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.shimmer {
  background: linear-gradient(
    90deg,
    rgba(245, 245, 220, 0) 0%,
    rgba(245, 245, 220, 0.5) 50%,
    rgba(245, 245, 220, 0) 100%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
}

/* -------------------------------------------------------------------------
   REDUCED MOTION - Accessibility
   ------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .heat-shimmer,
  .float,
  .float--slow,
  .btn--whatsapp::before,
  .shimmer {
    animation: none;
  }

  .reveal,
  .reveal--left,
  .reveal--right,
  .reveal--scale,
  .reveal-stagger > * {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .card-lift:hover {
    transform: none;
  }
}
/* ==========================================================================
   PRINT STYLES
   Clean printing for menu, location info, and essential content
   ========================================================================== */

@media print {
  /* Hide interactive/decorative elements */
  .header,
  .mobile-nav,
  .bottom-bar,
  .footer__social,
  .footer__lang,
  .lang-toggle,
  .menu-toggle,
  .skip-link,
  .btn--whatsapp,
  .btn--primary,
  .btn--secondary,
  .btn--ghost,
  .hero__scroll,
  .ig-feed,
  .lightbox,
  .modal,
  .toast,
  .deco-circle,
  .texture-grain,
  .texture-paper,
  .vignette,
  .vignette--warm,
  .parallax-container,
  .driver-card-mini,
  .gf-hero,
  .cta {
    display: none !important;
  }

  /* Reset backgrounds and colors for ink saving */
  *,
  *::before,
  *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  /* Ensure readable text */
  body {
    font-size: 12pt;
    line-height: 1.5;
  }

  /* Page margins */
  @page {
    margin: 2cm;
  }

  /* Links - show URL for external links */
  a[href^="http"]::after,
  a[href^="https"]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    font-weight: normal;
  }

  /* Don't show URL for internal links */
  a[href^="/"]::after,
  a[href^="#"]::after,
  a[href^="pages/"]::after,
  a[href^="../"]::after {
    content: none;
  }

  /* Images */
  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }

  /* Prevent orphans and widows */
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  /* Keep headings with content */
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    page-break-after: avoid;
  }

  /* Menu items - clean layout */
  .menu-item {
    border: 1px solid #ccc !important;
    padding: 0.5cm !important;
    margin-bottom: 0.5cm !important;
    page-break-inside: avoid;
  }

  .menu-item__header {
    border-bottom: 1px solid #eee !important;
    padding-bottom: 0.25cm !important;
    margin-bottom: 0.25cm !important;
  }

  .menu-item__name {
    font-weight: bold !important;
  }

  .menu-item__price {
    font-weight: bold !important;
  }

  /* Badges */
  .badge {
    border: 1px solid #666 !important;
    padding: 0.1cm 0.2cm !important;
    font-size: 0.8em !important;
  }

  /* Section headers */
  .section__title,
  .menu-category__title {
    font-size: 18pt !important;
    border-bottom: 2px solid #000 !important;
    padding-bottom: 0.25cm !important;
    margin-bottom: 0.5cm !important;
  }

  /* Gallery - simple grid */
  .gallery__grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.5cm !important;
  }

  .gallery__item {
    break-inside: avoid;
  }

  .gallery__item--featured {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }

  .gallery__overlay {
    display: none !important;
  }

  /* Location info */
  .location__grid {
    display: block !important;
  }

  .location__map {
    display: none !important;
  }

  .location__info {
    border: 1px solid #ccc !important;
    padding: 0.5cm !important;
  }

  .location__driver-card {
    border: 2px solid #000 !important;
    padding: 0.5cm !important;
    margin-top: 0.5cm !important;
  }

  /* Footer - simplified */
  .footer {
    border-top: 1px solid #ccc !important;
    padding-top: 0.5cm !important;
    margin-top: 1cm !important;
  }

  .footer__grid {
    display: block !important;
  }

  .footer__column {
    margin-bottom: 0.5cm !important;
  }

  /* Show print-friendly header (uses localizable HTML element) */
  .print-header {
    display: block !important;
    font-size: 18pt;
    font-weight: bold;
    text-align: center;
    margin-bottom: 1cm;
    border-bottom: 2px solid #000;
    padding-bottom: 0.5cm;
  }

  /* Contact info always visible */
  .footer__contact-item {
    margin-bottom: 0.25cm !important;
  }
}
