/* ================================================================
   CHAMPS CARIBBEAN RESTAURANT — Design System & Styles
   ================================================================ */

/* === CUSTOM PROPERTIES === */
:root {
  /* Colors */
  --primary: #e39134;
  --primary-dark: #c77a22;
  --primary-light: #f0ab5a;
  --primary-glow: rgba(227, 145, 52, 0.3);
  --primary-subtle: rgba(227, 145, 52, 0.08);
  --white: #ffffff;
  --off-white: #f5f0eb;
  --cream: #fdf6ed;
  --dark: #292929;
  --dark-light: #3a3a3a;
  --dark-overlay: rgba(41, 41, 41, 0.85);
  --gray: #888888;
  --gray-light: #cccccc;

  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-padding: clamp(50px, 8vw, 100px);
  --container-width: min(90%, 1400px);

  /* Transitions */
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-smooth: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Border radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden;
}

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

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

button {
  border: none;
  outline: none;
  background: none;
  font-family: inherit;
  color: inherit;
}

ul, ol {
  list-style: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-light); }

::selection {
  background: var(--primary);
  color: var(--dark);
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
}

h1 { font-size: clamp(3rem, 8vw, 8rem); }
h2 { font-size: clamp(2rem, 5vw, 4.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); }
h4 { font-size: clamp(1rem, 1.5vw, 1.2rem); letter-spacing: 0.05em; text-transform: uppercase; }

p {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  line-height: 1.7;
  color: var(--gray-light);
}

.container {
  width: var(--container-width);
  margin: 0 auto;
}

/* === CUSTOM CURSOR === */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 100000;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-smooth), height 0.3s var(--ease-smooth), background 0.3s;
}

.cursor-outline {
  position: fixed;
  top: 0;
  left: 0;
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(227, 145, 52, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.4s var(--ease-smooth), height 0.4s var(--ease-smooth),
              background 0.4s, border-color 0.4s, opacity 0.3s;
}

.cursor-dot.active {
  width: 6px;
  height: 6px;
  background: var(--white);
}

.cursor-outline.active {
  width: 64px;
  height: 64px;
  border-color: var(--primary);
  background: rgba(227, 145, 52, 0.08);
}

.cursor-outline.link-hover {
  width: 80px;
  height: 80px;
  border-color: transparent;
  background: rgba(227, 145, 52, 0.12);
}

@media (max-width: 1024px) {
  .cursor-dot, .cursor-outline { display: none !important; }
  body { cursor: auto; }
  a, button { cursor: pointer; }
}



/* === PAGE TRANSITION === */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 99998;
  background: var(--primary);
  transform: scaleY(1);
  transform-origin: top;
  pointer-events: none;
}

