/**
 * Pizzeria Roma — Premium layer
 * Loaded after main.css. Minimal, cinematic design: dark video hero,
 * restrained typography, prominent order CTA, 3D interaction styles
 * backing premium.js, and the upgraded digital menu.
 */

/*==============================================================
# BRIGHT MINIMAL THEME
# Airy off-white surfaces, a single grotesque typeface (Inter),
# ink text, and orange reserved as the one accent (the order CTA).
==============================================================*/

/*--------------------------------------------------------------
# Design tokens
--------------------------------------------------------------*/
:root {
  --default-font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --heading-font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --nav-font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --background-color: #ffffff;
  --default-color: #1d1b19;
  --heading-color: #100f0e;
  --accent-color: #e8521e;
  --surface-color: #ffffff;

  --ink-soft: color-mix(in srgb, var(--default-color), transparent 38%);
  --ink-faint: color-mix(in srgb, var(--default-color), transparent 62%);
  --hairline: color-mix(in srgb, var(--default-color), transparent 90%);
  --hairline-strong: color-mix(in srgb, var(--default-color), transparent 82%);
  --tint: #f6f5f2;
}

.light-background {
  --background-color: #f7f6f3;
  --surface-color: #ffffff;
}

body {
  font-family: var(--default-font);
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.text-gradient {
  color: var(--accent-color);
  -webkit-text-fill-color: currentColor;
}

/*--------------------------------------------------------------
# Selection & scrollbar
--------------------------------------------------------------*/
::selection {
  background: var(--accent-color);
  color: #ffffff;
}

::-webkit-scrollbar {
  width: 9px;
}

::-webkit-scrollbar-track {
  background: var(--tint);
}

::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--default-color), transparent 72%);
  border-radius: 8px;
  border: 2px solid var(--tint);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-color);
}

/*--------------------------------------------------------------
# Scroll progress bar
--------------------------------------------------------------*/
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-color), #f5a623);
  transform: scaleX(0);
  transform-origin: 0 50%;
  z-index: 1100;
  pointer-events: none;
}

/*--------------------------------------------------------------
# Header — transparent over hero, glass once scrolled
--------------------------------------------------------------*/
.index-page .header {
  background: transparent;
  box-shadow: none;
  transition: background-color 0.45s ease, box-shadow 0.45s ease, backdrop-filter 0.45s ease;
}

.index-page:not(.scrolled) .header {
  --nav-color: rgba(255, 255, 255, 0.8);
  --nav-hover-color: #ffffff;
}

.index-page:not(.scrolled) .header .sitename {
  color: #ffffff;
}

/* full badge logo has its own aspect ratio — give it room and drop a soft
   halo so it stays legible over the dark video before the header turns solid */
.header .logo img {
  width: auto;
  height: 56px;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35));
}

.index-page.scrolled .header .logo img {
  filter: none;
}

.index-page.scrolled .header {
  background: rgba(255, 249, 247, 0.82);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 10px 40px -12px rgba(41, 24, 18, 0.16);
}

@media (min-width: 1200px) {
  .navmenu a {
    position: relative;
  }

  .navmenu a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--accent-color);
    transform: translateX(-50%);
    transition: width 0.3s ease;
  }

  .navmenu a:hover::after,
  .navmenu a.active::after {
    width: 100%;
  }
}

/*--------------------------------------------------------------
# Hero — full-bleed video, cinematic overlay
--------------------------------------------------------------*/
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 140px 0 110px;
  overflow: hidden;
}

.hero .hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #0c0908;
}

.hero .hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* portrait phone footage upscaled to a wide hero looks pixelated;
     a light blur + saturation hides the compression artifacts. the extra
     scale keeps blurred edges off-screen. */
  transform: scale(1.14);
  filter: blur(2px) saturate(1.08) contrast(1.03);
  will-change: transform;
}

.hero .hero-overlay {
  position: absolute;
  inset: 0;
  /* keep just enough scrim behind the left-aligned text for legibility,
     but let most of the footage show through clearly */
  background:
    linear-gradient(100deg, rgba(12, 9, 8, 0.58) 0%, rgba(12, 9, 8, 0.24) 42%, rgba(12, 9, 8, 0) 78%),
    linear-gradient(to top, rgba(12, 9, 8, 0.42) 0%, transparent 32%);
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero .hero-inner {
  max-width: 660px;
  will-change: transform, opacity;
}

.hero .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--nav-font);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 22px;
}

