/* Padel Park Eatery — warm food-focused theme
   Palette pulled from the logo and warmed for food photography. */

:root {
  --cream: #FAF4E6;
  --cream-soft: #FDFBF4;
  --paper: #FFFCF5;
  --espresso: #221814;
  --espresso-soft: #4A3A33;
  --ink: #2A1F1A;
  --rouge: #C4302C;
  --rouge-deep: #9E2421;
  --mustard: #E8A93B;
  --honey: #F2C661;
  --olive: #6E7A4F;
  --sage: #9CA888;
  --line: rgba(34, 24, 20, 0.12);
  --shadow-sm: 0 1px 2px rgba(34, 24, 20, .06), 0 4px 14px rgba(34, 24, 20, .06);
  --shadow-md: 0 6px 20px rgba(34, 24, 20, .08), 0 18px 40px rgba(34, 24, 20, .08);
  --shadow-lg: 0 30px 60px rgba(34, 24, 20, .18);
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 24px;
  --r-pill: 999px;
  --serif: 'Fraunces', 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', 'DM Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--rouge); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--espresso);
  margin: 0 0 .5em;
  line-height: 1.1;
}
h1 { font-size: clamp(2.4rem, 5vw + 1rem, 4.6rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 2.4vw + 1rem, 2.8rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rouge);
  margin-bottom: 14px;
}

/* ---------- Top bar / nav ---------- */
.topbar {
  background: var(--espresso);
  color: var(--cream);
  font-size: 0.85rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  gap: 16px;
}
.topbar a { color: var(--cream); }
.topbar a:hover { color: var(--honey); text-decoration: none; }
.topbar .pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.06);
  padding: 4px 12px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255,255,255,.1);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #6dd58c; box-shadow: 0 0 0 4px rgba(109,213,140,.18); }
