/* =========================
   Google Fonts (MUST be first)
   ========================= */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");



/* ========== Reset & Base ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, Arial, sans-serif;
  color: #0A2E4D;
  background-color: #F4E3C1;
  scroll-behavior: smooth;
}



ul, ol { list-style: none; }
a { text-decoration: none; }
.text-center { text-align: center; }

/* Brand palette tokens (safe to keep) */
:root{
  --brand-navy:#0A2E4D;
  --brand-sand:#F4E3C1;
  --brand-coral:#E85D3F;
  --brand-green:#2E7D64;
}

/* ========== Buttons (scoped only) ========== */
/* Primary CTA used across site */
.btn-cta,
.desktop-nav .nav-cta,
footer .footer-cta,
#booking-form button[type="submit"] {
  -webkit-appearance: none;
  appearance: none;
  color:#fff !important;
  background: var(--brand-coral);
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: .5px;
  border-radius: 50px;
  border: 0;
  display: inline-block;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,.20);
  transition: transform .12s ease, box-shadow .15s ease, background-color .15s ease, filter .15s ease;
  vertical-align: middle;
}
.btn-cta:hover,
.desktop-nav .nav-cta:hover,
footer .footer-cta:hover,
#booking-form button[type="submit"]:hover {
  background: var(--brand-green);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0,0,0,.28);
  filter: brightness(1.02);
}
.btn-cta:active,
.desktop-nav .nav-cta:active,
footer .footer-cta:active,
#booking-form button[type="submit"]:active {
  transform: translateY(0);
  box-shadow: 0 7px 18px rgba(0,0,0,.22);
}

/* Small variant (when explicitly used) */
.btn-cta.small,
.desktop-nav .nav-cta.small { padding: .6rem 1rem; font-size: .95rem; border-radius: 999px; }

/* Header spacing for CTA */
.desktop-nav .nav-cta { margin-left: 16px; }

/* Booking submit keeps same look but full width cap */
#booking-form button[type="submit"]{
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: block;
}

/* ========== Header / Nav ========== */
#main-header {
  background-color: #F4E3C1; position: sticky; top: 0; z-index: 999;
  border-bottom: 1px solid rgba(0,0,0,.1);
}
#main-header .container {
  max-width: 1200px; margin: 0 auto; padding: .75rem 1rem;
  display: flex; align-items: center; justify-content: space-between;
}
#main-header .logo img { height: 60px; }
#main-header .desktop-nav a {
  color: #0A2E4D; margin-left: 1.5rem; font-size: 1rem; font-weight: 500; transition: color .3s ease;
}
#main-header .desktop-nav a:hover, .desktop-nav a.active { color: #2E7D64; }
.hamburger { font-size: 1.8rem; cursor: pointer; display: none; background: none; border: 0; }

/* Mobile Nav overlay */
.mobile-nav {
  display: none; position: fixed; top: 68px; left: 0; right: 0; z-index: 998;
  background-color: #0A2E4D; text-align: center; flex-direction: column;
  border-top: 1px solid rgba(255,255,255,.15);
}
.mobile-nav a {
  color: #fff; padding: 1rem; border-top: 1px solid rgba(255,255,255,.15);
}
.mobile-nav a:hover { background: #E85D3F; }
.mobile-nav.show { display: flex; }
@media (max-width: 768px) {
  .desktop-nav { display: none; }
  .hamburger { display: block; }
}

/* ========== Hero (Home) ========== */
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;
}

#hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,46,77,.4);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 1rem;
  max-width: 980px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #fff;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #F4E3C1;
}


/* ========== Page Hero (Inner pages) ========== */
.page-hero { position: relative; width: 100%; height: 60vh; overflow: hidden; }
.page-hero video {
  position: absolute; top: 50%; left: 50%; width: 100%; height: 100%;
  transform: translate(-50%,-50%); object-fit: cover;
}
.page-hero .hero-overlay { position: absolute; inset: 0; background: rgba(10,46,77,.35); }
.page-hero-content {
  position: relative; z-index: 2; top: 50%; transform: translateY(-50%);
  text-align: center; color: #fff; padding: 0 1rem; max-width: 980px; margin: 0 auto;
}
.page-hero-content h1 { font-size: 2.2rem; margin-bottom: .75rem; }
.page-hero-content p { font-size: 1.05rem; color: #F4E3C1; }

/* =========================
   HERO PRICE PILL
   ========================= */
.hero-price {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 8px 14px;
  border-radius: 999px;

  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.2px;

  color: #0A2E4D;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(10, 46, 77, 0.18);

  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.12),
    0 2px 8px rgba(0, 0, 0, 0.10);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  margin: 10px auto 6px; /* centers under title if container is centered */
  max-width: 90%;
}

