/* ===========================
   DALO RESTAURANT — styles.css
   Palette: terracotta · deep charcoal · mustard · cream
   =========================== */

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

:root {
  --char:   #141820;
  --panel:  #1E2330;
  --terra:  #D45C30;
  --terra2: #B84D24;
  --mustard:#C9900A;
  --cream:  #FBF5E8;
  --pale:   #EDE5D0;
  --white:  #FFFFFF;
  --mid:    rgba(251,245,232,0.55);
  --radius: 3px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--char);
  color: var(--cream);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* ===== PAGE TRANSITIONS ===== */
.page-overlay {
  position: fixed; inset: 0;
  background: var(--char);
  z-index: 9999; pointer-events: none;
  transition: opacity 0.38s ease;
}
.page-enter .page-overlay { opacity: 1; }
.page-loaded .page-overlay { opacity: 0; }
.page-exit .page-overlay { opacity: 1; pointer-events: all; }

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.68s cubic-bezier(.22,1,.36,1),
              transform 0.68s cubic-bezier(.22,1,.36,1);
}
.reveal[style*="--rd:1"] { transition-delay: 0.1s; }
.reveal[style*="--rd:2"] { transition-delay: 0.2s; }
.reveal[style*="--rd:3"] { transition-delay: 0.3s; }
.reveal[style*="--rd:4"] { transition-delay: 0.08s; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== HERO WORD ANIMATIONS ===== */
.anim-word {
  opacity: 0; transform: translateY(24px);
  animation: wordUp 0.65s cubic-bezier(.22,1,.36,1) forwards;
  animation-delay: calc(var(--d, 0) * 0.13s + 0.1s);
}
@keyframes wordUp { to { opacity: 1; transform: translateY(0); } }

/* ===== HEADER ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 200;
  transition: background 0.3s, box-shadow 0.3s;
}
.header-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 1.1rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  transition: padding 0.3s;
}
.header--scrolled {
  background: rgba(20,24,32,0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(212,92,48,0.2);
}
.header--scrolled .header-inner { padding: 0.7rem 1.5rem; }

.logo-link { display: flex; align-items: center; gap: 0.7rem; }
.logo-img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid var(--terra); }
.logo-text {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem; font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--cream);
  white-space: nowrap;
}
.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav a { font-size: 0.85rem; font-weight: 500; color: var(--mid); transition: color 0.2s; }
.nav a:hover { color: var(--cream); }
.nav-secondary { }
.nav-menu-link { color: var(--terra) !important; font-weight: 600; }
.nav-menu-link:hover { color: var(--mustard) !important; }
.nav-cta {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--terra); color: var(--white) !important;
  padding: 0.45rem 1.1rem; border-radius: var(--radius);
  font-weight: 600; font-size: 0.85rem;
  white-space: nowrap; line-height: 1;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--terra2) !important; }

/* Mobile nav */
@media (max-width: 639px) {
  .logo-text { font-size: 0.95rem; }
  .nav { gap: 0.75rem; }
  .nav-secondary { display: none; }
  .nav-cta { padding: 0.4rem 0.9rem; font-size: 0.8rem; }
}

/* ===== HERO ===== */
.hero {
  min-height: 100svh; position: relative;
  display: grid; place-items: center; overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  transform: scale(1.06);
  animation: heroZoom 9s ease forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.55) saturate(0.85);
}
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(170deg, rgba(20,24,32,0.3) 0%, rgba(20,24,32,0.15) 45%, rgba(20,24,32,0.8) 100%);
}
.hero__inner {
  position: relative; z-index: 2;
  width: 100%; max-width: 92vw;
  display: flex; flex-direction: column; gap: 1rem;
  align-items: center; text-align: center;
  padding: 2rem 1.5rem; margin-top: 60px;
}
.hero__eyebrow {
  font-size: clamp(0.68rem, 2vw, 0.82rem);
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--terra); font-weight: 600;
}
.hero__title {
  display: flex; flex-direction: column; gap: 0;
  align-items: center; line-height: 1;
}
.hero__title span {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.8rem, 11vw, 7rem);
  font-weight: 800; letter-spacing: -0.01em;
  color: var(--white);
  text-shadow: 0 4px 30px rgba(0,0,0,0.5);
  display: block;
}
.hero__title--accent { color: var(--terra) !important; }
.hero__sub {
  font-size: clamp(0.8rem, 2.5vw, 0.95rem);
  color: rgba(251,245,232,0.7); letter-spacing: 0.04em;
}
.hero__cta {
  display: flex; flex-direction: column; gap: 0.65rem;
  width: 100%; max-width: 22rem; margin-top: 0.3rem;
}
.hero__cta .btn { width: 100%; }
.hero__badges {
  display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center;
}
.badge {
  background: rgba(251,245,232,0.1);
  border: 1px solid rgba(251,245,232,0.2);
  color: rgba(251,245,232,0.8);
  font-size: 0.75rem; font-weight: 500;
  padding: 0.3rem 0.8rem; border-radius: 99px;
  backdrop-filter: blur(4px);
}