.dot.closed { background: #d77676; box-shadow: 0 0 0 4px rgba(215,118,118,.18); }

.nav {
  position: sticky; top: 0; z-index: 30;
  background: rgba(253, 251, 244, 0.85);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: padding .2s ease, box-shadow .2s ease;
}
.nav.scrolled { box-shadow: var(--shadow-sm); }
.nav .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo .logo-plate {
  width: 52px; height: 52px;
  background: var(--espresso);
  border-radius: 14px;
  display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.nav-logo .logo-plate img { width: 46px; height: 46px; object-fit: contain; }
.nav-logo .wordmark { font-family: var(--serif); font-weight: 700; letter-spacing: -.01em; line-height: 1; }
.nav-logo .wordmark span { display: block; }
.nav-logo .wordmark .top { font-size: 1.15rem; color: var(--espresso); }
.nav-logo .wordmark .bot { font-size: .75rem; letter-spacing: .25em; color: var(--rouge); margin-top: 3px; }

.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links a {
  color: var(--espresso);
  font-weight: 500;
  padding: 10px 14px;
  border-radius: var(--r-pill);
  transition: background .15s ease, color .15s ease;
}
.nav-links a:hover { background: rgba(196,48,44,.08); text-decoration: none; }
.nav-links a.active { background: var(--espresso); color: var(--cream-soft); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-family: var(--sans);
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-primary { background: var(--rouge); color: var(--cream-soft); }
.btn-primary:hover { background: var(--rouge-deep); color: var(--cream-soft); }
.btn-ghost { background: transparent; color: var(--espresso); border-color: var(--espresso); }
.btn-ghost:hover { background: var(--espresso); color: var(--cream-soft); }
.btn-yellow { background: var(--mustard); color: var(--espresso); }
.btn-yellow:hover { background: var(--honey); color: var(--espresso); }

.hamburger {
  display: none;
  border: 1px solid var(--line);
  background: var(--paper);
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  align-items: center; justify-content: center;
  cursor: pointer;
}
.hamburger span { display: block; width: 18px; height: 2px; background: var(--espresso); position: relative; }
.hamburger span::before, .hamburger span::after { content: ''; position: absolute; left: 0; width: 18px; height: 2px; background: var(--espresso); transition: transform .2s ease, top .2s ease; }
.hamburger span::before { top: -6px; }
.hamburger span::after { top: 6px; }
.nav.open .hamburger span { background: transparent; }
.nav.open .hamburger span::before { top: 0; transform: rotate(45deg); }
.nav.open .hamburger span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 88px 0 96px;
  background:
    radial-gradient(1000px 500px at 80% -10%, rgba(232,169,59,.25), transparent 60%),
    radial-gradient(700px 400px at -10% 80%, rgba(196,48,44,.18), transparent 60%),
    var(--cream);
  overflow: hidden;
}
.hero .grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-copy h1 span.accent {
  background: linear-gradient(120deg, var(--rouge) 0%, var(--mustard) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-copy .lede { font-size: 1.15rem; color: var(--espresso-soft); max-width: 540px; margin-top: 12px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

.hero-art {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #2a1f1a url('https://images.unsplash.com/photo-1504674900247-0877df9cc836?w=1200&q=80&auto=format&fit=crop') center/cover no-repeat;
}
.hero-art::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(34,24,20,.55));
}
.hero-badge {
  position: absolute; left: 18px; bottom: 18px; z-index: 2;
  background: var(--cream-soft);
  border-radius: var(--r-pill);
  padding: 10px 16px;
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: .9rem; color: var(--espresso);
  box-shadow: var(--shadow-sm);
}

.hero-bites {
  position: absolute; right: -30px; top: -30px;
  width: 140px; height: 140px; border-radius: 50%;
  background: var(--mustard);
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 700;
  color: var(--espresso); text-align: center;
  transform: rotate(8deg);
  box-shadow: var(--shadow-md);
  font-size: .95rem;
  line-height: 1.1;
  padding: 18px;
}
.hero-bites small { display: block; font-family: var(--sans); font-weight: 500; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; opacity: .8; }

/* ---------- Section ---------- */
section { padding: 80px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head p { max-width: 520px; color: var(--espresso-soft); margin: 0; }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card {
  background: var(--paper);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
  border: 1px solid var(--line);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card .img { aspect-ratio: 4/3; background: #ddd center/cover no-repeat; }
.card .body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.card h3 { margin-bottom: 6px; }
.card .meta { font-size: .85rem; color: var(--rouge); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 6px; }
.card .desc { color: var(--espresso-soft); font-size: .95rem; }
.card .price { margin-top: auto; padding-top: 14px; font-family: var(--serif); font-weight: 600; color: var(--espresso); font-size: 1.1rem; }

/* ---------- Strip ---------- */
.strip {
  background: var(--espresso);
  color: var(--cream);
  text-align: center;
  padding: 24px 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
}
.strip .container { display: flex; justify-content: space-around; gap: 20px; flex-wrap: wrap; align-items: center; }
.strip span { display: inline-flex; align-items: center; gap: 10px; }
.strip .dotmark { width: 6px; height: 6px; border-radius: 50%; background: var(--mustard); }

/* ---------- Menu posters & tabs ---------- */
.menu-tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 32px; }
.menu-tabs button {
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--espresso);
  padding: 10px 22px;
  font-family: var(--sans); font-weight: 600; font-size: .95rem;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.menu-tabs button:hover { border-color: var(--rouge); color: var(--rouge); }
.menu-tabs button.active { background: var(--espresso); color: var(--cream-soft); border-color: var(--espresso); }

.menu-posters { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); margin-bottom: 56px; }
.menu-poster {
  display: block;
  background: #FFF8E8;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform .18s ease, box-shadow .18s ease;
  position: relative;
}
.menu-poster:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); text-decoration: none; }
.menu-poster img { width: 100%; height: auto; display: block; }

.menu-pane { display: none; }
.menu-pane.active { display: block; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

@media (max-width: 920px) {
  .menu-posters { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .menu-posters { grid-template-columns: 1fr; }
}

/* ---------- Menu page ---------- */
.menu-grid { display: grid; gap: 56px; grid-template-columns: 1fr 1fr; }
.menu-section h2 { display: flex; align-items: baseline; gap: 14px; margin-bottom: 22px; }
.menu-section h2::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.menu-item { display: grid; grid-template-columns: 1fr auto; gap: 8px 18px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.menu-item:last-child { border-bottom: 0; }
.menu-item .name { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; color: var(--espresso); }
.menu-item .name .tag { display: inline-block; background: rgba(110,122,79,.15); color: var(--olive); font-family: var(--sans); font-size: .65rem; font-weight: 700; padding: 2px 8px; border-radius: var(--r-pill); margin-left: 6px; vertical-align: middle; letter-spacing: .08em; }
.menu-item .name .tag.spice { background: rgba(196,48,44,.12); color: var(--rouge); }
.menu-item .name .tag.gf { background: rgba(232,169,59,.18); color: #b87f12; }
.menu-item .desc { grid-column: 1 / -1; color: var(--espresso-soft); font-size: .95rem; margin: 0; }
.menu-item .price { font-family: var(--serif); font-weight: 600; color: var(--espresso); font-size: 1.05rem; white-space: nowrap; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-grid img { border-radius: var(--r-lg); box-shadow: var(--shadow-md); aspect-ratio: 4/5; object-fit: cover; }
.values { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 32px; }
.value {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px;
}
.value .icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(196,48,44,.1); color: var(--rouge); margin-bottom: 12px; }

.team { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.team .person { text-align: center; }
.team .person img { border-radius: 50%; aspect-ratio: 1/1; object-fit: cover; max-width: 200px; margin: 0 auto 14px; box-shadow: var(--shadow-sm); }
.team .person h3 { margin-bottom: 4px; }
.team .person .role { color: var(--rouge); font-weight: 600; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; }

/* ---------- Gallery ---------- */
.gallery {
  columns: 3 280px;
  column-gap: 18px;
}
.gallery a {
  display: block;
  margin: 0 0 18px;
  break-inside: avoid;
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
  background: #ddd;
  box-shadow: var(--shadow-sm);
}
.gallery a:hover img { transform: scale(1.04); }
.gallery img { transition: transform .3s ease; }

.lightbox {
  position: fixed; inset: 0; background: rgba(34,24,20,.92);
  display: none; align-items: center; justify-content: center;
  z-index: 80; padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img { max-height: 90vh; max-width: 92vw; border-radius: var(--r-md); box-shadow: var(--shadow-lg); }
.lightbox button {
  position: absolute; background: rgba(255,255,255,.1); color: white;
  border: 1px solid rgba(255,255,255,.25); border-radius: 50%;
  width: 48px; height: 48px; cursor: pointer; font-size: 1.5rem;
  display: grid; place-items: center;
}
.lightbox button:hover { background: rgba(255,255,255,.2); }
.lightbox .lb-close { top: 24px; right: 24px; }
.lightbox .lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list .ico { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: rgba(232,169,59,.18); color: #b87f12; display: grid; place-items: center; }
.info-list .label { font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; color: var(--espresso-soft); font-weight: 600; }
.info-list .value { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; color: var(--espresso); }
.info-list a.value { color: var(--rouge); }

.hours-table { width: 100%; border-collapse: collapse; margin-top: 14px; }
.hours-table td { padding: 10px 0; border-bottom: 1px dashed var(--line); }
.hours-table tr:last-child td { border-bottom: 0; }
.hours-table td:last-child { text-align: right; font-family: var(--serif); }
.hours-table tr.today td { color: var(--rouge); font-weight: 700; }

.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.form-row.single { grid-template-columns: 1fr; }
label { display: block; font-size: .85rem; font-weight: 600; color: var(--espresso); margin-bottom: 6px; }
input, select, textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--cream-soft);
  font-family: var(--sans); font-size: 1rem;
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--rouge);
  box-shadow: 0 0 0 3px rgba(196,48,44,.15);
}
textarea { resize: vertical; min-height: 120px; }
.field { margin-bottom: 16px; }

.alert {
  margin-top: 16px;
  background: rgba(110,122,79,.12);
  color: var(--olive);
  padding: 14px 18px;
  border-radius: var(--r-md);
  font-weight: 500;
  display: none;
}
.alert.show { display: block; }

.map-card {
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
}
.map-card iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ---------- Footer ---------- */
footer {
  background: var(--espresso);
  color: var(--cream);
  padding: 64px 0 28px;
  margin-top: 40px;
}
footer a { color: var(--cream); }
footer a:hover { color: var(--honey); text-decoration: none; }
.foot-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  margin-bottom: 40px;
}
footer h4 { color: var(--cream-soft); font-family: var(--sans); font-size: .85rem; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 16px; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-bot { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .85rem; color: rgba(255,255,255,.65); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Page header (non-home pages) ---------- */
.page-head {
  background:
    radial-gradient(800px 300px at 80% -20%, rgba(232,169,59,.3), transparent 60%),
    radial-gradient(600px 250px at -10% 90%, rgba(196,48,44,.18), transparent 60%),
    var(--cream);
  padding: 80px 0 56px;
  text-align: center;
}
.page-head .eyebrow { color: var(--rouge); }
.page-head p { max-width: 640px; margin: 8px auto 0; color: var(--espresso-soft); }

/* ---------- Mobile ---------- */
@media (max-width: 920px) {
  .hero .grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-art { aspect-ratio: 16/12; }
  .hero { padding: 56px 0 64px; }
  .menu-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .hamburger { display: inline-flex; }
  .nav-links {
    position: absolute; top: 100%; right: 16px; left: 16px;
    background: var(--paper); border: 1px solid var(--line);
    border-radius: var(--r-lg); padding: 12px;
    flex-direction: column; align-items: stretch;
    gap: 4px;
    box-shadow: var(--shadow-md);
    transform-origin: top right;
    transform: scale(.96); opacity: 0; pointer-events: none;
    transition: transform .15s ease, opacity .15s ease;
  }
  .nav-links a { padding: 12px 16px; }
  .nav.open .nav-links { transform: none; opacity: 1; pointer-events: auto; }
  .nav .container { position: relative; }
  .topbar .container { flex-direction: column; align-items: flex-start; gap: 6px; padding: 8px 24px 10px; }
  .form-row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 56px 0; }
}
@media (max-width: 540px) {
  .foot-grid { grid-template-columns: 1fr; }
  .hero-bites { width: 110px; height: 110px; right: -8px; top: -8px; font-size: .8rem; }
}
