/* Vibe Island Drinks Co. — vibeislanddrinks.com
   Palette and type taken from the VIBE HARD SELTZER brand deck (2023). See style-guide.md. */

:root {
  --black: #000000;
  --ink: #111111;
  --white: #ffffff;
  --off-white: #f6f6f4;
  --grey: #6b6b6b;
  --teal: #0096a1;
  --teal-dark: #007a84;
  --pineapple: #f8e69c;
  --mango: #f4bb7a;
  --grapefruit: #f49690;
  --lime: #0096a1;
  --font-head: "Bebas Neue", "Anton", Impact, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1180px;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); }
h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1;
  margin: 0 0 0.4em;
  text-transform: uppercase;
}
h1 { font-size: clamp(3.4rem, 9vw, 7rem); }
h2 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h3 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.eyebrow {
  font-style: italic;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  opacity: 0.85;
}
.skip-link { position: absolute; left: -999px; top: 0; background: var(--white); padding: 8px 12px; z-index: 200; }
.skip-link:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  padding: 0.7em 1.6em 0.6em;
  border-radius: 999px;
  border: 2px solid currentColor;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--teal); border-color: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.btn-ghost { background: transparent; color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--black); }
.btn-dark { background: var(--black); border-color: var(--black); color: var(--white); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--black);
  border-bottom: 1px solid #1d1d1d;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo img { height: 40px; width: auto; }
.nav { display: flex; gap: 28px; }
.nav a {
  color: var(--white); text-decoration: none;
  font-family: var(--font-head); font-size: 1.3rem; letter-spacing: 0.08em;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--pineapple); }
.nav-toggle { display: none; background: none; border: 0; color: var(--white); font-size: 1.8rem; cursor: pointer; }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: min(88vh, 820px);
  background: var(--black); color: var(--white);
}
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 60px 6vw; }
.hero-copy .eyebrow { margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-art {
  position: relative; overflow: hidden;
  background: #e9eef0 url("../assets/img/water-texture.webp") center / cover no-repeat;
  display: flex; align-items: center; justify-content: center;
}
.hero-art img { width: min(78%, 560px); filter: drop-shadow(0 30px 40px rgba(0,0,0,0.25)); }

/* Page hero (inner pages) */
.page-hero { background: var(--black); color: var(--white); padding: 90px 0 70px; }
.page-hero p { max-width: 640px; font-size: 1.1rem; opacity: 0.9; }

/* Stats strip */
.stats { background: var(--teal); color: var(--white); }
.stats ul {
  list-style: none; margin: 0 auto; padding: 22px 20px;
  display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 48px;
  max-width: var(--max);
}
.stats li { font-family: var(--font-head); font-size: 1.7rem; letter-spacing: 0.06em; }
.stats strong { font-weight: 400; color: var(--pineapple); margin-right: 6px; }

/* Sections */
.section { padding: 96px 0; }
.section-off { background: var(--off-white); }
.section-dark { background: var(--black); color: var(--white); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Flavour cards */
.flavour-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.flavour-card {
  border-radius: var(--radius); padding: 30px 22px 26px;
  text-align: center; text-decoration: none; color: var(--ink);
  display: flex; flex-direction: column; align-items: center;
  transition: transform 0.2s ease;
}
.flavour-card:hover { transform: translateY(-6px); }
.flavour-card img { height: 260px; width: auto; margin: 0 auto 18px; filter: drop-shadow(0 16px 18px rgba(0,0,0,0.18)); }
.flavour-card h3 { margin-bottom: 0.3em; }
.flavour-card p { font-size: 0.95rem; margin: 0; }
.bg-pineapple { background: var(--pineapple); }
.bg-mango { background: var(--mango); }
.bg-grapefruit { background: var(--grapefruit); }
.bg-lime { background: var(--lime); color: var(--white) !important; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split img { border-radius: var(--radius); }
.split.reverse .split-media { order: 2; }

/* Flavour detail */
.flavour-detail { padding: 90px 0; scroll-margin-top: 72px; }
.flavour-detail .split { gap: 48px; }
.flavour-detail .can-wrap { display: flex; justify-content: center; }
.flavour-detail .can-wrap img { height: 440px; width: auto; filter: drop-shadow(0 26px 28px rgba(0,0,0,0.22)); border-radius: 0; }
.specs { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; }
.specs li { border-top: 1px solid rgba(0,0,0,0.15); padding-top: 8px; font-size: 0.95rem; }
.bg-lime .specs li { border-color: rgba(255,255,255,0.35); }
.specs span { display: block; font-family: var(--font-head); font-size: 1.4rem; letter-spacing: 0.04em; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; }
.social-cta { text-align: center; margin-top: 36px; }
.social-cta a { font-family: var(--font-head); font-size: 1.8rem; letter-spacing: 0.06em; color: var(--white); text-decoration: none; }
.social-cta a:hover { color: var(--pineapple); }

/* Values */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.value { background: var(--white); border-radius: var(--radius); padding: 30px; }
.value h3 { color: var(--teal-dark); }

/* Contact form */
.contact-form { max-width: 640px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.95rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 13px 14px; font: inherit;
  border: 1.5px solid #cfcfcf; border-radius: 10px; background: var(--white);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: 2px solid var(--teal); border-color: var(--teal); }
.form-hidden { position: absolute; left: -9999px; }
.form-note { font-size: 0.85rem; color: var(--grey); }

/* Footer */
.site-footer { background: var(--black); color: #cfcfcf; padding: 64px 0 28px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer img { height: 54px; width: auto; margin-bottom: 16px; }
.site-footer h4 { font-family: var(--font-head); font-weight: 400; font-size: 1.4rem; letter-spacing: 0.06em; color: var(--white); margin: 0 0 10px; }
.site-footer a { color: #cfcfcf; text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.footer-legal { border-top: 1px solid #222; margin-top: 44px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.85rem; color: #8a8a8a; }

/* Age gate */
.age-gate {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.92) url("../assets/img/water-texture.webp") center / cover;
  background-blend-mode: multiply;
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.age-gate[hidden] { display: none; }
.age-box { background: var(--black); color: var(--white); border-radius: 18px; padding: 44px 34px; max-width: 460px; width: 100%; text-align: center; box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.age-box img { width: 190px; margin: 0 auto 26px; }
.age-box h2 { font-size: 2.4rem; }
.age-actions { display: flex; gap: 12px; justify-content: center; margin: 22px 0 14px; }
.age-box small { display: block; color: #9a9a9a; font-size: 0.8rem; line-height: 1.5; }
.age-denied { display: none; color: var(--grapefruit); margin-top: 10px; }
body.gate-open { overflow: hidden; }

/* Responsive */
@media (max-width: 960px) {
  .flavour-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 780px) {
  body { font-size: 16px; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--black); flex-direction: column; gap: 0; padding: 8px 20px 18px; }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; border-bottom: 1px solid #1d1d1d; }
  .nav-toggle { display: block; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 56px 20px 40px; }
  .hero-art { min-height: 380px; }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse .split-media { order: 0; }
  .flavour-detail .can-wrap img { height: 320px; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .flavour-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .flavour-card { padding: 20px 10px; }
  .flavour-card img { height: 180px; }
  .flavour-card p { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
