/* ============================================================
   RIGS Fly Shop — Fishing Report Template
   Palette:
     --ink      #343c43   (charcoal, body/headings)
     --ink-2    #2d3940   (dark bars)
     --ink-3    #363c42
     --orange   #f05123   (accent, CTA buttons, active tab)
     --orange-2 #ef5123
     --blue     #2ea3f2   (links)
     --teal     #7ebec5
     --gray     #e8e8e8   (light section backgrounds)
     --gray-2   #f5f5f5
   Fonts: Lato (display), Open Sans (body)
   ============================================================ */

:root {
  --ink: #343c43;
  --ink-2: #2d3940;
  --ink-3: #363c42;
  --orange: #f05123;
  --orange-dark: #e0441a;
  --blue: #2ea3f2;
  --teal: #7ebec5;
  --gray: #e8e8e8;
  --gray-2: #f5f5f5;
  --white: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Lato", "Open Sans", sans-serif;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.4em;
  text-transform: uppercase;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 820px; }

/* ============================== HEADER ============================== */
.site-header {
  background: var(--ink-2);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 6px rgba(0,0,0,0.25);
}

.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img { height: 52px; width: 52px; border-radius: 6px; }

.header-actions { display: flex; align-items: center; gap: 16px; }

.header-phone {
  color: var(--white);
  font-size: 17px;
}
.header-phone strong { font-weight: 700; }
.header-phone:hover { color: var(--orange); text-decoration: none; }

.btn-book,
.btn-order {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-family: "Lato", sans-serif;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 22px;
  border-radius: 3px;
  transition: background 0.18s ease;
  border: none;
  cursor: pointer;
}
.btn-book:hover,
.btn-order:hover { background: var(--orange-dark); text-decoration: none; color: #fff; }

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  width: 24px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================== HERO ============================== */
.hero {
  background-size: cover;
  background-position: center;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  position: relative;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.18), rgba(0,0,0,0.42));
}
.hero-inner { position: relative; z-index: 1; }
.hero-title {
  color: #fff;
  font-size: clamp(40px, 7vw, 76px);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
  margin: 0;
}
.hero-subtitle {
  color: #fff;
  font-family: "Lato", sans-serif;
  font-size: clamp(18px, 2.4vw, 26px);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  margin: 12px 0 0;
}

/* ============================== RIVER TABS ============================== */
.river-tabs {
  background: var(--ink-2);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  padding: 0 12px;
}
.river-tab {
  color: #fff;
  font-family: "Lato", sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 15px 22px;
  position: relative;
}
.river-tab:hover { color: var(--orange); text-decoration: none; }
.river-tab.active { color: var(--orange); }
.river-tab.active::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 8px;
  height: 3px;
  background: var(--orange);
}

/* ============================== JUMP BAR ============================== */
.jump-bar {
  background: var(--gray);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  padding: 26px 20px;
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
}
.jump-item {
  background: var(--ink);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 22px 10px;
  border-radius: 4px;
  transition: background 0.18s ease, transform 0.18s ease;
}
.jump-item:hover { background: var(--orange); text-decoration: none; transform: translateY(-3px); }
.jump-icon img { height: 44px; width: auto; filter: brightness(0) invert(1); }
.jump-label {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 13px;
}

/* ============================== SECTIONS ============================== */
.section { padding: 64px 0; }

.section-kicker {
  color: var(--orange);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.28em;
  text-align: center;
  margin-bottom: 6px;
}
.section-title {
  font-size: clamp(26px, 4vw, 36px);
  text-align: center;
  margin-bottom: 18px;
}

.section-conditions,
.section-tips,
.section-hatch,
.section-weather,
.section-map { border-top: 1px solid #eee; }

.last-update {
  text-align: center;
  color: #666;
  margin-bottom: 28px;
}
.last-update strong { color: var(--ink); }

.section-conditions p,
.section-tips p { margin: 0 0 1.2em; }
.section-conditions p strong,
.section-tips p strong { color: var(--ink); }

/* Gauge */
.gauge {
  background: var(--gray-2);
  border-left: 4px solid var(--orange);
  border-radius: 4px;
  padding: 20px 24px;
  margin-top: 8px;
}
.gauge p { margin: 0 0 6px; }
#gauge-value { font-size: 26px; font-weight: 700; color: var(--orange); }
.gauge-note { font-size: 13px; color: #777; }
.text-link { font-weight: 600; }

/* ============================== BANNERS ============================== */
.banner {
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 90px 20px;
  text-align: center;
}
.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 26, 31, 0.55);
}
.banner-inner { position: relative; z-index: 1; }
.banner-kicker {
  color: #fff;
  font-size: clamp(28px, 4.5vw, 42px);
  font-weight: 900;
  letter-spacing: 0.18em;
  margin-bottom: 4px;
}
.banner-title {
  color: #fff;
  font-size: clamp(16px, 2.4vw, 22px);
  letter-spacing: 0.14em;
  margin-bottom: 26px;
  opacity: 0.95;
}

/* ============================== HATCH CHART ============================== */
.hatch-heading {
  text-align: center;
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 400;
  margin-bottom: 22px;
}
.hatch-chart {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}