/* Make sure it centers correctly inside your hero content */
.hero-content .hero-price,
.page-hero .hero-content .hero-price,
.lp-hero .hero-content .hero-price {
  margin-left: auto;
  margin-right: auto;
}

/* Mobile tuning */
@media (max-width: 768px) {
  .hero-price {
    font-size: 0.9rem;
    padding: 7px 12px;
    margin: 8px auto 6px;
  }
}

/* If you ever use a LEFT-aligned hero, add .hero-left to that page container */
.hero-left .hero-price {
  margin-left: 0;
  margin-right: auto;
}


/* ========== Categories (Modern Cards) ========== */
#categories { background: #0A2E4D; color: #fff; text-align: center; padding: 4rem 1rem; }
#categories h2 { font-size: 2.6rem; margin-bottom: 0.75rem; }
#categories p  { max-width: 840px; margin: 0 auto 2.25rem; opacity: .95; }

.categories-grid.modern-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
}
.category-card.modern {
  position: relative; display: block; overflow: hidden; border-radius: 18px; aspect-ratio: 16 / 11;
  box-shadow: 0 8px 24px rgba(0,0,0,.28); isolation: isolate; transform: translateZ(0);
  transition: transform .35s ease, box-shadow .35s ease;
}
.category-card.modern img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.03); transition: transform .55s ease; will-change: transform;
}
.category-card.modern::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,46,77,0) 45%, rgba(10,46,77,.75) 100%);
  z-index: 1; transition: opacity .35s ease;
}
.category-card .card-overlay {
  position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2;
  text-align: left; display: grid; gap: 10px;
}
.category-card .card-overlay h3 {
  margin: 0; font-size: 1.35rem; line-height: 1.2; font-weight: 800; letter-spacing: .2px; color:#fff;
  text-shadow: 0 2px 8px rgba(0,0,0,.35);
}
/* CHIP (restore compact, not full width) */
.category-card .chip {
  display: inline-block; padding: .45rem .8rem; font-size: .85rem; font-weight: 700;
  color: #0A2E4D; background: #F4E3C1; border-radius: 999px; box-shadow: 0 4px 10px rgba(0,0,0,.18);
  transition: transform .25s ease, background .25s ease, color .25s ease;
  width: auto; max-width: max-content;
}
.category-card.modern:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(0,0,0,.35); }
.category-card.modern:hover img { transform: scale(1.08); }
.category-card.modern:hover::after { opacity: .95; }
.category-card.modern:hover .chip { transform: translateY(-2px); background: #E85D3F; color: #fff; }
@media (prefers-reduced-motion: reduce) {
  .category-card.modern, .category-card.modern img, .category-card.modern::after, .category-card.modern .chip { transition: none; }
}
@media (max-width: 640px) {
  #categories { padding: 3.25rem 1rem; }
  #categories h2 { font-size: 2.1rem; }
}

/* ========== Featured Lessons ========== */
#featured-lessons { background: #fff; text-align: center; padding: 4rem 1rem; }
#featured-lessons h2 { font-size: 2.5rem; color: #0A2E4D; }
#featured-lessons p { max-width: 800px; margin: 0 auto 2rem; }
.featured-grid {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; max-width: 1200px; margin: 0 auto;
}
.feature-card {
  background: #F4E3C1; width: 350px; text-align: left; border-radius: 8px; overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,.1); transition: all .3s ease;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 8px 16px rgba(0,0,0,.2); }
.feature-card img { width: 100%; height: auto; display: block; }
.feature-content { padding: 1rem; }
.feature-content h3 { color: #2E7D64; margin-bottom: .5rem; }
.feature-content p { margin-bottom: 1rem; }
.price-book { display: flex; justify-content: space-between; align-items: center; }
.price { color: #E85D3F; font-weight: bold; }

/* ========== Trust Parallax ========== */
#trust-parallax {
  position: relative; background-image: url('../images/trust-bg.jpg');
  background-attachment: fixed; background-size: cover; background-position: center;
  text-align: center; color: #fff; padding: 15rem 1rem;
}
.trust-container { background: rgba(0,0,0,.4); display: inline-block; padding: 2rem; border-radius: 8px; }
.trust-badge { width: 150px; margin-bottom: 1rem; }
.trust-text h2 { font-size: 1.5rem; margin-bottom: .5rem; }
.trust-text p { font-size: 1rem; color: #ddd; }

/* ========== Testimonials ========== */
#testimonials-grid { background: #F4E3C1; text-align: center; padding: 4rem 1rem; }
#testimonials-grid h2 { color: #0A2E4D; margin-bottom: 2rem; }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 1.5rem; max-width: 1000px; margin: 0 auto;
}
.testimonial-card { background: #fff; padding: 1rem; border-radius: 8px; box-shadow: 0 4px 8px rgba(0,0,0,.1); }
.testimonial-card span { display: block; margin-top: 1rem; font-style: italic; color: #555; }
.review-icon { height: 16px; margin-left: 4px; vertical-align: middle; }

/* ========== Parallax Break ========== */
#parallax-break {
  position: relative; background-image: url('../images/parallax-ocean.jpg');
  background-attachment: fixed; background-size: cover; background-position: center;
  text-align: center; color: #fff; padding: 15rem 1rem;
}
.parallax-content { background: rgba(0,0,0,.5); display: inline-block; padding: 2rem; border-radius: 8px; }
.parallax-content h2 { font-size: 2rem; margin-bottom: 1rem; }
.parallax-content p { max-width: 600px; margin: 0 auto; }

/* ========== Booking Form ========== */
#booking-form { background: #F4E3C1; text-align: center; padding: 4rem 1rem; }
#booking-form h2 { color: #0A2E4D; margin-bottom: .5rem; }
#booking-form p { font-size: 1.1rem; margin-bottom: 1.5rem; }
.booking-container { max-width: 700px; margin: 0 auto; }
.booking-container form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: flex; flex-wrap: wrap; gap: 1rem; }
.form-group { flex: 1; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: .75rem; border: 1px solid #ccc; border-radius: 4px;
}
textarea { min-height: 100px; resize: vertical; }

/* ========== Footer ========== */
footer {
  background-color: #0A2E4D; color: #fff; text-align: center; padding: 2rem 1rem; font-size: .9rem;
}
footer .inner { max-width: 1200px; margin: 0 auto; }
footer nav {
  display:flex; flex-wrap:wrap; justify-content:center; align-items:center;
  gap: .5rem 1.25rem; margin-bottom: 1rem;
}
footer nav a { color: #fff; font-size: 1rem; transition: color .3s ease; }
footer nav a:hover, footer nav a.active { color: #E85D3F; }
.footer-icons { margin: .75rem 0 0; }
.footer-icons a { display: inline-block; margin: 0 .5rem; }
.footer-icons img {
  height: 24px; width: 24px; object-fit: contain; vertical-align: middle; transition: transform .2s ease, filter .2s ease;
}
.footer-icons img:hover { transform: scale(1.2); filter: brightness(120%); }
footer .copyright { font-size: .8rem; color: #ccc; margin-top: 1rem; }

/* ========== Benefits (Reusable) ========== */
#benefits { background: #fff; padding: 4rem 1rem; color: #0A2E4D; }
#benefits .benefits-wrap { max-width: 1100px; margin: 0 auto; text-align: center; }
#benefits h2 { font-size: 2.2rem; color: #0A2E4D; margin-bottom: .25rem; }
#benefits h3 { font-size: 1.25rem; font-weight: 700; color: #0A2E4D; margin-bottom: 1rem; }
#benefits .benefits-note { max-width: 820px; margin: .25rem auto 2rem; font-size: .9rem; color: #3c5873; opacity: .9; }

.benefits-grid {
  max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem; align-items: stretch;
}
@media (max-width: 992px) { .benefits-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); } }
@media (max-width: 640px) { .benefits-grid { grid-template-columns: 1fr; } }
.benefit-card {
  background: #F4E3C1; border: 1px solid rgba(10,46,77,.08); border-radius: 14px;
  padding: 1.25rem 1.1rem; text-align: left; box-shadow: 0 6px 16px rgba(10,46,77,.08);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
  display: flex; flex-direction: column; height: 100%;
}
.benefit-card:hover { transform: translateY(-6px); box-shadow: 0 12px 24px rgba(10,46,77,.16); border-color: #E85D3F; }
.benefit-icon {
  width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px;
  background: #0A2E4D; color: #fff; margin-bottom: .75rem;
}
.benefit-icon svg { width: 28px; height: 28px; display: block; fill: currentColor; }
.benefit-card h4 { font-size: 1.05rem; margin-bottom: .35rem; color: #0A2E4D; }
.benefit-card p { font-size: .95rem; color: #244766; }

/* ========== Generic Sections (Inner pages) ========== */
.section { padding: 4rem 1rem; background: #fff; }
.section-title { text-align: center; font-size: 2rem; color: #0A2E4D; margin-bottom: .5rem; }
.section-lead { text-align: center; max-width: 820px; margin: 0 auto 1.5rem; color: #244766; }

/* ===================================================== */
/* === Shared Article Cards (Lessons/Trips/Camps/etc.) === */
/* ===================================================== */

.trip-grid{
  max-width:1200px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(280px,1fr));
  gap:1.5rem;
}

.trip-card{
  background:#F4E3C1;                 /* matches brand sand */
  border:1px solid rgba(10,46,77,.08);
  border-radius:14px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  box-shadow:0 6px 16px rgba(10,46,77,.08);
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.trip-card:hover{
  transform:translateY(-6px);
  box-shadow:0 12px 24px rgba(10,46,77,.16);
  border-color:#E85D3F;
}

.trip-img{
  width:100%;
  height:220px;
  object-fit:cover;
  display:block;
}

.trip-body{
  padding:1rem;
  display:flex;
  flex-direction:column;
  gap:.6rem;
}

.trip-title{ color:#2E7D64; font-size:1.15rem; line-height:1.25; }
.trip-desc{ color:#244766; font-size:.95rem; }

.trip-meta{
  display:flex;
  flex-wrap:wrap;
  gap:.55rem 1rem;
  color:#0A2E4D;
  font-size:.92rem;
  list-style:none;
  padding:0;
  margin:.2rem 0 .4rem 0;
}
.trip-meta li{ display:flex; align-items:center; }
.meta-icon{ font-weight:700; margin-right:.35rem; }

/* Reuse global .price-book + .price; ensure spacing on cards */
.trip-card .price-book{ margin-top:.25rem; }

/* Compact on small screens */
@media (max-width:640px){
  .trip-img{ height:200px; }
  .trip-title{ font-size:1.05rem; }
}

/* ===== Footer CTA alignment (visual consistency) ===== */
footer .btn-cta,
footer .footer-cta{
  padding:.6rem 1rem;
  font-size:.95rem;
  border-radius:999px;
}

/* --- Footer legal links (Privacy, Terms, Refunds) --- */
footer a:link,
footer a:visited {
  color: #ffffff;               /* make them white to match the footer */
}

footer a:hover,
footer a:focus {
  color: var(--brand-coral);    /* coral on hover for consistency */
  text-decoration: underline;   /* optional: show they’re links */
}

/* Footer row spacing — works even if the markup is injected */
footer .inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Give every direct child of .inner some top margin (except the first) */
footer .inner > * + * {
  margin-top: 12px;   /* adjust to taste: 10–16px */
}

/* Extra breathing room around social icons + copyright */
footer .footer-icons { margin-top: 12px; }
footer .copyright    { margin-top: 12px; }

/* If your legal links are wrapped (recommended from earlier), add this: */
footer .legal-links { margin: 10px 0 12px; line-height: 1.6; }

/* Fallback in case your markup doesn’t have `.inner` for some reason */
footer nav + * { margin-top: 12px; }

/* === Cookie Banner === */
.cookie-banner {
  position: fixed;
  inset: auto 0 0 0;            /* stick to bottom */
  z-index: 9999;
  background: var(--brand-navy, #0A2E4D);
  color: #fff;
  box-shadow: 0 -10px 30px rgba(0,0,0,.25);
  padding: 14px 16px;
  display: none;                /* shown by JS */
}
.cookie-banner.show { display: block; }

.cookie-wrap {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}

.cookie-text {
  font-size: .95rem;
  line-height: 1.5;
}
.cookie-text a { color: #F4E3C1; text-decoration: underline; }

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.cookie-btn {
  -webkit-appearance: none;
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: .6rem 1rem;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
  box-shadow: 0 6px 16px rgba(0,0,0,.18);
}
.cookie-btn.accept { background: var(--brand-coral, #E85D3F); color: #fff; }
.cookie-btn.accept:hover { filter: brightness(1.05); }
.cookie-btn.decline {
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
}
.cookie-btn.decline:hover { background: rgba(255,255,255,.18); }

/* Mobile */
@media (max-width: 640px){
  .cookie-wrap { grid-template-columns: 1fr; }
  .cookie-actions { justify-content: stretch; }
  .cookie-btn { width: 100%; text-align: center; }
}

/* --- Alt Contact (WhatsApp) --- */
.contact-alt {
  text-align: center;
  margin: 1.25rem auto 0;
}
.contact-alt .contact-or {
  color: #244766;
  opacity: .9;
  margin-bottom: .6rem;
}

.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .75rem 1.25rem;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1;
  background: #25D366;         /* WA green */
  color: #0b2e19 !important;   /* dark text for contrast */
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
  transition: transform .12s ease, box-shadow .15s ease, filter .15s ease;
}
.btn-wa:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(0,0,0,.24);
}
.btn-wa:active { transform: translateY(0); }


/* more space before the footer */
.contact-alt {
  margin: 1.25rem auto 3rem; /* top | sides | bottom */
}

@media (max-width: 640px) {
  .contact-alt { margin-bottom: 3.75rem; } /* a touch more on mobile */
}

/* ============ Booking form – polished look (no HTML changes) ============ */
/* 1) Container + spacing */
#booking-form { padding-bottom: 3rem; } /* space before footer */
#booking-form h2.section-title { margin-bottom: .35rem; }
#booking-form p { margin-bottom: 1.75rem; }

/* 2) Make the form a responsive grid */
#bookingForm{
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 14px 16px;
  max-width: 980px;
  margin: 0 auto;
}

/* 3) Inputs, selects, textarea */
#bookingForm input,
#bookingForm select,
#bookingForm textarea{
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(10,46,77,.18);
  border-radius: 12px;
  background: #fff;
  color: var(--brand-navy);
  font-size: 16px;
  line-height: 1.3;
  outline: none;
  box-shadow: inset 0 2px 8px rgba(10,46,77,.06);
  transition: border-color .15s ease, box-shadow .15s ease, transform .05s ease;
}

#bookingForm input::placeholder,
#bookingForm textarea::placeholder{ color: #7a95ad; }

#bookingForm input:focus,
#bookingForm select:focus,
#bookingForm textarea:focus{
  border-color: var(--brand-green);
  box-shadow: 0 0 0 3px rgba(46,125,100,.15), inset 0 2px 8px rgba(10,46,77,.06);
}

/* nicer select caret (keeps native behavior) */
#bookingForm select{
  background-color:#fff;
  background-image: none;
}

/* hide number spinners (Chrome) */
#bookingForm input[type="number"]::-webkit-outer-spin-button,
#bookingForm input[type="number"]::-webkit-inner-spin-button{ -webkit-appearance: none; margin: 0; }
#bookingForm input[type="number"]{ -moz-appearance: textfield; }

/* 4) Layout: what spans full width */
#bookingForm textarea,
#bookingForm .btn-cta,
#formStatus{
  grid-column: 1 / -1; /* full width row */
}

/* date + select stay side-by-side on desktop automatically */

/* 5) Textarea sizing */
#bookingForm textarea{ min-height: 140px; resize: vertical; }

/* 6) Button alignment (reuse your .btn-cta) */
#bookingForm .btn-cta{
  margin-top: 6px;
  justify-self: center;
  width: 100%;
}

/* 7) Status line */
.form-status{
  margin-top: 10px;
  text-align: center;
  font-size: .95rem;
}
.form-status.ok{ color: var(--brand-green); }
.form-status.err{ color: var(--brand-coral); }

/* 8) Mobile: single column */
@media (max-width: 680px){
  #bookingForm{ grid-template-columns: 1fr; gap: 12px; }
}

/* 9) “or” divider + WhatsApp CTA spacing if present */
.or-divider{ 
  margin: 18px auto 10px; 
  text-align:center; 
  color:#5a748c; 
  font-weight:600; 
}
.wa-cta{ margin: 6px auto 26px; display:block; }

/* Titles inside the grid should span full width */
.form-section-title{
  grid-column: 1 / -1;
  margin: 10px 0 2px;
  font-weight: 800;
  color: var(--brand-navy);
  opacity: .9;
  font-size: .95rem;
}

/* WhatsApp button style (brand-like) */
.btn-wa{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: .8rem 1.25rem;
  border-radius: 999px;
  background: #25d366;
  color: #0a2e4d;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(0,0,0,.15);
  transition: transform .12s ease, box-shadow .15s ease, filter .15s ease;
}
.btn-wa:hover{ transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,0,0,.22); filter: brightness(1.03); }

/* Light vertical rhythm for the booking section only */
#booking-form .form-section-title { margin: 1.25rem 0 .5rem; }
#booking-form form > * + * { margin-top: .65rem; }
#booking-form .or-divider { margin: 1.25rem 0; }
#booking-form .wa-cta { margin-top: .75rem; display: inline-flex; align-items: center; }

/* add to css/styles.css */
.btn-cta.is-loading { opacity: .7; pointer-events: none; }
.form-status { margin-top: .75rem; font-size: .95rem; }

/* Booking form status message */
.form-status {
  margin-top: 1rem;
  font-size: 0.95rem;
  line-height: 1.4;
  display: none;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  background: #e0f5ec;
  border: 1px solid #2e7d64;
  color: #134e4a;
  font-weight: 600;
}

.form-status.is-error {
  background: #fee2e2;
  border: 1px solid #fca5a5;
  color: #7f1d1d;
  font-weight: 600;
}

.brand-note {
  font-size: 0.85rem;
  opacity: 0.8;
  margin-top: 0.25rem;
}

.cta-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 30px;
}

/* =========================================================
   Lesson / service detail pages (SCOPED)
   Won't affect other pages unless body has these classes.
========================================================= */

.lesson-page,
.service-page {
  overflow-x: hidden; /* fixes mobile "side scroll" / overflow glitches */
}

.lesson-page .lp-container,
.service-page .lp-container {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

.lesson-page .lp-section,
.service-page .lp-section {
  padding: 48px 0;
}

@media (max-width: 768px) {
  .lesson-page .lp-section,
  .service-page .lp-section {
    padding: 28px 0;
  }
}

/* Hero image (no video) */
.lp-hero {
  position: relative;
  min-height: 56vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 96px 0 72px;
  overflow: hidden;
}

.lp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--lp-hero-image) center / cover no-repeat;
  transform: scale(1.02);
}

.lp-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.45) 0%,
    rgba(0,0,0,0.35) 35%,
    rgba(0,0,0,0.55) 100%
  );
}

.lp-hero .lp-container {
  position: relative;
  z-index: 1;
}

.lp-hero h1 {
  margin: 0 0 10px;
  line-height: 1.05;
  color: #fff;
  text-shadow: 0 8px 28px rgba(0,0,0,0.35);
}

.lp-hero .lp-subtitle {
  max-width: 760px;
  margin: 0 auto 18px;
  color: rgba(255,255,255,0.92);
  font-weight: 600;
}

.lp-hero .lp-hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
}

/* Key cards */
.lp-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

@media (max-width: 900px) {
  .lp-kpi-grid {
    grid-template-columns: 1fr;
  }
}

.lp-card {
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  backdrop-filter: blur(6px);
}

.lp-card .lp-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 6px;
  font-weight: 800;
}

