/* ============================================================
   Bonita Bay Marina — homepage + page-hero layouts
   ============================================================ */

/* ---------- Cinematic hero ---------- */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: center; overflow: hidden; background: var(--navy-deep); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform-origin: center; }
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6,25,46,.55) 0%, rgba(6,25,46,.18) 38%, rgba(6,25,46,.72) 100%),
    linear-gradient(100deg, rgba(6,25,46,.62) 0%, transparent 55%);
}
.hero-inner { position: relative; z-index: 2; padding: 150px 0 120px; max-width: 780px; }
.hero .coords { color: var(--brass-light); display: inline-flex; align-items: center; gap: 14px; }
.hero .coords::before, .hero .coords::after { content: ""; width: 38px; height: 1px; background: var(--brass-light); display: inline-block; vertical-align: middle; }
.hero h1 { color: var(--white); margin: 22px 0 20px; text-shadow: 0 2px 30px rgba(6,25,46,.4); }
.hero h1 em { font-style: normal; color: var(--brass-light); }
.hero .lead { color: rgba(255,255,255,.88); max-width: 600px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 38px; }

.hero-scroll {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: rgba(255,255,255,.75); font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
}
.hero-scroll::after { content: ""; width: 1px; height: 46px; background: linear-gradient(180deg, var(--brass-light), transparent); animation: drift 2.2s var(--ease) infinite; }
@keyframes drift { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Hero facts bar */
.hero-facts { position: relative; z-index: 3; background: var(--navy-deep); border-top: 1px solid var(--line-navy); }
.hero-facts .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.hf { padding: 26px 24px; border-left: 1px solid var(--line-navy); text-align: center; }
.hf:first-child { border-left: 0; }
.hf b { display: block; font-family: var(--serif); font-size: clamp(19px, 2vw, 24px); color: var(--brass-light); letter-spacing: .03em; }
.hf span { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--mist-navy); }

/* ---------- Welcome split ---------- */
.welcome-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.welcome-copy h2 { margin: 16px 0 18px; }
.welcome-copy p { color: var(--mist); margin-bottom: 16px; }
.welcome-copy .sig { font-family: var(--serif); font-size: 19px; color: var(--navy); margin-top: 24px; }
.welcome-copy .sig small { display: block; font-family: var(--sans); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--brass-dark); margin-top: 4px; }

.collage { position: relative; padding: 0 0 56px 56px; }
.collage .c-main { position: relative; z-index: 2; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.collage .c-main img { aspect-ratio: 4 / 4.6; object-fit: cover; width: 100%; }
.collage .c-sub { position: absolute; z-index: 3; left: 0; bottom: 0; width: 58%; border: 6px solid var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.collage .c-sub img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.collage::before { content: ""; position: absolute; top: 26px; right: -26px; width: 70%; height: 70%; border: 1px solid var(--brass); border-radius: var(--radius); z-index: 1; }
.collage .c-seal {
  position: absolute; z-index: 4; top: -28px; right: 18px;
  width: 110px; height: 110px; border-radius: 50%;
  background: var(--navy); color: var(--brass-light);
  display: grid; place-items: center; text-align: center;
  border: 1px solid var(--brass); outline: 1px solid var(--brass); outline-offset: 3px;
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase; line-height: 1.5; padding: 12px;
}
.collage .c-seal b { font-family: var(--serif); font-size: 15px; display: block; letter-spacing: .04em; }

/* ---------- Slips feature (two large panels) ---------- */
.slips-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 36px); }
.slip-panel { position: relative; min-height: 480px; display: flex; align-items: flex-end; overflow: hidden; border-radius: var(--radius); }
.slip-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.slip-panel:hover img { transform: scale(1.05); }
.slip-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(6,25,46,.88) 100%); }
.slip-body { position: relative; z-index: 2; padding: clamp(26px, 3.5vw, 44px); }
.slip-body .eyebrow { color: var(--brass-light); } .slip-body .eyebrow::before { background: var(--brass-light); }
.slip-body h3 { color: var(--white); font-size: clamp(26px, 3vw, 36px); margin: 12px 0 10px; }
.slip-body p { color: rgba(255,255,255,.85); font-size: 15.5px; max-width: 420px; margin-bottom: 18px; }

