/*
 * layout.css — structural CSS for the Captain David White homepage rebuild.
 * Consumes design tokens from tokens.css. Pure vanilla CSS, no frameworks.
 */

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 62.5%; /* 1rem = 10px, ACSS convention */ scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--text-font-family), system-ui, sans-serif;
  font-weight: var(--text-font-weight);
  font-size: 1.7rem;
  line-height: 1.6;
  color: var(--base);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--heading-font-family), Georgia, serif;
  font-weight: var(--heading-font-weight);
  line-height: 1.15;
  margin: 0 0 1.6rem;
}
p { margin: 0 0 1.6rem; }
.accent, .green { color: var(--action); }
.container { width: min(120rem, 100% - 4rem); margin-inline: auto; }
.lede { font-size: 1.9rem; }
.lede-light { color: var(--white); font-size: 1.9rem; font-weight: 500; }
.section { padding-block: 8rem; }
.section-heading { font-size: clamp(2.8rem, 4vw, 4.4rem); text-align: center; margin-bottom: 4rem; }
.section-heading--light { color: var(--white); }
.section-heading--dark { color: var(--base); }
.h3-accent { color: var(--action); font-size: 2.6rem; }
.text-link { color: var(--action); font-weight: 600; display: inline-block; margin: 1rem 0 2rem; border-bottom: 2px solid currentColor; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--heading-font-family), Georgia, serif;
  font-size: 1.6rem;
  font-weight: 500;
  padding: 1.2rem 2.6rem;
  border: 0;
  border-radius: 999px; /* rounded corners */
  cursor: pointer;
  text-align: center;
  background: var(--action); /* #78BE44 */
  color: var(--white);
  transition: background-color .2s ease, transform .2s ease;
}
.btn:hover { background: var(--action-dark, #4f7d2c); transform: translateY(-1px); }
/* Variants kept as classes for markup compatibility — all share the green action style */
.btn--primary, .btn--base, .btn--info { background: var(--action); color: var(--white); }
.btn--primary:hover, .btn--base:hover, .btn--info:hover { background: var(--action-dark, #4f7d2c); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(33, 47, 70, 0.35); /* #212F46 navy, mostly transparent — same header sitewide */
  overflow: visible; /* allow oversized logo to overlap into the page */
  /* Atrament across the whole header, including menus */
  font-family: var(--heading-font-family), Georgia, serif;
  /* Smooth slide + background/shadow fade for the smart-header behavior */
  transition: transform .35s ease, background-color .35s ease, box-shadow .35s ease;
  will-change: transform;
}
/* Scrolled past 100px: solid background so the header is legible over content */
.site-header.is-solid {
  background: #212F46;
  box-shadow: 0 1px 12px rgba(0,0,0,.4);
}
/* Scrolling down past 100px: slide up out of view */
.site-header.is-hidden { transform: translateY(-100%); }
.header-topbar { background: transparent; color: var(--white); font-size: 1.4rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.header-topbar__inner { display: flex; gap: 3rem; justify-content: flex-end; padding-block: .8rem; }
.header-topbar__link { display: inline-flex; align-items: center; gap: .8rem; color: var(--white); }
.header-topbar__link address { font-style: normal; }
/* Icon badges: action-green rounded background */
.header-topbar__link svg {
  background: var(--action); color: var(--white);
  width: 2.8rem; height: 2.8rem; padding: .5rem;
  border-radius: 6px; flex: none;
}
.header-main { display: flex; align-items: center; gap: 3rem; padding-block: 1.2rem; position: relative; }
.header-logo { position: relative; z-index: 2; align-self: stretch; }
.header-logo img {
  width: 15rem; height: auto;
  margin-bottom: -5.5rem; /* overlap down into the page below the header */
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.45));
}
.site-nav { margin-left: auto; }
.nav-menu { display: flex; gap: 2.6rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-menu > li > a { font-weight: 500; font-size: 1.6rem; padding-block: 1rem; color: var(--white); }
.nav-menu > li > a:hover { color: var(--action); }
.nav-menu > li.current-menu-item > a { color: var(--accent); } /* current page = cyan */
.has-submenu { position: relative; }
/* Caret on the parent item — points down, flips up when the menu is open */
.has-submenu > a::after {
  content: ""; display: inline-block; width: .55em; height: .55em; margin-left: .6em;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform .2s ease;
}
.has-submenu:hover > a::after { transform: translateY(2px) rotate(-135deg); }
.sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 26rem;
  background: #3e505e; /* slate blue-grey panel */
  list-style: none; margin: 0; padding: 0;
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: 0 12px 28px rgba(0,0,0,.45);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.has-submenu:hover .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.sub-menu li + li { border-top: 1px solid rgba(255,255,255,.18); }
.sub-menu a {
  display: block; padding: 1.4rem 2rem; font-size: 1.6rem; white-space: nowrap;
  color: var(--action); /* green links */
  transition: background-color .15s ease, color .15s ease;
}
.sub-menu a:hover { background: rgba(255,255,255,.12); color: var(--white); }
.sub-menu .current-menu-item > a,
.sub-menu a[aria-current="page"] { background: rgba(255,255,255,.16); color: var(--white); }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; display: grid; align-items: center; min-height: 100vh; min-height: 100dvh; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(39,78,82,.78), rgba(39,78,82,.35)); }
.hero__content { position: relative; color: var(--white); padding-block: 8rem; max-width: 70rem; }
.hero__heading { font-size: clamp(3.4rem, 6vw, 6.4rem); color: var(--white); }
.hero__heading a { color: inherit; }
.hero__lede { font-size: 2.4rem; margin-bottom: .4rem; }
.hero__lede--sub { font-size: 1.8rem; opacity: .95; margin-bottom: 2.8rem; }
.hero__actions { display: flex; gap: 1.6rem; flex-wrap: wrap; }

/* ---------- Gallery strip ---------- */
.gallery-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; list-style: none; margin: 0; padding: 0;
}
.gallery-strip figure { position: relative; margin: 0; }
.gallery-strip img { width: 100%; height: 100%; aspect-ratio: 1/1; object-fit: cover; }
.gallery-strip figcaption {
  position: absolute; left: 0; bottom: 0; right: 0;
  background: rgba(39,78,82,.8); color: var(--white);
  font-size: 1.4rem; padding: .8rem 1.2rem;
}

