/* ==========================================================================
   Captain Ron's — Coastal Nautical Premium
   Shared stylesheet for the redesign demo
   ========================================================================== */

:root {
  /* Brand palette */
  --navy-900: #08233d;
  --navy-800: #0d2c4a;
  --navy-700: #143b5e;
  --teal-500: #1fa89a;
  --teal-400: #2bc0b0;
  --teal-600: #16877c;
  --gold-500: #d9a441;
  --gold-600: #c08e2c;
  --sand-100: #faf5ec;
  --sand-200: #f2e7d4;
  --sand-300: #e7d6ba;
  --ink: #14202b;
  --ink-soft: #43545f;
  --white: #ffffff;
  --line: rgba(8, 35, 61, 0.10);

  --shadow-sm: 0 2px 8px rgba(8, 35, 61, 0.08);
  --shadow-md: 0 12px 30px rgba(8, 35, 61, 0.12);
  --shadow-lg: 0 24px 60px rgba(8, 35, 61, 0.18);

  --radius: 16px;
  --radius-lg: 26px;
  --maxw: 1180px;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sand-100);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--teal-600); text-decoration: none; }
a:hover { color: var(--teal-500); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  color: var(--navy-900);
  margin: 0 0 .5em;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .74rem;
  color: var(--teal-600);
  margin-bottom: 14px;
}

.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.section--sand { background: var(--sand-200); }
.section--navy { background: var(--navy-900); color: #dfe9f1; }
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }
.section--navy .eyebrow { color: var(--teal-400); }

.text-center { text-align: center; }
.lead { font-size: 1.18rem; color: var(--ink-soft); }
.section--navy .lead { color: #b9cad8; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .98rem;
  letter-spacing: .01em;
  padding: 15px 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--teal-500); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--teal-600); color: #fff; box-shadow: var(--shadow-md); }
.btn--gold { background: var(--gold-500); color: var(--navy-900); }
.btn--gold:hover { background: var(--gold-600); color: var(--navy-900); }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn--outline { background: transparent; border-color: var(--navy-800); color: var(--navy-800); }
.btn--outline:hover { background: var(--navy-900); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 35, 61, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 18px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gold-500);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy-900);
  font-size: 1.25rem;
  box-shadow: inset 0 0 0 3px rgba(8,35,61,.15);
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 600;
  color: #fff;
  font-size: 1.22rem;
  line-height: 1;
}
.brand__name small {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-size: .56rem;
  color: var(--teal-400);
  margin-top: 4px;
}
.nav__links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  color: #cdddea;
  font-weight: 600;
  font-size: .94rem;
  padding: 9px 14px;
  border-radius: 8px;
  transition: color .15s, background .15s;
}
.nav__links a:hover { color: #fff; background: rgba(255,255,255,.08); }
.nav__links a.active { color: var(--teal-400); }
.nav__links a.active:hover { color: var(--teal-400); background: rgba(43,192,176,.12); }
.nav__cta { display: flex; align-items: center; gap: 12px; }
.nav__toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav__toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(8,35,61,.78) 0%, rgba(8,35,61,.62) 45%, rgba(8,35,61,.88) 100%),
    url("https://static.wixstatic.com/media/88d322_f3e836ec94e14c6ab0e2ff42b448219b~mv2.jpg/v1/fill/w_1920,h_1000,al_c,q_85,enc_auto/file.jpg")
    center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 40px;
  align-items: center;
  padding: 96px 0 104px;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(217,164,65,.16);
  border: 1px solid rgba(217,164,65,.5);
  color: var(--gold-500);
  font-weight: 700; font-size: .8rem; letter-spacing: .08em;
  padding: 7px 16px; border-radius: 999px; text-transform: uppercase;
  margin-bottom: 22px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.6rem, 5.4vw, 4.3rem);
  letter-spacing: -.01em;
  margin-bottom: 18px;
}
.hero h1 .accent { color: var(--teal-400); }
.hero p { font-size: 1.18rem; color: #d4e2ee; max-width: 540px; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero__stats { display: flex; gap: 32px; flex-wrap: wrap; }
.hero__stat strong { display: block; font-family: var(--font-display); font-size: 1.9rem; color: #fff; }
.hero__stat span { font-size: .85rem; color: #9fb6c8; letter-spacing: .04em; }
.hero__card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-lg);
  padding: 26px;
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-lg);
}
.hero__card img { border-radius: 18px; margin: 0 auto; max-height: 360px; width: auto; }
.hero__card .cap {
  text-align: center; margin-top: 16px; font-weight: 600; color: #fff;
}
.hero__card .cap small { display: block; color: var(--teal-400); letter-spacing: .14em; text-transform: uppercase; font-size: .68rem; margin-top: 4px; }

/* ---------- Marquee / repels strip ---------- */
.repels {
  background: var(--teal-600);
  color: #fff;
  padding: 16px 0;
  font-weight: 600;
  letter-spacing: .02em;
}
.repels .container { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center; align-items: center; }
.repels span { display: inline-flex; align-items: center; gap: 8px; font-size: .98rem; }
.repels span::before { content: "✓"; color: var(--gold-500); font-weight: 800; }

