/* ============ Lovelace Fishing ============ */

:root {
  --bg: #0b1216;
  --bg-alt: #101b21;
  --panel: #14222b;
  --panel-edge: #1f333f;
  --text: #e9f0f3;
  --text-dim: #9db2bc;
  --accent: #4fd1c5;
  --accent-dark: #2ba99d;
  --amber: #f4a261;
  --radius: 14px;
  --header-h: 64px;
  --announce-h: 40px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--announce-h)); }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand {
  font-family: 'Oswald', 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.15;
}

h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.15rem; }

img { max-width: 100%; }

.container { width: min(1120px, 92%); margin-inline: auto; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}

/* ---------- Announce bar ---------- */
.announce-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  height: var(--announce-h);
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(90deg, #b3541e, #d97b3f, #b3541e);
  font-size: 0.88rem; padding-inline: 12px; text-align: center;
}
.announce-bar p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.announce-bar a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.announce-short { display: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: var(--announce-h); left: 0; right: 0; z-index: 50;
  height: var(--header-h);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  background: rgba(11, 18, 22, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 100%; }

.brand {
  font-size: 1.25rem; font-weight: 700; color: var(--text); text-decoration: none;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.brand span { color: var(--accent); }

.nav-links { display: flex; gap: 26px; list-style: none; align-items: center; }
.nav-links a {
  color: var(--text); text-decoration: none; font-size: 0.92rem; font-weight: 500;
  opacity: 0.9; transition: opacity 0.2s, color 0.2s;
  text-shadow: 0 1px 6px rgba(0,0,0,0.45);
}
.nav-links a:hover { opacity: 1; color: var(--accent); }
.nav-cta {
  border: 1.5px solid var(--accent); border-radius: 999px;
  padding: 6px 18px; color: var(--accent) !important;
}
.nav-cta:hover { background: var(--accent); color: #06231f !important; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--text);
  margin: 5px 0; border-radius: 2px; transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end; justify-content: center;
  background:
    linear-gradient(to bottom, rgba(11,18,22,0.08) 0%, rgba(11,18,22,0.12) 55%, rgba(11,18,22,0.92) 100%),
    url('background.jpg') center 38% / cover no-repeat;
  padding: calc(var(--header-h) + var(--announce-h) + 24px) 5% 90px;
  text-align: center;
}

.hero-content { max-width: 720px; }

.hero-eyebrow {
  font-family: 'Oswald', sans-serif; text-transform: uppercase;
  letter-spacing: 0.28em; font-size: 0.85rem; color: var(--accent);
  margin-bottom: 14px; text-shadow: 0 1px 10px rgba(0,0,0,0.6);
}

.hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.2rem); color: var(--text);
  text-shadow: 0 1px 12px rgba(0,0,0,0.65); margin-bottom: 28px;
}

.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 30px; }

