@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

/* ─── BASE RESET ─────────────────────────────────────── */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  overflow-anchor: none;
}
body {
  font-family: 'Poppins', sans-serif;
  background: #f9f9f9;
  color: #333;
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* ─── HEADER / NAVIGATION ─────────────────────────────── */
#nav-toggle {
  display: none;  /* Hide hamburger by default */
}
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 30px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}

header.scrolled {
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

#main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo {
  height: 40px; /* adjust as needed */
  width: auto;
  margin-top: 10px;
}
.logo-container {
  display: flex;
  align-items: center;
  gap: 10px; /* space between logo and button */
}

.lang-btn {
  margin-top: 10px;
  margin-left: 8px; /* moves "Fr" slightly to the right of the logo */
  background-color: transparent !important;
  border: none !important;
  color: white !important;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: color 0.3s ease;
  padding: 0;               /* remove extra padding */
  font-size: 1rem;          /* match default font size */
  line-height: 1.5;         /* roughly nav link line height */
  text-shadow: 0 0 5px rgba(0,0,0,0.6);  /* match nav link shadow */
  user-select: none;
  border-radius: 0;
  width: auto;
}


.lang-btn:hover {
  color: #ff6600 !important; /* orange on hover */
  background-color: transparent !important; /* no background on hover */
  border: none !important;
}


nav {
  display: flex;
  gap: 20px;
}

nav a {
  color: #fff;
  text-shadow: 0 0 5px rgba(0,0,0,0.6);
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: 0.3s;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: #3E8688;
  transition: width 0.3s;
}

nav a:hover::after {
  width: 100%;
}

/* ─── HERO SECTION ────────────────────────────────────── */
.hero {
  display: flex;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.hero-panel {
  flex: 1;
  background-size: cover;
  background-position: center;
}

.hero-panel.left {
  background-image: url('DSC00415 (1).jpg');
}

.hero-panel.center {
  background-image: url('Sarah.jpg');
  height: 100%;

}


.hero-panel.right {
  background-image: url('beach_session.jpg');
}

.hero-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.4);
  padding: 40px;
  border-radius: 10px;
  max-width: 700px;
  animation: fadeIn 1.5s ease-in-out;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}

/* ─── CTA BUTTON ───────────────────────────────────────── */
.cta-button {
  background: linear-gradient(135deg, #3E8688, #317A7C);
  color: #fff;
  padding: 14px 32px;
  font-size: 1.15rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15),
  inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  z-index: 2;
  letter-spacing: 0.4px;
  opacity: 0;
  transform: translateY(20px);
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none !important;
}

.fade.visible .cta-button {
  opacity: 1;
  transform: translateY(0);
}

.cta-button:hover {
  transform: scale(1.07);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25),
  0 0 8px rgba(62, 134, 136, 0.4);
}

.cta-button::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 120%;
  background: linear-gradient(
          120deg,
          rgba(255, 255, 255, 0) 0%,
          rgba(255, 255, 255, 0.45) 50%,
          rgba(255, 255, 255, 0) 100%
  );
  transform: translateX(-130%);
  opacity: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
  transition: transform 0.6s ease, opacity 0.25s ease;
}

.cta-button:hover::after {
  transform: translateX(130%);
  opacity: 1;
}

/* ─── UNIVERSAL SECTION ─────────────────────────────────── */
.section {
  padding: 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  text-align: center;
}

/* ─── ABOUT SECTION ─────────────────────────────────────── */
.about-text {
  max-width: 800px;
  margin: auto;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.8;
}

.about-photo {
  display: block;
  margin: 30px auto;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

/* ─── SESSION GRID ─────────────────────────────────────── */
.session-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.session-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}



.session-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.session-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.3s;
  border-radius: 12px 12px 0 0;
  margin-bottom: 10px; /* adds space below the image */
}
.session-card img[src="beach_LV.jpg"] {
  object-position: center 45%; /* shift focus downward to show sand */
}

.session-card:hover img {
  transform: scale(1.05);
}

.session-card h3 {
  margin: 20px 0 10px;
  font-size: 1.3rem;
  color: #3E8688;
  font-weight: 600;
}

.session-card p {
  margin: 10px 0;
  padding: 0 20px;
  font-size: 0.95rem;
  color: #444;
}

