/* ===== Casner Boat Days — whimsical summer microsite ===== */
:root {
  --sky:      #38b6ff;
  --sky-deep: #0288d1;
  --water:    #015b8a;
  --coral:    #ff6b4a;
  --coral-dk: #e8532f;
  --sun:      #ffd23f;
  --cream:    #fff8ee;
  --foam:     #eafaff;
  --ink:      #06354a;
  --ink-soft: #2b5b70;
  --radius:   22px;
  --shadow:   0 14px 38px rgba(1, 91, 138, 0.18);
  --shadow-sm:0 6px 18px rgba(1, 91, 138, 0.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Nunito", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3, .brand, .btn { font-family: "Fredoka", "Nunito", sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: 1.05rem; font-weight: 600;
  padding: .85rem 1.6rem; border-radius: 999px;
  text-decoration: none; cursor: pointer; border: none;
  transition: transform .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px) scale(1.02); }
.btn:active { transform: translateY(0) scale(.99); }
.btn-primary {
  background: linear-gradient(135deg, var(--coral), var(--coral-dk));
  color: #fff; box-shadow: 0 10px 24px rgba(255, 107, 74, .42);
}
.btn-sun { background: var(--sun); color: var(--ink); box-shadow: 0 10px 22px rgba(255,210,63,.4); }
.btn-ghost { background: rgba(255,255,255,.85); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-lg { font-size: 1.25rem; padding: 1.1rem 2.2rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: .8rem 1.3rem;
  background: rgba(255, 248, 238, .82);
  backdrop-filter: blur(10px);
  transition: box-shadow .2s ease, padding .2s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); padding: .55rem 1.3rem; }
.brand { font-size: 1.3rem; font-weight: 700; color: var(--ink); text-decoration: none; }
.site-header nav { display: flex; align-items: center; gap: 1.4rem; }
.site-header nav a.navlink { font-weight: 700; text-decoration: none; color: var(--ink-soft); }
.site-header nav a.navlink:hover { color: var(--coral-dk); }
.site-header .btn { padding: .6rem 1.2rem; font-size: .98rem; }
@media (max-width: 760px) { .site-header nav .navlink { display: none; } }

/* ---------- hero (playful 2-column) ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #bfe9ff 0%, #e7f7ff 60%, var(--cream) 100%);
  padding: 3.4rem 1.3rem 1.2rem;
}
.hero-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 2.4rem; align-items: center;
}
.hero-copy { text-align: left; }
.hero .eyebrow {
  display: inline-block; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  font-size: .78rem; background: var(--sun); color: var(--ink);
  padding: .35rem .9rem; border-radius: 999px; margin-bottom: 1rem;
}
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1.02; font-weight: 700; color: var(--ink); }
.hero h1 .accent { color: var(--coral-dk); }
.hero p.lead { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: var(--ink-soft); margin: 1rem 0 1.8rem; max-width: 42ch; }
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; }

/* whimsical animated scene */
.scene {
  position: relative; aspect-ratio: 4 / 3; border-radius: 26px; overflow: hidden;
  background: linear-gradient(180deg, #8fd6ff 0%, #c7ecff 58%, #aee0ff 59%);
  box-shadow: var(--shadow);
}
.scene .sun {
  position: absolute; top: 11%; right: 13%; width: 60px; height: 60px; border-radius: 50%; z-index: 2;
  background: radial-gradient(circle, #ffe680, var(--sun));
  box-shadow: 0 0 0 9px rgba(255,210,63,.22), 0 0 38px rgba(255,210,63,.55);
  animation: sunPulse 5s ease-in-out infinite;
}
@keyframes sunPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.09); } }
.scene .cloud {
  position: absolute; height: 18px; background: #fff; border-radius: 40px; z-index: 2; opacity: .95;
  box-shadow: 20px 0 0 -3px #fff, -20px 3px 0 -6px #fff;
}
.scene .cloud.c1 { width: 56px; top: 22%; left: 10%; animation: drift 14s linear infinite; }
.scene .cloud.c2 { width: 40px; top: 40%; left: 50%; animation: drift 20s linear infinite; }
@keyframes drift { from { transform: translateX(-40px); } to { transform: translateX(150px); } }
.scene .waves { position: absolute; left: -5%; width: 110%; bottom: 0; height: 52%; }
.scene .waves.back { z-index: 1; animation: waveDrift 9s ease-in-out infinite alternate; }
.scene .waves.front { z-index: 3; height: 34%; animation: waveDrift 7s ease-in-out infinite alternate-reverse; }
@keyframes waveDrift { from { transform: translateX(-4%); } to { transform: translateX(4%); } }
.scene .hero-boat {
  position: absolute; left: 50%; bottom: 27%; width: 64%; z-index: 2;
  animation: heroBob 3.6s ease-in-out infinite;
  filter: drop-shadow(0 8px 7px rgba(1,60,100,.22));
}
@keyframes heroBob {
  0%,100% { transform: translateX(-50%) translateY(0) rotate(-2deg); }
  50%     { transform: translateX(-50%) translateY(-7px) rotate(2deg); }
}
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .hero-copy { text-align: center; }
  .hero-cta { justify-content: center; }
  .scene { max-width: 440px; margin: 0 auto; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .scene .sun, .scene .cloud, .scene .waves, .scene .hero-boat { animation: none; }
}
.float { animation: bob 4s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-10px) } }