.btn {
  display: inline-block; padding: 13px 30px; border-radius: 999px;
  font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 0.08em;
  font-size: 0.92rem; font-weight: 600; text-decoration: none; cursor: pointer;
  border: 0; transition: transform 0.15s ease, background 0.2s, color 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #06231f; box-shadow: 0 6px 24px rgba(79, 209, 197, 0.35); }
.btn-primary:hover { background: #6fe0d5; }
.btn-ghost { border: 1.5px solid rgba(255,255,255,0.75); color: #fff; background: rgba(11,18,22,0.25); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.btn-wide { width: 100%; }

.hero-socials { display: flex; gap: 18px; justify-content: center; }
.hero-socials a, .footer-socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,0.1); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff; transition: background 0.2s, transform 0.15s, color 0.2s, border-color 0.2s;
}
.hero-socials a:hover, .footer-socials a:hover {
  background: var(--accent); color: #06231f; border-color: var(--accent);
  transform: translateY(-3px);
}
.hero-socials svg, .footer-socials svg { width: 21px; height: 21px; }

.scroll-hint {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.7); animation: bob 2.2s ease-in-out infinite;
}
.scroll-hint svg { width: 28px; height: 28px; }
@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section.alt { background: var(--bg-alt); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-head p { color: var(--text-dim); margin-top: 12px; }

.tag {
  display: inline-block; font-family: 'Oswald', sans-serif; text-transform: uppercase;
  letter-spacing: 0.22em; font-size: 0.75rem; color: var(--amber);
  border: 1px solid rgba(244, 162, 97, 0.4); border-radius: 999px;
  padding: 5px 16px; margin-bottom: 16px;
}

/* ---------- App section ---------- */
.app-section {
  background:
    radial-gradient(ellipse at 15% 50%, rgba(79,209,197,0.09), transparent 55%),
    radial-gradient(ellipse at 85% 50%, rgba(244,162,97,0.08), transparent 55%),
    var(--bg-alt);
  border-block: 1px solid var(--panel-edge);
}
.app-inner {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center;
}
.app-copy h2 { margin-bottom: 12px; }
.app-copy p { color: var(--text-dim); margin-bottom: 24px; }

/* Phone mockup */
.app-visual { display: flex; justify-content: center; }
.phone {
  position: relative; width: 240px; border-radius: 34px;
  background: #0a1116; border: 3px solid #2a3d49;
  padding: 14px 12px; box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.phone-notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 84px; height: 8px; border-radius: 999px; background: #22333e;
}
.phone-screen {
  border-radius: 22px; background: linear-gradient(180deg, #13232d, #0d1a21);
  padding: 30px 16px 20px; text-align: center;
}
.phone-logo { font-size: 2rem; }
.phone-appname {
  font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: 0.08em;
  font-size: 0.85rem; margin: 4px 0 16px; color: var(--accent);
}
.phone-row {
  display: flex; align-items: center; gap: 10px; text-align: left;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; padding: 9px 12px; margin-bottom: 8px;
}
.phone-ico { font-size: 1.05rem; }
.phone-row b { display: block; font-size: 0.85rem; line-height: 1.2; }
.phone-row small { color: var(--text-dim); font-size: 0.68rem; }

.waitlist-form { display: flex; gap: 10px; }
.waitlist-form input[type="email"] {
  flex: 1; min-width: 0; padding: 13px 18px; border-radius: 999px;
  border: 1px solid var(--panel-edge); background: var(--panel);
  color: var(--text); font: inherit; font-size: 0.95rem;
}
.waitlist-form input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 22px; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); max-width: 820px; margin-inline: auto; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--panel); border: 1px solid var(--panel-edge);
  border-radius: var(--radius); padding: 26px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(79,209,197,0.45); box-shadow: 0 10px 34px rgba(0,0,0,0.35); }

.card h3 { margin-bottom: 4px; }
.card-meta { font-style: italic; color: var(--text-dim); font-size: 0.85rem; margin-bottom: 14px; }
.card ul { list-style: none; }
.card ul li { padding: 7px 0; border-top: 1px solid var(--panel-edge); font-size: 0.92rem; color: var(--text-dim); }
.card ul li strong { color: var(--text); }
.card ul li:first-child { border-top: 0; }