/* ---------- Feature cards ---------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__icon {
  width: 54px; height: 54px; border-radius: 14px;
  background: var(--sand-200); color: var(--teal-600);
  display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 18px;
}
.card h3 { font-size: 1.25rem; }
.card p { color: var(--ink-soft); margin: 0; }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.split__body h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }

.feature-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); }
.feature-list li::before {
  content: "✓"; flex: 0 0 24px; width: 24px; height: 24px; margin-top: 2px;
  background: var(--teal-500); color: #fff; border-radius: 50%;
  display: grid; place-items: center; font-size: .8rem; font-weight: 800;
}

/* ---------- Product cards ---------- */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .2s ease;
  position: relative;
}
.product:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.product__tag {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  background: var(--gold-500); color: var(--navy-900);
  font-weight: 800; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
}
.product__tag--sold { background: #b1452f; color: #fff; }
.product__media {
  background: radial-gradient(circle at 50% 38%, var(--sand-100), var(--sand-200));
  padding: 34px; display: grid; place-items: center; min-height: 230px;
}
.product__media img { max-height: 200px; width: auto; filter: drop-shadow(0 14px 22px rgba(8,35,61,.18)); }
.product__body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.product__body h3 { font-size: 1.35rem; margin-bottom: 6px; }
.product__size { color: var(--ink-soft); font-size: .92rem; margin-bottom: 14px; }
.product__price { font-family: var(--font-display); font-size: 2rem; color: var(--teal-600); margin-bottom: 4px; }
.product__price small { font-family: var(--font-body); font-size: .85rem; color: var(--ink-soft); font-weight: 600; }
.product__foot { margin-top: auto; padding-top: 18px; }
.product__foot .btn { width: 100%; justify-content: center; }
.product--featured { border-color: var(--teal-400); box-shadow: 0 0 0 2px rgba(43,192,176,.25), var(--shadow-md); }

/* ---------- Testimonials ---------- */
.quote {
  background: #fff;
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--teal-500);
  height: 100%;
}
.quote__stars { color: var(--gold-500); letter-spacing: 3px; margin-bottom: 14px; }
.quote p { color: var(--ink); font-style: italic; margin: 0 0 18px; }
.quote__by { font-weight: 700; color: var(--navy-900); }
.quote__by span { display: block; font-weight: 500; color: var(--ink-soft); font-size: .88rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
  color: #fff; border-radius: var(--radius-lg);
  padding: 54px; text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.cta-band p { color: #c4d4e2; max-width: 560px; margin: 0 auto 26px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; background: #fff; padding: 32px; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.form label { font-weight: 600; font-size: .9rem; color: var(--navy-900); margin-bottom: -8px; }
.form input, .form textarea {
  font-family: var(--font-body); font-size: 1rem;
  padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--sand-100); color: var(--ink);
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--teal-400); border-color: transparent; background: #fff; }
.form .note { font-size: .82rem; color: var(--ink-soft); margin: 0; }

.info-card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.info-card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.info-card .big { font-family: var(--font-display); font-size: 1.5rem; color: var(--teal-600); }

/* ---------- Media / video ---------- */
.video-wrap { position: relative; padding-top: 56.25%; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery img { border-radius: var(--radius); box-shadow: var(--shadow-sm); width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #aebfce; padding: 60px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer a { color: #aebfce; display: block; padding: 5px 0; }
.site-footer a:hover { color: var(--teal-400); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; color: #7e93a5; }
.social { display: flex; gap: 12px; margin-top: 14px; }
.social a {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08);
  display: grid; place-items: center; color: #fff; padding: 0;
}
.social a:hover { background: var(--teal-500); }

/* ---------- Page hero (subpages) ---------- */
.page-hero { background: linear-gradient(120deg, var(--navy-900), var(--navy-700)); color: #fff; padding: 70px 0 60px; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
.page-hero p { color: #c4d4e2; max-width: 600px; font-size: 1.1rem; }
.breadcrumb { font-size: .85rem; color: #8aa3b8; margin-bottom: 12px; }
.breadcrumb a { color: var(--teal-400); }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.muted { color: var(--ink-soft); }
.badge-usa { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy-900); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; padding: 64px 0 72px; }
  .hero__card { max-width: 420px; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split--reverse .split__media { order: 0; }
  .grid--3, .grid--4, .products { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav__links {
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: var(--navy-900); padding: 14px; gap: 2px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    display: none;
  }
  .nav__links.open { display: flex; }
  .nav__toggle { display: block; }
}
@media (max-width: 560px) {
  .section { padding: 56px 0; }
  .grid--3, .grid--4, .products, .grid--2, .gallery { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 22px; }
  .nav__cta .btn { padding: 11px 18px; font-size: .85rem; }
}