/* Airbnb-style itinerary */
.lp-itinerary {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.lp-itinerary-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 14px;
  align-items: start;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.05);
}

.lp-itinerary-time {
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  opacity: 0.9;
}

.lp-itinerary-item h3 {
  margin: 0 0 4px;
}

.lp-itinerary-item p {
  margin: 0;
  opacity: 0.85;
}

/* Two-column section (desktop) */
.lp-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: start;
}

@media (max-width: 900px) {
  .lp-split {
    grid-template-columns: 1fr;
  }
}

/* Gallery (horizontal scroll like home) */
.lp-gallery {
  margin-top: 16px;
}

.lp-gallery-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.lp-gallery-track::-webkit-scrollbar {
  height: 10px;
}

.lp-gallery-item {
  scroll-snap-align: start;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.08);
  background: #fff;
}

.lp-gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

/* Map */
.lp-map {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.08);
  background: #fff;
}

.lp-map iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

@media (max-width: 768px) {
  .lp-map iframe {
    height: 300px;
  }
}

/* FAQ (details) */
.lp-faq details {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 10px;
}

.lp-faq summary {
  cursor: pointer;
  font-weight: 800;
}

.lp-faq p {
  margin: 10px 0 0;
  opacity: 0.88;
}

/* Floating book button */
.lp-float-book {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 999;
  border-radius: 999px;
  padding: 12px 16px;
  box-shadow: 0 14px 40px rgba(0,0,0,0.25);
}