.card-band { height: 6px; border-radius: 999px; margin-bottom: 18px; }
.band-rainbow { background: linear-gradient(90deg, #7fd0c0, #e86a92, #4a6b52); }
.band-brown { background: linear-gradient(90deg, #c98a3d, #8a5a24, #d94f30); }
.fish-badge {
  display: inline-block; vertical-align: middle; margin-left: 8px;
  font-family: 'Inter', sans-serif; font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.14em; padding: 3px 10px; border-radius: 999px;
}
.badge-stocked { background: rgba(143, 167, 189, 0.16); border: 1px solid rgba(143, 167, 189, 0.5); color: #b9cadb; }
.badge-wild { background: rgba(79, 209, 197, 0.14); border: 1px solid rgba(79, 209, 197, 0.5); color: var(--accent); }

.species-img {
  background: linear-gradient(180deg, #17313c, #0e1e26);
  border: 1px solid var(--panel-edge);
  border-radius: 10px;
  padding: 16px 10px;
  margin-bottom: 18px;
}
.species-img .fish { display: block; width: 100%; height: auto; filter: drop-shadow(0 6px 10px rgba(0,0,0,0.35)); }
.species-img img { display: block; width: 100%; border-radius: 6px; }

.card.season { text-align: center; }
.season-icon { font-size: 2rem; margin-bottom: 10px; }
.card.season h3 { margin-bottom: 10px; }
.card.season p { color: var(--text-dim); font-size: 0.92rem; }

.link-card { text-decoration: none; color: var(--text); display: block; }
.link-card p { color: var(--text-dim); font-size: 0.92rem; margin-top: 8px; }
.link-card:hover h3 { color: var(--accent); }
.res-icon { display: block; font-size: 1.7rem; margin-bottom: 12px; }

/* ---------- Gear ---------- */
.gear-list { max-width: 760px; margin: 0 auto; display: grid; gap: 14px; }
.gear-item {
  display: flex; gap: 22px; align-items: flex-start;
  background: var(--panel); border: 1px solid var(--panel-edge);
  border-radius: var(--radius); padding: 22px 26px;
  transition: border-color 0.2s, transform 0.2s;
}
.gear-item:hover { border-color: rgba(79,209,197,0.45); transform: translateX(4px); }
.gear-icon {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; font-size: 1.5rem; border-radius: 14px;
  background: rgba(79, 209, 197, 0.12); border: 1px solid rgba(79, 209, 197, 0.3);
}
.gear-item p { color: var(--text-dim); font-size: 0.93rem; margin-top: 4px; }

/* ---------- Contact ---------- */
.contact-inner { max-width: 680px; }
.contact-form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: grid; gap: 7px; }
.form-field label {
  font-family: 'Oswald', sans-serif; text-transform: uppercase;
  letter-spacing: 0.12em; font-size: 0.78rem; color: var(--text-dim);
}
.form-field input, .form-field textarea {
  padding: 13px 16px; border-radius: 10px;
  border: 1px solid var(--panel-edge); background: var(--panel);
  color: var(--text); font: inherit; font-size: 0.95rem; resize: vertical;
}
.form-field input:focus, .form-field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }

/* ---------- Footer ---------- */
.site-footer { background: #080f13; border-top: 1px solid var(--panel-edge); padding: 44px 0; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.footer-socials { display: flex; gap: 16px; }
.footer-note { color: var(--text-dim); font-size: 0.85rem; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-hint { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .card-grid.four { grid-template-columns: repeat(2, 1fr); }
  .card-grid.three { grid-template-columns: repeat(2, 1fr); }
  .app-inner { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .waitlist-form { max-width: 460px; margin-inline: auto; }
}

@media (max-width: 640px) {
  .announce-bar { font-size: 0.8rem; }
  .announce-long { display: none; }
  .announce-short { display: inline; }

  /* Show the image at full width (no side cropping): pin it below the
     header at 100% width and fade its bottom edge into the page bg,
     with the hero copy in the dark area underneath */
  .hero {
    background-color: var(--bg);
    background-image:
      linear-gradient(to bottom,
        rgba(11, 18, 22, 0) calc(var(--announce-h) + var(--header-h) + 42vw),
        var(--bg) calc(var(--announce-h) + var(--header-h) + 56.25vw)),
      url('background.jpg');
    background-position: 0 0, left 50% top calc(var(--announce-h) + var(--header-h));
    background-size: auto, 100% auto;
    background-repeat: no-repeat, no-repeat;
    padding-top: calc(var(--announce-h) + var(--header-h) + 58vw);
    align-items: center;
  }

  .card-grid.two, .card-grid.three, .card-grid.four { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .waitlist-form { flex-direction: column; }
  .section { padding: 64px 0; }

  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: calc(var(--header-h) + var(--announce-h)); right: 0;
    flex-direction: column; gap: 0; width: min(280px, 78vw);
    background: rgba(11, 18, 22, 0.97); backdrop-filter: blur(12px);
    border-left: 1px solid var(--panel-edge); border-bottom: 1px solid var(--panel-edge);
    padding: 12px 0; transform: translateX(100%); transition: transform 0.28s ease;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 14px 28px; }
  .nav-cta { border: 0; border-radius: 0; padding: 14px 28px !important; }
  .nav-cta:hover { background: transparent; color: var(--accent) !important; }
}