.hero .hero-eyebrow::before {
  content: "";
  width: 38px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-color), transparent);
}

.hero .hero-title {
  font-size: clamp(44px, 6.4vw, 80px);
  line-height: 1.07;
  letter-spacing: -1px;
  color: #ffffff;
  margin-bottom: 24px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55), 0 2px 36px rgba(0, 0, 0, 0.4);
}

.hero .hero-subtitle {
  font-size: 18px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.86);
  max-width: 520px;
  margin-bottom: 38px;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.4);
}

.hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-bottom: 46px;
}

.hero .hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.68);
}

.hero .hero-meta i {
  color: var(--accent-color);
  margin-right: 8px;
}

.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 14px;
  z-index: 2;
  transition: border-color 0.3s ease;
}

.hero-scroll-cue:hover {
  border-color: #ffffff;
}

.hero-scroll-cue span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: #ffffff;
  animation: cue-drop 2.2s ease-in-out infinite;
}

@keyframes cue-drop {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  70% {
    transform: translateY(14px);
    opacity: 0;
  }

  100% {
    transform: translateY(14px);
    opacity: 0;
  }
}

@media (max-width: 575px) {
  .hero {
    padding: 120px 0 90px;
  }
}

/*--------------------------------------------------------------
# Order CTA — the one button that matters
--------------------------------------------------------------*/
.btn-order {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #f0793f, #e2511d);
  color: #ffffff;
  font-family: var(--nav-font);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.4px;
  border-radius: 60px;
  padding: 15px 34px;
  box-shadow: 0 16px 38px -12px rgba(235, 95, 45, 0.55);
  will-change: transform;
  transition: box-shadow 0.3s ease, filter 0.3s ease;
}

.btn-order::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  animation: order-pulse 2.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
}

.btn-order:hover,
.btn-order:focus {
  color: #ffffff;
  filter: brightness(1.07);
  box-shadow: 0 22px 48px -12px rgba(235, 95, 45, 0.65);
}

.btn-order .bi-arrow-right {
  font-size: 1.05em;
  transition: transform 0.3s ease;
}

.btn-order:hover .bi-arrow-right {
  transform: translateX(5px);
}

.btn-order-lg {
  padding: 18px 42px;
  font-size: 16.5px;
}

.btn-order-sm {
  padding: 10px 24px;
  font-size: 14px;
  box-shadow: 0 10px 26px -10px rgba(235, 95, 45, 0.55);
}

@keyframes order-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(235, 95, 45, 0.45);
  }

  60% {
    box-shadow: 0 0 0 16px rgba(235, 95, 45, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(235, 95, 45, 0);
  }
}

/* Ghost secondary button on dark backgrounds */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  color: #ffffff;
  font-family: var(--nav-font);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.4px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 60px;
  padding: 14px 32px;
  will-change: transform;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-ghost:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.85);
}

/*--------------------------------------------------------------
# 3D tilt cards (driven by premium.js)
--------------------------------------------------------------*/
.tilt-3d {
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
}

.tilt-glare {
  position: absolute;
  inset: 0;
  z-index: 5;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.tilt-3d.tilt-active .tilt-glare {
  opacity: 1;
}

.tilt-3d.tilt-active {
  box-shadow: 0 30px 60px -18px rgba(41, 24, 18, 0.28);
  z-index: 10;
}

/*--------------------------------------------------------------
# 3D scroll reveal (driven by premium.js)
--------------------------------------------------------------*/
.reveal-3d {
  opacity: 0;
  transform: perspective(1000px) rotateX(9deg) translateY(46px);
  transform-origin: center 85%;
  transition: opacity 0.7s ease var(--reveal-delay, 0s),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0s);
  will-change: transform, opacity;
}

.reveal-3d.revealed {
  opacity: 1;
  transform: none;
}

/*--------------------------------------------------------------
# Digital menu — toolbar, sticky tabs, dotted leaders
--------------------------------------------------------------*/
.menu .menu-toolbar {
  display: flex;
  gap: 12px;
  max-width: 720px;
  margin: 0 auto 28px;
}