.hero__scroll-hint { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 2; }
.hero__scroll-hint span {
  display: block; width: 1px; height: 50px;
  background: linear-gradient(to bottom, transparent, var(--terra));
  margin: 0 auto;
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===== MARQUEE ===== */
.marquee-wrap { background: var(--terra); overflow: hidden; padding: 0.65rem 0; }
.marquee-track {
  display: flex; gap: 1.25rem; white-space: nowrap;
  animation: marquee 20s linear infinite; width: max-content;
}
.marquee-track span { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white); }
.dot { color: rgba(255,255,255,0.4) !important; font-size: 0.55rem !important; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.9rem 1.5rem; min-height: 48px;
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem;
  font-weight: 600; letter-spacing: 0.04em;
  transition: opacity 0.2s, transform 0.15s, background 0.2s;
  cursor: pointer;
}
.btn:active { transform: scale(0.96); }
.btn--primary { background: var(--terra); color: var(--white); }
.btn--primary:hover { background: var(--terra2); }
.btn--ghost { background: transparent; border: 1.5px solid rgba(251,245,232,0.4); color: var(--cream); }
.btn--ghost:hover { border-color: var(--cream); }
.btn--ghost-light { background: transparent; border: 1.5px solid rgba(251,245,232,0.25); color: rgba(251,245,232,0.75); }
.btn--ghost-light:hover { border-color: var(--cream); color: var(--cream); }
.btn--outline { background: transparent; border: 1.5px solid var(--terra); color: var(--terra); }
.btn--outline:hover { background: var(--terra); color: var(--white); }