/* === NAVIGATION === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 20px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s, padding 0.4s, backdrop-filter 0.4s;
}

.nav--scrolled {
  background: rgba(41, 41, 41, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 5%;
}

.nav__logo {
  display: flex;
  align-items: center;
  z-index: 10;
}

.nav__logo img {
  height: 50px;
  width: auto;
  transition: height 0.4s;
}

.nav--scrolled .nav__logo img {
  height: 40px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  padding: 8px 0;
  transition: color 0.3s;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.4s var(--ease-smooth);
}

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

.nav__link:hover {
  color: var(--primary);
}

.nav__cta {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 28px;
  background: var(--primary);
  color: var(--dark);
  border-radius: 50px;
  transition: transform 0.3s var(--ease-bounce), box-shadow 0.3s;
  display: inline-block;
}

.nav__cta:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px var(--primary-glow);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  z-index: 10;
  padding: 8px;
  cursor: pointer;
}

.nav__hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--white);
  transition: transform 0.4s var(--ease-smooth), opacity 0.3s;
  transform-origin: center;
}

.nav__hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav__hamburger.open span:nth-child(2) {
  opacity: 0;
}
.nav__hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu */
.nav__mobile {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: var(--dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  clip-path: circle(0% at calc(100% - 40px) 40px);
  transition: clip-path 0.8s var(--ease-smooth);
  pointer-events: none;
}

.nav__mobile.open {
  clip-path: circle(150% at calc(100% - 40px) 40px);
  pointer-events: all;
}

.nav__mobile-link {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  padding: 15px 0;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.5s, transform 0.5s var(--ease-smooth), color 0.3s;
}

.nav__mobile.open .nav__mobile-link {
  opacity: 1;
  transform: translateY(0);
}

.nav__mobile.open .nav__mobile-link:nth-child(1) { transition-delay: 0.2s; }
.nav__mobile.open .nav__mobile-link:nth-child(2) { transition-delay: 0.3s; }
.nav__mobile.open .nav__mobile-link:nth-child(3) { transition-delay: 0.4s; }
.nav__mobile.open .nav__mobile-link:nth-child(4) { transition-delay: 0.5s; }
.nav__mobile.open .nav__mobile-link:nth-child(5) { transition-delay: 0.6s; }

.nav__mobile-link:hover {
  color: var(--primary);
}

.nav__mobile-cta {
  margin-top: 30px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 40px;
  background: var(--primary);
  color: var(--dark);
  border-radius: 50px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.5s 0.7s, transform 0.5s 0.7s var(--ease-smooth);
}

.nav__mobile.open .nav__mobile-cta {
  opacity: 1;
  transform: translateY(0);
}

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

.hero__bg {
  position: absolute;
  inset: -10%;
  z-index: 0;
}

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

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(41, 41, 41, 0.5) 0%,
    rgba(41, 41, 41, 0.7) 50%,
    rgba(41, 41, 41, 0.95) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.hero__subtitle {
  font-size: clamp(0.8rem, 1.2vw, 1rem);
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 20px;
  overflow: hidden;
}

.hero__title {
  margin-bottom: 24px;
  overflow: hidden;
}

.hero__title .line {
  overflow: hidden;
  display: block;
}

.hero__desc {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: var(--gray-light);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero__cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 50px;
  transition: transform 0.4s var(--ease-bounce), box-shadow 0.4s, background 0.3s, color 0.3s;
  position: relative;
  overflow: hidden;
}

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

.btn--primary:hover {
  transform: scale(1.05);
  box-shadow: 0 0 40px var(--primary-glow), 0 10px 30px rgba(0,0,0,0.3);
}

.btn--outline {
  border: 2px solid rgba(255,255,255,0.3);
  color: var(--white);
}

.btn--outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: scale(1.05);
}

.btn__arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease-smooth);
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}

/* Hero Particles */
.hero__particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.hero__particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0;
}

/* Hero - Small (interior pages) */
.hero--small {
  height: 60vh;
  min-height: 400px;
}

.hero--small .hero__overlay {
  background: linear-gradient(
    to bottom,
    rgba(41, 41, 41, 0.6) 0%,
    rgba(41, 41, 41, 0.9) 100%
  );
}

/* === SECTION HEADER === */
.section-header {
  text-align: center;
  margin-bottom: clamp(30px, 5vw, 60px);
}

.section-header__label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
  display: inline-block;
}

.section-header__title {
  margin-bottom: 20px;
}

.section-header__line {
  width: 60px;
  height: 3px;
  background: var(--primary);
  margin: 0 auto;
  border-radius: 2px;
}

/* === MARQUEE === */
.marquee {
  padding: 24px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.marquee__track {
  display: flex;
  gap: 0;
  width: max-content;
  will-change: transform;
}

.marquee__item {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 0 40px;
  white-space: nowrap;
}

.marquee__text {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  font-weight: 700;
  color: rgba(255,255,255,0.08);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.4s;
  -webkit-text-stroke: 1px rgba(255,255,255,0.12);
}

.marquee:hover .marquee__text {
  color: rgba(227, 145, 52, 0.15);
  -webkit-text-stroke-color: rgba(227, 145, 52, 0.25);
}

.marquee__dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0.4;
}

/* === FEATURED DISHES (Horizontal Scroll) === */
.featured {
  padding: var(--section-padding) 0;
  overflow: hidden;
}

