/* ============================================================
   PortageLakesLive — styles
   Waterfront palette: deep lake teal, sunset orange, sand.
   ============================================================ */

:root {
  --water-900: #0b2a3a;
  --water-700: #12455c;
  --water-500: #1c6f8c;
  --water-300: #4fa3bd;
  --sun-500:   #f0803c;   /* sunset orange accent */
  --sun-400:   #f79a5c;
  --sand-100:  #f7f2e7;
  --sand-200:  #efe6d2;
  --ink:       #172a33;
  --ink-soft:  #4a5c64;
  --line:      #dcd3c0;
  --white:     #ffffff;
  --radius:    14px;
  --shadow:    0 6px 20px rgba(11, 42, 58, 0.10);
  --shadow-lg: 0 14px 40px rgba(11, 42, 58, 0.18);
  --maxw:      1080px;
  --font:      "Helvetica Neue", Arial, system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

a { color: var(--water-500); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- Header / Nav ---------- */
#site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--water-900);
  color: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; gap: 18px;
  padding: 12px 20px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--white); font-weight: 700; letter-spacing: .5px;
  font-size: 1.2rem; text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  color: var(--sun-500); font-size: 1.6rem; line-height: 1;
  transform: translateY(1px);
}
.brand-text strong { color: var(--sun-500); margin-left: 2px; letter-spacing: 1px; }

.nav-links {
  margin-left: auto;
  display: flex; align-items: center; gap: 22px;
}
.nav-links a {
  color: #cfe4ec; font-weight: 600; font-size: .82rem;
  text-transform: uppercase; letter-spacing: 1px;
  padding: 6px 0; position: relative;
}
.nav-links a:hover { color: var(--white); text-decoration: none; }
.nav-links a.active { color: var(--white); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--sun-500);
}
.nav-social { display: flex; gap: 12px; margin-left: 6px; }
.nav-social a {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--water-700); color: var(--white);
  display: grid; place-items: center; font-weight: 700;
}
.nav-social a:hover { background: var(--sun-500); text-decoration: none; }

.nav-toggle {
  display: none; margin-left: auto;
  background: none; border: 0; color: var(--white);
  font-size: 1.5rem; cursor: pointer;
}

/* ---------- Sponsor strip ---------- */
.sponsor-strip {
  background: linear-gradient(90deg, var(--sand-200), #f3ecdc);
  border-bottom: 1px solid var(--line);
  font-size: .85rem;
}
.sponsor-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 8px 20px;
  display: flex; align-items: center; gap: 10px; justify-content: center;
  text-align: center;
}
.sponsor-label {
  font-size: .68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1px; color: var(--sun-500);
  border: 1px solid var(--sun-400); border-radius: 999px; padding: 2px 8px;
  white-space: nowrap;
}
.sponsor-inner a { color: var(--ink-soft); }
.sponsor-inner a strong { color: var(--water-700); }