/* icon + text (location / day / time) */
.info {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
}

.info i {
  width: 18px;   /* Lucide icons inherit font-size, so fix dimensions */
  height: 18px;
  stroke-width: 2;   /* slightly bolder */
}

.skill-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #3E8688;
  color: white;
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 600;
  text-transform: none; /* keep natural casing */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  z-index: 2;
}


.session-card:hover .skill-badge {
  box-shadow: 0 0 10px #3E8688;
  transform: scale(1.05);
}

.location {
  font-size: 1.1rem;
  font-weight: 600;
  color: #222;
  margin-top: 10px;
}
.location-link {
  display: inline-flex;
  align-items: center;
  color: #3E8688; /* brand color */
  text-decoration: none;
  gap: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.3s;
}

.location-link:hover {
  color: #FF6B00; /* orange highlight on hover */
}

.location-link i {
  stroke-width: 3; /* make pin icon a bit bolder */
  transition: stroke 0.3s;
}

.location-link:hover i {
  stroke: #FF6B00; /* pin changes color on hover */
}


/* Description is now always visible */
.description {
  position: static;
  background: none;
  opacity: 1;
  color: #444;
  padding: 0 20px;
  font-size: 0.95rem;
  margin-top: auto;
  border-top: 1px solid #eee;
  padding-top: 15px;
}

.description strong {
  color: #3E8688; /* your brand blue */
  font-weight: 700;
  font-size: 1.05rem;
}


.session-card p.spots {
  margin: 0 20px 20px;
  font-size: 1rem;
  font-weight: 700;
  color: #B70000;
  opacity: 0;
  transition: opacity 0.3s;
  height: 24px; /* consistent height reserved */
}

.session-card:hover p.spots {
  opacity: 1;
}



.session-card p.spots.waitlist {
  color: #FF6B00;
}

/* Premium hover effects */
.session-card:hover .skill-badge {
  box-shadow: 0 0 10px #3E8688;
}

.session-card:hover img {
  transform: scale(1.05);
}


/* ─── GALLERY ───────────────────────────────────────────── */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1rem;
}


.gallery img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.gallery img:hover {
  transform: scale(1.03);
}


/* ─── MAP ───────────────────────────────────────────── */
.dual-maps {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.dual-maps .map-container {
  flex: 1 1 450px;
  min-width: 300px;
  max-width: 600px;
}

.map-container h3 {
  margin-bottom: 12px;
  font-size: 1.1rem;
  color: #3E8688;
  text-align: center;
}



/* ─── FOOTER ───────────────────────────────────────────── */
footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 30px 20px;
  font-size: 0.9em;
  margin-top: 40px;
}

.footer-icons {
  margin-bottom: 10px;
}

.footer-icons a img {
  width: 28px;
  margin: 0 10px;
  vertical-align: middle;
  transition: transform 0.3s;
}

.footer-icons a img:hover {
  transform: scale(1.1);
}