/* ---------- Featured trips / tabs ---------- */
.trips { background: #06282D; }
.tabs__list {
  display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center;
  list-style: none; margin: 0 0 0; padding: 0;
}
.tabs__tab {
  cursor: pointer; padding: 1.4rem 2.4rem; font-weight: 500; font-size: 1.7rem;
  color: var(--white); background: rgba(255,255,255,.12); border-radius: 6px 6px 0 0;
}
/* Active tab: reversed (dark fill, white text + border) to merge into the box */
.tabs__tab.is-active {
  background: #06282D; color: var(--white);
  border: 2px solid var(--white); border-bottom: none;
  margin-bottom: -2px; position: relative; z-index: 1;
}
.tabs__panel {
  display: none; padding: 4rem; border-radius: 0 6px 6px 6px;
  /* Box matches the section background; the white border separates it */
  background: #06282D; color: var(--white);
  border: 2px solid var(--white);
}
.tabs__panel.is-active { display: block; }
/* Reverse the body copy inside the box to white */
.tabs__panel p { color: var(--white); }
.trip-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 4rem; align-items: start; }
.tab-heading { font-size: 2.8rem; color: var(--white); }
.fish-heading { font-size: 1.8rem; color: var(--white); margin-top: 2.4rem; }
.fish-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem;
  list-style: none; margin: 0; padding: 0; align-items: center;
}
/* Fish thumbnails: greyscale by default, full colour on hover */
.fish-grid img { width: 100%; height: auto; transition: transform .2s ease, filter .2s ease; filter: grayscale(70%); }
.fish-grid a:hover img { transform: scale(1.08); filter: grayscale(0); }
.trip-feature {
  position: relative; min-height: 42rem; border-radius: 8px; overflow: hidden;
  display: flex; align-items: flex-end;
}
.trip-feature__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: filter .3s ease, transform .3s ease;
}
.trip-feature::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(transparent, rgba(0,0,0,.65)); transition: background .3s ease;
}
/* Colour shift on hover */
.trip-feature:hover .trip-feature__img { transform: scale(1.05); filter: saturate(1.4) contrast(1.05); }
.trip-feature:hover::after { background: linear-gradient(rgba(120,190,68,.18), rgba(6,40,45,.72)); }
.trip-feature__content { position: relative; z-index: 2; padding: 2.4rem; color: var(--white); }
.trip-feature__title { color: var(--white); font-size: 2.6rem; margin-bottom: 1.2rem; }

