/* αεροδρόμιο — Coffee & Snacks
   Palette, type and spacing recreated 1:1 from the design handoff, with a
   responsive layer the prototype never had (it was desktop-only, max 1440px). */

:root {
  --cream: #F6F4EE;
  --ink: #1A2018;
  --sage: #8FAF8B;
  --sage-dark: #7EA37B;
  --dark: #1A2018;
  --pad-x: 56px;         /* section horizontal padding (desktop) */
  --header-h: 96px;      /* used for scroll offset under the sticky header */
  --display: 'Didact Gothic', sans-serif;
  --body: 'Commissioner', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--sage-dark); }

@keyframes aero-rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

.site {
  max-width: 1440px;
  margin: 0 auto;
  overflow: clip;
}

/* Accessibility: skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--cream);
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; color: var(--cream); }

/* ---------------------------------------------------------------- Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 16px var(--pad-x);
  background: rgba(246, 244, 238, 0.92);
  backdrop-filter: blur(10px);
}
.header__logo { display: flex; align-items: center; }
.header__logo img { height: 62px; width: auto; display: block; }

.nav {
  display: flex;
  gap: 32px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(26, 32, 24, 0.7);
}

.langswitch {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.1em;
}
.langswitch__link {
  color: rgba(26, 32, 24, 0.4);
  transition: color 0.2s ease;
}
.langswitch__link:hover { color: var(--ink); }
.langswitch__link[aria-current="true"] { color: var(--ink); }
.langswitch__sep { color: rgba(26, 32, 24, 0.28); }

/* Hamburger toggle — hidden by default; revealed only on mobile with JS on
   (see the .nav-toggle rules inside the ≤760px media query). */
.nav-toggle {
  display: none;
  position: relative;
  z-index: 60;
  appearance: none;
  -webkit-appearance: none;
  border: none;
  background: transparent;
  padding: 8px;
  margin: -8px -6px -8px 0;
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle__box { display: block; width: 26px; height: 16px; position: relative; }
.nav-toggle__line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.28s ease, opacity 0.2s ease, top 0.28s ease;
}
.nav-toggle__line:nth-child(1) { top: 0; }
.nav-toggle__line:nth-child(2) { top: 7px; }
.nav-toggle__line:nth-child(3) { top: 14px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(1) { top: 7px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(3) { top: 7px; transform: rotate(-45deg); }

/* Lock the page behind the open overlay so it doesn't scroll underneath. */
html.nav-open, html.nav-open body { overflow: hidden; }

/* Shared type helpers ------------------------------------------------- */
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.eyebrow--sage { color: var(--sage); }
.eyebrow--sage-dark { color: var(--sage-dark); }
.eyebrow--on-sage { color: rgba(255, 255, 255, 0.8); }

.section-title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.15;
}

/* ------------------------------------------------------------------ Hero */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 84vh;
  background: var(--sage);
  color: #fff;
}
.hero__text {
  padding: 104px var(--pad-x) 96px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
  animation: aero-rise 0.9s ease both;
}
.hero__kicker {
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}
.hero__title {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(40px, 4.6vw, 64px);
  line-height: 1.1;
  text-wrap: balance;
  max-width: 20ch;
}
.hero__body {
  margin: 0;
  max-width: 36ch;
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.hero__media { position: relative; min-height: 520px; }
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Buttons */
.btn {
  padding: 15px 30px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.06em;
  transition: background 0.2s ease, color 0.2s ease;
}
.btn--primary { background: #fff; color: var(--ink); }
.btn--primary:hover { background: var(--ink); color: #fff; }
.btn--ghost { border: 1px solid rgba(255, 255, 255, 0.55); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }

/* ----------------------------------------------------------------- Story */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  padding: 150px var(--pad-x) 140px;
}
.story__text { display: flex; flex-direction: column; gap: 28px; }
.story__text .section-title { max-width: 18ch; }
.prose-lg {
  margin: 0;
  max-width: 44ch;
  font-size: 18px;
  line-height: 1.75;
  color: rgba(26, 32, 24, 0.68);
}
.story__media {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

/* -------------------------------------------------------------- Specials */
.specials {
  background: var(--dark);
  color: var(--cream);
  padding: 140px var(--pad-x);
}
.specials__intro {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 40ch;
  margin-bottom: 76px;
}
.specials__lead {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(246, 244, 238, 0.6);
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 56px;
}
.card { display: flex; flex-direction: column; gap: 22px; }
.card img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; }
.card__text { display: flex; flex-direction: column; gap: 10px; }
.card__title {
  margin: 0;
  font-family: var(--display);
  font-size: 25px;
  line-height: 1.2;
}
.card__body {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(246, 244, 238, 0.6);
}
.sweets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 48px;
  margin-top: 96px;
  padding-top: 56px;
  border-top: 1px solid rgba(246, 244, 238, 0.16);
}
.sweets__title {
  margin: 0;
  font-family: var(--display);
  font-size: 25px;
  line-height: 1.2;
  color: var(--sage);
}
.sweets p {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: rgba(246, 244, 238, 0.72);
}

/* ------------------------------------------------------------------ Menu */
.menu { padding: 150px var(--pad-x) 140px; }
.menu__head {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 76px;
}
.menu__intro {
  margin: 0;
  max-width: 34ch;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(26, 32, 24, 0.6);
}
.menu__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 72px;
}
.menu__col { display: flex; flex-direction: column; gap: 20px; }
.menu__colhead {
  margin: 0;
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(26, 32, 24, 0.45);
}
.menu__row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 17px;
}
.menu__row .spacer { flex: 1; }
.menu__row .price { color: rgba(26, 32, 24, 0.5); }