/* ============================== TIPS / GEAR LIST ============================== */
.gear-list { margin: 0 0 1.4em; padding-left: 22px; }
.gear-list li { margin-bottom: 0.7em; }

/* ============================== WEATHER ============================== */
.weather-source { text-align: center; color: #777; font-size: 13px; margin-bottom: 28px; }
.weather-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 16px;
}
.weather-card {
  background: var(--gray-2);
  border: 1px solid #e3e3e3;
  border-radius: 6px;
  padding: 18px 16px;
  text-align: center;
}
.weather-card .period-name {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.weather-card img { width: 56px; height: 56px; margin: 0 auto 8px; }
.weather-card .short-forecast { font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.weather-card .temp { font-size: 14px; color: #555; margin-bottom: 8px; }
.weather-card .detail { font-size: 12.5px; color: #777; line-height: 1.5; }
.weather-loading { grid-column: 1 / -1; text-align: center; color: #888; }

/* ============================== MAP ============================== */
#map-container { height: 420px; border-radius: 6px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.12); }
.map-caption { text-align: center; color: #777; font-size: 13px; margin-top: 14px; }

/* ============================== GEAR CAROUSEL ============================== */
.section-gear { background: var(--gray-2); }
.carousel { position: relative; display: flex; align-items: center; gap: 10px; }
.carousel-viewport { overflow: hidden; flex: 1; }
.carousel-track {
  display: flex;
  gap: 18px;
  transition: transform 0.4s ease;
}
.gear-card {
  flex: 0 0 calc((100% - 36px) / 3);
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  padding: 14px;
  text-align: center;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.gear-card:hover { text-decoration: none; box-shadow: 0 4px 16px rgba(0,0,0,0.12); }
.gear-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 4px;
  background: #f0f0f0;
}
.gear-card h4 {
  font-size: 14px;
  margin: 0;
  flex: 1;
  text-transform: none;
  letter-spacing: 0;
}
.gear-card .price { font-weight: 700; color: var(--orange); font-size: 16px; }

.carousel-btn {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #ccc;
  background: #fff;
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}
.carousel-btn:hover { background: var(--orange); color: #fff; border-color: var(--orange); }

/* ============================== FOOTER ============================== */
.site-footer { background: var(--ink-2); color: #cdd2d6; }

.footer-reviews {
  background: var(--white);
  color: var(--ink);
  padding: 48px 0;
  border-bottom: 1px solid #e5e5e5;
}
.reviews-heading { text-align: center; margin-bottom: 22px; }
.reviews-summary { text-align: center; max-width: 720px; margin: 0 auto; }
.reviews-badge {
  display: inline-block;
  background: #eaf4fb;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
}
.reviews-count { display: block; color: #777; font-size: 14px; margin: 8px 0; }
.stars { color: #f5a623; font-size: 24px; letter-spacing: 3px; margin-bottom: 10px; }
.reviews-summary p { font-size: 15px; color: #555; }

.footer-columns { padding: 52px 0 36px; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.footer-col h4 { color: #fff; font-size: 14px; letter-spacing: 0.1em; margin-bottom: 10px; }
.footer-col h4 a { color: #fff; }
.footer-col h4 a:hover { color: var(--orange); text-decoration: none; }
.footer-col p { font-size: 13.5px; color: #b9c0c5; margin: 0; }
.footer-col p a { color: #b9c0c5; }
.footer-col p a:hover { color: var(--orange); }

.footer-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 36px;
  padding-top: 30px;
}
.footer-contact p { font-size: 13.5px; color: #b9c0c5; margin: 0 0 14px; }
.footer-contact a { color: #b9c0c5; }
.footer-contact a:hover { color: var(--orange); }

.social-links { display: flex; gap: 10px; margin-top: 14px; }
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.social-links a:hover { background: var(--orange); text-decoration: none; }

.footer-quicklinks h4 { color: #fff; font-size: 14px; letter-spacing: 0.1em; margin-bottom: 12px; }
.footer-quicklinks p { margin: 0 0 8px; }
.footer-quicklinks a { color: #b9c0c5; font-size: 13.5px; }
.footer-quicklinks a:hover { color: var(--orange); }

.footer-legal {
  background: var(--ink-3);
  padding: 20px 0;
}
.footer-legal .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-legal p { margin: 0; font-size: 13px; color: #aeb5ba; }
.footer-legal a { color: #aeb5ba; }
.footer-legal a:hover { color: var(--orange); }
.security-logo { height: 42px; width: auto; }

/* ============================== RESPONSIVE ============================== */
@media (max-width: 900px) {
  .jump-bar { grid-template-columns: repeat(5, 1fr); gap: 8px; padding: 18px 12px; }
  .jump-label { font-size: 11px; }
  .jump-icon img { height: 32px; }
  .gear-card { flex: 0 0 calc((100% - 18px) / 2); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .header-phone { display: none; }
  .jump-bar { grid-template-columns: repeat(2, 1fr); }
  .gear-card { flex: 0 0 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 260px; }
  #map-container { height: 300px; }
}
