/*
Theme Name: Explore Florida Homeschool
Theme URI: https://www.explorefloridahomeschool.com
Author: Mr. Pipeline
Description: Custom theme for Explore Florida Homeschool — homeschool enrichment programs in South Florida. Blends playful education styling with a clean, parent-friendly layout.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: explore-florida-homeschool
*/

/* ==========================================================================
   Design tokens
   ========================================================================== */
:root {
  --teal: #14a5bb;
  --teal-dark: #0d8296;
  --teal-soft: #dcf6fa;
  --green-deep: #101c1f;
  --green-mid: #20444c;
  --orange: #f4772e;
  --orange-dark: #d95f1a;
  --yellow: #ffc93c;
  --cream: #fbf3df;
  --blue-soft: #eaf4fb;
  --ink: #23312e;
  --muted: #5c6b67;
  --white: #ffffff;
  --radius: 16px;
  --radius-lg: 28px;
  --shadow: 0 10px 30px rgba(20, 51, 44, 0.10);
  --shadow-sm: 0 4px 14px rgba(20, 51, 44, 0.08);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
}

/* ==========================================================================
   Base
   ========================================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--green-deep);
  line-height: 1.15;
  font-weight: 600;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.35rem; }

p { margin-bottom: 1rem; }

a { color: var(--teal-dark); text-decoration: none; }
a:hover { color: var(--teal); }

.wrap {
  width: min(1160px, 92%);
  margin: 0 auto;
}

.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.section--cream { background: var(--cream); }
.section--blue { background: var(--blue-soft); }
.section--teal-soft { background: var(--teal-soft); }
.section--green { background: var(--green-deep); }
.section--green h2, .section--green h3, .section--green p { color: var(--white); }

.center { text-align: center; }

.section, .page-hero, .hero { position: relative; }
.page-hero, .hero { overflow: hidden; }

/* ==========================================================================
   Animations: scroll reveal + floating clay decorations
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes efh-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(6deg); }
}
@keyframes efh-sway {
  0%, 100% { transform: translateY(0) rotate(-8deg); }
  50% { transform: translateY(-10px) rotate(8deg); }
}
@keyframes efh-spin {
  to { transform: rotate(360deg); }
}

.decor {
  position: absolute;
  width: 64px;
  height: 64px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.9;
  animation: efh-float 7s ease-in-out infinite;
}
.decor svg { width: 100%; height: 100%; display: block; }
.decor--sm { width: 44px; height: 44px; }
.decor--lg { width: 92px; height: 92px; }
.decor--xl { width: 130px; height: 130px; }
/* Photographic fish decorations size by width and keep their aspect ratio. */
.decor--img { width: 84px; height: auto; }
.decor--img.decor--sm { width: 58px; height: auto; }
.decor--img.decor--lg { width: 120px; height: auto; }
.decor--img.decor--xl { width: 172px; height: auto; }
.decor--img img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 14px rgba(8, 61, 104, 0.30));
}
.decor--flip img { transform: scaleX(-1); }
.decor--sway { animation: efh-sway 8s ease-in-out infinite; }
.decor--spin { animation: efh-spin 16s linear infinite; }
.decor--d2 { animation-delay: 1.8s; }
.decor--d3 { animation-delay: 3.4s; }

@media (max-width: 760px) {
  .decor { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .decor, .reveal { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Interactive floating illustrations (drift + flick) */
.efh-floaties {
  position: fixed;
  inset: 0;
  z-index: 20;
  overflow: hidden;
  pointer-events: none; /* let the page underneath stay clickable */
}
.efh-floaty {
  position: absolute;
  top: 0;
  left: 0;
  will-change: transform;
  pointer-events: auto; /* but the sprites themselves are grabbable */
  cursor: grab;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  filter: drop-shadow(0 10px 16px rgba(8, 61, 104, 0.28));
  transition: filter 0.2s ease;
}
.efh-floaty img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  -webkit-user-drag: none;
}
.efh-floaty:hover { filter: drop-shadow(0 12px 20px rgba(8, 61, 104, 0.38)); }
.efh-floaty.is-held { cursor: grabbing; }

.kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.75rem;
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 640px;
}
.center .lead { margin-left: auto; margin-right: auto; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-body);
}
.btn--primary { background: var(--orange); color: var(--white); }
.btn--primary:hover { background: var(--orange-dark); color: var(--white); transform: translateY(-2px); }
.btn--teal { background: var(--teal); color: var(--white); }
.btn--teal:hover { background: var(--teal-dark); color: var(--white); transform: translateY(-2px); }
.btn--outline { border-color: var(--green-deep); color: var(--green-deep); background: transparent; }
.btn--outline:hover { background: var(--green-deep); color: var(--white); }
.btn--light { background: var(--white); color: var(--green-deep); }
.btn--light:hover { background: var(--yellow); color: var(--green-deep); }

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(20, 51, 44, 0.08);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--green-deep);
  line-height: 1.1;
}
.brand:hover { color: var(--teal-dark); }
.brand__mark {
  width: 54px;
  height: 54px;
  flex: none;
  border-radius: 50%; /* logo is a circular badge on a white square — crop the corners */
  object-fit: cover;
}
.brand__mark--footer {
  width: 64px;
  height: 64px;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15); /* soft ring so the white badge sits nicely on the dark footer */
}
.brand span em {
  font-style: normal;
  color: var(--teal);
}
.brand small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.main-nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
}
.main-nav a {
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
  padding: 6px 2px;
}
.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a {
  color: var(--teal-dark);
  box-shadow: inset 0 -3px 0 var(--yellow);
}