/* ---------- Featured (VIP) venues ---------- */
.vip-badge {
  display: inline-block; vertical-align: 1px;
  background: linear-gradient(180deg, #f7d774, #e9b83c);
  color: #5a4508; font-size: .62rem; font-weight: 800;
  letter-spacing: 1px; padding: 2px 7px; border-radius: 999px;
  border: 1px solid #d1a125; white-space: nowrap;
}
.venue-card.vip {
  border: 1px solid #e9b83c;
  box-shadow: 0 6px 20px rgba(233, 184, 60, .25);
  background: linear-gradient(180deg, #fffdf5, var(--white));
}
.pin.vip circle { fill: #e9b83c; stroke: #fff; }
.pin.vip:hover circle, .pin.vip.selected circle { fill: #d1a125; }
.pin.vip .pin-anchor { fill: #5a4508; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(11,42,58,.35), rgba(11,42,58,.75)),
    radial-gradient(120% 120% at 70% -10%, var(--sun-400) 0%, var(--water-500) 42%, var(--water-900) 100%);
  color: var(--white);
  text-align: center;
  padding: 74px 20px 88px;
  overflow: hidden;
}
.hero::after {           /* stylized water line */
  content: "";
  position: absolute; left: 0; right: 0; bottom: -1px; height: 46px;
  background: var(--sand-100);
  clip-path: polygon(0 55%, 8% 40%, 18% 55%, 28% 38%, 40% 55%, 52% 38%, 63% 55%, 74% 40%, 85% 55%, 94% 40%, 100% 55%, 100% 100%, 0 100%);
}
.hero h1 {
  margin: 0 0 12px; font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: 1px; text-shadow: 0 2px 18px rgba(0,0,0,.35);
}
.hero p { margin: 0 auto; max-width: 620px; font-size: 1.12rem; color: #eef6f9; }
.hero-cta { margin-top: 26px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 12px 24px; border-radius: 999px;
  font-weight: 700; letter-spacing: .5px; font-size: .9rem;
  text-transform: uppercase; cursor: pointer; border: 2px solid transparent;
}
.btn-primary { background: var(--sun-500); color: var(--white); }
.btn-primary:hover { background: var(--sun-400); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.12); text-decoration: none; }

/* ---------- Sections ---------- */
main { padding-bottom: 60px; }
.section { padding: 46px 0 10px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.section-head h2 { margin: 0; font-size: 1.7rem; color: var(--water-900); }
.section-head .sub { color: var(--ink-soft); font-size: .95rem; }
.section-head a.more { font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: 1px; }
.page-title { padding: 40px 0 6px; }
.page-title h1 { margin: 0 0 6px; font-size: 2.1rem; color: var(--water-900); }
.page-title p { margin: 0; color: var(--ink-soft); }

/* ---------- Featured / Weekly Rundown ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.feat-card {
  background: var(--white); border-radius: var(--radius);
  padding: 18px; box-shadow: var(--shadow);
  border-top: 4px solid var(--accent, var(--water-500));
  transition: transform .15s, box-shadow .15s;
}
.feat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.feat-day { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--sun-500); }
.feat-artist { font-size: 1.15rem; font-weight: 700; margin: 6px 0 2px; color: var(--water-900); }
.feat-venue { color: var(--ink-soft); font-size: .92rem; }
.feat-tags { margin-top: 12px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* ---------- Region / Day blocks ---------- */
.region-block, .day-block { margin-bottom: 26px; }
.region-title, .day-title {
  margin: 0 0 10px; font-size: 1.15rem; color: var(--water-700);
  border-bottom: 2px solid var(--line); padding-bottom: 6px;
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
}
.region-blurb { font-size: .8rem; font-weight: 400; color: var(--ink-soft); letter-spacing: 0; text-transform: none; }
.day-date { font-size: .85rem; font-weight: 500; color: var(--ink-soft); }
.day-block.is-today .day-title { color: var(--sun-500); border-color: var(--sun-400); }
.today-badge {
  margin-left: auto; background: var(--sun-500); color: var(--white);
  font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  padding: 3px 10px; border-radius: 999px;
}

/* ---------- Event row ---------- */
.event-row {
  display: grid; grid-template-columns: 84px 1fr auto;
  gap: 14px; align-items: center;
  background: var(--white); border-radius: 10px;
  padding: 11px 14px; margin-bottom: 8px;
  box-shadow: 0 1px 4px rgba(11,42,58,.06);
}
.event-time { font-weight: 700; color: var(--water-700); font-size: .9rem; }
.event-artist { font-weight: 700; color: var(--ink); }
.event-venue { font-size: .88rem; color: var(--ink-soft); }
.event-venue a { color: var(--water-500); font-weight: 600; }
.event-note { color: var(--ink-soft); font-style: italic; font-size: .85rem; }
.event-genre { text-align: right; }
.boat { color: var(--water-500); }

/* ---------- Chips & flags ---------- */
.chip {
  display: inline-grid; place-items: center;
  width: 24px; height: 24px; border-radius: 6px;
  background: var(--chip, #666); color: #fff;
  font-weight: 800; font-size: .78rem; letter-spacing: 0;
}
.flag {
  display: inline-grid; place-items: center;
  width: 22px; height: 22px; border-radius: 50%;
  font-weight: 800; font-size: .8rem;
}
.flag-cover { background: #2c3e46; color: #ffd27a; }
.flag-fund { background: #e35d9c; color: #fff; }

/* ---------- Legend ---------- */
.legend {
  display: flex; flex-wrap: wrap; gap: 12px 18px;
  background: var(--sand-200); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px 16px; margin: 8px 0 24px;
  font-size: .85rem; color: var(--ink-soft);
}
.legend-item { display: flex; align-items: center; gap: 6px; }

/* ---------- Filter bar ---------- */
.filterbar { display: flex; gap: 16px; flex-wrap: wrap; margin: 4px 0 22px; }
.field { display: flex; flex-direction: column; gap: 4px; }
.field-label { font-size: .72rem; text-transform: uppercase; letter-spacing: 1px; color: var(--ink-soft); font-weight: 700; }
.field select {
  appearance: none; background: var(--white); border: 1px solid var(--line);
  border-radius: 10px; padding: 9px 34px 9px 12px; font-size: .92rem; color: var(--ink);
  min-width: 180px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231c6f8c' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.field select:focus { outline: 2px solid var(--water-300); }

/* ---------- Lakes map ---------- */
.map-card {
  background: linear-gradient(180deg, #e8f2ee, #dcebe4);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 10px 10px 4px; position: relative;
}
.map-card svg { width: 100%; height: auto; display: block; }
.lake { fill: #7fbdd3; stroke: #4fa3bd; stroke-width: 2; transition: fill .15s; }
.lake:hover { fill: #93cbdf; }
.lake-label { font-family: var(--font); font-size: 13px; font-weight: 600; fill: #12455c; pointer-events: none; }
.channel { stroke: #7fbdd3; stroke-width: 6; fill: none; stroke-linecap: round; }
.pin { cursor: pointer; }
.pin circle { fill: var(--sun-500); stroke: #fff; stroke-width: 2.5; transition: r .12s, fill .12s; }
.pin:hover circle, .pin.selected circle { fill: #d95f16; r: 11; }
.pin text { font-family: var(--font); font-size: 12px; font-weight: 700; fill: #0b2a3a; pointer-events: none; }
.pin .pin-anchor { font-size: 11px; fill: #fff; pointer-events: none; }
.map-pop {
  position: absolute; max-width: 280px; background: var(--white);
  border-radius: 12px; box-shadow: var(--shadow-lg);
  padding: 14px 16px; z-index: 5; display: none;
}
.map-pop.show { display: block; }
.map-pop h4 { margin: 0 0 4px; color: var(--water-900); }
.map-pop p { margin: 0 0 8px; font-size: .85rem; color: var(--ink-soft); }
.map-pop .mini-show { display: block; margin-bottom: 4px; }
.map-pop .close { position: absolute; top: 6px; right: 10px; border: 0; background: none; font-size: 1rem; cursor: pointer; color: var(--ink-soft); }
.map-hint { text-align: center; font-size: .8rem; color: var(--ink-soft); padding: 6px 0 8px; margin: 0; }

/* ---------- Special / annual events ---------- */
.special-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.special-card { background: var(--water-700); color: var(--white); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.special-card h3 { margin: 0 0 6px; color: #ffd9b8; }
.special-when { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--sun-400); }
.special-card p { margin: 8px 0 0; color: #d6eaf1; font-size: .92rem; }

/* ---------- Venues ---------- */
.venue-region { margin-bottom: 34px; }
.venue-card {
  background: var(--white); border-radius: var(--radius);
  padding: 18px 20px; box-shadow: var(--shadow); margin-bottom: 14px;
  scroll-margin-top: 90px;
}
.venue-head h3 { margin: 0 0 6px; color: var(--water-900); font-size: 1.25rem; }
.venue-blurb { margin: 0 0 10px; color: var(--ink); }
.venue-meta { margin: 0 0 12px; color: var(--ink-soft); font-size: .9rem; }
.venue-upcoming { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; border-top: 1px dashed var(--line); padding-top: 10px; }
.venue-upcoming-label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--sun-500); }
.mini-show { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; color: var(--ink-soft); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 8px; }
.card {
  background: var(--white); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.card h2 { margin-top: 0; color: var(--water-900); }
.card label { display: block; font-weight: 700; font-size: .85rem; margin: 12px 0 5px; color: var(--ink); }
.card input, .card textarea {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line);
  border-radius: 10px; font-size: .95rem; font-family: var(--font);
}
.card textarea { min-height: 100px; resize: vertical; }
.form-msg { margin-top: 12px; font-weight: 600; }
.form-msg.ok { color: var(--water-500); }
.form-msg.err { color: #c0392b; }
.newsletter .form-msg.ok { color: #ffd9b8; }

/* ---------- Newsletter strip ---------- */
.newsletter {
  background: var(--water-700); color: var(--white);
  border-radius: var(--radius); padding: 30px 26px; margin: 40px 0 0;
  text-align: center;
}
.newsletter h2 { margin: 0 0 6px; }
.newsletter p { margin: 0 0 18px; color: #d6eaf1; }
.newsletter form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.newsletter input {
  padding: 12px 14px; border-radius: 10px; border: 0; min-width: 260px; font-size: .95rem;
}

.empty { background: var(--sand-200); border: 1px dashed var(--line); border-radius: var(--radius); padding: 20px; color: var(--ink-soft); }

/* ---------- Footer ---------- */
#site-footer { background: var(--water-900); color: #bcd6e0; margin-top: 40px; }
.foot-inner { max-width: var(--maxw); margin: 0 auto; padding: 32px 20px; text-align: center; }
.foot-brand { font-size: 1.3rem; font-weight: 700; color: var(--white); }
.foot-brand strong { color: var(--sun-500); }
.foot-contact { margin: 10px 0; font-size: .9rem; letter-spacing: .5px; }
.foot-contact a { color: var(--sun-400); }
.foot-note { color: #9fbecb; font-size: .9rem; }
.foot-legal { margin-top: 14px; font-size: .76rem; color: #6f93a2; }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 4px;
    background: var(--water-900); padding: 10px 20px 18px;
  }
  #site-header.open .nav-links { display: flex; }
  .nav-links a { padding: 10px 0; }
  .nav-social { margin: 8px 0 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .event-row { grid-template-columns: 70px 1fr auto; }
}
