/* ========== CRAVIA KITCHEN — Design System ========== */
:root {
  --background: #faf7f2;
  --foreground: #2c2c2c;
  --card: #ffffff;
  --primary: #f26327;
  --primary-glow: #dd582a;
  --primary-foreground: #faf7f2;
  --secondary: #1e0809;
  --secondary-foreground: #faf7f2;
  --muted: #efe8dd;
  --muted-foreground: #595959;
  --border: #e5dccc;
  --gradient-warm: linear-gradient(135deg, #f26327, #dd582a);
  --gradient-soft: linear-gradient(180deg, #faf7f2, #f0e8da);
  --shadow-soft: 0 4px 20px -4px rgba(120, 70, 20, 0.08);
  --shadow-warm: 0 20px 50px -15px rgba(230, 126, 34, 0.35);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.12);
  --radius: 1rem;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
  color: var(--foreground);
  background: var(--background);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}
h1,
h2,
h3,
h4 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--secondary);
}
ul {
  list-style: none;
}

/* ===== Layout helpers ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.container.narrow {
  max-width: 800px;
}
.section {
  padding: 5rem 0;
}
@media (min-width: 768px) {
  .section {
    padding: 7rem 0;
  }
  .container {
    padding: 0 2rem;
  }
}
.text-center {
  text-align: center;
}
.mt-lg {
  margin-top: 3rem;
}
.mt-md {
  margin-top: 1.25rem;
}
.muted {
  color: var(--muted-foreground);
}
.text-light {
  color: var(--secondary-foreground);
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary);
  margin-bottom: 1rem;
}
.eyebrow-glow {
  color: var(--primary-glow);
}
.italic-primary {
  color: var(--primary);
  font-style: italic;
  font-family: "Fraunces", serif;
}
.italic-glow {
  color: var(--primary-glow);
  font-style: italic;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}
.section-head p {
  margin-top: 1rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
  cursor: pointer;
}
.btn-lg {
  padding: 1rem 1.75rem;
  font-size: 1rem;
}
.btn-block {
  width: 100%;
}
.btn-primary {
  background: var(--gradient-warm);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-warm);
}
.btn-primary:hover {
  transform: scale(1.03);
}
.btn-ghost {
  background: var(--background);
  color: var(--secondary);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(250, 247, 242, 0.85);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.brand-mark {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--gradient-warm);
  display: grid;
  place-items: center;
  color: var(--primary-foreground);
  font-family: "Fraunces", serif;
  font-weight: 700;
  box-shadow: var(--shadow-warm);
}
/* .brand-logo {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-warm);
  display: block;
} */

/* YOU CAN REMOVE */
.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-logo-wrapper {
  position: relative;
  height: 2.5rem;
  width: auto; /* allow width to adapt */
}

.brand-logo {
  height: 100%;
  width: auto; /* keeps aspect ratio */
  object-fit: contain; /* ensures full logo is visible */
  border-radius: 0; /* ❌ remove circle */
  box-shadow: none; /* optional: cleaner look */
}

/* Default state (light mode) */
.brand-logo.light {
  display: block;
}

.brand-logo.dark {
  display: none;
}

/* Dark mode toggle (manual or system) */
.dark-mode .brand-logo.light {
  display: none;
}

.dark-mode .brand-logo.dark {
  display: block;
}

/* Sticky header behavior (optional like your inspiration) */
.sticky-header.sticky-fixed-top .brand-logo.light {
  display: none;
}

.sticky-header.sticky-fixed-top .brand-logo.dark {
  display: block;
}

/* Placeholder styling */
.logo-placeholder {
  display: none;
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #eee, #ccc);
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #555;
  font-size: 1rem;
}

