/* GroveSqueeze public site — one shared stylesheet. Plain CSS, no build step.
   Mobile-first. Brand theme sampled from the owner's theme graphic
   (workspace/user/files/389_11_012m.png): deep navy base, orange-yellow
   brand lettering, bright lemon, vivid leaf green, pink flamingo accent.
   Display font: Baloo 2 (the logo's font). Body: clean
   system sans. Body copy is always cream-on-navy or navy-on-white for
   contrast; green/yellow/pink are headings, accents, buttons, links only —
   never body copy — and color never carries meaning alone (labels do). */

@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@500;600;700;800&display=swap');

:root {
  /* Sampled from the owner's graphic (dominant flat colors) */
  --navy: #1d224c;
  --lemon: #f5e505;
  --orange: #ffbc14;
  --leaf: #82cd28;
  --vivid: #43ff42;
  --pink: #eb596e;
  /* Derived neutrals (tints/shades of the navy, for readability only) */
  --navy-dark: #141839;
  --navy-panel: #23285e;
  --cream: #fffdf0;
  --white: #ffffff;
  --ink: #1d224c;
  --muted-navy: #c3c7dd;
  --muted-card: #454a6b;
  --line-card: #e8e4d0;
  --radius: 14px;
  --display: 'Baloo 2', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: var(--cream);
  background: var(--navy);
}

a { color: var(--lemon); }
a:hover { color: var(--vivid); text-decoration: underline; }

/* ---------- Header + nav ---------- */
.site-header {
  background: var(--navy);
  border-bottom: 2px solid var(--lemon);
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.5rem;
}
/* HEADER LOGO: owner-supplied wordmark (images/logo.png), live in the header
   of all 7 pages. --navy is the logo's measured outline navy (#1d224c, sampled
   from the file) so the header matches the artwork. */
.brand-logo {
  display: block;
  height: 64px;
  width: auto;
  /* Logo art is RGB on a solid black background (no alpha). Screen blend
     drops the black out against the navy header; do NOT flood-fill black
     to transparent (letter counters are enclosed black pockets that a
     border flood-fill would miss, and dark details would be destroyed). */
  mix-blend-mode: screen;
}
@media (max-width: 440px) {
  .brand-logo { height: 84px; }
}
.brand {
  font-family: var(--display);
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--orange);
  text-decoration: none;
  white-space: nowrap;
}
.brand small {
  display: block;
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lemon);
}
.site-nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; }
.site-nav a {
  text-decoration: none;
  font-weight: 600;
  color: var(--cream);
  padding: 0.2rem 0.1rem;
  border-bottom: 3px solid transparent;
}
.site-nav a:hover { color: var(--lemon); text-decoration: none; }
.site-nav a[aria-current="page"] {
  color: var(--lemon);
  border-bottom-color: var(--pink);
}

/* ---------- Layout ---------- */
.container { max-width: 1080px; margin: 0 auto; padding: 1.5rem 1rem 3rem; }
h1, h2 { font-family: var(--display); color: var(--lemon); }
h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 0.5rem; font-weight: 700; }
h2 { font-size: 1.5rem; line-height: 1.3; margin: 2rem 0 0.5rem; font-weight: 600; }
h3 { font-family: var(--display); font-size: 1.15rem; margin: 1.25rem 0 0.25rem; font-weight: 600; color: var(--vivid); }
p { margin: 0.5rem 0; }
.lede { font-size: 1.1rem; color: var(--muted-navy); max-width: 62ch; }
.note {
  background: var(--lemon);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  margin: 1rem 0;
}
.note p { margin: 0; }
.note a { color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  background: var(--navy-panel);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 2rem 1.25rem;
  margin-bottom: 1.5rem;
}
.hero h1 { color: var(--orange); font-size: 2.4rem; }
.hero p { color: var(--muted-navy); max-width: 62ch; }
.hero .tagline { color: var(--leaf); font-family: var(--display); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.9rem; }

/* ---------- Buttons / CTAs ---------- */
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1rem; }
.btn {
  display: inline-block;
  background: var(--orange);
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
}
.btn:hover { text-decoration: none; filter: brightness(1.05); color: var(--navy); }
.btn-outline {
  display: inline-block;
  border: 2px solid var(--lemon);
  color: var(--lemon);
  font-weight: 700;
  text-decoration: none;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
}
.btn-outline:hover { text-decoration: none; background: rgba(245, 229, 5, 0.12); color: var(--lemon); }

/* ---------- Cards + grids ---------- */
.grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 1rem; }
@media (min-width: 560px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr 1fr; } }
.card {
  background: var(--white);
  border: 1px solid var(--line-card);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  color: var(--ink);
}
.card h3 { margin-top: 0; color: var(--ink); }
.card p { color: var(--muted-card); }
.card a { color: var(--ink); }

