/* =========================================================================
   Redondo Beach Sportfishing — custom theme layer on top of the Zemez
   "Top Project" template. Ocean-navy backgrounds + the template's gold/orange
   accents (reads nautical). Loaded after style.css so these win.
   ========================================================================= */

:root {
  --rbs-navy-1: #0a2740;
  --rbs-navy-2: #0e3a5f;
  --rbs-ocean:  #155b8a;
  --rbs-gold:   #ffd632;
}

/* ---- Ocean gradient backgrounds ---------------------------------------- */
.bg-ocean {
  background: linear-gradient(135deg, var(--rbs-navy-1) 0%, var(--rbs-ocean) 100%);
}
.bg-ocean-deep {
  background: linear-gradient(180deg, var(--rbs-navy-2) 0%, var(--rbs-navy-1) 100%);
}

/* ---- Hero -------------------------------------------------------------- */
.hero-ocean {
  position: relative;
  padding: 9rem 0 7rem;
  background: radial-gradient(120% 130% at 70% 0%, var(--rbs-ocean) 0%, var(--rbs-navy-2) 45%, var(--rbs-navy-1) 100%);
  overflow: hidden;
}
.hero-ocean::after {
  /* subtle wave sheen */
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 40%;
  background: linear-gradient(180deg, rgba(21,91,138,0) 0%, rgba(10,39,64,0.55) 100%);
  pointer-events: none;
}
.hero-ocean .container { position: relative; z-index: 3; }

/* Video hero: footage behind a dark navy overlay so the headline stays legible */
.hero-ocean.hero-has-video { background: var(--rbs-navy-1); }
.hero-ocean .hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-ocean .hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(7,28,46,0.60) 0%, rgba(7,28,46,0.82) 100%),
    radial-gradient(120% 120% at 70% 10%, rgba(21,91,138,0.25) 0%, rgba(7,28,46,0.35) 100%);
}
.hero-ocean.hero-has-video::after { z-index: 2; }
@media (prefers-reduced-motion: reduce) {
  /* respect users who don't want motion — show the poster instead */
  .hero-ocean .hero-video { display: none; }
}
.hero-ocean h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: .01em;
  margin-bottom: 1rem;
}
.hero-ocean .hero-eyebrow {
  display: inline-block;
  text-transform: uppercase; letter-spacing: .22em; font-weight: 700;
  font-size: .8rem; color: var(--rbs-gold);
  margin-bottom: 1.25rem;
}
.hero-ocean .hero-lead {
  max-width: 40rem; margin: 0 auto 2rem;
  font-size: 1.15rem; color: rgba(255,255,255,.88);
}
.hero-buttons .button { margin: .4rem; }

/* hero stat strip */
.hero-stats { margin-top: 3.5rem; }
.hero-stat { text-align: center; padding: .5rem 0; }
.hero-stat .hero-stat-num {
  font-family: "Poppins", sans-serif; font-weight: 700;
  font-size: 2rem; color: var(--rbs-gold); line-height: 1;
}
.hero-stat .hero-stat-label {
  display: block; margin-top: .4rem;
  text-transform: uppercase; letter-spacing: .12em; font-size: .72rem;
  color: rgba(255,255,255,.75);
}

/* ---- Breadcrumb banner spacing (gradient fallback) --------------------- */
.breadcrumbs-custom.bg-ocean { padding: 6.5rem 0 3.5rem; }

/* Video behind the inner-page banners (same footage as the home hero) */
.breadcrumbs-custom.has-video { position: relative; overflow: hidden; }
.breadcrumbs-custom .bc-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.breadcrumbs-custom .bc-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(7,28,46,0.66) 0%, rgba(7,28,46,0.85) 100%);
}
.breadcrumbs-custom .container { position: relative; z-index: 2; }
@media (prefers-reduced-motion: reduce) {
  .breadcrumbs-custom .bc-video { display: none; }
}