/* REMOVE ABOVE */
.brand-name {
  font-family: "Fraunces", serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--secondary);
}
.nav-links {
  display: none;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(44, 44, 44, 0.8);
  transition: var(--transition);
}
.nav-links a:hover {
  color: var(--primary);
}
.nav-cta {
  display: none;
}
.nav-toggle {
  padding: 0.5rem;
  color: var(--secondary);
}
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  background: rgba(250, 247, 242, 0.97);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--border);
}
.mobile-menu.open {
  display: flex;
}
.mobile-menu a {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(229, 220, 204, 0.6);
}
.mobile-menu .btn {
  margin-top: 0.5rem;
}
@media (min-width: 768px) {
  .nav-links,
  .nav-cta {
    display: inline-flex;
  }
  .nav-toggle {
    display: none;
  }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 7rem 0 4rem;
  background: var(--gradient-soft);
  overflow: hidden;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
}
.hero-blob-1 {
  top: -8rem;
  right: -8rem;
  width: 480px;
  height: 480px;
  background: rgba(230, 126, 34, 0.15);
}
.hero-blob-2 {
  bottom: 0;
  left: -8rem;
  width: 420px;
  height: 420px;
  background: rgba(243, 156, 77, 0.18);
}
.hero-grid {
  position: relative;
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.hero-text h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
}
.lead {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 36rem;
}
.hero-cta {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.live-pill {
  margin-top: 2.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 1rem;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 9999px;
  box-shadow: var(--shadow-soft);
  font-size: 0.875rem;
}
.live-pill strong {
  color: var(--primary);
}
.ping {
  position: relative;
  width: 0.625rem;
  height: 0.625rem;
}
.ping span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--primary);
}
.ping span:first-child {
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
  opacity: 0.75;
}
@keyframes ping {
  75%,
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.hero-image-wrap {
  position: relative;
}
.hero-image-glow {
  position: absolute;
  inset: -1.5rem;
  background: var(--gradient-warm);
  border-radius: 2.5rem;
  opacity: 0.2;
  filter: blur(40px);
}
.hero-image {
  position: relative;
  aspect-ratio: 1;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: var(--shadow-warm);
  border: 4px solid var(--background);
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rating-card {
  position: absolute;
  bottom: -1.5rem;
  left: -1rem;
  background: var(--background);
  border-radius: 1rem;
  padding: 0.875rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-card);
}
.rating-star {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(230, 126, 34, 0.1);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
}
.rating-num {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 1.125rem;
}
.rating-sub {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* ===== Grids ===== */
.grid-4 {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.bg-soft {
  background: var(--gradient-soft);
}
.bg-dark {
  background: var(--secondary);
  color: var(--secondary-foreground);
}

/* ===== Step / Why cards ===== */
.step-card,
.why-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}
.step-card:hover,
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-warm);
}
.step-num {
  position: absolute;
  top: -1rem;
  right: 1.5rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--secondary-foreground);
  display: grid;
  place-items: center;
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 0.85rem;
}
.step-icon,
.why-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background: var(--gradient-warm);
  color: white;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-warm);
}
.why-icon {
  background: rgba(230, 126, 34, 0.1);
  color: var(--primary);
  box-shadow: none;
  border-radius: 0.875rem;
  width: 3rem;
  height: 3rem;
  font-size: 1.4rem;
}
.step-card h3,
.why-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.step-card p,
.why-card p {
  color: var(--muted-foreground);
  font-size: 0.9rem;
}

/* ===== Menu ===== */
.menu-head {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}
@media (min-width: 768px) {
  .menu-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}
.menu-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}
.filter-pill {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.375rem;
  background: var(--muted);
  border-radius: 9999px;
}
.filter-pill button {
  padding: 0.5rem 1.1rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted-foreground);
  transition: var(--transition);
}
.filter-pill button.active {
  background: var(--background);
  color: var(--primary);
  box-shadow: var(--shadow-soft);
}

.menu-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .menu-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1280px) {
  .menu-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
/* Featured grid on homepage keeps a roomier 3-up layout so cards don't feel cramped */
.featured-grid {
  gap: 2rem;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 640px) {
  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .featured-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1280px) {
  .featured-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.featured-grid .menu-card-img {
  aspect-ratio: 4 / 3;
}
.featured-grid .menu-card-body {
  padding: 1.5rem;
  gap: 0.5rem;
}
.featured-grid .menu-card h3 {
  font-size: 1.2rem;
}
.featured-grid .menu-card-desc {
  font-size: 0.92rem;
  line-height: 1.55;
}
.featured-grid .menu-card-price {
  font-size: 1.25rem;
}
.menu-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.menu-card:hover {
  box-shadow: var(--shadow-card);
}
.menu-card-img {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--muted);
}
.menu-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}
.menu-card:hover .menu-card-img img {
  transform: scale(1.1);
}
.menu-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.menu-card-top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.menu-card h3 {
  font-size: 1.05rem;
  line-height: 1.3;
}
.menu-card-cat {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  flex-shrink: 0;
}
.menu-card-desc {
  font-size: 0.85rem;
  color: var(--muted-foreground);
  flex: 1;
}
.menu-card-foot {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.menu-card-price {
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 1.1rem;
}
.menu-add {
  padding: 0.5rem 0.875rem;
  border-radius: 9999px;
  background: var(--secondary);
  color: var(--secondary-foreground);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}
.menu-add:hover {
  background: var(--primary);
}

/* ===== Order Form ===== */
.order-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .order-grid {
    grid-template-columns: 1fr 360px;
  }
}
.order-fields {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.field-row {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .field-row {
    grid-template-columns: 1fr 1fr;
  }
  .field-row-2 {
    grid-template-columns: 1fr 140px;
  }
}
.field {
  display: block;
}
.field > span {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  background: var(--background);
  color: var(--foreground);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  font-family: inherit;
  transition: var(--transition);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.2);
}
.field textarea {
  resize: vertical;
}