/* ─── UTILITY CLASSES ───────────────────────────────────── */
.gradient1 {
  background: linear-gradient(to bottom, #e6faff 0%, #ffffff 100%);
}

.gradient2 {
  background: linear-gradient(to bottom, #fffce1 0%, #ffffff 100%);
}

.fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s, transform 0.8s;
}

.fade.visible {
  opacity: 1;
  transform: translateY(0);
}
.hero-slideshow {
  display: none;  /* Hide slideshow by default */
}

/* ─── RESPONSIVE DESIGN ─────────────────────────────────── */
/* Remove hamburger styles from 768px media query */
/* Instead, use this new block for 480px and below */

@media (max-width: 480px) {

  #main-header {
    height: 70px !important;
    background-color: transparent !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
  }

  /* Navbar when scrolled: translucent blurry background */
  #main-header.scrolled {
    height: 70px !important; /* keep height same */
    background-color: rgba(255, 255, 255, 0.25); /* white with transparency */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* subtle shadow for depth */
  }

  /* Keep logo same size */
  .logo {
    height: 40px !important;
  }

  #main-header.scrolled .logo {
    height: 40px !important;
  }

  .hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 300px;
    margin: 0;
    padding: 0;
    height: 100vh;
  }

  .hero-panel {
    width: 100%;
    min-height: 120px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
    position: relative;
    flex: 1; /* let it fill available space */
    margin-bottom: 0; /* remove bottom spacing to prevent pushing */
    border-radius: 0; /* optional: square it out */
  }

  .hero-panel.left,
  .hero-panel.right {
    display: none;
  }

  .hero-panel.center {
    position: relative;
    height: 60vh;
    background: none;
    overflow: hidden;
    border-radius: 0;
  }

  .hero-panel.center img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Slideshow container for images */
  .hero-slideshow {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0; /* <-- Add this */
    width: 100vw; /* <-- Force to full viewport width */
    height: 100vh; /* <-- Force to full viewport height */
    z-index: 0;
    overflow: hidden; /* <-- Add for safety */
  }

  .hero-slideshow img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw; /* <-- Enforce full screen */
    height: 100vh; /* <-- Fill height exactly */
    object-fit: cover;
    object-position: center top;
    opacity: 0;
    transition: opacity 3s ease-in-out;
    background-color: black; /* fallback fill */
  }

  .hero-slideshow img.active {
    opacity: 1;
    z-index: 1;
  }

  .hero-slideshow img:nth-child(1) {
    object-position: center 30%; /* or try 'center top' or 'center 40%' */
  }

  .hero-panel img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 0px;
  }

  .hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.4);
    padding: 1.5rem;
    border-radius: 0px;
    text-align: center;
    color: white;
    z-index: 2;
    width: 90%;
    max-width: 90%;
  }

  .hero-overlay h1,
  .hero-overlay p {
    margin-bottom: 16px;
    color: white;
  }

  .hero-overlay .cta-button {
    display: inline-block;
    margin-top: 1rem;
    text-align: center;
    align-self: center;
  }


  .hero h1 {
    font-size: 2rem;
    margin-bottom: 12px;
  }

  .hero p {
    font-size: 1rem;
    margin-bottom: 16px;
  }

  .popup-content {
    max-width: 90vw; /* responsive max width */
    width: auto !important; /* allow width to grow if needed */
    min-width: 280px; /* prevent too narrow */
    padding: 20px 15px;
    max-height: 70vh;
    overflow-y: auto;
    overflow-x: visible !important; /* important: prevent horizontal clipping */
    box-sizing: border-box;
    white-space: normal !important; /* allow normal wrapping */
    word-wrap: break-word;
    word-break: break-word;
  }


  /* Force all direct and nested children to fit */
  .popup-content * {
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
  }

  .popup-content label.checkbox-container {
    display: block; /* make each label a block (full width) */
    margin-bottom: 12px; /* add some space between labels */
    white-space: normal; /* allow wrapping */
  }

  .popup-content p,
  .popup-content div {
    font-size: 1rem;
    line-height: 1.4;
  }

  /* Adjust + signs right after C */
  .popup-content p::after,
  .popup-content div::after {
    /* This won't work on text nodes, so we do a different approach */
  }

  /* Better approach: use a span around + in your HTML like:
     C<span class="plus">+</span>
  */
  .popup-content .plus {
    display: inline-block;
    vertical-align: middle;
    font-weight: 600; /* optional */
    font-size: 1.1em;
    margin-left: 0.05em;
  }

  .about-text {
    font-size: 1rem; /* slightly smaller but still readable */
    line-height: 1.7; /* more line height for breathing room */
    max-width: 90vw; /* prevent too wide lines */
    margin: 1em auto; /* center and space around */
    padding: 0 10px; /* horizontal padding */
    white-space: normal; /* ensure normal wrapping */
  }

  .session-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    padding: 15px 15px 20px;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    background-color: white; /* or your card bg */
  }

  .session-card img {
    opacity: 1 !important; /* Make fully opaque */
    filter: brightness(1.1); /* Slightly brighten */
    transform: scale(1.05); /* Slightly enlarge */
    transition: all 0.3s ease;
  }
  .session-card img[src="beach_LV.jpg"] {
    object-position: center;
  }

  .skill-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 0.75rem;
    padding: 5px 10px;
  }

  .session-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #222;
  }

  .session-card p {
    font-size: 0.9rem;
    margin: 8px 0;
    padding: 0 5px;
    color: #555;
  }

  .session-card .info {
    display: flex !important;
    flex-direction: row !important; /* force horizontal */
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: left !important;
    gap: 6px !important;
    padding-left: 5px !important;
  }

  /* Also override .info alone in case it's used */
  .info {
    display: flex !important;
    flex-direction: row !important; /* force horizontal */
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: left !important;
    gap: 6px !important;
    padding-left: 5px !important;
  }

  .session-card .info i {
    flex-shrink: 0 !important;
  }

  .location {
    font-size: 1rem; /* readable size */
    margin-top: 10px;
    padding-left: 10px;
  }

  .location-link {
    display: inline-block;
    font-size: 1rem;
    padding: 10px 15px;
    background: #eee; /* subtle background for tap target */
    border-radius: 6px;
    text-decoration: none;
    color: #007BFF;
  }

  .location-link:hover,
  .location-link:focus {
    background: #cce5ff;
    outline: none;
  }

  /* Make spots always visible and sized properly */
  .session-card p.spots {
    font-size: 0.9rem;
    margin: 10px 5px 0;
    opacity: 1;
    height: auto;
  }

  .session-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; /* smooth scrolling on iOS */
    gap: 15px;
    padding: 0 10px;
  }

  .session-card {
    min-width: 280px; /* fixed card width for sliding */
    scroll-snap-align: start;
    flex-shrink: 0; /* prevent shrinking */
    position: relative;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); /* slight shadow */
    transition: transform 0.3s ease;
  }

  .gallery {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 10px;
    padding: 10px;
  }

  .gallery img {
    flex: 0 0 auto;
    scroll-snap-align: start;
    width: 80vw;
    max-width: 300px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    user-select: none;
    -webkit-user-drag: none;
    cursor: default; /* disable pointer cursor */
    transition: transform 0.2s ease;
  }

  /* Optional: disable pointer cursor and user select on desktop (if needed) */
  .gallery-container img {
    user-select: none;
    -webkit-user-drag: none;
  }

  /* Hamburger menu styles */
  /* Hamburger menu dropdown styles */
  header nav {
    position: absolute;
    top: 70px; /* just below header */
    left: 0;
    right: 0;
    max-height: 0;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.95);
    border-radius: 0 0 12px 12px;
    display: flex;
    flex-direction: column;
    padding: 0 1.5rem; /* horizontal padding */
    transition: max-height 0.4s ease, padding 0.4s ease;
    z-index: 2000;
  }

  /* Active state - expand dropdown */
  header nav.active {
    max-height: 400px; /* enough for your menu */
    padding: 1.5rem 1.5rem; /* add vertical padding */
    overflow-y: auto; /* allow scrolling if too tall */
  }

  /* Links styling */
  header nav a {
    color: white;
    padding: 1rem 0;
    font-size: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 0.8rem;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: background-color 0.3s ease;
  }

  header nav a:last-child {
    border-bottom: none;
    margin-bottom: 0;
  }

  header nav a:hover,
  header nav a:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
  }

  /* Hamburger button stays on top */
  #nav-toggle {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    z-index: 3000;
    cursor: pointer;
    width: 35px;
    height: 30px;
    background: transparent;
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px; /* space between lines */
    padding: 0;
  }

  /* Base hamburger line */
  .hamburger {
    width: 100%;
    height: 4px;
    background-color: #000; /* black lines */
    border-radius: 2px;
    position: relative;
    transition: background-color 0.3s ease;
  }

  /* ::before and ::after are separate lines */
  .hamburger::before,
  .hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 4px;
    background-color: #000;
    border-radius: 2px;
    left: 0;
    transition: transform 0.3s ease, top 0.3s ease;
  }

  /* Position top line */
  .hamburger::before {
    top: -10px;
  }

  /* Position bottom line */
  .hamburger::after {
    top: 10px;
  }

  /* When active, middle line disappears */
  /* Hamburger lines always black */
  #nav-toggle .hamburger,
  #nav-toggle .hamburger::before,
  #nav-toggle .hamburger::after {
    background-color: #000;
  }

  /* When active, hide middle line */
  #nav-toggle.active .hamburger {
    background-color: transparent !important;
  }

  /* Active X lines always black */
  #nav-toggle.active .hamburger::before,
  #nav-toggle.active .hamburger::after {
    background-color: #000;
    position: absolute;
    top: 0;
    width: 100%;
    left: 0;
  }

  /* Rotate lines for X */
  #nav-toggle.active .hamburger::before {
    transform: rotate(45deg);
  }

  #nav-toggle.active .hamburger::after {
    transform: rotate(-45deg);
  }


  /* Adjust nav links style */
  header nav a {
    color: white;
    padding: 15px 20px; /* more horizontal padding */
    font-size: 1.4rem;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    line-height: 1.6; /* increase line height for breathing room */
    letter-spacing: 0.02em; /* slight letter spacing */
  }

  @keyframes heroCycle {
    0% {
      background-image: url('DSC00415 (1).jpg');
    }
    /* left image */
    33% {
      background-image: url('Sarah.jpg');
    }
    /* center image */
    66% {
      background-image: url('beach_session.jpg');
    }
    /* right image */
    100% {
      background-image: url('DSC00415 (1).jpg');
    }

  }

}
@media (min-width: 481px) and (max-width: 768px){


    #main-header {
      height: 80px !important;
      background-color: transparent !important;
      backdrop-filter: none;
      -webkit-backdrop-filter: none;
      transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
    }

    /* Navbar when scrolled: translucent blurry background */
    #main-header.scrolled {
      height: 80px !important; /* keep height same */
      background-color: rgba(255, 255, 255, 0.25);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    /* Slightly bigger logo */
    .logo {
      height: 50px !important;
    }
    #main-header.scrolled .logo {
      height: 50px !important;
    }

    .hero {
      position: relative;
      width: 100%;
      overflow: hidden;
      display: flex;
      flex-direction: row;  /* show panels side by side */
      min-height: 400px;    /* taller hero */
      margin: 0;
      padding: 0 15px;
      height: 80vh;
    }

    .hero-panel {
      flex: 1;
      min-height: 250px;
      background-size: cover;
      background-position: center center;
      background-repeat: no-repeat;
      overflow: hidden;
      position: relative;
      margin: 0 10px;
      border-radius: 12px;
    }
    /* Show left and right panels */
    .hero-panel.left,
    .hero-panel.right {
      display: block;
    }
    .hero-panel.center {
      position: relative;
      height: auto;
      overflow: hidden;
      border-radius: 12px;
    }
    .hero-panel.center img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 12px;
    }

    /* Hero slideshow */
    .hero-slideshow {
      display: none; /* Hide slideshow on larger mobile/tablet to favor static panels */
    }

    .hero-panel img {
      width: 100%;
      height: auto;
      display: block;
      object-fit: cover;
      border-radius: 12px;
    }

    .hero-overlay {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      background: rgba(0, 0, 0, 0.4);
      padding: 2rem;
      border-radius: 16px;
      text-align: center;
      color: white;
      z-index: 2;
      width: 80%;
      max-width: 80%;
    }

    .hero-overlay h1,
    .hero-overlay p {
      margin-bottom: 20px;
      color: white;
    }

    .hero-overlay .cta-button {
      display: inline-block;
      margin-top: 1.5rem;
      text-align: center;
      align-self: center;
    }

    .hero h1 {
      font-size: 2.5rem;
      margin-bottom: 16px;
    }

    .hero p {
      font-size: 1.2rem;
      margin-bottom: 20px;
    }

    .popup-content {
      max-width: 700px;       /* wider popup on bigger screen */
      width: auto !important;
      min-width: 350px;
      padding: 25px 20px;
      max-height: 70vh;
      overflow-y: auto;
      overflow-x: visible !important;
      box-sizing: border-box;
      white-space: normal !important;
      word-wrap: break-word;
      word-break: break-word;
    }

    .popup-content * {
      max-width: 100%;
      white-space: normal;
      word-wrap: break-word;
    }

    .popup-content label.checkbox-container {
      display: block;
      margin-bottom: 15px;
      white-space: normal;
    }

    .popup-content p,
    .popup-content div {
      font-size: 1.1rem;
      line-height: 1.5;
    }

    .popup-content .plus {
      font-size: 1.2em;
      margin-left: 0.1em;
    }

    .about-text {
      font-size: 1.1rem;
      line-height: 1.8;
      max-width: 85vw;
      margin: 1.5em auto;
      padding: 0 20px;
      white-space: normal;
    }

    .session-card {
      flex-direction: column;
      width: 100%;
      max-width: 350px;
      padding: 20px 20px 25px;
      border-radius: 16px;
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
      background-color: white;
    }
    .session-card img {
      opacity: 1 !important;
      filter: brightness(1.15);
      transform: scale(1.1);
      transition: all 0.3s ease;
    }
  .session-card img[src="beach_LV.jpg"] {
    object-position: center;
  }
    .skill-badge {
      font-size: 0.85rem;
      padding: 7px 14px;
      top: 16px;
      left: 16px;
    }

    .session-card h3 {
      font-size: 1.4rem;
      margin-bottom: 10px;
      color: #222;
    }
    .session-card p {
      font-size: 1rem;
      margin: 10px 0;
      padding: 0 7px;
      color: #555;
    }
    .session-card .info {
      flex-direction: row !important;
      align-items: center !important;
      justify-content: flex-start !important;
      text-align: left !important;
      gap: 8px !important;
      padding-left: 7px !important;
    }
    .info {
      flex-direction: row !important;
      align-items: center !important;
      justify-content: flex-start !important;
      text-align: left !important;
      gap: 8px !important;
      padding-left: 7px !important;
    }
    .session-card .info i {
      flex-shrink: 0 !important;
    }

    .location {
      font-size: 1.1rem;
      margin-top: 12px;
      padding-left: 14px;
    }
    .location-link {
      font-size: 1.1rem;
      padding: 14px 18px;
      background: #eee;
      border-radius: 8px;
    }
    .location-link:hover,
    .location-link:focus {
      background: #cce5ff;
      outline: none;
    }

    .session-card p.spots {
      font-size: 1rem;
      margin: 12px 7px 0;
      opacity: 1;
      height: auto;
    }

    .session-grid {
      display: flex;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
      gap: 20px;
      padding: 0 20px;
    }
    .session-card {
      min-width: 320px;
      scroll-snap-align: start;
      flex-shrink: 0;
      position: relative;
      box-shadow: 0 10px 25px rgba(0,0,0,0.15);
      transition: transform 0.3s ease;
    }

    .gallery {
      display: flex;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
      gap: 15px;
      padding: 15px;
    }
    .gallery img {
      flex: 0 0 auto;
      scroll-snap-align: start;
      width: 60vw;
      max-width: 400px;
      border-radius: 12px;
      object-fit: cover;
      box-shadow: 0 5px 12px rgba(0,0,0,0.15);
      user-select: none;
      -webkit-user-drag: none;
      cursor: default;
      transition: transform 0.25s ease;
    }
    .gallery-container img {
      user-select: none;
      -webkit-user-drag: none;
    }

    /* Hamburger menu */
    header nav {
      position: absolute;
      top: 80px;
      left: 0;
      right: 0;
      max-height: 0;
      overflow: hidden;
      background: rgba(0, 0, 0, 0.95);
      border-radius: 0 0 14px 14px;
      display: flex;
      flex-direction: column;
      padding: 0 2rem;
      transition: max-height 0.4s ease, padding 0.4s ease;
      z-index: 2000;
    }
    header nav.active {
      max-height: 450px;
      padding: 2rem 2rem;
      overflow-y: auto;
    }
    header nav a {
      color: white;
      padding: 1.1rem 0;
      font-size: 1.6rem;
      border-bottom: 1px solid rgba(255,255,255,0.2);
      margin-bottom: 1rem;
      text-decoration: none;
      letter-spacing: 0.03em;
    }
    header nav a:last-child {
      border-bottom: none;
      margin-bottom: 0;
    }
    header nav a:hover,
    header nav a:focus {
      background-color: rgba(255, 255, 255, 0.15);
      border-radius: 10px;
    }

    #nav-toggle {
      position: absolute;
      top: 50%;
      right: 1.25rem;
      transform: translateY(-50%);
      z-index: 3000;
      cursor: pointer;
      width: 40px;
      height: 35px;
      background: transparent;
      border: none;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 7px;
      padding: 0;
    }
    .hamburger {
      width: 100%;
      height: 5px;
      background-color: #000;
      border-radius: 3px;
      position: relative;
      transition: background-color 0.3s ease;
    }
    .hamburger::before,
    .hamburger::after {
      content: '';
      position: absolute;
      width: 100%;
      height: 5px;
      background-color: #000;
      border-radius: 3px;
      left: 0;
      transition: transform 0.3s ease, top 0.3s ease;
    }
    .hamburger::before {
      top: -12px;
    }
    .hamburger::after {
      top: 12px;
    }
    #nav-toggle .hamburger,
    #nav-toggle .hamburger::before,
    #nav-toggle .hamburger::after {
      background-color: #000;
    }
    #nav-toggle.active .hamburger {
      background-color: transparent !important;
    }
    #nav-toggle.active .hamburger::before {
      transform: rotate(45deg);
      top: 0;
    }
    #nav-toggle.active .hamburger::after {
      transform: rotate(-45deg);
      top: 0;
    }

    /* Remove heroCycle animation on tablet/mobile */
    @keyframes heroCycle {
      0%, 100% { background-image: none; }
    }


}
/* ─── LIGHTBOX (glass style) ───────────────────────────── */
.lb-overlay{
  position:fixed; inset:0; z-index:9999;
  display:flex; align-items:center; justify-content:center;
  background:rgba(0,0,0,0.45);
  backdrop-filter:blur(8px);
  opacity:0; visibility:hidden;
  transition:opacity .35s ease;
}
.lb-overlay.visible{opacity:1;visibility:visible;}