/* ===== SECTIONS ===== */
.section { padding: 6rem 0; }
.section--terra { background: var(--terra2); }
.section--cream { background: var(--cream); color: #1a1a1a; }
.section--cream .label { color: var(--terra); }

.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.section-head { margin-bottom: 3rem; }
.label {
  font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--terra); font-weight: 700; margin-bottom: 0.5rem; display: block;
}
.label--light { color: rgba(251,245,232,0.6); }
.section-title {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: clamp(2.2rem, 7vw, 3.8rem);
  color: var(--cream); line-height: 1.05;
}
.section-title--dark { color: #141820; }
.section-title--light { color: var(--white); }

/* ===== DISHES ===== */
.dishes-grid {
  display: grid; grid-template-columns: 1fr; gap: 1px;
  border: 1px solid rgba(251,245,232,0.08);
  border-radius: 6px; overflow: hidden;
}
.dish-card {
  background: var(--panel);
  padding: 1.75rem 1.5rem;
  position: relative;
  transition: background 0.25s;
  border-bottom: 1px solid rgba(251,245,232,0.06);
}
.dish-card:last-child { border-bottom: none; }
.dish-card:hover { background: #252c3c; }
.dish-card--wide { grid-column: 1 / -1; }

.dish-num {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: 2.5rem; line-height: 1;
  color: rgba(212,92,48,0.18);
  position: absolute; top: 1rem; right: 1.25rem;
}
.dish-card h3 {
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: 1.15rem; color: var(--cream);
  margin-bottom: 0.35rem;
}
.dish-card p { font-size: 0.88rem; color: var(--mid); line-height: 1.55; }
.dish-tag {
  display: inline-block; margin-top: 0.75rem;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--terra); border: 1px solid rgba(212,92,48,0.3);
  border-radius: 99px; padding: 0.2rem 0.7rem;
}
.dishes-cta { margin-top: 2rem; }

/* ===== ABOUT ===== */
.about-block {
  display: flex; flex-direction: column; gap: 3rem;
}
.about-block__text p {
  font-size: 0.97rem; line-height: 1.8;
  color: rgba(255,255,255,0.8); margin-bottom: 1rem;
}
.about-block__stats {
  display: flex; gap: 1rem; flex-wrap: wrap;
}
.stat {
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  flex: 1; min-width: 120px; text-align: center;
}
.stat strong {
  display: block; font-family: 'Syne', sans-serif;
  font-size: 2rem; font-weight: 800; color: var(--white);
}
.stat span { font-size: 0.75rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.1em; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.info-card {
  background: var(--pale);
  border-radius: 4px; padding: 1.2rem;
  border-top: 3px solid var(--terra);
}
.info-card[style*="--rd:1"] { transition-delay: 0.1s; }
.info-card[style*="--rd:2"] { transition-delay: 0.2s; }
.info-card[style*="--rd:3"] { transition-delay: 0.3s; }
.info-card__label {
  font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--terra2); font-weight: 700; margin-bottom: 0.4rem;
}
.info-card__value { font-size: 0.9rem; color: #1a1a1a; line-height: 1.6; }
.info-card__value a { color: var(--terra2); }
.info-card__value a:hover { text-decoration: underline; }

.map-wrap { width: 100%; height: 300px; border-radius: 6px; overflow: hidden; box-shadow: 0 4px 24px rgba(0,0,0,0.15); }
.map-wrap iframe { width: 100%; height: 100%; }

/* ===== FOOTER ===== */
.site-footer { background: #0D1018; border-top: 1px solid rgba(212,92,48,0.12); padding: 2rem 0; }
.footer-inner { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; text-align: center; }
.footer-brand { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.4rem; }
.footer-logo { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.footer-brand span { font-family: 'Syne', sans-serif; font-weight: 800; letter-spacing: 0.12em; font-size: 0.95rem; color: var(--cream); }
.footer-copy { font-size: 0.8rem; color: rgba(251,245,232,0.25); }
.footer-credit { font-size: 0.78rem; color: rgba(251,245,232,0.2); }
.footer-credit strong { color: var(--terra); }

/* ===== RESPONSIVE ===== */
@media (min-width: 640px) {
  .dishes-grid { grid-template-columns: 1fr 1fr; }
  .dish-card--wide { grid-column: 1 / -1; }
}
@media (min-width: 820px) {
  .hero__inner { max-width: 65ch; }
  .hero__cta { flex-direction: row; max-width: none; }
  .hero__cta .btn { width: auto; }
  .hero__title span { font-size: clamp(4rem, 9vw, 7rem); }

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

  .about-block { flex-direction: row; align-items: center; gap: 5rem; }
  .about-block__text { flex: 1.2; }
  .about-block__stats { flex: 0.8; flex-direction: column; }
  .stat { min-width: auto; }

  .contact-grid { grid-template-columns: 1fr 1.4fr; }
  .map-wrap { height: 100%; min-height: 300px; }
  .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
  .footer-brand { margin-bottom: 0; }

  @media (max-width: 639px) {
    .contact-cards { grid-template-columns: 1fr; }
  }
}