.pay-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .pay-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.pay-opt {
  display: block;
  padding: 0.75rem;
  border: 2px solid var(--border);
  border-radius: 0.75rem;
  cursor: pointer;
  transition: var(--transition);
}
.pay-opt:has(input:checked) {
  border-color: var(--primary);
  background: rgba(230, 126, 34, 0.05);
}
.pay-opt input {
  display: none;
}
.pay-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary);
}
.pay-info {
  font-size: 0.7rem;
  color: var(--muted-foreground);
  margin-top: 0.125rem;
}

.order-summary {
  background: var(--secondary);
  color: var(--secondary-foreground);
  border-radius: 1.5rem;
  padding: 1.75rem;
  box-shadow: var(--shadow-card);
  align-self: start;
  position: sticky;
  top: 7rem;
}
.order-summary h3 {
  color: var(--secondary-foreground);
  font-size: 1.5rem;
}
.summary-meal {
  margin-top: 1.25rem;
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.summary-meal img {
  width: 4rem;
  height: 4rem;
  border-radius: 0.75rem;
  object-fit: cover;
}
.sum-name {
  font-weight: 600;
}
.sum-sub {
  font-size: 0.85rem;
  color: rgba(250, 247, 242, 0.7);
}
.summary-rows {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(250, 247, 242, 0.15);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
}
.summary-rows .row {
  display: flex;
  justify-content: space-between;
}
.summary-rows .row.muted span {
  color: rgba(250, 247, 242, 0.6);
}
.summary-total {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(250, 247, 242, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.summary-total > span:first-child {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(250, 247, 242, 0.7);
}
.total-amount {
  font-family: "Fraunces", serif;
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--primary-glow);
}
.summary-note {
  font-size: 0.75rem;
  color: rgba(250, 247, 242, 0.6);
  text-align: center;
  margin-top: 0.75rem;
}
.order-summary .btn {
  margin-top: 1.5rem;
}

.form-error {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 0.75rem;
  background: rgba(220, 53, 69, 0.1);
  color: #b53a48;
  text-align: center;
}

/* ===== Testimonials ===== */
.testimonial-box {
  position: relative;
  margin-top: 3.5rem;
  min-height: 260px;
}
.testimonial {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(1rem);
  transition: all 0.7s;
  pointer-events: none;
}
.testimonial.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.testimonial-stars {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  color: var(--primary-glow);
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
}
.testimonial-text {
  font-family: "Fraunces", serif;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  line-height: 1.5;
}
.testimonial-author {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: rgba(250, 247, 242, 0.7);
}
.testimonial-author strong {
  color: var(--secondary-foreground);
}
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.testimonial-dots button {
  height: 0.5rem;
  width: 0.5rem;
  border-radius: 9999px;
  background: rgba(250, 247, 242, 0.3);
  transition: var(--transition);
}
.testimonial-dots button.active {
  width: 2rem;
  background: var(--primary-glow);
}

/* ===== FAQ ===== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 0 1.25rem;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}
.faq-item.open {
  box-shadow: var(--shadow-card);
}
.faq-q {
  width: 100%;
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: "Fraunces", serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--secondary);
  text-align: left;
}
.faq-q:hover {
  color: var(--primary);
}
.faq-q .chev {
  transition: transform 0.3s;
}
.faq-item.open .chev {
  transform: rotate(180deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.3s ease,
    padding 0.3s ease;
  color: var(--muted-foreground);
}
.faq-item.open .faq-a {
  max-height: 300px;
  padding-bottom: 1.25rem;
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}
.contact-card:hover {
  box-shadow: var(--shadow-card);
}
.cc-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: rgba(230, 126, 34, 0.1);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.cc-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted-foreground);
  font-weight: 600;
}
.cc-value {
  font-weight: 600;
  color: var(--secondary);
}
.contact-cta {
  display: block;
  background: var(--gradient-warm);
  color: var(--primary-foreground);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-warm);
  transition: var(--transition);
}
.contact-cta:hover {
  transform: scale(1.02);
}
.cta-title {
  font-family: "Fraunces", serif;
  font-size: 1.25rem;
  font-weight: 700;
}
.contact-cta p {
  font-size: 0.875rem;
  opacity: 0.9;
  margin-top: 0.25rem;
}
.map-wrap {
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  min-height: 380px;
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
}

/* ===== Footer ===== */
.footer {
  position: relative;
  background: var(--secondary);
  color: var(--secondary-foreground);
  overflow: hidden;
  padding: 2px 20px;
}
.footer-grid {
  padding: 5rem 0 2.5rem;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  position: relative;
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.footer h4 {
  color: var(--secondary-foreground);
  font-size: 1.125rem;
  margin-bottom: 1rem;
}
.footer ul li {
  padding: 0.35rem 0;
  color: rgba(250, 247, 242, 0.7);
  font-size: 0.875rem;
}
.footer ul li a:hover {
  color: var(--primary-glow);
}
.footer-desc {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: rgba(250, 247, 242, 0.7);
  max-width: 22rem;
}
.footer-social {
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  border-radius: 9999px;
  background: rgba(250, 247, 242, 0.1);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}
.footer-social:hover {
  background: var(--gradient-warm);
}
.footer-bottom {
  border-top: 1px solid rgba(250, 247, 242, 0.1);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(250, 247, 242, 0.5);
}

.rider {
  position: absolute;
  bottom: 4rem;
  left: 0;
  color: var(--secondary-foreground);
  animation: ride 18s linear infinite;
  opacity: 0.7; /* 👇 make it bigger */
  width: 140px;
  height: auto;
}
.rider img {
  width: 100%;
  height: auto;
  display: block;
}
@keyframes ride {
  0% {
    transform: translateX(-15%);
  }
  100% {
    transform: translateX(115vw);
  }
}
/* you can remove this */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* Logo wrapper */
.brand-logo-wrapper {
  height: clamp(2rem, 3.5vw, 2.8rem);
  width: auto;
  display: flex;
  align-items: center;
}

/* Logo itself */
.brand-logo {
  height: 100%;
  width: auto;
  object-fit: contain; /* ✅ shows full logo */
  border-radius: 0; /* ❌ remove circle */
  box-shadow: none;
}

/* Placeholder fallback */
.logo-placeholder {
  display: none;
  height: 100%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #eee, #ccc);
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #555;
  border-radius: 0.4rem;
}

/* Brand text */
.brand-name {
  font-size: clamp(0.9rem, 1.2vw, 1.1rem);
  font-weight: 600;
  color: var(--text-color);
}
/* ===== FOOTER CTA GROUP (FIXED) ===== */
.footer-cta-group {
  margin-top: 2rem;
  display: flex;
  flex-direction: column; /* 🔥 vertical layout */
  gap: 0.75rem;
  width: 100%;
  max-width: 100%;
  align-items: start;
}

/* Mobile */
@media (max-width: 600px) {
  .footer-cta-group {
    flex-direction: column;
    align-items: start;
  }

  .footer-cta-group .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ===== BUTTON IMPROVEMENTS (non-breaking override) ===== */
.btn {
  gap: 0.6rem; /* slightly better spacing */
  border-radius: 999px;
  transition: all 0.25s ease;
}

.btn .icon {
  width: 1.2rem;
  height: 1.2rem;
  stroke-width: 2;
  /* padding: 0 20; */
}

/* ===== PRIMARY BUTTON (WHATSAPP) ===== */
.btn-whatsapp {
  background: #25d366; /* stronger, consistent green */
  color: #fff;
  padding: 15px 60px;
  box-shadow: 0 10px 25px -8px rgba(37, 211, 102, 0.6);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, 0.7);
}

/* ===== SECONDARY BUTTON (GLASS EFFECT - REPLACES ghost-light visually) ===== */
.btn-outline-glass {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
}

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

/* ===== FOOTER FIX (IMPORTANT) ===== */
.footer .btn,
.contact-cta .btn {
  color: #fff; /* ensures visibility on dark background */
}
/* ===== Sticky order ===== */
.sticky-order {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 40;
  padding: 0.875rem 1.5rem;
  border-radius: 9999px;
  background: var(--gradient-warm);
  color: var(--primary-foreground);
  font-weight: 600;
  box-shadow: var(--shadow-warm);
  transition: var(--transition);
}
.sticky-order:hover {
  transform: translateX(-50%) scale(1.05);
}
@media (min-width: 768px) {
  .sticky-order {
    display: none;
  }
}

/* ===== Toast ===== */
.toast {
  position: fixed;
  top: 5.5rem;
  right: 1.25rem;
  z-index: 100;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.875rem 1.25rem;
  box-shadow: var(--shadow-card);
  font-size: 0.875rem;
  opacity: 0;
  transform: translateY(-1rem);
  transition: all 0.3s;
  pointer-events: none;
  max-width: 320px;
}
.toast.show {
  opacity: 1;
  transform: translateY(0);
}
.toast.success {
  border-left: 4px solid #10b981;
}
.toast.error {
  border-left: 4px solid #ef4444;
}

/* ===== Reveal animation ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease-out,
    transform 0.7s ease-out;
}
[data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
}

/* =================================================================
   CART, CHECKOUT MODAL, MENU META, FULL MENU PAGE (added)
   ================================================================= */

/* Cart icon button in navbar */
.cart-btn {
  position: relative;
  background: transparent;
  border: 1px solid var(--border, #e5e5e5);
  color: inherit;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  margin-right: 0.5rem;
  transition:
    background 0.2s,
    transform 0.2s;
}
.cart-btn:hover {
  background: rgba(0, 0, 0, 0.04);
  transform: translateY(-1px);
}
.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #e23a3a;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.cart-badge.show {
  display: inline-flex;
}

/* Cart drawer */
.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 1000;
}
.cart-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 92vw);
  background: #fff;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 1001;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
}
.cart-drawer.open {
  transform: translateX(0);
}
.cart-header {
  padding: 1.25rem 1.25rem 1rem;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-header h3 {
  margin: 0;
  font-size: 1.15rem;
}
.cart-close {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
  color: #666;
}
.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.25rem;
}
.cart-empty {
  text-align: center;
  padding: 2rem 0;
  color: #888;
}
.cart-empty .ce-icon {
  font-size: 2.5rem;
  opacity: 0.5;
  margin-bottom: 0.5rem;
}
.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid #f1f1f1;
}
.cart-item:last-child {
  border-bottom: none;
}
.cart-item-name {
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.3;
}
.cart-item-price {
  font-size: 0.8rem;
  color: #888;
  margin-top: 2px;
}
.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.cart-qty-btn {
  width: 28px;
  height: 28px;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}
