/* ============================================
   TC DINER — Custom Styles
   ============================================ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 4rem; }
body { margin: 0; -webkit-font-smoothing: antialiased; }

/* ── Typography ── */
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; }
p { font-family: 'Inter', system-ui, sans-serif; }

/* ── Nav ── */
.nav { transition: box-shadow 0.3s ease; }
.nav.scrolled { box-shadow: 0 4px 30px rgba(5, 46, 22, 0.3); }

/* ── Hero ── */
.hero { position: relative; }
.hero-photo { transition: transform 8s ease; }
.hero:hover .hero-photo { transform: scale(1.02); }

.hero-overlay {
  background-image: linear-gradient(
    to bottom,
    rgba(5, 46, 22, 0.72) 0%,
    rgba(5, 46, 22, 0.55) 40%,
    rgba(5, 46, 22, 0.82) 100%
  );
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  background: #fefdf8;
  color: #052e16;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.875rem 1.75rem;
  border-radius: 0.75rem;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: #faf0d0;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(5, 46, 22, 0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: #d1fae5;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.875rem 1.75rem;
  border-radius: 0.75rem;
  border: 1.5px solid rgba(209, 250, 229, 0.3);
  transition: all 0.2s ease;
  cursor: pointer;
}
.btn-secondary:hover {
  border-color: #d1fae5;
  background: rgba(209, 250, 229, 0.08);
  transform: translateY(-2px);
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  background: #fefdf8;
  color: #052e16;
  font-weight: 700;
  font-size: 1rem;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-cta:hover {
  background: #faf0d0;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: #86efac;
  font-weight: 600;
  font-size: 1rem;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  border: 1.5px solid rgba(134, 239, 172, 0.4);
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-cta-outline:hover {
  border-color: #86efac;
  background: rgba(134, 239, 172, 0.08);
  transform: translateY(-2px);
}

/* ── Scroll indicator ── */
.scroll-indicator {
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(6px); opacity: 1; }
}

/* ── Marquee ── */
.marquee-strip { overflow: hidden; }
.marquee-track {
  display: flex;
  align-items: center;
  gap: 10px;
  animation: marqueeScroll 30s linear infinite;
  width: max-content;
}
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-item { flex-shrink: 0; }

/* ── Section ── */
.section { position: relative; }
.section-header { margin-bottom: 3.5rem; }

/* ── Eyebrow ── */
.eyebrow {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #16a34a;
}

/* ── Menu Cards ── */
.menu-card {
  background: #fff;
  border-radius: 1rem;
  padding: 1.25rem;
  border: 1px solid rgba(0,0,0,0.06);
  transition: all 0.25s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.menu-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(5, 46, 22, 0.1);
  border-color: rgba(22, 101, 52, 0.15);
}

/* ── Highlight Cards ── */
.highlight-card {
  background: #fff;
  border-radius: 1.25rem;
  padding: 2rem;
  border: 1px solid rgba(0,0,0,0.06);
  transition: all 0.25s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(5, 46, 22, 0.1);
}

/* ── About Image ── */
.about-img-wrapper { position: relative; }
.about-img-accent {
  animation: floatAccent 4s ease-in-out infinite;
}
@keyframes floatAccent {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.about-badge {
  animation: floatBadge 5s ease-in-out infinite;
}
@keyframes floatBadge {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(3deg); }
}

/* ── Gallery ── */
.gallery-item {
  cursor: default;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.gallery-item:hover img {
  transform: scale(1.08);
}

/* ── Mobile Menu ── */
.mobile-link {
  display: block;
  text-decoration: none;
}

/* ── Scroll Reveal (progressive enhancement) ── */
/* Default: all elements visible */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* When JS is active and user prefers motion, add hidden state */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(24px);
  }
  .js .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
  /* Stagger children */
  .js .menu-card:nth-child(1) { transition-delay: 0.05s; }
  .js .menu-card:nth-child(2) { transition-delay: 0.1s; }
  .js .menu-card:nth-child(3) { transition-delay: 0.15s; }
  .js .menu-card:nth-child(4) { transition-delay: 0.2s; }
  .js .menu-card:nth-child(5) { transition-delay: 0.25s; }
  .js .menu-card:nth-child(6) { transition-delay: 0.3s; }
}

/* ── Responsive ── */
@media (max-width: 767px) {
  .hero-headline {
    font-size: 2.75rem !important;
  }
  .about-img-accent { display: none; }
  .about-badge { position: relative; top: auto; left: auto; margin-bottom: 1rem; display: inline-block; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero-headline { font-size: 4.5rem; }
}