/* ---------- Menu ---------- */
.menu-section { margin-top: 2rem; }
.menu-item {
  background: var(--white);
  border: 1px solid var(--line-card);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  margin: 0.6rem 0;
  color: var(--ink);
}
.menu-item .row { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.menu-item .name { font-weight: 700; }
.menu-item .price { font-weight: 700; color: var(--ink); white-space: nowrap; }
.menu-item .desc { color: var(--muted-card); margin: 0.15rem 0 0; }
.menu-item a { color: var(--ink); }
.badge {
  display: inline-block;
  background: var(--lemon);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  margin-left: 0.4rem;
  vertical-align: middle;
}
.flavor-list { columns: 2; margin: 0.5rem 0; padding-left: 1.2rem; }
@media (min-width: 560px) { .flavor-list { columns: 3; } }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 1rem; }
@media (min-width: 560px) { .gallery-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .gallery-grid { grid-template-columns: 1fr 1fr 1fr; } }
.gallery-grid figure { margin: 0; background: var(--white); border: 1px solid var(--line-card); border-radius: var(--radius); overflow: hidden; color: var(--ink); }
.gallery-grid img { display: block; width: 100%; height: auto; }
.photo-tile {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #f5e505 0%, #ffbc14 45%, #eb596e 130%);
  display: flex; align-items: flex-end;
}
.photo-tile:nth-child(odd) { background: linear-gradient(135deg, #82cd28 0%, #f5e505 120%); }
.gallery-grid figcaption { padding: 0.6rem 0.8rem; font-weight: 600; font-size: 0.95rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  border-top: 3px solid var(--pink);
  color: var(--muted-navy);
  margin-top: 2rem;
}
.footer-inner { max-width: 1080px; margin: 0 auto; padding: 1.5rem 1rem 2rem; }
.site-footer a { color: var(--lemon); }
.site-footer a:hover { color: var(--vivid); }
.footer-inner p { margin: 0.3rem 0; }

/* ---------- Hero decorations (owner-supplied brand elements) ----------
   All four element files are RGB with solid black backgrounds and no alpha
   channel, so they are blended with mix-blend-mode: screen — the black drops
   out against the dark navy hero. Do NOT flood-fill black to transparent:
   the artwork itself contains black details (flamingo beak/eye, monstera
   slots) that would be destroyed. Decorative only (aria-hidden in markup);
   hero text/buttons sit above via z-index. */
.hero { position: relative; overflow: hidden; }
.hero > :not(.decor) { position: relative; z-index: 1; }
.decor {
  position: absolute;
  z-index: 0;
  height: auto;
  mix-blend-mode: screen;
  pointer-events: none;
}
.decor-monstera-left { top: -30px; left: -30px; width: 210px; }
.decor-monstera-right { top: -25px; right: -25px; width: 180px; }
.decor-plumeria { bottom: -30px; left: 8px; width: 110px; }
.decor-flamingo { right: 14px; bottom: -8px; width: 120px; }
@media (max-width: 700px) {
  .decor-monstera-left { width: 120px; top: -18px; left: -18px; }
  .decor-monstera-right { width: 105px; top: -15px; right: -15px; }
  .decor-plumeria { width: 70px; bottom: -18px; left: 4px; }
  .decor-flamingo { width: 80px; right: 8px; bottom: -4px; }
}
@media (max-width: 440px) {
  .decor-monstera-left { width: 72px; top: -12px; left: -12px; }
  .decor-monstera-right { width: 64px; top: -10px; right: -10px; }
  .decor-plumeria { width: 52px; bottom: -14px; left: 2px; }
  .decor-flamingo { width: 60px; right: 6px; bottom: -2px; }
}

/* ---------- Homepage video intro (logo-grow) ---------- */
/* Fullscreen overlay covering the homepage until the video ends, Skip,
   Escape, or a video error — then it fades out (see script in index.html).
   Content beneath stays fully normal; the overlay simply covers it, so
   there is no content flash or layout shift. */
#intro {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: #1d224c;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.8s ease;
}
#intro.intro-done { opacity: 0; }
#intro-video {
  width: 100%;
  height: 100%;
  max-width: 900px;
  max-height: 90vh;
  object-fit: contain;
}
#intro-skip {
  position: absolute;
  right: 16px;
  bottom: 16px;
  background: #ffbc14;
  color: #1d224c;
  border: none;
  border-radius: 8px;
  padding: 10px 18px;
  font: 600 16px/1.2 inherit;
  cursor: pointer;
}
#intro-skip:focus-visible {
  outline: 3px solid #fffdf0;
  outline-offset: 2px;
}
@media (max-width: 440px) {
  #intro-video { max-width: 100vw; max-height: 100vh; }
  #intro-skip { right: 12px; bottom: 12px; padding: 9px 15px; }
}

/* ---------- Scattered accents (peppered brand elements) ----------
   Same owner-supplied art + screen blend as the hero set (see .decor).
   Each accent lives in a .decorated section: section content sits above
   via z-index, so decor never covers copy, prices, or buttons — it shows
   on the navy page background in corner/edge gaps and peeks around cards
   (cards cover it where they overlap, so it never washes out on white or
   yellow). Sizes scale down on phones, never hidden. */
.decorated { position: relative; }
.decorated > :not(.decor) { position: relative; z-index: 1; }
.decor-tr { top: 0; right: 0; width: 130px; }
.decor-br { bottom: -12px; right: 0; width: 120px; }
.decor-bl { bottom: -12px; left: 0; width: 120px; }
@media (max-width: 700px) {
  .decor-tr { width: 84px; }
  .decor-br, .decor-bl { width: 76px; }
}
@media (max-width: 440px) {
  .decor-tr { width: 60px; }
  .decor-br, .decor-bl { width: 56px; }
}