.nav-cta { flex: none; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--green-deep);
  margin: 5px 0;
  border-radius: 3px;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--blue-soft) 0%, #f6fbf6 60%, var(--cream) 100%);
  overflow: hidden;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 110px;
}
.hero h1 em {
  font-style: normal;
  color: var(--teal);
  position: relative;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
.hero__badges { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.badge-pill {
  background: var(--white);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--green-mid);
  box-shadow: var(--shadow-sm);
}
.hero__art { position: relative; }
.hero__art svg { width: 100%; height: auto; }

.wave {
  display: block;
  width: 100%;
  height: 70px;
  margin-bottom: -1px;
}

/* ==========================================================================
   Cream promo band (Studyfun-style) with stats inside
   ========================================================================== */
.band {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 56px 48px 48px;
  text-align: center;
  margin-top: -70px;
  position: relative;
  z-index: 5;
}
.band h2 { margin-bottom: 10px; }
.band > p { color: var(--muted); max-width: 560px; margin: 0 auto 34px; }
.band .stats {
  margin-top: 0;
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   Stats bar
   ========================================================================== */
.stats {
  background: var(--white);
  border: 2px solid rgba(20, 51, 44, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 34px 20px;
  margin-top: -70px;
  position: relative;
  z-index: 5;
}
.stat { text-align: center; padding: 0 12px; }
.stat + .stat { border-left: 1px solid rgba(20, 51, 44, 0.1); }
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--orange);
}
.stat span { font-size: 0.9rem; color: var(--muted); font-weight: 600; }

/* ==========================================================================
   Cards
   ========================================================================== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(20, 51, 44, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: 0.6rem; }
.card p { color: var(--muted); font-size: 0.98rem; margin-bottom: 0.75rem; }
.card .link-more { font-weight: 700; font-size: 0.95rem; margin-top: auto; padding-top: 10px; }

.card__icon {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card__icon svg { width: 32px; height: 32px; }

/* Clay illustration in cards */
.card__art {
  margin: -34px -30px 22px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  aspect-ratio: 10 / 7;
  flex: none;
}
.card__art svg { width: 100%; height: 100%; display: block; }
.card__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
  cursor: zoom-in;
}
.card--soon { position: relative; }
.badge-soon {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--yellow);
  color: var(--green-deep);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  z-index: 2;
  box-shadow: var(--shadow-sm);
}
.icon--teal { background: var(--teal-soft); }
.icon--yellow { background: #fff3d1; }
.icon--orange { background: #ffe6d5; }
.icon--blue { background: var(--blue-soft); }

/* Feature pills (Studyfun-style) */
.pill-row { display: grid; gap: 22px; }
.pill-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px 26px;
  box-shadow: var(--shadow-sm);
}
.pill-item h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.pill-item h3 .dot {
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--green-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 800;
  font-family: var(--font-body);
}
.pill-item p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* Checklist */
.checklist { list-style: none; margin: 20px 0; }
.checklist li {
  padding-left: 34px;
  position: relative;
  margin-bottom: 12px;
  font-weight: 600;
  color: var(--green-mid);
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Program feature rows
   ========================================================================== */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.feature-row + .feature-row { margin-top: 90px; }
.feature-row--flip .feature-row__art { order: 2; }

.feature-row__art {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.feature-row__art svg { width: 100%; height: auto; display: block; }
.feature-row__art img {
  width: 100%;
  aspect-ratio: 10 / 8;
  object-fit: cover;
  object-position: center 22%;
  display: block;
  cursor: zoom-in;
}

.meta-strip {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  margin: 18px 0;
  padding: 16px 22px;
  background: var(--cream);
  border-radius: var(--radius);
}
.meta-strip div { font-size: 0.9rem; color: var(--muted); }
.meta-strip strong { display: block; color: var(--green-deep); font-size: 1rem; }

/* ==========================================================================
   Photo grid ("moments") + content collage
   ========================================================================== */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  grid-auto-flow: dense;
  gap: 18px;
  margin-top: 48px;
}
.photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%; /* bias toward faces so nobody gets cut off */
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease;
  cursor: zoom-in;
}
.photo-grid img:hover { transform: scale(1.03); }
.photo-grid .tall { grid-row: span 2; }
.photo-grid .wide { grid-column: span 2; }

.photo-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 190px;
  gap: 16px;
}
.photo-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  cursor: zoom-in;
}
.photo-collage .wide { grid-column: span 2; }
/* Featured top photo (the wide one): give it height so the group's faces show instead of cropping heads */
.photo-collage > img.wide:first-child {
  grid-row: span 2;
  object-position: center 30%;
}
/* Poster graphics (text baked in): show the whole poster, never crop it */
.photo-collage--posters {
  grid-auto-rows: auto;
  align-items: start;
}
.photo-collage--posters img {
  height: auto;
  object-fit: contain;
  box-shadow: none;
  cursor: default;
}
@media (max-width: 600px) {
  .photo-collage--posters { grid-template-columns: 1fr; }
}

