/* =========================================================
   Nikos Gyros Catering — styles
   Change the colors and fonts here; every section uses them.
   ========================================================= */

:root {
  /* Colors */
  --ivory: #F3EFE7;
  --blue: #2F4F86;        /* Nikos blue */
  --navy: #1C2D4F;
  --grey: #E4E5E3;
  --gold: #B8913E;
  --muted: #4F5B78;       /* small labels (dark enough to read on ivory and grey) */
  --body-text: #3F4D6B;   /* secondary paragraphs */
  --rule: #D8D2C4;        /* thin lines */

  /* Fonts */
  --font-display: 'Marcellus', Georgia, serif;   /* headings, titles, logo: matches the Nikos logo lettering */
  --font-head: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', system-ui, sans-serif;
  --font-accent: 'Newsreader', Georgia, serif;

  /* Layout */
  --max-width: 1280px;
  --section-pad: 112px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
}

img { display: block; max-width: 100%; }
a { color: var(--blue); }
a:hover { color: var(--navy); }
input, select, textarea, button { font: inherit; }

.container { max-width: var(--max-width); margin: 0 auto; }
.section { padding: var(--section-pad) 32px; }
.section--grey { background: var(--grey); }
.center { text-align: center; }

/* ---------- Type helpers ---------- */
.eyebrow {
  margin: 0;
  font-family: var(--font-head);
  font-size: 15px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
}

.heading {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1;
  text-transform: uppercase;
  color: var(--blue);
}

.accent {
  font-family: var(--font-accent);
  font-style: italic;
}

.muted { color: var(--body-text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 16px 30px;
  border: 0;
  background: var(--blue);
  color: var(--ivory);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: var(--navy); color: var(--ivory); }
.btn--small { padding: 12px 22px; font-size: 16px; }

.link-caps {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-underline-offset: 6px;
}

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--rule); }
.site-header .container {
  padding: 28px 32px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.header-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 40px;
}
.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.site-nav a { text-decoration: none; }
.header-instagram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-left: -24px;  /* sit close to the quote button */
  color: var(--blue);
}
.header-instagram:hover { color: var(--navy); }

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--blue);
}
.logo__name {
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 4vw, 36px);
  letter-spacing: 0.32em;
  padding-left: 0.32em;
  line-height: 1;
}
.logo__tag {
  margin-top: 8px;
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: 0.4em;
  padding-left: 0.4em;
  color: var(--muted);
}

/* ---------- Hero ---------- */
.hero { padding: 56px 32px 64px; }
.hero .container {
  display: flex;
  flex-wrap: wrap;
  gap: 64px;
  align-items: center;
}
.hero__text { flex: 1 1 420px; min-width: 0; }
.hero__media { flex: 1 1 560px; min-width: 0; }
.hero h1 {
  margin: 22px 0 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(52px, 7vw, 96px);
  line-height: 0.92;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--blue);
}
.hero__lede {
  margin: 24px 0 0;
  font-size: 23px;
  line-height: 1.35;
  max-width: 20em;
}
.hero__actions {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 32px;
  align-items: center;
}
.hero__media img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.caption {
  margin: 10px 0 0;
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Tile ribbon ---------- */
.ribbon { display: block; width: 100%; height: 44px; background: var(--blue); }
.ribbon--footer { background: var(--navy); }

/* ---------- Intro ---------- */
.intro { max-width: 760px; margin: 0 auto; text-align: center; }
.intro__text {
  margin: 24px 0 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.35;
}

/* ---------- Occasions ---------- */
/* Serving styles and the menu share a background, so the menu doesn't need its own top gap */
#occasions + #menu { padding-top: 0; }
.occasions__label { margin: 0 0 32px; }
.occasions__note { margin: 48px auto 0; max-width: 40em; text-align: center; font-size: 22px; }
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
}
.ruled { border-top: 1px solid var(--navy); padding-top: 22px; }
.num {
  margin: 0;
  font-family: var(--font-head);
  font-size: 15px;
  letter-spacing: 0.24em;
  color: var(--muted);
}
.card-title {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 30px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
}
.ruled p:last-child { margin: 10px 0 0; color: var(--body-text); }

/* ---------- Packages ---------- */
.packages {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 48px 40px;
}
.package {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.package h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
}
/* Four across: titles wrap unevenly, so give each two lines' height to line up the descriptions */
@media (min-width: 1000px) {
  .package h3 {
    min-height: 2.3em;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
.package p:last-child { margin: 0; color: var(--body-text); max-width: 22em; }
.packages-cta { margin-top: 64px; text-align: center; }

/* ---------- Menu card ---------- */
.menu-card {
  max-width: 1120px;
  margin: 0 auto;
  border: 1px solid var(--navy);
  padding: 8px;
}
.menu-card__inner {
  border: 1px solid var(--navy);
  padding: 64px 48px;
  display: flex;
  flex-direction: column;
  gap: 56px;
}
/* Two newspaper-style columns: the browser splits the list evenly, keeping the section order */
.menu-cols { column-count: 2; column-gap: 72px; }
.menu-col { display: block; }
.menu-item, .menu-group__note { break-inside: avoid; }
.menu-section > summary { break-after: avoid; }
@media (max-width: 760px) { .menu-cols { column-count: 1; } }
.menu-col h3 {
  margin: 0 0 6px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--blue);
}
.menu-col__addr {
  margin: 0 0 22px;
  text-align: center;
  font-size: 17px;
  color: var(--muted);
}
.menu-group {
  margin: 22px 0 8px;
  font-family: var(--font-head);
  font-size: 14px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}
.menu-col__addr + .menu-group,
.menu-col > .menu-section:first-child .menu-group { margin-top: 0; }
/* Menu sections are <details>: always open on wider screens (see the script in index.html) */
.menu-section > summary { display: block; list-style: none; cursor: default; }
.menu-section > summary::-webkit-details-marker { display: none; }
.menu-group__note {
  margin: -4px 0 6px;
  font-size: 14px;
  color: var(--body-text);
}
.menu-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 0;
  border-bottom: 1px solid var(--rule);
}
.menu-note {
  margin: 0;
  text-align: center;
  font-size: 16px;
  color: var(--muted);
}