.lb-frame{
  position:relative;          /* establishes the containing block */
  display:inline-block;       /* lets the wrapper hug the image */
}


.lb-img{
  max-width:90vw; max-height:85vh;
  border-radius:12px;
  box-shadow:0 8px 30px rgba(0,0,0,.6);
  animation:lbPop .35s ease;
}
@keyframes lbPop{
  from{opacity:0; transform:scale(.9);}
  to  {opacity:1; transform:scale(1);}
}

.lb-caption{
  margin-top:12px;
  color:#fff; text-align:center;
  font-size:1rem; letter-spacing:.3px;
}

.lb-close{
  position:absolute; top:32px; right:42px;
  font-size:2.4rem; color:#fff;
  background:none; border:none; cursor:pointer;
  transition:opacity .2s;
}
.lb-close:hover{opacity:.6;}

/* keep ONE arrow rule set ── delete the old 20 px version */
.lb-arrow{
  position:absolute; top:50%; transform:translateY(-50%);
  width:36px; height:36px; border-radius:50%;
  background:rgba(0,0,0,.4); border:none; padding:0;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; transition:.25s;
}
.lb-arrow svg{ width:22px; height:22px; stroke:white; }

.lb-prev{ left:-44px; }   /* hugs image edge */
.lb-next{ right:-44px; }