/* ---------- Services band (navy) ---------- */
.svc-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.svc-img { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.svc-img img { aspect-ratio: 4 / 3.4; width: 100%; object-fit: cover; }
.svc-img::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(255,255,255,.35); border-radius: var(--radius); pointer-events: none; }
.svc-list { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 28px; margin-top: 28px; }
.svc-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-navy); }
.svc-item svg { width: 22px; height: 22px; flex: none; margin-top: 3px; color: var(--brass-light); }
.svc-item b { display: block; font-size: 15.5px; font-weight: 600; color: var(--white); }
.svc-item small { font-size: 13.5px; color: var(--mist-navy); line-height: 1.5; display: block; }

/* ---------- On the water cards ---------- */
.water-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.5vw, 32px); }
.water-grid .card-media { aspect-ratio: 4 / 3.2; }
.card .tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: rgba(6,25,46,.82); color: var(--brass-light);
  font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  padding: 7px 13px; border-radius: 100px; backdrop-filter: blur(6px);
}

/* ---------- Dining split ---------- */
.dine { position: relative; overflow: hidden; }
.dine-media { position: absolute; inset: 0; }
.dine-media img { width: 100%; height: 100%; object-fit: cover; }
.dine-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,25,46,.92) 0%, rgba(6,25,46,.78) 42%, rgba(6,25,46,.25) 100%); }
.dine-inner { position: relative; z-index: 2; max-width: 560px; padding: clamp(80px, 10vw, 140px) 0; }
.dine-inner h2 { color: var(--white); margin: 16px 0 18px; }
.dine-inner p { color: rgba(255,255,255,.85); margin-bottom: 14px; }
.dine-hours { display: flex; gap: 28px; margin: 26px 0 32px; flex-wrap: wrap; }
.dine-hours div { border-left: 2px solid var(--brass); padding-left: 16px; }
.dine-hours b { display: block; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-light); margin-bottom: 4px; }
.dine-hours span { color: var(--white); font-size: 15.5px; }

/* ---------- Gallery strip ---------- */
.gstrip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gstrip a { position: relative; overflow: hidden; border-radius: var(--radius); display: block; }
.gstrip img { aspect-ratio: 1; object-fit: cover; width: 100%; transition: transform .7s var(--ease); }
.gstrip a:hover img { transform: scale(1.07); }
.gstrip a::after { content: ""; position: absolute; inset: 0; background: rgba(6,25,46,0); transition: background .3s; }
.gstrip a:hover::after { background: rgba(6,25,46,.18); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; text-align: center; }
.cta-band .compass {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: min(560px, 80vw); opacity: .07; pointer-events: none; color: var(--brass-light);
}
.cta-inner { position: relative; z-index: 2; max-width: 680px; margin-inline: auto; }
.cta-inner h2 { color: var(--white); margin: 18px 0 16px; }
.cta-inner p { color: var(--mist-navy); margin-bottom: 34px; }

/* ---------- Inner page hero ---------- */
.phero { position: relative; min-height: 440px; display: flex; align-items: flex-end; overflow: hidden; background: var(--navy-deep); }
.phero-media { position: absolute; inset: 0; }
.phero-media img { width: 100%; height: 100%; object-fit: cover; }
.phero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,25,46,.5) 0%, rgba(6,25,46,.25) 40%, rgba(6,25,46,.82) 100%); }
.phero-inner { position: relative; z-index: 2; padding: 140px 0 56px; width: 100%; }
.crumb { display: flex; align-items: center; gap: 8px; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.75); margin-bottom: 18px; }
.crumb a:hover { color: var(--brass-light); }
.crumb svg { width: 13px; height: 13px; }
.crumb .here { color: var(--brass-light); }
.phero h1 { color: var(--white); font-size: clamp(36px, 5vw, 60px); max-width: 800px; }
.phero .lead { color: rgba(255,255,255,.85); margin-top: 14px; max-width: 640px; }