@media (min-width: 900px) {
  .lp-float-book {
    right: 24px;
    bottom: 24px;
  }
}

/* Why surf with us — card grid */
.lesson-page .lp-why-grid,
.service-page .lp-why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

@media (max-width: 900px) {
  .lesson-page .lp-why-grid,
  .service-page .lp-why-grid {
    grid-template-columns: 1fr;
  }
}

.lesson-page .lp-why-card,
.service-page .lp-why-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.05);
}

.lesson-page .lp-why-card h3,
.service-page .lp-why-card h3 {
  margin: 0 0 6px;
  font-weight: 900;
}

.lesson-page .lp-why-card p,
.service-page .lp-why-card p {
  margin: 0;
  opacity: 0.88;
}

/* ===== Desktop dropdown nav (non-breaking) ===== */
.desktop-nav .nav-dd {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.desktop-nav .nav-dd-btn {
  background: transparent;
  border: 0;
  padding: 10px 12px;
  font: inherit;
  cursor: pointer;
  border-radius: 999px;
}

.desktop-nav .nav-dd-btn:after {
  content: "▾";
  font-size: 0.8em;
  margin-left: 6px;
  opacity: 0.8;
}

.desktop-nav .nav-dd-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
  padding: 8px;
  display: none;
  z-index: 999;
}