/* ---------- About / why choose ---------- */
.about { position: relative; background: #274E52; }
.about__inner { position: relative; }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about__text { color: var(--white); }
.about__text h3 { color: var(--white); font-size: 2.4rem; margin-top: 2.4rem; }
.about__text .h3-accent { margin-top: 0; }
.boat-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; list-style: none; margin: 2.4rem 0; padding: 0; }
.boat-gallery img { border-radius: 6px; }
.about__actions { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.about__media img { border-radius: 8px; box-shadow: 0 18px 40px rgba(0,0,0,.35); }

/* ---------- Brands ---------- */
.brands { background: var(--white); }
.brands__heading { text-align: center; max-width: 80rem; margin-inline: auto; font-size: 2.2rem; }
.brands__grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 4rem 3rem;
  align-items: center; justify-items: center; list-style: none; margin: 4rem 0 0; padding: 0;
}
.brands__grid img { max-height: 9rem; width: auto; filter: grayscale(1); opacity: .8; transition: all .25s ease; }
.brands__grid img:hover { filter: grayscale(0); opacity: 1; }

/* ---------- Related posts ---------- */
.related { background: var(--primary-ultra-light, #eef4f7); }
.related__intro { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-bottom: 4rem; }
.related__intro .section-heading { text-align: left; margin: 0; }
.related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; }
.article-card {
  position: relative; /* anchor the stretched-link overlay */
  background: var(--white); border-radius: 8px; overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,.08); display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.article-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,.16); }