/* ---------- Family ---------- */
.family { background: var(--blue); color: var(--ivory); }
.family .container {
  display: flex;
  flex-wrap: wrap;
  gap: 72px;
  align-items: center;
}
.family__photo {
  flex: 1 1 420px;
  min-width: 0;
  aspect-ratio: 919 / 557;  /* matches the current family photo */
  overflow: hidden;
  background: #3D5D93;
  border: 1px solid #8FA6C9;
}
.family__photo img { width: 100%; height: 100%; object-fit: cover; }
.family__text { flex: 1 1 460px; min-width: 0; max-width: 760px; }
.family .eyebrow { color: #C8D4E8; }
.family .heading { color: var(--ivory); }
.family__body { margin: 28px 0 0; font-size: 19px; color: #E6EBF4; }
.family__quote { margin: 18px 0 0; font-size: 24px; }
.btn-instagram {
  margin-top: 32px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid #C8D4E8;
  color: var(--ivory);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
}
.btn-instagram:hover { background: var(--ivory); color: var(--blue); }

/* ---------- Locations ---------- */
/* A compact strip just above the footer */
#locations { padding-top: 56px; padding-bottom: 56px; }
.locations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 32px 56px;
}
.location { border-top: 1px solid var(--navy); padding-top: 16px; }
.location h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
}
.location p { margin: 2px 0 0; font-size: 16px; }
.location p:first-of-type { margin-top: 8px; }
.location .hours { font-size: 15px; color: var(--body-text); }

/* ---------- Quote form ---------- */
.inquire { max-width: 880px; margin: 0 auto; }
.quote-form {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px 40px;
}
.field { display: flex; flex-direction: column; gap: 4px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-head);
  font-size: 14px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--body-text);
}
.field input,
.field select,
.field textarea {
  min-height: 44px;
  padding: 0 2px;
  border: 0;
  border-bottom: 1px solid var(--navy);
  background: transparent;
  color: var(--navy);
  font-size: 18px;
}
.field textarea { padding: 8px 2px; resize: vertical; }
.checks { margin: 0; padding: 0; border: 0; flex-direction: row; flex-wrap: wrap; gap: 10px 32px; }
.checks legend {
  margin-bottom: 8px;
  padding: 0;
  font-family: var(--font-head);
  font-size: 14px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--body-text);
}
.checks label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-family: var(--font-body);
  font-size: 18px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--navy);
  cursor: pointer;
}
.checks input { width: 20px; height: 20px; margin: 0; accent-color: var(--blue); }
.form-submit { grid-column: 1 / -1; text-align: center; margin-top: 8px; }
.form-submit .btn { padding: 18px 44px; min-height: 52px; }
.form-privacy { margin: 16px 0 0; font-size: 15px; color: var(--body-text); }

/* ---------- Simple pages (404, privacy) ---------- */
.simple-page { max-width: 760px; margin: 0 auto; }
.simple-page .heading { margin-top: 12px; }
.simple-page__lede { margin: 24px 0 0; font-size: 24px; line-height: 1.4; }
.simple-page__actions {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 32px;
}
.doc { font-size: 18px; line-height: 1.6; }
.doc h2 {
  margin: 40px 0 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
}
.doc p, .doc ul { margin: 12px 0 0; }
.doc ul { padding-left: 1.2em; }
.doc li + li { margin-top: 4px; }
.doc__back { margin-top: 48px !important; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #E6EBF4; }
.site-footer .container {
  padding: 48px 32px 64px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.footer-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 30px;
  letter-spacing: 0.32em;
}
.footer-tag { margin-top: 4px; font-size: 18px; color: #C8D4E8; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-family: var(--font-head);
  font-size: 16px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.footer-nav a { color: #E6EBF4; text-decoration: none; }
.footer-nav a:hover { color: var(--ivory); text-decoration: underline; }

/* ---------- Phones ---------- */
@media (max-width: 640px) {
  :root { --section-pad: 72px; }
  .section, .hero { padding-left: 20px; padding-right: 20px; }
  .site-header .container { padding: 22px 20px 18px; gap: 18px; }
  .site-nav { gap: 8px 18px; font-size: 14px; letter-spacing: 0.14em; }
  /* Menu: drop the double frame so it uses the full width, and tighten the rows */
  .menu-card { border: 0; padding: 0; }
  .menu-card__inner { border: 0; padding: 0; gap: 40px; }
  .menu-cols { gap: 28px; }
  .menu-item { padding: 5px 0; font-size: 16px; line-height: 1.35; }
  /* Phones: each section folds up, tap the heading to open it */
  .menu-cols { gap: 0; }
  .menu-col:first-child .menu-section:first-child { border-top: 1px solid var(--navy); }
  .menu-section { border-bottom: 1px solid var(--navy); }
  .menu-section > summary.menu-group {
    margin: 0 !important;
    padding: 16px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 52px;
    font-size: 16px;
    color: var(--navy);
    cursor: pointer;
  }
  .menu-section > summary::after { content: "+"; font-size: 22px; letter-spacing: 0; color: var(--blue); }
  .menu-section[open] > summary::after { content: "\2013"; }
  .menu-section[open] { padding-bottom: 16px; }
  .menu-section .menu-item:last-child { border-bottom: 0; }
  .hero__lede { font-size: 22px; }
}