.featured__wrapper {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 16px;
}

.featured__wrapper:active {
  cursor: grabbing;
}

/* Styled scrollbar for the featured section */
.featured__wrapper::-webkit-scrollbar {
  height: 6px;
}

.featured__wrapper::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.04);
  border-radius: 3px;
  margin: 0 5vw;
}

.featured__wrapper::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 3px;
  transition: background 0.3s;
}

.featured__wrapper::-webkit-scrollbar-thumb:hover {
  background: var(--primary-light);
}

.featured__track {
  display: flex;
  gap: 30px;
  padding: 40px 5vw 24px;
  width: max-content;
  user-select: none;
}

.featured__card {
  width: 340px;
  flex-shrink: 0;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--dark-light);
  transition: transform 0.5s var(--ease-smooth);
}

.featured__card:hover {
  transform: translateY(-8px);
}

.featured__card-img {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.featured__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-smooth);
}

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

.featured__card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(41,41,41,0.9) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.5s;
}

.featured__card:hover .featured__card-overlay {
  opacity: 1;
}

.featured__card-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  transform: translateY(20px);
  transition: transform 0.5s var(--ease-smooth);
}

.featured__card:hover .featured__card-name {
  transform: translateY(0);
}

.featured__card-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--primary);
  color: var(--dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* === CARIBBEAN TAKEOUT === */
.takeout {
  padding: var(--section-padding) 0;
}

.takeout__block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  margin-bottom: clamp(50px, 8vw, 100px);
}

.takeout__block:last-child {
  margin-bottom: 0;
}

.takeout__block--reverse {
  direction: rtl;
}

.takeout__block--reverse > * {
  direction: ltr;
}

.takeout__img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.takeout__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-smooth);
}

.takeout__block:hover .takeout__img-wrap img {
  transform: scale(1.06);
}

.takeout__content {
  padding: clamp(10px, 2vw, 20px) 0;
}

.takeout__title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--white);
  position: relative;
  display: inline-block;
}

.takeout__title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.takeout__list {
  margin: 28px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.takeout__list li {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--gray-light);
  padding: 14px 0 14px 20px;
  border-left: 3px solid rgba(227, 145, 52, 0.2);
  transition: border-color 0.3s, color 0.3s, padding-left 0.3s var(--ease-smooth), background 0.3s;
  position: relative;
}

.takeout__list li:not(:last-child) {
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.takeout__list li:hover {
  border-left-color: var(--primary);
  color: var(--white);
  padding-left: 28px;
  background: rgba(227, 145, 52, 0.04);
}

/* === STORY TEASER === */
.story {
  padding: var(--section-padding) 0;
}

.story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.story__content {
  padding-right: clamp(0px, 4vw, 60px);
}

.story__label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 20px;
}

.story__title {
  margin-bottom: 24px;
}

.story__text {
  margin-bottom: 32px;
}

.story__img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
}

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

.story__img-accent {
  position: absolute;
  width: 120px;
  height: 120px;
  border: 3px solid var(--primary);
  border-radius: var(--radius-md);
  top: -20px;
  left: -20px;
  z-index: -1;
}

/* === CTA BANNER === */
.cta-banner {
  padding: var(--section-padding) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner__bg {
  position: absolute;
  inset: 0;
  opacity: 0.08;
}

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

.cta-banner__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.cta-banner__quote {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.5vw, 3rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.3;
  margin-bottom: 40px;
  color: var(--white);
}

.cta-banner__quote span {
  color: var(--primary);
}

/* === FOOTER === */
.footer {
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(41, 41, 41, 0.5);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer__logo {
  height: 60px;
  width: auto;
  margin-bottom: 16px;
}

.footer__brand p {
  font-size: 0.9rem;
  color: var(--gray);
  max-width: 280px;
}

.footer h4 {
  color: var(--primary);
  font-family: var(--font-body);
  font-size: 0.8rem;
  margin-bottom: 20px;
}

.footer__links a,
.footer__contact p,
.footer__hours p {
  display: block;
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 10px;
  transition: color 0.3s;
  line-height: 1.6;
}

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

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
  gap: 20px;
}

.footer__bottom p {
  font-size: 0.8rem;
  color: var(--gray);
}

.footer__order {
  display: flex;
  gap: 16px;
  align-items: center;
}

.footer__order a {
  display: block;
  transition: transform 0.3s var(--ease-bounce), opacity 0.3s;
  opacity: 0.7;
}

.footer__order a:hover {
  transform: scale(1.1);
  opacity: 1;
}

.footer__order img {
  height: 36px;
  width: auto;
  border-radius: 8px;
}

/* ================================================================
   MENU PAGE
   ================================================================ */
.menu-page {
  background: var(--dark);
}

.menu-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 50px;
}