.cart-qty-btn:hover {
  background: #f6f6f6;
}
.cart-qty {
  min-width: 22px;
  text-align: center;
  font-weight: 600;
}
.cart-remove {
  background: transparent;
  border: none;
  color: #b00;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0 0.25rem;
  line-height: 1;
}
.cart-footer {
  padding: 1rem 1.25rem 1.25rem;
  border-top: 1px solid #eee;
  background: #fafafa;
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.85rem;
  font-size: 1.1rem;
}
.cart-total-row strong {
  font-size: 1.25rem;
}
.cart-footer .btn {
  width: 100%;
}
.cart-footer .btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Checkout modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1100;
  padding: 1rem;
}
.modal-backdrop.show {
  display: flex;
}
.modal-card {
  background: #fff;
  border-radius: 14px;
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.modal-head h3 {
  margin: 0;
}
.modal-close {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #888;
  line-height: 1;
}
.modal-card .field {
  display: block;
  margin-bottom: 0.85rem;
}
.modal-card .field span {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.modal-card .field input,
.modal-card .field textarea {
  width: 100%;
  padding: 0.65rem 0.8rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font: inherit;
}

/* Menu meta line (time, serves) */
.menu-meta {
  display: flex;
  gap: 0.9rem;
  font-size: 0.8rem;
  color: #777;
  margin: 0.35rem 0 0.5rem;
}
.menu-meta i {
  margin-right: 4px;
}

/* "View full menu" CTA */
.featured-cta {
  text-align: center;
  margin-top: 2rem;
}

/* ============== FULL MENU PAGE ============== */
.menu-page-hero {
  padding: 8rem 0 2rem;
  text-align: center;
  background: linear-gradient(180deg, #fff8ec 0%, #fff 100%);
}
.menu-page-hero h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0.5rem 0;
}
.menu-page-hero p {
  color: #666;
  max-width: 540px;
  margin: 0 auto;
}

.menu-search-wrap {
  max-width: 560px;
  margin: 1.5rem auto 0;
  position: relative;
}
.menu-search-wrap input {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.6rem;
  border: 1px solid #ddd;
  border-radius: 999px;
  font: inherit;
  background: #fff;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
}
.menu-search-wrap i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
}

.category-nav {
  position: sticky;
  top: 70px;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #eee;
  padding: 0.75rem 0;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}
.category-nav .container {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: nowrap;
}
.category-nav button {
  flex: 0 0 auto;
  padding: 0.5rem 1rem;
  border: 1px solid #e3e3e3;
  background: #fff;
  color: #333;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.category-nav button:hover {
  background: #f8f8f8;
}
.category-nav button.active {
  background: var(--primary, #e85d1f);
  color: #fff;
  border-color: var(--primary, #e85d1f);
}

.menu-section {
  margin-bottom: 2.5rem;
}
.menu-section-title {
  font-family: "Fraunces", serif;
  font-size: 1.6rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #f3eee5;
  margin-bottom: 1rem;
}
.menu-list {
  display: flex;
  flex-direction: column;
}
.menu-row {
  display: flex;
  gap: 1.25rem;
  padding: 1.1rem 0;
  border-bottom: 1px dashed #eee;
  align-items: flex-start;
}
.menu-row:last-child {
  border-bottom: none;
}
.menu-row-main {
  flex: 1;
  min-width: 0;
}
.menu-row-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.35rem;
}
.menu-row-head h4 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
}
.menu-row-price {
  font-weight: 700;
  color: var(--primary, #e85d1f);
  white-space: nowrap;
}
.menu-row-en {
  margin: 0.15rem 0;
  color: #555;
  font-size: 0.92rem;
  line-height: 1.45;
}
.menu-row-sw {
  margin: 0.15rem 0;
  color: #888;
  font-size: 0.85rem;
  line-height: 1.45;
}
.menu-row-meta {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
  font-size: 0.78rem;
  color: #999;
}
.menu-row-cta {
  flex-shrink: 0;
  padding-top: 0.25rem;
}
.menu-row-cta .btn {
  white-space: nowrap;
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
}

.no-results {
  text-align: center;
  padding: 3rem 0;
  font-size: 1.05rem;
}

@media (max-width: 640px) {
  .menu-row {
    flex-direction: column;
    gap: 0.75rem;
  }
  .menu-row-cta {
    width: 100%;
  }
  .menu-row-cta .btn {
    width: 100%;
  }
  .cart-drawer {
    width: 100vw;
  }
}

/* ========== Payment Options (Checkout Modal) ========== */
.pay-field {
  border: none;
  padding: 0;
  margin: 0.25rem 0;
}
.pay-field legend {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
  padding: 0;
}
.pay-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}
.pay-opt {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
  border: 1.5px solid var(--border);
  border-radius: 0.65rem;
  padding: 0.6rem 0.75rem;
  background: var(--background);
  transition: var(--transition);
  font-size: 0.85rem;
}
.pay-opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.pay-opt span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted-foreground);
  font-weight: 500;
}
.pay-opt span i {
  color: var(--primary);
  font-size: 0.95rem;
}
.pay-opt:hover {
  border-color: var(--primary);
}
.pay-opt:has(input:checked) {
  border-color: var(--primary);
  background: #fff4ec;
  box-shadow: 0 0 0 2px rgba(242, 99, 39, 0.15);
}
.pay-opt:has(input:checked) span {
  color: var(--foreground);
}
.pay-note {
  font-size: 0.72rem;
  color: var(--muted-foreground);
  margin-top: 0.5rem;
  line-height: 1.4;
}
@media (max-width: 480px) {
  .pay-options {
    grid-template-columns: 1fr;
  }
}