.desktop-nav .nav-dd-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  white-space: nowrap;
}

.desktop-nav .nav-dd-menu a:hover {
  background: rgba(0,0,0,0.05);
}

.desktop-nav .nav-dd:hover .nav-dd-menu,
.desktop-nav .nav-dd:focus-within .nav-dd-menu {
  display: block;
}

/* ===== Mobile labels (simple, no JS) ===== */
.mobile-nav .mobile-nav-label {
  margin: 10px 0 6px;
  padding: 10px 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  opacity: 0.7;
}

/* =========================
   LESSON SUBPAGES LAYOUT
   Scoped so it won't affect other pages
   ========================= */
.page-lesson .lesson-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 32px;
  align-items: start;
}

/* Right column: keep visible while scrolling */
.page-lesson .lesson-side {
  position: sticky;
  top: 96px; /* below header */
}

/* Make sure long content doesn't overflow */
.page-lesson .lesson-main,
.page-lesson .lesson-side {
  min-width: 0;
}

/* Tablet/mobile: stack */
@media (max-width: 980px) {
  .page-lesson .lesson-layout {
    grid-template-columns: 1fr;
  }
  .page-lesson .lesson-side {
    position: static;
  }
}

/* ============================
   Dropdown hover fix (desktop)
   Add at END of your CSS file
   ============================ */