.menu-filter-btn {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 24px;
  border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,0.15);
  color: var(--gray-light);
  transition: all 0.4s var(--ease-smooth);
  cursor: pointer;
}

.menu-filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.menu-filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--dark);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  padding: 0 0 var(--section-padding);
}

.menu-card {
  background: var(--dark-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.5s var(--ease-smooth), box-shadow 0.5s;
  position: relative;
}

.menu-card.hidden {
  display: none;
}

.menu-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.menu-card__img {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.menu-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-smooth);
}

.menu-card:hover .menu-card__img img {
  transform: scale(1.12);
}

.menu-card__img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(227, 145, 52, 0.0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.5s;
}

.menu-card:hover .menu-card__img-overlay {
  background: rgba(227, 145, 52, 0.15);
}

.menu-card__view {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  padding: 10px 24px;
  border: 2px solid var(--white);
  border-radius: 50px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s, transform 0.4s var(--ease-smooth);
}

.menu-card:hover .menu-card__view {
  opacity: 1;
  transform: translateY(0);
}

.menu-card__info {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.menu-card__name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.menu-card__desc {
  font-size: 0.82rem;
  color: var(--gray);
  font-style: italic;
  line-height: 1.5;
  margin: 0;
}

/* Menu Modal */
.menu-modal {
  position: fixed;
  inset: 0;
  z-index: 99990;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s;
}

.menu-modal.active {
  pointer-events: all;
  opacity: 1;
}

.menu-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
}

.menu-modal__content {
  position: relative;
  z-index: 2;
  background: var(--dark-light);
  border-radius: var(--radius-lg);
  max-width: 700px;
  width: 90%;
  overflow: hidden;
  transform: scale(0.9) translateY(30px);
  transition: transform 0.6s var(--ease-smooth);
}

.menu-modal.active .menu-modal__content {
  transform: scale(1) translateY(0);
}

.menu-modal__img {
  width: 100%;
  height: 350px;
  overflow: hidden;
}

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

.menu-modal__info {
  padding: 30px;
}

.menu-modal__name {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.menu-modal__category {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.menu-modal__price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.menu-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  background: var(--dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
  z-index: 5;
  cursor: pointer;
  transition: transform 0.3s var(--ease-bounce), background 0.3s;
}

.menu-modal__close:hover {
  transform: rotate(90deg) scale(1.1);
  background: var(--primary);
  color: var(--dark);
}

/* ================================================================
   ABOUT PAGE
   ================================================================ */
.about-page {
  background: var(--dark);
}

/* Timeline */
.timeline {
  padding: var(--section-padding) 0;
}

.timeline__container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline__line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255,255,255,0.08);
  transform: translateX(-50%);
}

.timeline__line-fill {
  width: 100%;
  height: 0%;
  background: var(--primary);
  transition: height 0.1s linear;
}

.timeline__item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 80px;
  position: relative;
  opacity: 0;
  transform: translateY(40px);
}

.timeline__item:nth-child(odd) {
  flex-direction: row;
  padding-right: calc(50% + 40px);
  text-align: right;
}

.timeline__item:nth-child(even) {
  flex-direction: row-reverse;
  padding-left: calc(50% + 40px);
  text-align: left;
}