/* Lightbox */
.efh-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(16, 28, 31, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
}
.efh-lightbox.is-open { display: flex; }
.efh-lightbox img {
  max-width: 90vw;
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.efh-lightbox__close,
.efh-lightbox__prev,
.efh-lightbox__next {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 0;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.efh-lightbox__close:hover,
.efh-lightbox__prev:hover,
.efh-lightbox__next:hover { background: var(--teal); }
.efh-lightbox__close { top: 22px; right: 22px; }
.efh-lightbox__prev { left: 22px; top: 50%; transform: translateY(-50%); }
.efh-lightbox__next { right: 22px; top: 50%; transform: translateY(-50%); }
.efh-lightbox__caption {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
  text-align: center;
  max-width: 80vw;
}

@media (max-width: 960px) {
  .photo-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
}

/* ==========================================================================
   Events
   ========================================================================== */
.event-card {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 26px;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 26px 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(20, 51, 44, 0.06);
  margin-bottom: 22px;
}
.event-card__date {
  background: var(--green-deep);
  color: var(--white);
  border-radius: var(--radius);
  text-align: center;
  padding: 16px 10px;
}
.event-card__date strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--yellow);
  line-height: 1;
}
.event-card__date span { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.event-card h3 { margin-bottom: 4px; }
.event-card p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.event-card__meta { font-size: 0.88rem; font-weight: 700; color: var(--teal-dark); }

/* ==========================================================================
   Testimonial
   ========================================================================== */
.testimonial {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 48px;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.testimonial .stars { color: var(--orange); font-size: 1.3rem; letter-spacing: 4px; margin-bottom: 18px; }
.testimonial blockquote { font-size: 1.15rem; color: var(--green-mid); font-style: italic; margin-bottom: 20px; }
.testimonial cite { font-style: normal; font-weight: 700; color: var(--green-deep); }
.testimonial cite span { display: block; font-weight: 500; color: var(--muted); font-size: 0.88rem; }

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  background: var(--green-deep);
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 201, 60, 0.18);
}
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin: 0; max-width: 520px; }
.cta-band .btn { position: relative; z-index: 2; }

/* ==========================================================================
   Page hero (inner pages)
   ========================================================================== */
.page-hero {
  background: linear-gradient(150deg, var(--teal-soft), var(--blue-soft));
  padding: 70px 0 60px;
  text-align: center;
}
.page-hero .lead { margin: 12px auto 0; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}
.contact-info .card { margin-bottom: 20px; }
.contact-info .card { display: flex; gap: 18px; align-items: flex-start; padding: 26px; }
.contact-info .card h3 { font-size: 1.05rem; margin-bottom: 2px; }
.contact-info .card p { margin: 0; }

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin: 16px 0 6px;
  color: var(--green-deep);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid rgba(20, 51, 44, 0.12);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: #fcfdfd;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--teal);
}
.contact-form .btn { margin-top: 24px; width: 100%; }