.menu .menu-search {
  position: relative;
  flex: 1;
}

.menu .menu-search>.bi-search {
  position: absolute;
  left: 19px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-color);
  pointer-events: none;
}

.menu .menu-search input {
  width: 100%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 84%);
  border-radius: 50px;
  background: var(--surface-color);
  color: var(--default-color);
  font-size: 15px;
  padding: 13px 46px 13px 48px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.menu .menu-search input:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-color), transparent 86%);
}

.menu .menu-search input::-webkit-search-cancel-button {
  display: none;
}

.menu .menu-search-clear {
  position: absolute;
  right: 9px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: color-mix(in srgb, var(--default-color), transparent 90%);
  color: var(--default-color);
  font-size: 13px;
  cursor: pointer;
  transition: background-color 0.25s ease;
}

.menu .menu-search-clear:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 80%);
}

.menu .menu-veg-toggle {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid color-mix(in srgb, #2f9e44, transparent 60%);
  border-radius: 50px;
  background: var(--surface-color);
  color: #237a38;
  font-size: 14px;
  font-weight: 600;
  padding: 0 20px;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.menu .menu-veg-toggle[aria-pressed="true"] {
  background: #2f9e44;
  border-color: #2f9e44;
  color: #ffffff;
  box-shadow: 0 10px 24px -10px rgba(47, 158, 68, 0.6);
}

@media (max-width: 575px) {
  .menu .menu-toolbar {
    flex-direction: column;
  }

  .menu .menu-veg-toggle {
    justify-content: center;
    padding: 11px 20px;
  }
}

/* Category tabs: one sticky, horizontally scrollable row */
.menu .menu-json .menu-category-tabs {
  position: sticky;
  top: 88px;
  z-index: 90;
  flex-wrap: nowrap;
  overflow-x: auto;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 34px;
  padding: 10px;
  background: rgba(255, 249, 247, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-radius: 60px;
  box-shadow: 0 14px 34px -20px rgba(41, 24, 18, 0.35);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

.menu .menu-json .menu-category-tabs::-webkit-scrollbar {
  display: none;
}

.menu .menu-json .menu-category-tabs .nav-item {
  flex: 0 0 auto;
}

.menu .menu-json .menu-category-tabs .nav-link {
  border-radius: 50px;
  white-space: nowrap;
}

.menu .menu-json .menu-category-tabs .nav-link.active {
  box-shadow: 0 10px 24px -8px rgba(235, 95, 45, 0.5);
}

@media (max-width: 575px) {
  .menu .menu-json .menu-category-tabs {
    top: 70px;
    border-radius: 24px;
  }
}

/* Menu items: dotted price leaders, calm cards */
.menu .menu-json .menu-list-item {
  display: block;
  min-height: 0;
  padding: 16px 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.menu .menu-json .menu-list-item:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent-color), transparent 55%);
  box-shadow: 0 16px 34px -14px rgba(41, 24, 18, 0.2);
}

.menu .menu-json .menu-item-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.menu .menu-json .menu-item-row h4 {
  color: var(--heading-color);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

.menu .menu-json .menu-leader {
  flex: 1 1 auto;
  min-width: 18px;
  border-bottom: 2px dotted color-mix(in srgb, var(--default-color), transparent 76%);
  transform: translateY(-4px);
}

.menu .menu-json .menu-item-row .menu-list-tag {
  align-self: center;
}

.menu .menu-json .menu-list-description {
  margin-top: 7px;
}

.menu .menu-json mark {
  background: color-mix(in srgb, var(--accent-color), transparent 76%);
  color: inherit;
  border-radius: 3px;
  padding: 0 2px;
}

/* 3D swing-in when switching categories */
.menu .menu-json .tab-pane.pane-3d-in {
  animation: pane-swing 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  transform-origin: top center;
}

@keyframes pane-swing {
  from {
    opacity: 0;
    transform: perspective(900px) rotateX(6deg) translateY(26px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* Search / filter results */
.menu .menu-results-meta {
  text-align: center;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-bottom: 28px;
}

.menu .menu-results-meta strong {
  color: var(--accent-color);
}

.menu .menu-results-group {
  margin-bottom: 38px;
}

.menu .menu-results-group>h3 {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 24px;
  margin-bottom: 16px;
}

.menu .menu-results-group>h3 .count {
  font-family: var(--default-font);
  font-size: 13px;
  font-weight: 600;
  color: color-mix(in srgb, var(--default-color), transparent 45%);
}

.menu .menu-empty {
  text-align: center;
  padding: 48px 16px;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
}

.menu .menu-empty i {
  display: block;
  font-size: 40px;
  color: color-mix(in srgb, var(--accent-color), transparent 40%);
  margin-bottom: 12px;
}

/*--------------------------------------------------------------
# Footer & small polish
--------------------------------------------------------------*/
.footer {
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(235, 95, 45, 0.4), transparent);
}

.footer .hours-plain li {
  padding: 5px 0;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
}

.gallery .gallery-item .gallery-wrap,
.location .contact-sidebar .contact-card {
  will-change: transform;
}

/*--------------------------------------------------------------
# Reduced motion
--------------------------------------------------------------*/
@media (prefers-reduced-motion: reduce) {

  .btn-order::before,
  .hero-scroll-cue span {
    animation: none !important;
  }

  .reveal-3d {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .menu .menu-json .tab-pane.pane-3d-in {
    animation: none;
  }
}

/*==============================================================
# BRIGHT MINIMAL — component overrides
# Appended last so these win over the earlier premium rules.
==============================================================*/

/* Generous breathing room everywhere except the full-height hero */
.section:not(.hero) {
  padding: 104px 0;
}

@media (max-width: 768px) {
  .section:not(.hero) {
    padding: 68px 0;
  }
}

/* --- Section titles: editorial, no ornaments ------------------ */
.section-title {
  max-width: 760px;
  margin-bottom: 56px;
  padding: 0;
}

.section-title h2 {
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--heading-color);
  padding: 0;
  margin: 0 0 16px;
  text-transform: none;
}

.section-title h2::before,
.section-title h2::after {
  display: none !important;
}

.section-title p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
  text-transform: none;
}

/* subtitles stay ink, not orange, to keep the palette restrained */
.about .section-header .subtitle,
.location .content-header .subtitle {
  color: var(--ink-soft);
  font-weight: 400;
}

/* small uppercase kicker via the inline section headers too */
.about .section-header h2,
.location .content-header h2,
.events .event-hero-content h2,
.chefs .chef-content h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.06;
}

/* --- Hero: lighter, grotesque, pared back -------------------- */
.hero .hero-eyebrow {
  letter-spacing: 2.5px;
  font-weight: 500;
  font-size: 12px;
}

.hero .hero-title {
  font-weight: 600;
  letter-spacing: -0.035em;
  font-size: clamp(46px, 6.6vw, 84px);
}

.hero .hero-subtitle {
  font-weight: 300;
  font-size: 18px;
}

/* --- Buttons: ink-minimal, orange reserved for the order CTA --- */
.btn.btn-outline,
.about .cta-buttons .btn.btn-outline {
  border: 1px solid var(--hairline-strong);
  background: transparent;
  color: var(--heading-color);
  border-radius: 50px;
  font-family: var(--nav-font);
  font-weight: 500;
  letter-spacing: 0;
  padding: 13px 30px;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn.btn-outline:hover,
.about .cta-buttons .btn.btn-outline:hover {
  background: var(--heading-color);
  border-color: var(--heading-color);
  color: #ffffff;
}

.btn-download {
  background: transparent !important;
  border: 1px solid var(--hairline-strong);
  color: var(--heading-color) !important;
  border-radius: 50px;
  font-weight: 500;
  box-shadow: none;
  padding: 14px 30px;
}

.btn-download::before {
  display: none;
}

.btn-download:hover {
  background: var(--heading-color) !important;
  border-color: var(--heading-color);
  color: #ffffff !important;
}

/* --- Generic card flattening: thin hairlines, no heavy shadow - */
.about .about-image img,
.chefs .image-frame,
.chefs .image-frame img,
.events .event-hero-image img,
.events .welcome-image img,
.gallery .gallery-item .gallery-wrap,
.location .map-wrapper {
  border-radius: 14px;
}

.about .about-image img,
.events .event-hero-image img,
.events .welcome-image img {
  box-shadow: 0 24px 60px -34px rgba(16, 15, 14, 0.5);
}

.gallery .gallery-item .gallery-wrap {
  box-shadow: none;
  border: 1px solid var(--hairline);
}

/* Experience badge: minimal pill, not a sticker */
.about .about-image .experience-badge {
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--heading-color);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  box-shadow: 0 12px 30px -16px rgba(16, 15, 14, 0.35);
}

.about .about-image .experience-badge .years,
.about .about-image .experience-badge .text {
  color: var(--heading-color);
}

.about .about-image .experience-badge .years {
  color: var(--accent-color);
}

/* Chef badge / stat numbers: neutral with single accent */
.chefs .chef-content .chef-badge {
  background: var(--tint);
  color: var(--heading-color);
  border: 1px solid var(--hairline);
}

.chefs .chef-content .chef-badge i {
  color: var(--accent-color);
}

.chefs .experience-years .number,
.events .event-stats .stat-item .stat-number {
  color: var(--heading-color);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.events .event-stats .stat-item .stat-number::after {
  color: var(--accent-color);
}

/* Location contact cards + sidebar: flat, hairline framed */
.location .contact-sidebar .contact-card {
  background: var(--surface-color);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  box-shadow: none;
}

.location .contact-sidebar .contact-card .card-icon {
  background: var(--tint);
  color: var(--accent-color);
  box-shadow: none;
}

.location .contact-sidebar .contact-card .card-icon i {
  color: var(--accent-color);
}

/* Contact section card */
.contact .contact-card {
  background: var(--surface-color);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  box-shadow: none;
}

.contact .contact-info .contact-item i,
.contact .social-links a,
.footer .social-links a {
  color: var(--accent-color);
}

/* --- Digital menu: calm, hairline-framed -------------------- */
.menu .menu-search input,
.menu .menu-veg-toggle {
  border-radius: 12px;
  border-color: var(--hairline-strong);
}

.menu .menu-json .menu-category-tabs {
  background: color-mix(in srgb, var(--background-color), transparent 14%);
  border: 1px solid var(--hairline);
  box-shadow: none;
  border-radius: 14px;
  padding: 8px;
}

.menu .menu-json .menu-category-tabs .nav-link {
  background: transparent;
  border: 1px solid transparent;
  color: var(--ink-soft);
  border-radius: 9px;
  font-weight: 500;
}

.menu .menu-json .menu-category-tabs .nav-link:hover {
  background: var(--tint);
  border-color: var(--tint);
  color: var(--heading-color);
  box-shadow: none;
}

.menu .menu-json .menu-category-tabs .nav-link.active {
  background: var(--heading-color);
  border-color: var(--heading-color);
  color: #ffffff;
  box-shadow: none;
}

.menu .menu-json .menu-category-tabs .nav-link.active i {
  color: #ffffff;
}

.menu .menu-json .menu-list-item {
  border: 1px solid var(--hairline);
  border-radius: 12px;
  box-shadow: none;
}

.menu .menu-json .menu-list-item:hover {
  border-color: var(--hairline-strong);
  box-shadow: 0 14px 30px -22px rgba(16, 15, 14, 0.4);
}

.menu .menu-json .menu-list-price {
  color: var(--heading-color);
  font-weight: 600;
}

.menu .menu-json .menu-category-header h3 {
  font-weight: 600;
}

/* --- Header & footer trim ----------------------------------- */
.index-page.scrolled .header {
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 1px 0 0 var(--hairline);
}

.header .sitename {
  font-weight: 600 !important;
  letter-spacing: -0.02em;
}

.footer::before {
  background: var(--hairline);
}

/* Gallery filter pills: minimal */
.gallery .gallery-filters li {
  border-radius: 50px;
}

.gallery .gallery-filters li.filter-active {
  background: var(--heading-color);
  color: #ffffff;
}

/*==============================================================
# Reservation section
==============================================================*/
.reservation .reservation-card,
.reservation .reservation-info-card {
  background: var(--surface-color);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 38px 36px;
}

.reservation .reservation-card > h3,
.reservation .reservation-info-card > h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 26px;
}

/* Form layout */
.reservation .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.reservation .form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
}

.reservation .form-grid .form-field {
  margin-bottom: 0;
}

.reservation .form-field label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 9px;
}

.reservation .form-field input,
.reservation .form-field select,
.reservation .form-field textarea {
  width: 100%;
  font-family: var(--default-font);
  font-size: 15px;
  color: var(--heading-color);
  background: var(--background-color);
  border: 1px solid var(--hairline-strong);
  border-radius: 12px;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
  -webkit-appearance: none;
  appearance: none;
}

.reservation .form-field textarea {
  resize: vertical;
  min-height: 118px;
}

.reservation .form-field input::placeholder,
.reservation .form-field textarea::placeholder {
  color: var(--ink-faint);
}

.reservation .form-field input:focus,
.reservation .form-field select:focus,
.reservation .form-field textarea:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-color), transparent 88%);
}

