/* ============================================================================
   Lucky Distributing — public marketing site
   Static, self-contained. No backend, no app data. Safe to host anywhere.
   Palette: deep green + white + gold, with the logo's bright green as accent.
   ========================================================================== */
:root {
  --green-deep: #0f3d2b;   /* header / hero / footer */
  --green-deep2: #0c3323;
  --green: #16a34a;        /* primary accent (matches the app) */
  --green-bright: #33cc66; /* logo green */
  --gold: #e0b44a;
  --gold-dark: #c9992f;
  --ink: #16211a;
  --muted: #5f6f66;
  --paper: #ffffff;
  --paper2: #f4f7f4;
  --line: #e2e8e2;
  --radius: 14px;
  --wrap: 1180px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink); background: var(--paper); line-height: 1.6; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;   /* belt-and-suspenders: never allow sideways scroll on mobile */
}
/* sticky-header offset so anchor jumps don't hide section tops under the header */
section[id] { scroll-margin-top: 92px; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.section { padding: 72px 0; }
.section.alt { background: var(--paper2); }
.eyebrow { color: var(--gold-dark); font-weight: 800; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.01em; }
.section h2 { font-size: 34px; font-weight: 900; margin: 8px 0 10px; }
.section .lead { color: var(--muted); font-size: 17px; max-width: 720px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px;
  padding: 13px 20px; border-radius: 11px; cursor: pointer; border: 2px solid transparent; transition: .15s; }
.btn-gold { background: var(--gold); color: #201800; }
.btn-gold:hover { background: var(--gold-dark); color: #fff; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: #12813b; }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-outline-green { background: #fff; color: var(--green); border-color: var(--green); }
.btn-outline-green:hover { background: var(--green); color: #fff; }

/* ── header ── */
header { position: sticky; top: 0; z-index: 50; background: var(--green-deep); border-bottom: 1px solid rgba(255,255,255,0.08); }
.nav { display: flex; align-items: center; gap: 20px; height: 82px; }
.nav .logo { height: 54px; width: auto; }   /* larger, more noticeable header logo */
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: #e8f0ea; font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--gold); }
.nav-cta { margin-left: 20px; }
.nav-cta .btn { padding: 10px 16px; }
.mnav-login { display: none; }   /* shown only inside the mobile hamburger menu */
.hamburger { display: none; margin-left: auto; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 26px; height: 3px; background: #fff; margin: 5px 0; border-radius: 2px; }

/* ── hero ── */
.hero { background: radial-gradient(1100px 500px at 15% -10%, #1a5138 0%, var(--green-deep) 55%, var(--green-deep2) 100%); color: #fff; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px; align-items: center; padding: 66px 22px 74px; }
.hero h1 { font-size: 54px; font-weight: 900; overflow-wrap: break-word; }
.hero .accent { color: var(--gold); }
.hero-sub { color: #cfe0d5; font-size: 18px; margin: 18px 0 24px; max-width: 520px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-feats { display: grid; gap: 14px; margin-top: 8px; }
.feat { display: flex; gap: 14px; align-items: flex-start; }
.feat .ic { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14); display: flex; align-items: center; justify-content: center; }
.feat .ic svg { width: 24px; height: 24px; stroke: var(--gold); }
.feat b { display: block; font-size: 15.5px; }
.feat span { color: #b8ccbf; font-size: 13.5px; }
.hero-tag { border-left: 3px solid var(--gold); padding-left: 12px; color: #d8e6dc; font-weight: 600; margin-top: 26px; }

/* hero visual panel (CSS art — swap for a real photo later; see index.html note) */
.hero-visual { position: relative; border-radius: 20px; overflow: hidden; min-height: 380px;
  background:
    linear-gradient(180deg, rgba(15,61,43,0) 40%, rgba(10,51,35,0.85) 100%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.04) 0 2px, transparent 2px 60px),
    linear-gradient(135deg, #1f6b47, #0f3d2b);
  border: 1px solid rgba(255,255,255,0.12); box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  display: flex; align-items: flex-end; }
.hero-visual .cans { display: flex; gap: 12px; padding: 22px; width: 100%; align-items: flex-end; }
.can { flex: 1; border-radius: 10px 10px 6px 6px; box-shadow: inset 0 0 0 2px rgba(255,255,255,0.18), 0 8px 18px rgba(0,0,0,0.3); }
.can.c1 { height: 150px; background: linear-gradient(180deg,#e23b3b,#9c1f1f); }
.can.c2 { height: 200px; background: linear-gradient(180deg,#2f9e44,#1a6b2c); }
.can.c3 { height: 120px; background: linear-gradient(180deg,#3b82f6,#1e50a8); }
.can.c4 { height: 175px; background: linear-gradient(180deg,#f6b93b,#c98a1e); }
.can.c5 { height: 135px; background: linear-gradient(180deg,#eeeeee,#c7c7c7); }
.hero-visual .vlabel { position: absolute; top: 18px; left: 18px; background: rgba(0,0,0,0.35);
  color: #fff; font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 20px; letter-spacing: .04em; }

/* ── product categories ── */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: .15s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(15,61,43,0.10); border-color: #cfe0d5; }
.card .cic { width: 50px; height: 50px; border-radius: 12px; background: var(--paper2); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.card .cic svg { width: 26px; height: 26px; stroke: var(--green); }
.card h3 { font-size: 18px; font-weight: 800; }
.card p { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* ── split feature rows (vending / retail) ── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.split.rev .split-media { order: 2; }
.split-media { border-radius: 18px; min-height: 300px; border: 1px solid var(--line);
  background: linear-gradient(135deg, #eaf5ee, #d7ebde); position: relative; overflow: hidden; }
.split-media.dark { background: linear-gradient(135deg, #1f6b47, #0f3d2b); }
.split-media .badge { position: absolute; top: 16px; left: 16px; background: rgba(255,255,255,0.9);
  color: var(--green-deep); font-weight: 800; font-size: 12px; padding: 6px 12px; border-radius: 20px; }
.split-media .icons { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 18px; }
.split-media .icons svg { width: 56px; height: 56px; stroke: var(--green); opacity: .55; }
.split-media.dark .icons svg { stroke: var(--gold); opacity: .7; }
.tick { list-style: none; margin-top: 16px; display: grid; gap: 10px; }
.tick li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.tick li::before { content: "✓"; color: var(--green); font-weight: 900; }

/* ── online ordering band ── */
.band { background: var(--green-deep); color: #fff; border-radius: 20px; padding: 40px; display: grid;
  grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: center; }
.band h2 { color: #fff; }
.band .lead { color: #cfe0d5; }
.band .ord-list { display: grid; gap: 10px; margin-top: 16px; }
.band .ord-list div { display: flex; gap: 10px; align-items: center; color: #e8f0ea; font-size: 15px; }
.band .ord-list svg { width: 20px; height: 20px; stroke: var(--gold); flex-shrink: 0; }
.band-cta { display: flex; flex-direction: column; gap: 12px; }
.band-cta .note { color: #a9c2b1; font-size: 13px; }

/* ── contact ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 24px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.contact-row { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.contact-row svg { width: 22px; height: 22px; stroke: var(--green); flex-shrink: 0; margin-top: 2px; }
.contact-row b { display: block; font-size: 14px; }
.contact-row a, .contact-row span { color: var(--muted); font-size: 14.5px; }
.access-box { background: linear-gradient(135deg, #124a33, #0f3d2b); color: #fff; border-radius: var(--radius); padding: 26px; }
.access-box h3 { font-size: 20px; font-weight: 800; }
.access-box p { color: #cfe0d5; font-size: 14.5px; margin: 8px 0 18px; }
.access-box .fineprint { color: #a9c2b1; font-size: 12px; margin-top: 12px; }

/* ── footer ── */
footer { background: var(--green-deep2); color: #cfe0d5; padding: 46px 0 30px; border-top: 3px solid var(--gold); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.foot-logo { height: 40px; margin-bottom: 12px; }
.foot-grid h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.foot-grid a { display: block; color: #b8ccbf; font-size: 14px; margin-bottom: 8px; }
.foot-grid a:hover { color: var(--gold); }
.foot-bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 30px; padding-top: 18px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: #8fa898; font-size: 13px; }

/* ── mobile ── */
@media (max-width: 900px) {
  /* tighter mobile header (logo stays readable) */
  .nav { height: 64px; }
  .nav .logo { height: 42px; }
  section[id] { scroll-margin-top: 74px; }   /* match the shorter mobile header */
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column;
    gap: 0; background: var(--green-deep); border-bottom: 1px solid rgba(255,255,255,0.1); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 22px; border-top: 1px solid rgba(255,255,255,0.06); }
  .mnav-login { display: block; color: var(--gold); font-weight: 800; }
  .nav-cta { display: none; }
  .hamburger { display: block; }
  .hero-grid, .split, .band, .contact-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 40px; }
  .hero-sub { max-width: none; }
  /* stack hero CTAs full-width so they're easy to tap and never squeezed */
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-visual { min-height: 240px; }
  .split.rev .split-media { order: 0; }
  .cards { grid-template-columns: 1fr 1fr; }
  .section { padding: 52px 0; }
  .section h2 { font-size: 27px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  /* a touch more breathing room from the screen edges on phones */
  .wrap { padding: 0 18px; }
  .hero-grid { padding: 40px 18px 48px; }
  .cards { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
}
