/* ==========================================================================
   Nate's Bait & Market - shared stylesheet
   Owned by the orchestrator. Page subagents add page-scoped rules in their own
   page's inline <style> block, NOT here.
   Fonts are loaded via <link> in each page <head> (Playfair Display + EB Garamond).
   ========================================================================== */

:root {
  --brand:        #1aabce;   /* bright cyan - buttons, footer, icons, cards */
  --brand-dark:   #147f9b;   /* hover / darker cyan */
  --brand-deep:   #0d6b84;
  --ink:          #1b1b1b;   /* near-black body text */
  --ink-soft:     #444444;
  --muted:        #6b6b6b;
  --heading:      #141414;
  --gold:         #e6b34a;   /* review stars */
  --white:        #ffffff;
  --paper:        #f5f7f8;   /* light section background */
  --paper-2:      #eef2f3;
  --line:         #e2e6e8;
  --hero-card:    rgba(18, 24, 28, 0.42);
  --hero-veil:    rgba(0, 0, 0, 0.34);
  --serif-head:   'Playfair Display', Georgia, 'Times New Roman', serif;
  --serif-body:   'EB Garamond', Georgia, 'Times New Roman', serif;
  --maxw:         1200px;
  --radius:       14px;
  --radius-pill:  999px;
  --shadow:       0 10px 30px rgba(0, 0, 0, 0.10);
  --shadow-sm:    0 4px 14px rgba(0, 0, 0, 0.08);
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--serif-body);
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--serif-head);
  color: var(--heading);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 700;
}
p { margin: 0 0 1em; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section--paper { background: var(--paper); }
.eyebrow {
  font-family: var(--serif-body);
  letter-spacing: .02em;
  color: var(--brand-dark);
  font-size: 1.05rem;
  margin: 0 0 .4em;
}
.center { text-align: center; }
.lead { font-size: 1.12rem; color: var(--ink-soft); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--serif-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .82rem;
  padding: 15px 34px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .2s ease, background-color .25s ease, color .25s ease, box-shadow .25s ease;
  white-space: nowrap;
}
.btn-cyan { background: var(--brand); color: #fff; }
.btn-cyan:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: #f0f0f0; transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-outline { background: transparent; color: var(--brand-dark); border-color: var(--brand); }
.btn-outline:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header { background: #fff; position: sticky; top: 0; z-index: 200; box-shadow: 0 1px 0 var(--line); }
.header-top {
  max-width: var(--maxw); margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.header-logo img { height: 74px; width: auto; }
.header-contact { display: flex; gap: 42px; align-items: center; }
.hc-item { display: flex; align-items: center; gap: 12px; }
.hc-icon {
  width: 44px; height: 44px; border-radius: 50%; background: var(--brand);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.hc-icon svg { width: 20px; height: 20px; fill: #fff; }
.hc-text { font-family: var(--serif-body); line-height: 1.25; }
.hc-text .hc-label { font-weight: 700; color: var(--heading); font-size: .98rem; }
.hc-text a, .hc-text span { color: var(--ink-soft); font-size: .95rem; }
.header-cta { flex: none; }

/* nav bar */
.nav-bar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.nav-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; display: flex; justify-content: center; }
.nav-menu { list-style: none; display: flex; flex-wrap: wrap; margin: 0; padding: 0; }
.nav-menu > li { position: relative; }
.nav-menu > li > a, .nav-toggle {
  display: block; padding: 15px 22px;
  font-family: var(--serif-body); text-transform: uppercase; letter-spacing: .04em;
  font-size: .92rem; color: var(--ink); font-weight: 600;
  border-left: 1px solid var(--line);
  background: none; border-top: none; border-right: none; border-bottom: none; cursor: pointer;
  transition: color .2s ease;
}
.nav-menu > li:last-child > a { border-right: 1px solid var(--line); }
.nav-menu > li > a:hover, .nav-toggle:hover { color: var(--brand-dark); }
.nav-menu > li.current > a { color: var(--brand-dark); box-shadow: inset 0 -3px 0 var(--brand); }
.nav-toggle .caret { font-size: .7em; margin-left: 6px; }

/* dropdown */
.has-sub > .submenu {
  position: absolute; top: 100%; left: 0; min-width: 250px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  list-style: none; margin: 0; padding: 6px 0; z-index: 240;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.has-sub:hover > .submenu, .has-sub:focus-within > .submenu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.submenu li a {
  display: block; padding: 11px 22px; font-family: var(--serif-body);
  font-size: .92rem; color: var(--ink); text-transform: none; letter-spacing: 0;
  transition: background .18s ease, color .18s ease;
}
.submenu li a:hover { background: var(--paper); color: var(--brand-dark); }

/* mobile nav toggle (hidden on desktop) */
.nav-mobile-btn { display: none; }

/* ==========================================================================
   Social rail (fixed, right edge)
   ========================================================================== */
.social-rail {
  position: fixed; right: 0; top: 50%; transform: translateY(-50%);
  z-index: 150; display: flex; flex-direction: column;
}
.social-rail a {
  width: 30px; height: 30px; background: var(--brand);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease;
}
.social-rail a:hover { background: var(--brand-dark); }
.social-rail svg { width: 16px; height: 16px; fill: #fff; }

/* ==========================================================================
   Hero (home + page banners)
   ========================================================================== */
.page-hero {
  position: relative; color: #fff; text-align: center;
  padding: 120px 24px; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: var(--hero-veil); z-index: 1;
}
.page-hero > .hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.page-hero .hero-inner { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); }
.page-hero p { color: #f2f2f2; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--brand); color: #fff; }
.footer-main {
  max-width: var(--maxw); margin: 0 auto; padding: 60px 24px 40px;
  display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1.3fr; gap: 40px;
}
.footer-main h4 { color: #fff; font-family: var(--serif-head); font-size: 1.35rem; margin-bottom: 18px; }
.footer-brand img { height: 92px; width: auto; margin-bottom: 16px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.2)); }
.footer-brand p { color: #eafaff; font-size: 1rem; line-height: 1.55; }
.footer-links ul { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links li a { display: flex; align-items: center; gap: 10px; color: #f2ffff; transition: padding-left .2s ease; }
.footer-links li a::before { content: "\25B8"; color: #fff; font-size: .9em; }
.footer-links li a:hover { padding-left: 6px; }
.footer-contact ul { list-style: none; margin: 0; padding: 0; }
.footer-contact li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; color: #f2ffff; font-size: 1rem; }
.footer-contact svg { width: 18px; height: 18px; fill: #fff; flex: none; margin-top: 4px; }
.footer-contact a { color: #f2ffff; }
.footer-sub label { display: block; color: #fff; margin-bottom: 8px; font-size: .95rem; }
.footer-sub input[type=email] {
  width: 100%; padding: 12px 14px; border: none; border-radius: 4px;
  font-family: var(--serif-body); font-size: 1rem; margin-bottom: 14px; color: var(--ink);
}
.footer-sub .btn-sub {
  width: 100%; background: #fff; color: var(--ink); border: none;
  padding: 12px; border-radius: 4px; font-family: var(--serif-body);
  font-weight: 700; cursor: pointer; transition: background .2s ease;
}
.footer-sub .btn-sub:hover { background: #eaf7fb; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.35); }
.footer-bottom-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 22px 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: .92rem; color: #eafaff; flex-wrap: wrap;
}
.footer-bottom-inner .legal a { color: #fff; margin-left: 24px; }
.footer-bottom-inner .legal a:hover { text-decoration: underline; }

/* honeypot (off-screen, NOT display:none) */
.hp-field { position: absolute; left: -9999px; overflow: hidden; width: 1px; height: 1px; }

/* ==========================================================================
   Video lightbox (shared: home + about pages)
   ========================================================================== */
body.lightbox-lock { overflow: hidden; }
.lightbox {
  position: fixed; inset: 0; background: rgba(10, 14, 12, 0.88);
  display: flex; align-items: center; justify-content: center;
  padding: 60px 24px; z-index: 999;
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-inner { position: relative; max-width: 920px; width: 100%; }
.lightbox-inner video {
  width: 100%; max-height: 82vh; display: block; border-radius: 10px;
  background: #000; box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.lightbox-close {
  position: absolute; top: -46px; right: 0; width: 38px; height: 38px;
  border-radius: 50%; border: none; background: rgba(255,255,255,.12);
  color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer;
  transition: background .2s ease;
}
.lightbox-close:hover { background: rgba(255,255,255,.25); }
.btn-play-ico { display: inline-flex; align-items: center; gap: 10px; }
.btn-play-ico svg { width: 18px; height: 18px; fill: currentColor; }
@media (max-width: 600px) {
  .lightbox-close { top: -40px; right: 4px; }
}

/* ==========================================================================
   Motion - pure CSS, always ends visible (fill-mode both). Never a static
   opacity:0 rule on real content.
   ========================================================================== */
@keyframes riseIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes zoomSlow { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(26,171,206,.6); }
  70% { box-shadow: 0 0 0 12px rgba(26,171,206,0); }
  100% { box-shadow: 0 0 0 0 rgba(26,171,206,0); }
}

.rise { animation: riseIn .8s ease both; }
.rise-2 { animation: riseIn .8s ease .12s both; }
.rise-3 { animation: riseIn .8s ease .24s both; }
.rise-4 { animation: riseIn .8s ease .36s both; }
.fade-in { animation: fadeIn 1s ease both; }
.page-hero .hero-bg { animation: zoomSlow 9s ease-out both; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1000px) {
  .footer-main { grid-template-columns: 1fr 1fr; }
  .header-contact { gap: 24px; }
}
@media (max-width: 820px) {
  .header-top { flex-wrap: wrap; justify-content: center; text-align: center; }
  .header-contact { order: 3; width: 100%; justify-content: center; }
  .nav-inner { padding: 0; }
  .nav-mobile-btn {
    display: block; width: 100%; text-align: center; padding: 14px;
    font-family: var(--serif-body); text-transform: uppercase; letter-spacing: .06em;
    background: #fff; border: none; cursor: pointer; font-size: .95rem; color: var(--ink);
  }
  .nav-menu {
    display: none; flex-direction: column; width: 100%;
  }
  .nav-menu.open { display: flex; }
  .nav-menu > li > a, .nav-toggle { border-left: none; border-top: 1px solid var(--line); width: 100%; text-align: center; }
  .nav-menu > li:last-child > a { border-right: none; }
  .has-sub > .submenu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; border-top: 1px solid var(--line); background: var(--paper); text-align: center;
  }
  .social-rail { display: none; }
  .section { padding: 56px 0; }
}
@media (max-width: 560px) {
  .footer-main { grid-template-columns: 1fr; }
  body { font-size: 18px; }
}