/* Article layout */
.article { display: grid; grid-template-columns: 1fr; gap: 0; max-width: 880px; }
.article h2 { font-size: clamp(26px, 3vw, 36px); margin: 48px 0 18px; scroll-margin-top: 120px; }
.article h3 { font-size: clamp(19px, 2vw, 24px); margin: 30px 0 12px; }
.article p { color: var(--mist); margin-bottom: 16px; }
.article ul.fact-list { margin: 8px 0 20px; }
.article .figure { margin: 32px 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.article .figure img { width: 100%; }
.article .figure figcaption { font-size: 13px; color: var(--mist); padding: 12px 16px; background: var(--sail); letter-spacing: .04em; }

/* Two-up info cards inside articles */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 28px 0; }
.duo .plaque h3 { margin-top: 0; }
.duo .plaque p { font-size: 15px; }

/* Team cards */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-card { text-align: center; padding: 36px 24px; }
.team-card .t-badge { width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%; background: var(--navy); color: var(--brass-light); display: grid; place-items: center; border: 1px solid var(--brass); outline: 1px solid var(--brass); outline-offset: 3px; }
.team-card .t-badge svg { width: 30px; height: 30px; }
.team-card h3 { font-size: 20px; }
.team-card .role { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-dark); margin: 6px 0 14px; }
.team-card a { display: block; font-size: 14.5px; color: var(--mist); padding: 2px 0; }
.team-card a:hover { color: var(--brass-dark); }

/* Gallery page masonry */
.gallery-grid { columns: 3; column-gap: 16px; }
.gallery-grid figure { break-inside: avoid; margin-bottom: 16px; border-radius: var(--radius); overflow: hidden; position: relative; }
.gallery-grid img { width: 100%; transition: transform .7s var(--ease); }
.gallery-grid figure:hover img { transform: scale(1.05); }
.gallery-grid figcaption {
  position: absolute; inset: auto 0 0 0; padding: 30px 16px 12px;
  background: linear-gradient(180deg, transparent, rgba(6,25,46,.85));
  color: var(--white); font-size: 13px; letter-spacing: .06em;
  opacity: 0; transition: opacity .3s;
}
.gallery-grid figure:hover figcaption { opacity: 1; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.contact-aside .plaque { margin-bottom: 22px; }
.contact-aside h3 { margin-bottom: 14px; }
.c-line { display: flex; gap: 14px; align-items: flex-start; padding: 10px 0; font-size: 15.5px; color: var(--mist); }
.c-line svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--brass-dark); }
.c-line a:hover { color: var(--brass-dark); }
.c-line b { color: var(--navy); font-weight: 600; }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-top: 44px; border: 1px solid var(--line); }
.map-wrap iframe { display: block; width: 100%; height: 440px; border: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .welcome-grid, .svc-grid, .contact-grid { grid-template-columns: 1fr; }
  .slips-grid { grid-template-columns: 1fr; }
  .slip-panel { min-height: 380px; }
  .water-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .hero-facts .container { grid-template-columns: 1fr 1fr; }
  .hf:nth-child(3) { border-left: 0; }
  .hf { border-top: 1px solid var(--line-navy); }
  .hf:nth-child(-n+2) { border-top: 0; }
  .gstrip { grid-template-columns: 1fr 1fr; }
  .gallery-grid { columns: 2; }
  .team-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .duo { grid-template-columns: 1fr; }
  .collage { padding-left: 30px; }
}
@media (max-width: 560px) {
  .hero { min-height: 86vh; }
  .hero-inner { padding: 120px 0 110px; }
  .gallery-grid { columns: 1; }
  .dine-hours { gap: 18px; }
  .collage .c-seal { width: 92px; height: 92px; top: -20px; right: 8px; font-size: 9px; }
}