.timeline__dot {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 16px;
  height: 16px;
  background: var(--dark);
  border: 3px solid var(--primary);
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 2;
  transition: background 0.4s, transform 0.4s var(--ease-bounce);
}

.timeline__item.active .timeline__dot {
  background: var(--primary);
  transform: translateX(-50%) scale(1.3);
}

.timeline__year {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.timeline__title {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.timeline__desc {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.7;
}

/* === DEVON QUOTE === */
.devon-quote {
  padding: clamp(60px, 10vw, 120px) 0;
  overflow: hidden;
}

.devon-quote__inner {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(40px, 6vw, 70px) clamp(30px, 5vw, 60px);
  background: var(--dark-light);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.6s var(--ease-smooth), border-color 0.6s;
}

.devon-quote__inner:hover {
  transform: translateY(-4px);
  border-color: rgba(227, 145, 52, 0.2);
}

.devon-quote__accent {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--primary);
  border-radius: 0 0 4px 4px;
}

.devon-quote__text {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 3vw, 2.2rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.4;
  color: var(--white);
  margin-bottom: 32px;
}

.devon-quote__attribution {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.devon-quote__line {
  width: 40px;
  height: 2px;
  background: var(--primary);
  display: block;
}

.devon-quote__name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
}

.devon-quote__role {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--gray);
}

/* === FINEST TAKEOUT === */
.finest {
  position: relative;
  padding: clamp(100px, 15vw, 200px) 0;
  text-align: center;
  overflow: hidden;
}

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

.finest__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.25);
}

.finest__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(41, 41, 41, 0.6) 0%,
    rgba(41, 41, 41, 0.4) 50%,
    rgba(41, 41, 41, 0.8) 100%
  );
}

.finest__content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.finest__title {
  font-size: clamp(1.8rem, 4.5vw, 3.5rem);
  margin-bottom: 24px;
  color: var(--white);
}

.finest__text {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.8;
  color: var(--gray-light);
  margin-bottom: 50px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.finest__stats {
  display: flex;
  justify-content: center;
  gap: clamp(30px, 5vw, 60px);
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.finest__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 0;
  transition: transform 0.4s var(--ease-smooth);
}

.finest__stat:hover {
  transform: translateY(-4px);
}

.finest__stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.finest__stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-light);
}

