/* ==========================================================================
   MR. TZATZIKI — Ayia Napa
   Design system & site styles
   Palette: pita cream / deep olive ink / dill green / tomato red / golden
   Type:    Bricolage Grotesque (display) + Instrument Sans (body)
   ========================================================================== */

:root {
  /* Colors */
  --cream:      #FAF5EA;   /* pita bread */
  --cream-soft: #F2EBDA;
  --ink:        #1F2A1A;   /* deep olive, near-black */
  --ink-soft:   #45503C;
  --green:      #587F2D;   /* dill / olive leaf */
  --green-deep: #35521B;
  --red:        #D14A2E;   /* grilled tomato */
  --red-deep:   #B23A22;
  --gold:       #E8A93B;   /* golden fries */
  --white:      #FFFFFF;
  --line:       rgba(31, 42, 26, 0.16);

  /* Type */
  --font-display: "Bricolage Grotesque", "Arial Black", sans-serif;
  --font-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  /* Scale */
  --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.92rem);
  --step-0:  clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --step-1:  clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --step-2:  clamp(1.6rem, 1.4rem + 1vw, 2.2rem);
  --step-3:  clamp(2.2rem, 1.8rem + 2vw, 3.4rem);
  --step-4:  clamp(3rem, 2.2rem + 4vw, 5.6rem);

  --radius: 18px;
  --radius-sm: 10px;
  --container: 1160px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --shadow: 0 14px 40px -18px rgba(31, 42, 26, 0.35);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.05;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1 { font-size: var(--step-4); font-weight: 800; }
h2 { font-size: var(--step-3); font-weight: 800; }
h3 { font-size: var(--step-2); font-weight: 700; }
h4 { font-size: var(--step-1); font-weight: 700; }

p { margin: 0 0 1em; }
a { color: var(--green-deep); }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--cream);
  padding: 0.6rem 1rem;
  z-index: 200;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* Eyebrow label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--red-deep);
  margin-bottom: 0.9rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--step-0);
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 0.85rem 1.8rem;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--red); color: var(--white); }
.btn--primary:hover { background: var(--red-deep); }

.btn--dark { background: var(--ink); color: var(--cream); }
.btn--dark:hover { background: var(--green-deep); }

.btn--outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--outline:hover { background: var(--ink); color: var(--cream); }

.btn--light {
  background: var(--cream);
  color: var(--ink);
}
.btn--light:hover { background: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 245, 234, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.7rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}
.brand img { width: 52px; height: 52px; object-fit: contain; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1;
}
.brand__tag {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin-top: 0.25rem;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: var(--step--1);
  letter-spacing: 0.02em;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] { color: var(--red-deep); }

.header-cta { white-space: nowrap; }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.6rem;
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle svg { display: block; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
    padding: 1rem var(--gutter) 1.5rem;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav li { border-bottom: 1px solid var(--line); }
  .main-nav li:last-child { border-bottom: 0; }
  .main-nav a {
    display: block;
    padding: 0.9rem 0.2rem;
    font-size: var(--step-0);
  }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--green-deep);
  color: var(--cream);
  overflow: hidden;
  position: relative;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  padding-block: clamp(3rem, 8vw, 6.5rem);
}

.hero h1 {
  color: var(--cream);
  margin-bottom: 0.4em;
}
.hero h1 .accent { color: var(--gold); }

.hero__lead {
  font-size: var(--step-1);
  max-width: 34ch;
  color: rgba(250, 245, 234, 0.88);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin-top: 2.4rem;
  font-size: var(--step--1);
  color: rgba(250, 245, 234, 0.75);
}
.hero__meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--step-0);
  color: var(--cream);
}

.hero__media {
  position: relative;
}
.hero__media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}
.hero__badge {
  position: absolute;
  bottom: -1rem;
  left: -1rem;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  transform: rotate(-3deg);
  font-size: var(--step-0);
}

@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { order: -1; max-width: 420px; }
  .hero__media img { aspect-ratio: 16 / 11; }
}

/* Greek marquee band */
.marquee {
  background: var(--gold);
  color: var(--ink);
  overflow: hidden;
  border-block: 2px solid var(--ink);
  padding-block: 0.55rem;
  white-space: nowrap;
}
.marquee__track {
  display: inline-block;
  animation: marquee 28s linear infinite;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: var(--step--1);
  text-transform: uppercase;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--tint { background: var(--cream-soft); }
.section--dark { background: var(--ink); color: var(--cream); }
.section--dark h2, .section--dark h3 { color: var(--cream); }

.section-head {
  max-width: 640px;
  margin-bottom: clamp(2rem, 5vw, 3.2rem);
}
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

/* ---------- USP cards ---------- */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.2rem;
}
.usp-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.usp-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.usp-card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: var(--cream-soft);
  color: var(--green-deep);
  border-radius: 14px;
  margin-bottom: 1rem;
}
.usp-card h3 { font-size: var(--step-1); margin-bottom: 0.35em; }
.usp-card p { margin: 0; color: var(--ink-soft); font-size: var(--step--1); }