/* ---- Brand image logo (left-aligned, not centered) --------------------- */
/* The template absolutely-centers the brand panel; pull it back into normal
   flow on the left so the wider emblem doesn't overlap the menu. */
.rd-navbar-panel { position: static !important; left: auto !important; transform: none !important; }
.rd-navbar-brand { position: static; width: auto !important; margin-left: 0; overflow: visible; }
.rd-navbar-main-element { margin-left: 1.5rem; }
.rd-navbar-nav-left  { padding-right: 0 !important; }
.rd-navbar-nav-right { padding-left: 0 !important; }
/* Keep the (now longer) menu on one line at desktop, with even spacing. */
@media (min-width: 1200px) {
  .rd-navbar-nav, .rd-navbar-nav-left { flex-wrap: nowrap !important; white-space: nowrap; }
  .rd-navbar-nav-left > li > .rd-nav-link { padding-left: 9px; padding-right: 9px; }
}
.brand.brand-logo-link { display: inline-flex; align-items: center; }
/* !important to beat the template's layout-state-scoped img rules */
.rd-navbar-brand img.brand-logo-img {
  height: 52px !important; max-height: 52px !important;
  width: auto !important; max-width: 240px !important; display: block;
}
.rd-navbar-fixed .rd-navbar-brand img.brand-logo-img { height: 44px !important; max-height: 44px !important; }
@media (max-width: 1199px) { .rd-navbar-brand img.brand-logo-img { height: 44px !important; max-height: 44px !important; } }

/* ---- Brand text logo (legacy fallback) --------------------------------- */
.brand.brand-text { display: inline-flex; flex-direction: column; line-height: 1; text-decoration: none; }
.brand.brand-text .brand-name {
  font-family: "Poppins", sans-serif; font-weight: 700;
  font-size: 1.4rem; color: #151515; letter-spacing: .01em;
}
.brand.brand-text .brand-sub {
  font-size: .66rem; text-transform: uppercase; letter-spacing: .18em;
  color: #fc6c1e; margin-top: .35rem; font-weight: 600;
}
.context-dark .brand.brand-text .brand-name,
.rd-navbar-fixed .brand.brand-text .brand-name { color: #fff; }

/* ---- "Book a Trip" nav button ------------------------------------------ */
.rd-nav-link.rd-nav-book {
  background: var(--rbs-gold); color: #151515 !important;
  border-radius: 30px; padding: .5em 1.4em !important; font-weight: 700;
  transition: background .2s ease, color .2s ease;
}
.rd-nav-link.rd-nav-book:hover { background: #fb8957; color: #fff !important; }

/* ---- Marine icons for service / feature boxes (FontAwesome) ------------ */
.marine-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 92px; height: 92px; margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rbs-ocean), var(--rbs-navy-1));
  color: var(--rbs-gold); font-size: 2.2rem;
}
.box-services-simple .marine-icon { margin-bottom: 1.5rem; }
.box-features .marine-icon-sm {
  color: #fc6c1e; font-size: 2.6rem; display: block; margin-bottom: 1rem;
}
/* These cards sit on a dark (#292929) background — keep ALL their text
   white/legible, whether the heading is .box-features-title or a raw h2–h6. */