.notice {
  padding: 16px 22px;
  border-radius: var(--radius);
  margin-bottom: 24px;
  font-weight: 600;
}
.notice--success { background: var(--teal-soft); color: var(--teal-dark); }

/* ==========================================================================
   Contact Form 7 — match the theme's form styling
   ========================================================================== */
.contact-form .wpcf7-form-control-wrap { display: block; }
.contact-form .wpcf7 input[type="text"],
.contact-form .wpcf7 input[type="tel"],
.contact-form .wpcf7 input[type="email"],
.contact-form .wpcf7 select,
.contact-form .wpcf7 textarea {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid rgba(20, 51, 44, 0.12);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: #fcfdfd;
}
.contact-form .wpcf7 input:focus,
.contact-form .wpcf7 select:focus,
.contact-form .wpcf7 textarea:focus {
  outline: none;
  border-color: var(--teal);
}
.contact-form .wpcf7 input[type="submit"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  margin-top: 24px;
  width: 100%;
  cursor: pointer;
  display: inline-block;
  padding: 14px 30px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  background: var(--orange);
  color: var(--white);
  transition: all 0.2s ease;
}
.contact-form .wpcf7 input[type="submit"]:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
}
.contact-form .wpcf7 input[type="submit"]:disabled {
  opacity: 0.7;
  cursor: default;
  transform: none;
}

/* Validation + response messages */
.contact-form .wpcf7-not-valid-tip {
  color: #c0392b;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 6px;
  display: block;
}
.contact-form .wpcf7 .wpcf7-not-valid {
  border-color: #e07a63 !important;
  background: #fdf3f1;
}
.contact-form .wpcf7-response-output {
  border-radius: var(--radius);
  padding: 14px 20px !important;
  margin: 22px 0 0 !important;
  font-weight: 600;
  border: 0 !important;
}
.contact-form .wpcf7-mail-sent-ok {
  background: var(--teal-soft);
  color: var(--teal-dark);
}
.contact-form .wpcf7-validation-errors,
.contact-form .wpcf7-acceptance-missing,
.contact-form .wpcf7-mail-sent-ng,
.contact-form .wpcf7-aborted {
  background: #fdf3f1;
  color: #c0392b;
}
.contact-form .wpcf7-spinner { margin: 14px auto 0; display: block; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--green-deep);
  color: rgba(255, 255, 255, 0.8);
  padding: 70px 0 0;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.site-footer h4 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 18px;
}
.site-footer .brand { color: var(--white); margin-bottom: 16px; }
.site-footer .brand small { color: rgba(255, 255, 255, 0.6); }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer a { color: rgba(255, 255, 255, 0.8); }
.site-footer a:hover { color: var(--yellow); }
.footer-contact li {
  padding-left: 26px;
  position: relative;
}
.footer-contact li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
}
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  transition: background 0.2s ease, transform 0.2s ease;
}
.social-links a svg { width: 22px; height: 22px; }
.social-links a:hover {
  background: var(--teal);
  color: #ffffff;
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px 0;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ==========================================================================
   Top announcement bar (Step Up For Students — every page)
   ========================================================================== */
.topbar {
  background: linear-gradient(90deg, #083d68, #1272b4);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.85rem;
  font-weight: 600;
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 8px 0;
  flex-wrap: wrap;
}
.topbar__stepup {
  color: var(--yellow);
  font-weight: 800;
}
.topbar__stepup:hover { color: #ffffff; }

.stepup-badge {
  display: inline-block;
  background: var(--white);
  border-radius: 12px;
  padding: 10px 14px;
  margin-top: 18px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease;
}
.stepup-badge:hover { transform: translateY(-3px); }
.stepup-badge img { max-width: 210px; height: auto; }

/* ==========================================================================
   Deep-water sections & Fish Camp page (flyer styling)
   ========================================================================== */
.section--water {
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(90, 200, 240, 0.35), transparent 60%),
    linear-gradient(180deg, #0d5c94 0%, #0a4a7c 45%, #083d68 100%);
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  overflow: hidden;
}
.section--water h1, .section--water h2, .section--water h3 { color: var(--white); }
.section--water .kicker { color: var(--yellow); }
.section--water .lead, .section--water p { color: rgba(255, 255, 255, 0.85); }
.section--water::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 90px;
  background:
    radial-gradient(circle 14px at 10% 100%, rgba(255,255,255,0.16) 60%, transparent 61%),
    radial-gradient(circle 20px at 26% 100%, rgba(255,255,255,0.12) 60%, transparent 61%),
    radial-gradient(circle 12px at 41% 100%, rgba(255,255,255,0.16) 60%, transparent 61%),
    radial-gradient(circle 22px at 58% 100%, rgba(255,255,255,0.10) 60%, transparent 61%),
    radial-gradient(circle 14px at 74% 100%, rgba(255,255,255,0.16) 60%, transparent 61%),
    radial-gradient(circle 20px at 90% 100%, rgba(255,255,255,0.12) 60%, transparent 61%);
  pointer-events: none;
}

.fishcamp-hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 84px;
}
.fishcamp-hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  letter-spacing: 0.01em;
}
.fishcamp-hero h1 em {
  font-style: normal;
  color: #4fd0e8;
}
.fishcamp-hero__art img {
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.info-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}
.info-chip {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  padding: 12px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  backdrop-filter: blur(4px);
}
.info-chip strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow);
}