/* wave dividers */
.wave { display: block; width: 100%; height: 70px; }
.wave-up { margin-bottom: -6px; }
.section-tag { position: absolute; left: 50%; transform: translateX(-50%); bottom: 1.4rem; z-index:2; font-size:1.7rem; }

/* ---------- sections ---------- */
section { position: relative; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 3.2rem 1.3rem; }
.section-head { text-align: center; margin-bottom: 2.2rem; }
.section-head h2 { font-size: clamp(2rem, 5vw, 2.9rem); color: var(--water); }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; max-width: 46ch; margin: .5rem auto 0; }

.vibe { background: var(--foam); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.1rem; }
.card {
  background: #fff; border-radius: var(--radius); padding: 1.6rem 1.3rem; text-align: center;
  box-shadow: var(--shadow-sm); transition: transform .18s ease;
}
.card:hover { transform: translateY(-5px); }
.card .emoji { font-size: 2.6rem; display: block; margin-bottom: .5rem; }
.card h3 { font-size: 1.25rem; color: var(--coral-dk); margin-bottom: .3rem; }
.card p { color: var(--ink-soft); font-size: .98rem; }

/* ---------- gallery ---------- */
.gallery-grid {
  columns: 3 240px; column-gap: 14px;
}
.gallery-grid img {
  width: 100%; border-radius: 16px; margin-bottom: 14px; cursor: zoom-in;
  box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease;
  break-inside: avoid;
}
.gallery-grid img:hover { transform: scale(1.02) rotate(-.6deg); box-shadow: var(--shadow); }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: none;
  align-items: center; justify-content: center; padding: 2rem;
  background: rgba(3, 40, 64, .9); backdrop-filter: blur(4px);
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 14px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox .close { position: absolute; top: 1.1rem; right: 1.4rem; font-size: 2.4rem; color: #fff; cursor: pointer; line-height: 1; }

/* ---------- FAQ ---------- */
.faq { background: linear-gradient(180deg, #fff, var(--foam)); }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: .8rem; }
.faq-item { background: #fff; border-radius: 16px; box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  font-family: "Fredoka", sans-serif; font-size: 1.12rem; font-weight: 600; color: var(--ink);
  padding: 1.05rem 1.3rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-q .chev { transition: transform .2s ease; color: var(--coral); font-size: 1.3rem; }
.faq-item.open .faq-q .chev { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq-a-inner { padding: 0 1.3rem 1.15rem; color: var(--ink-soft); }
.faq-a-inner a { color: var(--sky-deep); font-weight: 700; }

/* ---------- the boat ---------- */
.boat { background: var(--foam); }
.boat-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: center; }
.boat-photo { background: radial-gradient(circle at 50% 40%, #fff, var(--foam)); border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow-sm); }
.specs { list-style: none; display: grid; gap: .7rem; }
.specs li { display: flex; gap: .7rem; align-items: center; font-size: 1.08rem; font-weight: 600; }
.specs li .s-emoji { font-size: 1.4rem; }
@media (max-width: 760px) { .boat-wrap { grid-template-columns: 1fr; } }

/* ---------- final CTA ---------- */
.cta-band { background: linear-gradient(135deg, var(--sky), var(--sky-deep)); color: #fff; text-align: center; }
.cta-band h2 { font-size: clamp(2rem, 6vw, 3.2rem); }
.cta-band p { font-size: 1.15rem; margin: .6rem auto 1.8rem; max-width: 40ch; opacity: .95; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #cfe8f5; text-align: center; padding: 2.4rem 1.3rem 3rem; }
.site-footer a { color: var(--sun); font-weight: 700; text-decoration: none; }
.site-footer .small { opacity: .7; font-size: .9rem; margin-top: .8rem; }

/* ---------- sticky mobile CTA ---------- */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none; padding: .7rem 1rem;
  background: rgba(255,248,238,.92); backdrop-filter: blur(8px); box-shadow: 0 -6px 18px rgba(1,91,138,.14); }
.sticky-cta .btn { width: 100%; justify-content: center; }
@media (max-width: 760px) { .sticky-cta { display: block; } body { padding-bottom: 70px; } }

/* ===== scroll fun: sailing boat + tow rig ===== */

/* ambient boat that sails across a waterline as you scroll the page */
.sail-lane { position: fixed; left: 0; right: 0; bottom: 0; height: 92px; z-index: 35; pointer-events: none; overflow: hidden; }
.sail-lane .water {
  position: absolute; left: 0; right: 0; bottom: 0; height: 42px;
  background: linear-gradient(180deg, rgba(56,182,255,0) 0%, rgba(56,182,255,.32) 45%, rgba(2,136,209,.55) 100%);
}
.sail-lane .lane-wave {
  position: absolute; left: -5%; width: 110%; bottom: 30px; height: 24px; opacity: .55;
  animation: waveDrift 8s ease-in-out infinite alternate;
}
.sail-boat {
  position: absolute; bottom: 26px; height: 52px; width: auto; left: 0;
  filter: drop-shadow(0 6px 5px rgba(1,60,100,.28));
  animation: bobBoat 3.2s ease-in-out infinite;
}
@keyframes bobBoat { 0%,100% { rotate: -1.6deg; translate: 0 1px; } 50% { rotate: 1.6deg; translate: 0 -5px; } }
@media (max-width: 760px) { .sail-lane { display: none; } }       /* keep clear of the sticky CTA on phones */
@media (prefers-reduced-motion: reduce) { .sail-boat, .lane-wave { animation: none; } }

/* ---------- activities ---------- */
.activities { background: #fff; }
.pills { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; max-width: 740px; margin: 0 auto; }
.pill {
  background: var(--foam); color: var(--ink); font-weight: 700; font-family: "Fredoka", sans-serif;
  padding: .6rem 1.15rem; border-radius: 999px; box-shadow: var(--shadow-sm); font-size: 1.05rem;
  transition: transform .15s ease;
}
.pill:hover { transform: translateY(-3px) rotate(-1deg); }
.footnote { text-align: center; color: var(--ink-soft); font-size: .96rem; margin: 1.5rem auto 0; max-width: 52ch; }
.footnote strong { color: var(--coral-dk); }

/* ---------- mobile polish ---------- */
@media (max-width: 480px) {
  .brand { font-size: 1.02rem; }
  .site-header { padding: .55rem .85rem; }
  .site-header .btn { padding: .5rem 1rem; font-size: .9rem; }
  .wrap { padding: 2.4rem 1.1rem; }
  .hero { padding: 2.2rem 1.1rem 1rem; }
  .hero h1 { font-size: clamp(2.1rem, 11vw, 3rem); }
  .hero p.lead { font-size: 1.05rem; }
  .btn-lg { font-size: 1.08rem; padding: .9rem 1.5rem; }
  .section-head h2 { font-size: 1.85rem; }
  .section-head p { font-size: 1rem; }
  .gallery-grid { columns: 2 150px; column-gap: 10px; }
  .gallery-grid img { margin-bottom: 10px; border-radius: 13px; }
  .pill { font-size: .98rem; padding: .55rem 1rem; }
  .specs li { font-size: 1rem; }
}