.box-features { color: #e7eaee; }
.box-features h1, .box-features h2, .box-features h3,
.box-features h4, .box-features h5, .box-features h6,
.box-features .box-features-title { color: #fff; }
.box-features .box-features-text, .box-features p { color: #e7eaee; }

/* "A Redondo Beach Tradition" photo */
.tradition-photo { margin: 0; }
.tradition-photo img { width: 100%; border-radius: 12px; box-shadow: 0 18px 45px rgba(0,0,0,.32); display: block; }
@media (max-width: 991.98px) {
  .tradition-photo { margin: 2.5rem auto 0; max-width: 600px; }
}

/* ---- Fleet / boat cards ------------------------------------------------ */
.boat-card {
  height: 100%;
  background: #fff; border: 1px solid #e5e7e9; border-radius: 8px;
  padding: 2.25rem 2rem; transition: box-shadow .2s ease, transform .2s ease;
}
.boat-card:hover { box-shadow: 0 18px 40px rgba(10,39,64,.14); transform: translateY(-4px); }
.boat-card .boat-icon { color: #fc6c1e; font-size: 2.6rem; margin-bottom: 1rem; }
/* Boat photos */
.boat-card.has-photo { padding-top: 0 !important; overflow: hidden; }
.boat-card .boat-photo { margin: 0 -2rem 1.25rem; }
.boat-card .boat-photo img { width: 100%; height: 210px; object-fit: cover; display: block; }
.boat-gallery { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; }
.boat-gallery a { display: block; width: 74px; height: 56px; border-radius: 6px; overflow: hidden; border: 1px solid #e5e7e9; }
.boat-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .2s ease; }
.boat-gallery a:hover img { transform: scale(1.07); }
.boat-card .boat-spec {
  display: inline-block; margin-left: .5rem; font-size: .85rem;
  color: #9b9b9b; font-weight: 400;
}
.boat-card h4 { margin-bottom: .75rem; }
.boat-card-link {
  display: inline-block; margin-top: 1.1rem; font-weight: 600;
  color: var(--rbs-navy-1); border-bottom: 2px solid var(--rbs-gold); padding-bottom: 1px;
}
.boat-card-link:hover { color: #fc6c1e; }

/* ---- Individual boat page --------------------------------------------- */
.boat-hero-photo img { width: 100%; border-radius: 10px; display: block; box-shadow: 0 18px 40px rgba(10,39,64,.16); }
.boat-hero-icon {
  display: flex; align-items: center; justify-content: center;
  height: 260px; border-radius: 10px; background: var(--rbs-navy-1); color: var(--rbs-gold); font-size: 5rem;
}
.boat-spec-lead { font-size: 1.05rem; font-weight: 600; letter-spacing: .02em; margin-bottom: 1rem; }
.boat-page-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
.boat-page-gallery a { display: block; border-radius: 8px; overflow: hidden; border: 1px solid #e5e7e9; }
.boat-page-gallery img { width: 100%; height: 170px; object-fit: cover; display: block; transition: transform .25s ease; }
.boat-page-gallery a:hover img { transform: scale(1.06); }
@media (max-width: 767px) { .boat-page-gallery { grid-template-columns: repeat(2, 1fr); } }

/* ---- Rate cards -------------------------------------------------------- */
.rate-card {
  height: 100%; text-align: center; background: #fff;
  border: 1px solid #e5e7e9; border-radius: 8px; padding: 2.5rem 2rem;
  transition: box-shadow .2s ease, transform .2s ease;
}
.rate-card.featured { border-color: var(--rbs-gold); box-shadow: 0 18px 40px rgba(10,39,64,.12); }
.rate-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(10,39,64,.14); }
.rate-card .rate-price {
  font-family: "Poppins", sans-serif; font-weight: 700; font-size: 3rem;
  color: #0a2740; line-height: 1; margin: .5rem 0 .25rem;
}
.rate-card .rate-price small { font-size: 1rem; color: #9b9b9b; font-weight: 400; }
.rate-card .rate-list { list-style: none; padding: 0; margin: 1.5rem 0; text-align: left; }
.rate-card .rate-list li { padding: .4rem 0; border-bottom: 1px solid #f2f3f8; }
.rate-card .rate-list li i { color: #2bb673; margin-right: .5rem; }

/* Fish count cards */
.fish-count-box {
  background: #fff; border: 1px solid #e5e7e9; border-radius: 10px;
  padding: 1.4rem .75rem; height: 100%;
  transition: box-shadow .2s ease, transform .2s ease;
}
.fish-count-box:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(10,39,64,.12); }
.fish-count-num {
  display: block; font-family: "Poppins", sans-serif; font-weight: 700;
  font-size: 2.1rem; color: var(--rbs-navy-1); line-height: 1;
}
.fish-count-species { display: block; margin-top: .4rem; font-size: .85rem; color: #5b6571; font-weight: 500; }
.fish-count-table { width: 100%; border-collapse: collapse; }
.fish-count-table th { background: var(--rbs-navy-1); color: #fff; text-align: left; padding: .7rem .9rem; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }
.fish-count-table td { padding: .7rem .9rem; border-bottom: 1px solid #e5e7e9; vertical-align: top; }
.fish-count-table tbody tr:nth-child(even) { background: #f7f9fb; }

/* ---- Fish report cards ------------------------------------------------- */
.report-card {
  height: 100%; display: flex; flex-direction: column;
  background: #fff; border: 1px solid #e5e7e9; border-radius: 10px; overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease;
}
.report-card:hover { box-shadow: 0 18px 40px rgba(10,39,64,.14); transform: translateY(-4px); }
.report-card-photo { background: var(--rbs-navy-1); }
.report-card-photo img { width: 100%; height: 220px; object-fit: cover; display: block; }
.report-card-body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; }
.report-card-meta { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: .5rem; }
.report-card-meta .report-date { font-size: .8rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: #fc6c1e; }
.report-card-meta .report-boat {
  font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .03em;
  color: var(--rbs-navy-1); background: #eef1f5; border-radius: 20px; padding: .15rem .65rem;
}
.report-card-title { font-size: 1.15rem; margin: 0 0 .6rem; color: var(--rbs-navy-1); }
.report-card-text { color: #5b6571; font-size: .95rem; line-height: 1.6; }

/* Charter rate table */
.rate-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 8px; overflow: hidden; }
.rate-table th { background: var(--rbs-navy-1); color: #fff; text-align: left; padding: .85rem 1rem; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }
.rate-table th:nth-child(2), .rate-table td:nth-child(2) { white-space: nowrap; }
.rate-table td { padding: .8rem 1rem; border-bottom: 1px solid #e5e7e9; }
.rate-table td:first-child { font-weight: 600; color: var(--rbs-navy-1); }
.rate-table td:nth-child(2) { font-weight: 700; color: #0a2740; }
.rate-table td:nth-child(3) { color: #5b6571; }
.rate-table tbody tr:nth-child(even) { background: #f7f9fb; }
.rate-table tbody tr:last-child td { border-bottom: 0; }

/* Parking map */
.parking-map-link { display: block; border-radius: 12px; overflow: hidden; box-shadow: 0 14px 36px rgba(10,39,64,.16); }
.parking-map-img { width: 100%; height: auto; display: block; }
.parking-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.parking-list li { padding: .55rem 0; border-bottom: 1px solid #f2f3f8; color: #5b6571; }
.parking-list li strong { color: var(--rbs-navy-1); }

/* Footer: center-align all contents (columns + bottom bar) */
.footer-classic { text-align: center; }
.footer-classic .list-link,
.footer-classic .list-contacts { padding-left: 0; list-style: none; }
.footer-classic .list-contacts li { justify-content: center; }
.footer-classic .list-terms dl { justify-content: center; }
.footer-classic .social-list { justify-content: center; }
.footer-classic .list-link { display: block; }
.footer-classic .list-link li { display: block; padding-left: 0; }
.footer-classic .list-link li::before { display: none; }

/* Footer credit line */
.footer-classic-bottom .site-credits { margin: .5rem 0 0; font-size: .85rem; opacity: .82; }
.footer-classic-bottom .site-credits a { color: inherit; border-bottom: 1px solid rgba(255,255,255,.35); }
.footer-classic-bottom .site-credits a:hover { color: var(--rbs-gold); border-color: var(--rbs-gold); }
.footer-classic-bottom .site-credits .cred-sep { opacity: .45; margin: 0 .35rem; }

/* small helpers */
.text-gold { color: var(--rbs-gold) !important; }
.section-intro-lead { font-size: 1.15rem; color: #5b6571; }