.lb-arrow:hover{
  background:rgba(0,0,0,.6);
  transform:translateY(-50%) scale(1.1);
}

/* ─── TRAINING POPUP ───────────────────────────── */
/* Simple popup overlay style */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 15000;
}
.popup-content {
  background: white;
  padding: 30px 25px;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  position: relative;
}
.popup-content h2 {
  margin-bottom: 20px;
  color: #3E8688;
}
.popup-content label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 1rem;
  color: #333;
  margin-bottom: 6px;
}

.popup-content label span {
  white-space: nowrap; /* keep parentheses text on same line */
  font-weight: 400;
  color: #666;
}

.popup-content input,
.popup-content select,
.popup-content textarea {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 18px;
  border: 2px solid #3E8688; /* stronger brand color border */
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  background-color: #f5fafd; /* subtle light background */
  box-shadow: 0 2px 6px rgba(62, 134, 136, 0.3);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.popup-content input:focus,
.popup-content select:focus,
.popup-content textarea:focus {
  border-color: #FF6B00;  /* orange highlight on focus */
  box-shadow: 0 0 8px rgba(255, 107, 0, 0.6);
  outline: none;
}

.popup-content button[type="submit"] {
  background: linear-gradient(135deg, #3E8688, #317A7C);
  color: white;
  padding: 12px 25px;
  font-size: 1.1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
}
.popup-content button[type="submit"]:hover {
  background: linear-gradient(135deg, #317A7C, #3E8688);
}
#training-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.7rem;
  cursor: pointer;
  color: #555;
  transition: color 0.3s;
}
#training-close:hover {
  color: #FF6B00;
}

.trainings-fieldset {
  border: none;
  margin-bottom: 20px;
  padding: 0;
}

.trainings-fieldset legend {
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 1.1rem;
  color: #3E8688;
}

.checkbox-container {
  display: block;
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  cursor: pointer;
  font-size: 1rem;
  user-select: none;
  color: #444;
  font-weight: 500;
}

/* Hide default checkbox */
.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Custom checkmark */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: #eee;
  border-radius: 4px;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 6px;
  width: 5px;
  height: 8px;
  border: solid white;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}