/* ----------------------------------------------------------------- Visit */
.visit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--sage);
  color: #fff;
}
.visit__text {
  padding: 140px var(--pad-x);
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.visit__head { display: flex; flex-direction: column; gap: 20px; }
.visit__info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 40px;
}
.visit__stack { display: flex; flex-direction: column; gap: 10px; }
.visit__label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
.visit__value { font-size: 17px; line-height: 1.7; color: #fff; }
a.visit__value:hover { color: rgba(255, 255, 255, 0.75); }
.visit__note {
  margin: 0;
  max-width: 40ch;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
}
.visit__media { position: relative; min-height: 520px; background: var(--sage-dark); }
.visit__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------------------------------------------------------------- Footer */
.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 12px;
  padding: 40px 56px;
  background: var(--cream);
  font-size: 13px;
  color: rgba(26, 32, 24, 0.55);
}
.footer img { height: 30px; width: auto; display: block; opacity: 0.85; margin-right: 4px; }
.footer a { color: rgba(26, 32, 24, 0.55); }
.footer a:hover { color: var(--ink); }
.footer__sep { color: rgba(26, 32, 24, 0.3); }
.footer__credit { color: rgba(26, 32, 24, 0.4); }
.footer__credit a { color: rgba(26, 32, 24, 0.7); }
.footer__credit a:hover { color: var(--sage-dark); }

/* =========================================================== Responsive */

/* Tablet / small laptop: tighten the generous desktop spacing. */
@media (max-width: 960px) {
  :root { --pad-x: 32px; }
  .hero__text { padding: 80px 32px; gap: 32px; }
  .story { padding: 96px 32px; gap: 48px; }
  .specials { padding: 96px 32px; }
  .specials__intro { margin-bottom: 56px; }
  .cards { gap: 40px; }
  .sweets { margin-top: 64px; padding-top: 40px; gap: 32px; }
  .menu { padding: 96px 32px; }
  .menu__head { margin-bottom: 56px; }
  .menu__cols { gap: 48px; }
  .visit__text { padding: 96px 32px; gap: 44px; }
  .footer { padding: 40px 32px; }
}

/* Phone: stack the two-column sections; nav collapses into a hamburger overlay. */
@media (max-width: 760px) {
  :root { --header-h: 88px; }

  .header {
    flex-wrap: wrap;
    row-gap: 12px;
    padding: 14px 24px;
  }
  .header__logo { order: 1; margin-right: auto; }
  .header__logo img { height: 48px; }
  .langswitch { order: 2; }

  /* No-JS fallback: nav stays visible as a centered wrapped row. */
  .nav {
    order: 3;
    flex-basis: 100%;
    justify-content: center;
    gap: 22px;
  }

  /* JS on: hamburger + full-screen overlay. */
  html.js .header {
    flex-wrap: nowrap;
    /* backdrop-filter would make the header the containing block for the fixed
       overlay (inset:0 → header box, not viewport). Drop it here; the 0.92
       cream background stays. */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  html.js .nav-toggle { display: inline-flex; order: 3; }
  /* Keep the logo + language switch tappable above the open overlay. */
  html.js .header__logo,
  html.js .langswitch { position: relative; z-index: 60; }
  html.js .nav {
    position: fixed;
    inset: 0;
    z-index: 40;
    flex-basis: auto;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: 24px;
    background: var(--sage);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease;
  }
  html.js .nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  html.js .nav a {
    color: #fff;
    font-family: var(--display);
    font-size: clamp(30px, 9vw, 44px);
    line-height: 1.1;
    letter-spacing: 0;
    padding: 6px 16px;
  }
  html.js .nav a:hover { color: var(--ink); }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero__text { padding: 56px 24px 64px; gap: 28px; }
  .hero__media { min-height: 300px; order: -1; }

  .story {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 64px 24px;
  }
  .story__media { min-height: 320px; }

  .specials { padding: 72px 24px; }
  .menu { padding: 64px 24px; }

  .visit { grid-template-columns: 1fr; }
  .visit__text { padding: 64px 24px; gap: 40px; }
  .visit__media { min-height: 320px; }

  .footer {
    gap: 6px 10px;
    padding: 32px 24px;
  }
}

@media (max-width: 400px) {
  .header__logo img { height: 46px; }
  .nav { gap: 16px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__text { animation: none; }
  .nav, .nav-toggle__line { transition: none; }
}