/* Keyboard accessibility: ring the whole card when its link is focused */
.article-card:focus-within { outline: 3px solid var(--action); outline-offset: 3px; }
.article-card__body { padding: 2.4rem; order: 2; display: flex; flex-direction: column; flex: 1; }
.article-card__label { align-self: flex-start; text-transform: uppercase; letter-spacing: .08em; font-size: 1.2rem; font-weight: 700; color: var(--action); }
.article-card__title { font-size: 2rem; }
.article-card__title a { color: inherit; }
/* Stretched link: the single real link covers the whole card */
.article-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.article-card:hover .article-card__title { color: var(--primary); }
.article-card__lede { font-size: 1.5rem; color: #555; margin: 0 0 2rem; }
/* Decorative Read More — visual affordance under the overlay (triggers the card link) */
.article-card__more { margin-top: auto; align-self: flex-start; pointer-events: none; }
.article-card__media { order: 1; aspect-ratio: 16/10; overflow: hidden; }
.article-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.article-card:hover .article-card__media img { transform: scale(1.04); }
/* Remove the default text-focus outline since the whole card shows focus */
.article-card__title a:focus { outline: none; }
.article-card__title a:focus-visible { outline: none; }

/* ---------- Reviews ---------- */
.reviews { background: var(--white); }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; list-style: none; margin: 0; padding: 0; }
.review-card { background: #f7f9fa; border-radius: 8px; padding: 2.8rem; box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.review-card__stars { color: #fbbc04; font-size: 2rem; letter-spacing: .2rem; margin-bottom: 1.2rem; }
.review-card__text { font-size: 1.5rem; }
.review-card__name { font-weight: 600; color: var(--base); margin: 0; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative; color: var(--white);
  background:
    linear-gradient(rgba(8,14,15,.55), rgba(8,14,15,.92)),
    url("/images/Captain-Dave-fishing-at-sunset.jpg") center / cover no-repeat;
  background-color: #0c1a1c; /* fallback */
}
.footer-cta { text-align: center; padding-block: 7rem 4rem; }
.footer-cta__heading { color: var(--white); font-size: clamp(2.8rem, 4vw, 4.4rem); }
.footer-cta .lede { max-width: 64rem; margin-inline: auto; }
/* Muted teal CTA button (per reference, not the green action color) */
.footer-cta .book-trip { background: #3c5e64; color: var(--white); margin-top: 1rem; }
.footer-cta .book-trip:hover { background: #4a737b; }
/* Semi-transparent dark panel framing the three columns */
.footer-main {
  display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 4rem;
  background: rgba(0,0,0,.5); padding: 4.5rem; border-radius: 4px;
}
.footer-logo { width: 11rem; height: auto; margin-bottom: 2rem; }
.footer-about p { font-size: 1.5rem; opacity: .92; }
.footer-nav { display: contents; } /* let the two columns sit directly in the footer-main grid */
.footer-col__heading { font-size: 2.6rem; color: var(--white); margin-bottom: 2rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.4rem; }
.footer-col a { font-size: 1.5rem; color: var(--action); }
.footer-col a:hover { color: var(--white); }
.footer-sub {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
  gap: 1.6rem; padding-block: 3rem 4.5rem; font-size: 1.4rem;
  text-shadow: 0 1px 4px rgba(0,0,0,.7); /* keep legible over the photo */
}
.footer-copyright { margin: 0; }
.footer-legal ul { display: flex; gap: 2.4rem; list-style: none; margin: 0; padding: 0; }
.footer-legal a:hover { color: var(--action); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.6); }
.modal__dialog { position: relative; background: var(--white); color: var(--base); border-radius: 10px; padding: 4rem; width: min(56rem, 92vw); max-height: 90vh; overflow-y: auto; }
.modal__close { position: absolute; top: 1.2rem; right: 1.6rem; background: none; border: 0; font-size: 3rem; line-height: 1; cursor: pointer; color: var(--base); }
.modal__dialog h2 { color: var(--secondary); }
.modal__dialog .btn--info { display: block; margin-bottom: 2.4rem; }
body.modal-open { overflow: hidden; }
.booking-form { display: grid; gap: 1.8rem; }
.booking-form fieldset { border: 0; padding: 0; margin: 0; }
.booking-form legend { font-weight: 600; margin-bottom: .8rem; }
.booking-form .field, .booking-form__name label { display: grid; gap: .4rem; font-weight: 500; font-size: 1.5rem; }
.booking-form__name { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.booking-form input[type="text"], .booking-form input[type="tel"], .booking-form input[type="email"], .booking-form input[type="date"], .booking-form input[type="number"] {
  padding: 1rem 1.2rem; border: 1px solid #ccc; border-radius: 4px; font-size: 1.6rem; font-family: inherit;
}
.booking-form__trips { display: grid; gap: .6rem; }
.booking-form__trips label { display: flex; align-items: center; gap: .8rem; font-weight: 400; }
.required { color: #c0392b; font-size: 1.3rem; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .trip-grid, .about__grid, .footer-main { grid-template-columns: 1fr; }
  .related__grid, .reviews__grid { grid-template-columns: 1fr 1fr; }
  .brands__grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-strip { grid-template-columns: 1fr 1fr; }
  .about { background-attachment: scroll; }
}

@media (max-width: 767px) {
  .header-topbar { display: none; }
  .nav-toggle {
    display: block; width: 4rem; height: 4rem; background: none; border: 0; cursor: pointer; position: relative;
  }
  .nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after {
    content: ""; position: absolute; left: .6rem; right: .6rem; height: 3px; background: var(--white); transition: .2s;
  }
  .nav-toggle__bar { top: 50%; }
  .nav-toggle__bar::before { top: -.9rem; }
  .nav-toggle__bar::after { top: .9rem; }
  .nav-menu {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: #191919; padding: 1.6rem 2rem; gap: 0; box-shadow: 0 10px 24px rgba(0,0,0,.4);
    display: none;
  }
  body.nav-open .nav-menu { display: flex; }
  .nav-menu > li > a { display: block; padding: 1.2rem 0; border-bottom: 1px solid rgba(255,255,255,.12); color: var(--white); }
  .sub-menu { background: #3e505e; border: none; }
  .sub-menu li + li { border-top: 1px solid rgba(255,255,255,.18); }
  .sub-menu a { color: var(--action); }
  .sub-menu a:hover { color: var(--white); }
  .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding-left: 1.6rem; }
  .related__grid, .reviews__grid, .footer-nav, .booking-form__name { grid-template-columns: 1fr; }
  .brands__grid { grid-template-columns: 1fr 1fr; }
  .tabs__panel { padding: 2.4rem 1.6rem; }
  .fish-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================================
   INNER PAGES (about, contact, fishing-trips, gallery)
   ============================================================ */

/* Fixed header floats over content; inner pages have no full-screen hero,
   so give the header a solid background and offset the content below it. */
.inner-main { padding-top: 13rem; }
.page-heading { text-align: center; font-size: clamp(3rem, 5vw, 4.8rem); }

/* ---------- About page ---------- */
.about-intro { display: grid; grid-template-columns: 1.25fr 1fr; gap: 4rem; align-items: start; }
.about-intro h1 { font-size: clamp(3rem, 5vw, 4.8rem); }
.about-intro h3 { font-size: 2.4rem; margin-top: 2.4rem; color: var(--secondary); }
.boat-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; list-style: none; padding: 0; margin: 2.4rem 0 0; }
.boat-thumbs img { border-radius: 8px; width: 100%; }
.about-intro__media img { border-radius: 12px; width: 100%; box-shadow: 0 14px 34px rgba(0,0,0,.18); }

.team { background: var(--secondary); color: var(--white); }
.team__heading { text-align: center; color: var(--white); font-size: clamp(2.8rem, 4vw, 4rem); margin-bottom: 1rem; }
.team-row { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-top: 4rem; }
.team-row h3, .team-row h2 { color: var(--white); font-size: 2.8rem; }
.team-row__media { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.team-row__media--single { grid-template-columns: 1fr; }
.team-row__media img { width: 100%; border-radius: 10px; box-shadow: 0 12px 28px rgba(0,0,0,.3); }
.team-row--flip .team-row__media { order: -1; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact-map img { width: 100%; border-radius: 10px; }
.contact-map h3 { font-size: 2rem; margin-bottom: 1.6rem; }
.contact-info { font-style: normal; }
.contact-info__item { margin-top: 2rem; }
.contact-info__item h4 { font-size: 1.8rem; color: var(--secondary); margin-bottom: .4rem; }
.contact-info__item a { color: var(--base); }
.contact-info__item a:hover { color: var(--primary); }
.contact-form-wrap { background: #f5f8f9; border-radius: 12px; padding: 3.5rem; }
.contact-form-wrap h2 { color: var(--secondary); }
.contact-form-wrap .booking-form { margin-top: 2rem; }

/* ---------- Fishing Trips page ---------- */
/* One big medium-blue section; each trip is a dark card with a breakout photo. */
.trips-page { background: #0E5A7D; color: var(--white); }
.trips-page .page-heading { text-align: left; color: var(--white); margin-bottom: 1.4rem; }
.trips-page__lede { text-align: left; color: var(--white); font-size: 1.9rem; margin-bottom: 5rem; }

.feature-card {
  position: relative;
  background: #06282D; border-radius: 14px;
  display: grid; grid-template-columns: 0.9fr 1fr; gap: 5rem;
  align-items: stretch; padding: 5rem; margin: 8rem 0;
}
.feature-card:last-child { margin-bottom: 0; }
/* Photo on the left by default, breaking out above and below the card */
.feature-card__media { order: -1; margin: -6rem 0; align-self: stretch; }
/* Alternating: flipped cards put the photo in the right column */
.feature-card--flip { grid-template-columns: 1fr 0.9fr; }
.feature-card--flip .feature-card__media { order: 1; }
.feature-card__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  border-radius: 10px; box-shadow: 0 20px 44px rgba(0,0,0,.5);
}
.feature-card > div { align-self: center; } /* content column */
.feature-card__accent {
  text-transform: uppercase; letter-spacing: .12em; font-weight: 700;
  font-size: 1.4rem; color: rgba(255,255,255,.7); margin-bottom: 1rem;
}
.feature-card__heading { font-size: clamp(2.6rem, 3.6vw, 3.4rem); color: var(--white); margin-bottom: 1.6rem; }
.feature-card p { color: var(--white); }
.feature-card__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 1.2rem; margin: 2.4rem 0; }
.feature-card__actions .btn { background: #35687f; color: var(--white); }
.feature-card__actions .btn:hover { background: #427e98; }
.feature-card__fish-heading { text-transform: uppercase; color: var(--white); font-size: 1.8rem; letter-spacing: .04em; margin: 1rem 0 2rem; }
.feature-card .fish-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem 2.6rem; }
.feature-card .fish-grid img { filter: none; }

/* ---------- Gallery page ---------- */
.gallery-masonry { columns: 4; column-gap: 1.4rem; }
.gallery-masonry a { display: block; margin-bottom: 1.4rem; break-inside: avoid; border-radius: 8px; overflow: hidden; }
.gallery-masonry img { width: 100%; display: block; transition: transform .3s ease, filter .3s ease; }
.gallery-masonry a:hover img { transform: scale(1.05); filter: saturate(1.3); }

@media (max-width: 991px) {
  .about-intro, .team-row, .contact-grid, .feature-card,
  .team-row--flip .team-row__media { grid-template-columns: 1fr; }
  .team-row--flip .team-row__media { order: 0; }
  .feature-card { padding: 3rem; margin: 4rem 0; }
  .feature-card__media { margin: 0; }
  .gallery-masonry { columns: 3; }
}
@media (max-width: 767px) {
  .inner-main { padding-top: 10rem; }
  .gallery-masonry { columns: 2; }
  .contact-form-wrap { padding: 2.4rem; }
}

/* ============================================================
   SERVICE SUBPAGES (fishing-trips/*)
   ============================================================ */
/* Hero: full-bleed image, copy left-aligned, heading anchored to the bottom */
.service-hero {
  position: relative; min-height: 100vh; min-height: 100dvh; display: grid; align-items: stretch;
  /* padding-top clears the fixed header (≈15.4rem) plus the overlapping logo */
  padding: 21rem 0 5rem; overflow: hidden; color: var(--white);
}
.service-hero__bg { position: absolute; inset: 0; z-index: -1; }
.service-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.service-hero__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.4) 55%, rgba(0,0,0,.15) 100%); }
.service-hero__content { position: relative; display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.service-hero__lede { order: 1; font-size: 1.5rem; max-width: 52rem; margin-bottom: 2rem; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.service-hero .book-trip { order: 2; }
.service-hero h1 { order: 3; margin-top: auto; margin-bottom: 0; font-size: clamp(3.2rem, 6vw, 6rem); text-shadow: 0 2px 12px rgba(0,0,0,.55); }

/* About this trip (medium blue) + pricing */
.about-trip { background: #0E5A7D; color: var(--white); }
.about-trip__grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 4.5rem; align-items: start; }
.about-trip__heading { color: var(--white); font-size: clamp(2.6rem, 4vw, 3.6rem); margin-bottom: 1.6rem; }
.about-trip p { color: rgba(255,255,255,.92); }
.about-trip h3 { color: var(--white); font-size: 2.2rem; margin: 2.6rem 0 1.2rem; }
.about-trip h2.location-heading { color: var(--white); font-size: 2.4rem; margin: 2.6rem 0 1rem; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.check-list li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; color: rgba(255,255,255,.92); }
.check-list li::before { content: "✓"; color: var(--action); font-weight: 700; }
.location-text { color: rgba(255,255,255,.92); }
.location-text p { margin: .6rem 0; }

/* Pricing cards: dark teal, green title left, white price right */
.price-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem; }
.price-card {
  background: #06282D; border-radius: 12px; padding: 2.8rem 3rem;
  display: grid; grid-template-columns: 1fr 15rem; column-gap: 3rem; row-gap: .6rem; align-items: center;
  grid-template-areas: "title price" "desc note";
}
.price-card h3 { grid-area: title; color: var(--action); font-size: 2.4rem; margin: 0 0 .6rem; }
.price-card p:not(.price-card__note) { grid-area: desc; font-size: 1.4rem; color: rgba(255,255,255,.85); margin: 0; }
.price-card__price { grid-area: price; text-align: right; font-family: var(--heading-font-family), serif; font-size: clamp(3rem, 4vw, 4rem); color: var(--white); line-height: 1; align-self: center; }
.price-card__price sup { font-size: .5em; vertical-align: super; }
.price-card__note { grid-area: note; text-align: right; font-size: 1.2rem; color: rgba(255,255,255,.7); margin: .4rem 0 0; }

/* What to bring (dark blue) + scattered photo collage */
.bring { background: #0B3D54; color: var(--white); }
.bring__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: start; }
.bring h2 { color: var(--white); font-size: clamp(2.4rem, 3.5vw, 3.2rem); }
.bring h3 { color: var(--action); font-size: 2rem; margin: 2.4rem 0 1rem; }
.bring p, .bring li { color: rgba(255,255,255,.9); }
.bring ul { padding-left: 2rem; display: grid; gap: .9rem; }
.bring__media { columns: 2; column-gap: 2rem; }
.bring__media img { width: 100%; margin: 0 0 2rem; border-radius: 8px; box-shadow: 0 14px 32px rgba(0,0,0,.45); break-inside: avoid; transition: transform .25s ease, rotate .25s ease; }
.bring__media img:nth-child(odd) { rotate: -3deg; }
.bring__media img:nth-child(even) { rotate: 3deg; }
.bring__media img:hover { rotate: 0deg; transform: scale(1.03); }

/* Species targeted (medium blue) */
.species { background: #0E5A7D; color: var(--white); text-align: center; }
.species h2 { color: var(--white); }
.species__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2.4rem; list-style: none; padding: 0; margin: 3rem 0 0; align-items: center; }
.species__grid img { width: 100%; height: auto; transition: transform .2s ease; }
.species__grid a:hover img { transform: scale(1.08); }

/* Closing story (light) */
.closing-story h2 { text-align: center; font-size: clamp(2.6rem, 4vw, 3.6rem); margin-bottom: .6rem; }
.closing-story__accent { text-align: center; color: var(--action); font-weight: 600; margin-bottom: 3rem; }
.closing-story__text { max-width: 80rem; margin-inline: auto; }

@media (max-width: 991px) {
  .about-trip__grid, .bring__grid { grid-template-columns: 1fr; }
  .species__grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 767px) {
  .species__grid { grid-template-columns: repeat(3, 1fr); }
  .bring__media { columns: 1; }
  .service-hero { padding-top: 15rem; }
  .price-card { grid-template-columns: 1fr; grid-template-areas: "title" "desc" "price" "note"; }
  .price-card__price, .price-card__note { text-align: left; }
}

/* ============================================================
   POST / SPECIES TEMPLATE (src/templates/post-template.html)
   ============================================================ */
.post-hero {
  position: relative; display: grid; place-items: center; text-align: center;
  min-height: 42vh; padding: 19rem 0 6rem; overflow: hidden; color: var(--white);
}
.post-hero__bg { position: absolute; inset: 0; z-index: -1; }
.post-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.post-hero__overlay { position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.62), rgba(0,0,0,.45)); }
.post-hero h1 { color: var(--white); font-size: clamp(3.4rem, 6vw, 5.6rem); margin: 0; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.post-hero__date { display: block; margin-top: 1.4rem; color: rgba(255,255,255,.85); font-size: 1.5rem; letter-spacing: .1em; text-transform: uppercase; text-shadow: 0 1px 6px rgba(0,0,0,.6); }

/* Quick Links table of contents (blog posts) */
.post-toc { background: #f3f7f9; border-left: 4px solid var(--secondary); border-radius: 8px; padding: 2rem 2.4rem; margin-bottom: 3rem; }
.post-toc h2 { font-size: 2rem; color: var(--base); margin: 0 0 1rem; }
.post-toc ol { margin: 0; padding-left: 2rem; display: grid; gap: .6rem; }
.post-toc a { color: var(--secondary); font-weight: 600; text-decoration: none; }
.post-toc a:hover { color: var(--primary); text-decoration: underline; }

.post-body { background: var(--white); }
.post-body .container { width: min(86rem, 100% - 4rem); }
.post-body__thumb { max-width: 30rem; height: auto; margin: 0 0 2rem; }
.post-content { color: var(--base); }
.post-content h2 { font-size: clamp(2.4rem, 3.5vw, 3.2rem); color: var(--base); margin: 0 0 1.6rem; }
.post-content h3 { font-size: 2.2rem; color: var(--secondary); margin: 2.6rem 0 1rem; }
.post-content h4 { font-size: 1.9rem; color: var(--base); margin: 2.2rem 0 .8rem; }
.post-content p { margin: 0 0 1.6rem; }
.post-content a { color: var(--secondary); font-weight: 600; text-decoration: underline; }
.post-content a:hover { color: var(--primary); }
.see-also {
  display: block; background: #2c3e50; border-left: 4px solid var(--white);
  padding: 1.4rem 1.8rem; margin: 2.2rem 0; text-decoration: none;
}
.see-also .ctaText { color: #3498db; font-weight: 700; font-size: 1.5rem; margin-right: .5rem; }
.see-also .postTitle { color: #ecf0f1; text-decoration: underline; font-size: 1.5rem; }

@media (max-width: 767px) {
  .post-hero { padding-top: 14rem; min-height: 36vh; }
}

/* ---------- Location landing pages ---------- */
.location-cta { background: #06282D; color: var(--white); text-align: center; }
.location-cta h2 { color: var(--white); font-size: clamp(2.6rem, 4vw, 3.6rem); margin-bottom: 1.2rem; }
.location-cta p { color: rgba(255,255,255,.9); max-width: 62rem; margin: 0 auto 2.6rem; }
.location-cta__actions { display: flex; gap: 1.4rem; justify-content: center; flex-wrap: wrap; }

.back-link { margin-top: 3rem; }
.back-link a { color: var(--secondary); font-weight: 600; }
.back-link a:hover { color: var(--primary); }

/* ---------- Location: target species cards ---------- */
.species-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.4rem 2rem; list-style: none; padding: 0; margin: 3rem 0 0; }
.species-cards a { display: flex; flex-direction: column; align-items: center; gap: .8rem; color: var(--white); }
.species-cards img { width: 100%; max-width: 14rem; height: auto; transition: transform .2s ease; }
.species-cards a:hover img { transform: scale(1.08); }
.species-cards span { font-family: var(--heading-font-family), Georgia, serif; font-size: 1.7rem; }

/* ---------- Location: trip option cards ---------- */
.trip-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.trip-card { display: flex; flex-direction: column; background: #f4f8f9; border: 1px solid #e2e8ea; border-radius: 10px; padding: 2.4rem; transition: transform .2s ease, box-shadow .2s ease; }
.trip-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,.12); }
.trip-card h3 { color: var(--secondary); font-size: 2rem; margin-bottom: .8rem; }
.trip-card p { font-size: 1.5rem; color: #555; margin-bottom: 1.4rem; flex: 1; }
.trip-card__more { color: var(--action); font-weight: 700; }
.location-cta .back-link a { color: var(--action); }
.location-cta .back-link a:hover { color: var(--white); }

@media (max-width: 991px) {
  .species-cards { grid-template-columns: repeat(4, 1fr); }
  .trip-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .species-cards { grid-template-columns: repeat(2, 1fr); }
  .trip-cards { grid-template-columns: 1fr; }
}

/* ---------- Location: FAQ accordion ---------- */
.faq-list { max-width: 80rem; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #e2e8ea; padding: 1.8rem 0; }
.faq-item summary { font-family: var(--heading-font-family), Georgia, serif; font-size: 1.9rem; color: var(--base); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--action); font-size: 2.6rem; line-height: 1; flex: none; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin: 1.2rem 0 0; color: #444; }