/* Values */
.values {
  padding: var(--section-padding) 0;
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.value-card {
  background: var(--dark-light);
  border-radius: var(--radius-md);
  padding: 40px 28px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.5s var(--ease-smooth), border-color 0.5s, box-shadow 0.5s;
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.5s var(--ease-smooth);
}

.value-card:hover::before {
  transform: scaleX(1);
}

.value-card:hover {
  transform: translateY(-6px);
  border-color: rgba(227, 145, 52, 0.2);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.value-card__icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: block;
}

.value-card__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.value-card__desc {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.6;
}

/* Draggable Gallery */
.drag-gallery {
  padding: var(--section-padding) 0;
  overflow: hidden;
}

.drag-gallery__track {
  display: flex;
  gap: 20px;
  padding: 20px 5vw;
  cursor: grab;
  user-select: none;
}

.drag-gallery__track:active {
  cursor: grabbing;
}

.drag-gallery__item {
  flex-shrink: 0;
  width: 300px;
  height: 350px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}

.drag-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.drag-gallery__hint {
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 20px;
}

/* ================================================================
   CONTACT PAGE
   ================================================================ */
.contact-page {
  background: var(--dark);
}

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

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

/* Contact Cards */
.contact-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.contact-card {
  background: var(--dark-light);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: transform 0.4s var(--ease-smooth), border-color 0.4s, box-shadow 0.4s;
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(227, 145, 52, 0.25);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.contact-card__icon {
  font-size: 1.5rem;
  width: 50px;
  height: 50px;
  background: var(--primary-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card__title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 6px;
}

.contact-card__text {
  font-size: 0.95rem;
  color: var(--gray-light);
  line-height: 1.6;
}

/* Contact Form */
.contact-form {
  background: var(--dark-light);
  border-radius: var(--radius-lg);
  padding: clamp(30px, 4vw, 50px);
  border: 1px solid rgba(255,255,255,0.06);
}

.contact-form__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 30px;
}

.form-group {
  position: relative;
  margin-bottom: 24px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 0;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--white);
  background: transparent;
  border: none;
  border-bottom: 1.5px solid rgba(255,255,255,0.15);
  outline: none;
  transition: border-color 0.4s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
}

.form-group label {
  position: absolute;
  top: 16px;
  left: 0;
  font-size: 0.9rem;
  color: var(--gray);
  pointer-events: none;
  transition: top 0.3s var(--ease-smooth), font-size 0.3s, color 0.3s;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  top: -8px;
  font-size: 0.7rem;
  color: var(--primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-submit {
  width: 100%;
  padding: 18px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--primary);
  color: var(--dark);
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.4s var(--ease-bounce), box-shadow 0.4s;
}

.form-submit:hover {
  transform: scale(1.03);
  box-shadow: 0 0 30px var(--primary-glow);
}

.form-submit.success {
  background: #4CAF50;
  pointer-events: none;
}

/* Map */
.contact-map {
  margin-top: 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 300px;
  border: 1px solid rgba(255,255,255,0.06);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(0.7) brightness(0.7) contrast(1.1);
  transition: filter 0.5s;
}

.contact-map:hover iframe {
  filter: grayscale(0) brightness(0.85) contrast(1);
}

/* Order Online Section */
.order-online {
  padding: 60px 0 var(--section-padding);
  text-align: center;
}

.order-online__badges {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.order-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--dark-light);
  padding: 16px 28px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.4s var(--ease-bounce), border-color 0.4s, box-shadow 0.4s;
}

.order-badge:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: var(--primary);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.order-badge img {
  height: 40px;
  width: auto;
  border-radius: 8px;
}

.order-badge span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
}

/* ================================================================
   UTILITY & ANIMATION CLASSES
   ================================================================ */
.reveal-text .word,
.reveal-text .char {
  display: inline-block;
  overflow: hidden;
}

.stagger-reveal {
  opacity: 0;
  transform: translateY(40px);
}

.parallax-wrap {
  overflow: hidden;
}

.magnetic {
  display: inline-block;
}

/* ================================================================
   RESPONSIVE — TABLET
   ================================================================ */
@media (max-width: 1024px) {
  .nav__links {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .story__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .story__content {
    padding-right: 0;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

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

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

  .timeline__item:nth-child(odd) {
    padding-right: 0;
    padding-left: 60px;
    text-align: left;
    flex-direction: row;
  }

  .timeline__item:nth-child(even) {
    padding-left: 60px;
    flex-direction: row;
  }

  .timeline__line {
    left: 20px;
  }

  .timeline__dot {
    left: 20px;
  }

  .featured__card {
    width: 280px;
  }

  .featured__card-img {
    height: 340px;
  }

  .takeout__block,
  .takeout__block--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
}

/* ================================================================
   RESPONSIVE — MOBILE
   ================================================================ */
@media (max-width: 640px) {
  :root {
    --section-padding: 60px;
  }

  .hero {
    min-height: 500px;
  }

  .hero__cta-group {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .marquee__text {
    font-size: 1.5rem;
  }

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

  .menu-filters {
    gap: 8px;
  }

  .menu-filter-btn {
    font-size: 0.7rem;
    padding: 8px 16px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

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

  .featured__card {
    width: 260px;
  }

  .featured__card-img {
    height: 300px;
  }

  .drag-gallery__item {
    width: 240px;
    height: 280px;
  }

  .timeline__item:nth-child(odd),
  .timeline__item:nth-child(even) {
    padding-left: 50px;
  }

  .timeline__line {
    left: 12px;
  }

  .timeline__dot {
    left: 12px;
  }

  .menu-modal__img {
    height: 250px;
  }

  .menu-modal__name {
    font-size: 1.4rem;
  }

  .order-online__badges {
    flex-direction: column;
    align-items: center;
  }
}