/* Ensure the dropdown positions correctly */
.desktop-nav .nav-dd {
  position: relative;
}

/* Default: hidden submenu */
.desktop-nav .nav-dd-menu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

/* Show submenu when hovering the whole dropdown area OR keyboard focus */
.desktop-nav .nav-dd:hover .nav-dd-menu,
.desktop-nav .nav-dd:focus-within .nav-dd-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Optional: hover buffer to prevent flicker when moving from button → menu */
.desktop-nav .nav-dd-menu::before {
  content: "";
  position: absolute;
  left: 0;
  top: -10px;
  width: 100%;
  height: 10px;
}

/* Optional: make sure submenu stays above hero/video */
.desktop-nav .nav-dd-menu {
  z-index: 1000;
}

/* =========================
   MOBILE NAV FIX (PATCH)
   Add at END of your CSS
   ========================= */

/* Make sure header height is consistent on mobile */
@media (max-width: 768px) {
  #main-header .container {
    padding: 10px 12px;
  }

  #main-header .logo img {
    height: 44px; /* tighter for mobile */
  }
}

/* Full-screen mobile menu panel that scrolls */
@media (max-width: 768px) {
  .mobile-nav {
    /* override your fixed overlay */
    display: none;
    position: fixed;
    left: 0;
    right: 0;

    /* IMPORTANT: use the real header height */
    top: 68px;
    height: calc(100vh - 68px);

    overflow-y: auto;
    -webkit-overflow-scrolling: touch;

    padding-bottom: 18px;
    background: #0A2E4D;
  }

  .mobile-nav.show {
    display: flex;
  }

  /* Make tap targets feel less "giant" */
  .mobile-nav a {
    padding: 14px 16px;
    font-size: 16px;
  }

  /* Keep CTA from looking like it sits on the hero */
  .mobile-nav .nav-cta {
    margin: 18px 16px 22px;
    width: calc(100% - 32px);
    display: block;
  }
}