/* custom select chevron */
.reservation .form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 16 16' fill='none' stroke='%23999' stroke-width='1.6'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
  cursor: pointer;
}

/* Primary reserve button — orange accent, full width */
.btn-reserve {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 8px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #f0793f, #e2511d);
  color: #ffffff;
  font-family: var(--nav-font);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  border-radius: 50px;
  padding: 16px 28px;
  box-shadow: 0 16px 34px -14px rgba(226, 81, 29, 0.6);
  transition: filter 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.btn-reserve:hover {
  filter: brightness(1.06);
  box-shadow: 0 20px 42px -14px rgba(226, 81, 29, 0.7);
}

.btn-reserve i {
  font-size: 1.1em;
}

.btn-reserve .btn-reserve-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-reserve[disabled] {
  cursor: default;
  filter: saturate(0.8);
}

.btn-reserve .btn-reserve-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: btn-spin 0.7s linear infinite;
}

.btn-reserve.is-loading .btn-reserve-label {
  display: none;
}

.btn-reserve.is-loading .btn-reserve-spinner {
  display: inline-block;
}

@keyframes btn-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Status messages */
.reservation-status {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 14.5px;
  line-height: 1.5;
  border: 1px solid transparent;
}

.reservation-status--success {
  background: color-mix(in srgb, #2f9e44, transparent 90%);
  border-color: color-mix(in srgb, #2f9e44, transparent 70%);
  color: #1d6b2c;
}

.reservation-status--error {
  background: color-mix(in srgb, #e03131, transparent 92%);
  border-color: color-mix(in srgb, #e03131, transparent 74%);
  color: #b02323;
}

.reservation .reservation-note {
  display: flex;
  align-items: center;
  gap: 7px;
  justify-content: center;
  font-size: 13px;
  color: var(--ink-faint);
  margin: 18px 0 0;
}

/* Info card list */
.reservation .reservation-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.reservation .reservation-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--hairline);
}

.reservation .reservation-info-list li:first-child {
  padding-top: 0;
  border-top: none;
}

.reservation .ri-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: var(--tint);
  color: var(--accent-color);
  font-size: 18px;
}

.reservation .ri-label {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 3px;
}

.reservation .ri-value {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--heading-color);
  line-height: 1.4;
}

/* WhatsApp direct */
.reservation .reservation-direct {
  text-align: center;
  font-size: 14px;
  color: var(--ink-soft);
  margin: 26px 0 14px;
}

.btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  width: 100%;
  background: #25d366;
  color: #ffffff;
  font-family: var(--nav-font);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  border-radius: 50px;
  padding: 15px 28px;
  box-shadow: 0 16px 34px -16px rgba(37, 211, 102, 0.7);
  transition: filter 0.25s ease, box-shadow 0.25s ease;
}

.btn-whatsapp:hover {
  color: #ffffff;
  filter: brightness(1.05);
  box-shadow: 0 20px 40px -16px rgba(37, 211, 102, 0.8);
}

.btn-whatsapp i {
  font-size: 1.25em;
}

.reservation .reservation-phone {
  text-align: center;
  font-size: 14px;
  color: var(--ink-soft);
  margin: 14px 0 0;
}

.reservation .reservation-phone a {
  color: var(--heading-color);
  font-weight: 600;
}

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

@media (max-width: 575px) {

  .reservation .reservation-card,
  .reservation .reservation-info-card {
    padding: 28px 22px;
  }

  .reservation .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 0;
  }

  .reservation .form-grid .form-field {
    margin-bottom: 18px;
  }
}