/* ---------- Menu (ticket style — signature element) ---------- */
.menu-nav {
  position: sticky;
  top: 68px;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  padding-block: 0.6rem;
}
.menu-nav__scroll {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.menu-nav__scroll::-webkit-scrollbar { display: none; }
.menu-chip {
  flex: 0 0 auto;
  text-decoration: none;
  font-weight: 600;
  font-size: var(--step--1);
  color: var(--ink);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  background: var(--white);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.menu-chip:hover { border-color: var(--ink); }
.menu-chip.is-active {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.menu-section { scroll-margin-top: 140px; padding-block: clamp(2rem, 5vw, 3rem) 0; }
.menu-section h2 {
  font-size: var(--step-2);
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
}
.menu-section h2 .count {
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--ink-soft);
}

.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 0.4rem 2.5rem;
}
.menu-item { padding-block: 0.85rem; border-bottom: 1px dashed var(--line); }
.menu-item__row {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}
.menu-item__name { font-weight: 700; }
.menu-item__dots {
  flex: 1;
  border-bottom: 2px dotted rgba(31, 42, 26, 0.35);
  transform: translateY(-4px);
  min-width: 1.5rem;
}
.menu-item__price {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--red-deep);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.menu-item__desc {
  margin: 0.25rem 0 0;
  font-size: var(--step--1);
  color: var(--ink-soft);
}
.badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  margin-left: 0.4rem;
  vertical-align: middle;
}
.badge--veg { background: #E4EFD4; color: var(--green-deep); }
.badge--hot { background: #F8E0D8; color: var(--red-deep); }

/* Featured dishes (home) */
.dish-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.4rem;
}
.dish-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.dish-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.dish-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.dish-card__body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.dish-card__body h3 { font-size: var(--step-1); margin-bottom: 0.3em; }
.dish-card__body p { color: var(--ink-soft); font-size: var(--step--1); flex: 1; }
.dish-card__price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--step-1);
  color: var(--red-deep);
}

/* ---------- Order options ---------- */
.order-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
}
.order-card {
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  background: rgba(250, 245, 234, 0.06);
  border: 1px solid rgba(250, 245, 234, 0.18);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}
.order-card h3 { font-size: var(--step-1); margin: 0; }
.order-card p { color: rgba(250, 245, 234, 0.72); font-size: var(--step--1); margin: 0 0 0.8rem; }
.order-card .btn { margin-top: auto; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.gallery-grid img {
  border-radius: var(--radius-sm);
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
}

/* ---------- Info / location ---------- */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
@media (max-width: 860px) { .info-grid { grid-template-columns: 1fr; } }

.info-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
}
.info-card dl { margin: 0; }
.info-card dt {
  font-weight: 700;
  font-family: var(--font-display);
  margin-top: 1.2rem;
  font-size: var(--step-0);
}
.info-card dt:first-child { margin-top: 0; }
.info-card dd { margin: 0.2rem 0 0; color: var(--ink-soft); }
.info-card dd a { color: var(--red-deep); font-weight: 600; }

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.map-embed iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

/* ---------- Contact form ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-grid .form-field--full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.form-field label {
  display: block;
  font-weight: 600;
  font-size: var(--step--1);
  margin-bottom: 0.35rem;
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(88, 127, 45, 0.18);
}
.form-note { font-size: var(--step--1); color: var(--ink-soft); }
.form-status { font-weight: 600; margin-top: 0.8rem; }
.form-status.is-error { color: var(--red-deep); }
.form-status.is-success { color: var(--green-deep); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--red);
  color: var(--white);
}
.cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding-block: clamp(2.2rem, 5vw, 3.2rem);
}
.cta-band h2 { color: var(--white); margin: 0; font-size: var(--step-2); }
.cta-band p { margin: 0.3rem 0 0; color: rgba(255, 255, 255, 0.85); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(250, 245, 234, 0.8);
  padding-block: clamp(2.5rem, 6vw, 4rem) 1.5rem;
  font-size: var(--step--1);
}
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand img { width: 64px; margin-bottom: 0.8rem; }
.footer-col h4 {
  color: var(--cream);
  font-size: var(--step-0);
  margin-bottom: 0.9rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }

.footer-bottom {
  border-top: 1px solid rgba(250, 245, 234, 0.15);
  padding-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  inset-inline: 1rem;
  bottom: 1rem;
  z-index: 300;
  max-width: 560px;
  margin-inline: auto;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
  box-shadow: var(--shadow);
  display: none;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { font-size: var(--step--1); margin-bottom: 1rem; }
.cookie-banner a { color: var(--gold); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.cookie-banner .btn { padding: 0.55rem 1.2rem; font-size: var(--step--1); }

/* ---------- Legal pages ---------- */
.legal-page { max-width: 760px; }
.legal-page h1 { font-size: var(--step-3); }
.legal-page h2 { font-size: var(--step-1); margin-top: 2.2rem; }
.legal-page .placeholder {
  background: #FFF3D6;
  border: 1.5px dashed var(--gold);
  border-radius: var(--radius-sm);
  padding: 0.2rem 0.5rem;
  font-weight: 600;
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}