/* =========================
   Lang switcher styling
   (desktop + mobile)
   ========================= */

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 14px;
}

.lang-btn {
  border: 1px solid rgba(10,46,77,.35);
  background: rgba(255,255,255,.35);
  color: #0A2E4D;
  padding: 6px 10px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
}

.lang-btn[aria-pressed="true"] {
  background: #fff;
  border-color: rgba(10,46,77,.55);
}

.lang-sep {
  opacity: .65;
  font-weight: 800;
}

/* Mobile switcher block inside the menu */
.lang-switcher--mobile {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 12px 12px;
  border-bottom: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.06);
}

.lang-switcher--mobile .lang-btn {
  border-color: rgba(255,255,255,.35);
  background: rgba(255,255,255,.12);
  color: #fff;
}

.lang-switcher--mobile .lang-btn[aria-pressed="true"] {
  background: #fff;
  color: #0A2E4D;
}

/* Make sure hamburger stays clickable above the menu */
@media (max-width: 768px) {
  #main-header {
    z-index: 1000;
  }
  .mobile-nav {
    z-index: 999;
  }
}

@media (max-width: 768px) {
  .hamburger{
    font-size: 26px;
    padding: 10px 12px;
    border-radius: 10px;
    color: #0A2E4D;
  }
  .hamburger:active{
    background: rgba(10,46,77,.08);
  }
}