/* On hover, change background */
.checkbox-container:hover input ~ .checkmark {
  background-color: #d6f0f2;
}

/* When checked, change background and border */
.checkbox-container input:checked ~ .checkmark {
  background-color: #3E8688;
  border-color: #3E8688;
}

/* Show tick when checked */
.checkbox-container input:checked ~ .checkmark:after {
  display: block;
}

label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 1rem;
  color: #333;
}

label span {
  white-space: nowrap; /* keep parentheses text on same line */
}


nav a.active {
  color: #FF6B00; /* bright orange highlight */
  font-weight: 700;
}

nav a.active::after {
  background: #FF6B00; /* underline in orange */
  width: 100%;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: #fff;
  padding: 30px 25px;
  border-radius: 12px;
  width: 90%;
  max-width: 450px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
  animation: lbPop 0.35s ease;
}

.modal-box h3 {
  margin-bottom: 15px;
  color: #3E8688;
  text-align: center;
}

.modal-box input,
.modal-box textarea {
  width: 100%;
  margin-bottom: 12px;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.modal-box button[type="submit"] {
  width: 100%;
  background: #3E8688;
  color: white;
  font-weight: 600;
  border: none;
  padding: 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.modal-box button[type="submit"]:hover {
  background: #2d6b6c;
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #666;
}

.paren-text {
  font-size: 0.9rem;
  color: #666;
  font-weight: 400;
  font-style: italic;
}
.trainings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 40px; /* row gap, column gap */
  margin-top: 10px;
}
.lottie-badge {
  width: 60px;
  height: 60px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.badge-lottie {
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
}

.lottie-badge:hover .badge-lottie {
  transform: scale(1.1);
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.6));
}
.tournament-banner {
  position: absolute;
  top: calc(100% + 30px);
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg,
  #ff7f00,  /* brighter orange */
  #ff8c00,  /* your original */
  #ff9a1a,  /* lighter orange */
  #ffb347,  /* soft golden orange */
  #ff6b00   /* deeper orange */
  );
  background-size: 300% 300%;
  color: white;
  padding: 10px 18px;
  border-radius: 28px;
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 16px rgba(255, 107, 0, 0.35);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  white-space: nowrap;
  backdrop-filter: blur(10px);
  text-shadow: 0 0 6px rgba(0,0,0,0.15);
  user-select: none;
  overflow: visible;
}