/* Session dates */
.dates-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 42px;
}
.date-chip {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(20, 51, 44, 0.06);
  text-align: center;
  padding: 20px 10px 16px;
}
.date-chip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--green-deep);
  line-height: 1;
}
.date-chip span {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-dark);
  margin-bottom: 4px;
}
.date-chip small { color: var(--muted); font-weight: 600; }

/* Pricing */
.price-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 380px));
  justify-content: center;
  gap: 28px;
  margin-top: 42px;
}
.price-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 38px 34px;
  text-align: center;
  border-top: 6px solid var(--teal);
}
.price-card--featured { border-top-color: var(--orange); }
.price-card .price {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--green-deep);
  line-height: 1;
  margin: 10px 0 4px;
}
.price-card .price-note { color: var(--muted); font-size: 0.92rem; margin-bottom: 18px; }
.badge-value {
  display: inline-block;
  background: var(--yellow);
  color: var(--green-deep);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

/* Facebook reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  margin-top: 48px;
}
.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(20, 51, 44, 0.06);
  padding: 34px 30px;
  text-align: left;
}
.review-card .stars { color: var(--orange); font-size: 1.1rem; letter-spacing: 3px; margin-bottom: 14px; }
.review-card blockquote { font-size: 0.98rem; color: var(--green-mid); margin-bottom: 16px; }
.review-card cite { font-style: normal; font-weight: 700; color: var(--green-deep); }
.review-card cite span { display: block; font-weight: 500; color: var(--muted); font-size: 0.85rem; }

/* Hero photo stack (home) */
.hero-photos {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 200px;
  gap: 16px;
}
.hero-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  cursor: zoom-in;
}
.hero-photos img.wide { grid-column: span 2; grid-row: span 2; object-position: center 10%; }
.hero-photos .hero-fish {
  position: absolute;
  width: 190px;
  height: auto;
  right: -44px;
  top: -58px;
  z-index: 2;
  filter: drop-shadow(0 10px 18px rgba(8, 61, 104, 0.35));
  animation: efh-sway 8s ease-in-out infinite;
}
.hero-photos .hero-fish svg { width: 100%; height: 100%; }

/* ==========================================================================
   Generic page content (fallback)
   ========================================================================== */
.entry-content { padding: 60px 0; max-width: 760px; margin: 0 auto; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; padding-bottom: 90px; }
  .hero__art { max-width: 480px; margin: 0 auto; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2, .feature-row, .contact-grid { grid-template-columns: 1fr; }
  .feature-row--flip .feature-row__art { order: 0; }
  .feature-row + .feature-row { margin-top: 60px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .stat:nth-child(3) { border-left: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 20px 5%;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 14px; }
  .nav-cta { display: none; }
}

@media (max-width: 960px) {
  .fishcamp-hero .wrap { grid-template-columns: 1fr; }
  .fishcamp-hero__art { max-width: 460px; margin: 0 auto; }
  .dates-grid { grid-template-columns: repeat(3, 1fr); }
  .price-cards { grid-template-columns: 1fr; }
  .hero-photos { grid-auto-rows: 160px; }
  .hero-photos .hero-fish { right: -8px; top: -40px; width: 132px; height: auto; }
}

@media (max-width: 560px) {
  .section { padding: 60px 0; }
  .dates-grid { grid-template-columns: repeat(2, 1fr); }
  .topbar__info { display: none; }
  .event-card { grid-template-columns: 90px 1fr; }
  .event-card__meta { grid-column: 2; }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { padding: 44px 30px; }
  .testimonial { padding: 34px 26px; }
}