/* =========================================================
   FIX: active nav/footer links must NOT change header height
   (Index has .active on top-level link; other pages don’t)
   ========================================================= */

/* Keep consistent sizing for top-level desktop links */
#main-header .desktop-nav > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  line-height: 1;           /* prevents line-height growth */
  padding: 10px 10px;       /* lock padding so active can't change height */
}

/* If you have any rule that changes padding/border on active, neutralize it */
#main-header .desktop-nav > a.active {
  padding: 10px 10px;       /* same as normal */
  border-bottom: 0 !important; /* avoid border adding layout height */
}

/* Draw underline using pseudo-element (doesn't affect layout) */
#main-header .desktop-nav > a.active::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: -6px;             /* below the text, not inside padding */
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.9;
  pointer-events: none;
}

/* Mobile nav active also shouldn’t change layout */
#main-header .mobile-nav a {
  position: relative;
  line-height: 1.2;
}

#main-header .mobile-nav a.active {
  border-left: 0 !important;
  border-bottom: 0 !important;
  padding-left: inherit !important;
}

/* Footer: if .active exists there, prevent resizing too */
footer a.active {
  border-bottom: 0 !important;
  padding-bottom: 0 !important;
  position: relative;
}

footer a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.8;
  pointer-events: none;
}

#main-header {
  min-height: 72px; /* or whatever your real header height is */
}
.hero-price{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  max-width: 520px;   /* controls pill width */
  width: 90%;         /* responsive */
  margin: 0 auto;     /* center horizontally */

  text-align: center;
}