.tournament-banner.show {
  opacity: 1;
  transform: translateX(-50%) translateY(10px) scale(1);
  pointer-events: auto;
  animation: pulse 3s ease-in-out infinite, gradientShift 6s ease infinite;
}


.tournament-banner.hide {
  opacity: 0;
  transform: translateX(-50%) translateY(30px) scale(0.95);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.tournament-banner .banner-link {
  color: white;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.3s ease, filter 0.3s ease;
}

.tournament-banner .banner-link:hover,
.tournament-banner .banner-link:focus {
  color: #fff7e6;
  text-decoration: none;
  filter: drop-shadow(0 0 4px #fff7e6);
}

.tournament-banner button#banner-close {
  background: transparent;
  border: none;
  color: white;
  font-size: 1.3rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  user-select: none;
}

.tournament-banner .icon {
  font-size: 1.3rem;
  animation: pulse 2s infinite ease-in-out;
  display: inline-block;
}

@keyframes pulse {
  0%, 100% { transform: translateX(-50%) translateY(10px) scale(1); }
  50% { transform: translateX(-50%) translateY(10px) scale(1.1); }
}
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}


.sparkle {
  position: absolute;
  width: 32px;
  height: 32px;
  pointer-events: none;
  z-index: 0;
}

.sparkle-top {
  top: -10px;
  right: -6px;
}

.sparkle-bottom {
  bottom: -10px;
  left: -6px;
}

