/* ── Waterpark page — aquaventureworld.com/waterpark layout ─── */

.wp-intro {
  padding: 64px 32px 48px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.wp-intro h2 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #00666d;
  margin-bottom: 20px;
  text-wrap: balance;
}
.wp-intro p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #3e494a;
  text-wrap: pretty;
}

/* More Than A Waterpark — feature carousel */
.wp-features-section {
  padding: 56px 0 64px;
}
.wp-features-section .wp-section-title {
  text-align: center;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #00666d;
  margin-bottom: 12px;
  padding: 0 32px;
}
.wp-features-section .wp-section-sub {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 32px;
  padding: 0 32px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #3e494a;
}
.wp-features-section .watersport-card {
  text-align: left;
}
.wp-features-section .watersport-card-media {
  border-radius: 24px;
}
.wp-features-section .watersport-card-desc {
  margin: 0;
  padding: 0;
}

/* Features carousel — edge arrows like tickets band */
.wp-features-section .wp-features-carousel {
  position: relative;
  display: block;
  padding: 0 clamp(48px, 6vw, 72px);
}
.wp-features-section .wp-features-carousel .watersports-viewport {
  width: 100%;
}
.wp-features-section .wp-features-carousel .carousel-btn {
  position: absolute;
  top: clamp(100px, 18vw, 150px);
  transform: translateY(-50%);
  z-index: 30;
}
.wp-features-section .wp-features-carousel .carousel-btn-prev {
  left: clamp(4px, 1.5vw, 16px);
  grid-column: auto;
}
.wp-features-section .wp-features-carousel .carousel-btn-next {
  right: clamp(4px, 1.5vw, 16px);
  grid-column: auto;
}
.wp-tickets-arrow:disabled,
.wp-features-section .wp-features-carousel .carousel-btn:disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

/* Arrow sizing — layout lives in tickets.css (.wp-tickets-carousel) */
.wp-tickets-arrow {
  z-index: 30;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e0e3e5;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00666d;
}
.wp-tickets-arrow .material-symbols-outlined { pointer-events: none; }
.wp-tickets-band {
  background: #00666d;
  padding: 64px 32px 72px;
}
.wp-tickets-band .ticket-section-title {
  color: #fff;
  margin-bottom: 40px;
}

.wp-tickets-carousel {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}
.wp-tickets-viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 0 12px;
}
.wp-tickets-viewport::-webkit-scrollbar { display: none; }

.wp-tickets-track {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: clamp(20px, 2.5vw, 28px);
  width: max-content;
  min-width: max-content;
}

.wp-ticket-card {
  flex: 0 0 var(--wp-ticket-card-w, 360px);
  width: var(--wp-ticket-card-w, 360px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  text-align: center;
  min-width: 0;
}

/* Teal ticket band — 3 products in a row */
.wp-ticket-media {
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}
.wp-ticket-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.wp-ticket-media--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.wp-ticket-media--split img {
  aspect-ratio: 3 / 4;
  min-height: 100%;
}
.wp-ticket-media--promo {
  position: relative;
  background: #0a5f75;
  min-height: 0;
}
.wp-ticket-promo-images {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.wp-ticket-promo-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: auto;
}
.wp-ticket-promo-badge {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  padding: 20px;
  background: linear-gradient(
    135deg,
    rgba(0, 80, 100, 0.55) 0%,
    rgba(0, 120, 145, 0.35) 50%,
    rgba(0, 60, 80, 0.5) 100%
  );
}
.wp-ticket-promo-num {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 900;
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.9);
}
.wp-ticket-promo-label {
  font-weight: 800;
  font-size: clamp(1rem, 2vw, 1.35rem);
  letter-spacing: 0.06em;
  color: #fff;
  margin-top: 4px;
}
.wp-ticket-promo-ribbon {
  margin-top: 8px;
  background: #f5c518;
  color: #0a235c;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 4px;
}
.wp-ticket-title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.3;
  text-wrap: balance;
}
.wp-ticket-desc {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 20px;
  flex: 1;
  text-wrap: pretty;
}
.wp-ticket-cta {
  display: inline-block;
  align-self: center;
  background: #fff;
  color: #00666d;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 32px;
  border-radius: 999px;
  transition: background-color 200ms ease;
}
.wp-ticket-cta:hover { background: #f0fafa; }

@media (max-width: 1023px) {
  .wp-ticket-card {
    flex: 0 0 clamp(280px, 78vw, 360px);
  }
}

/* Annual Pass Flex banner */
.wp-pass-flex {
  padding: 72px 32px 88px;
}
.wp-pass-flex-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: min(100%, 1100px);
  max-width: 1100px;
  margin: 0 auto;
}
.wp-pass-flex-media {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2);
  background: #001f2e;
  flex-shrink: 0;
}
.wp-pass-flex-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
  display: block;
}
.wp-pass-flex-panel {
  background: #001a57;
  color: #fff;
  border-radius: 20px;
  box-shadow: 0 14px 40px rgba(0, 20, 70, 0.18);
  padding: 44px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
@media (min-width: 768px) {
  .wp-pass-flex {
    padding: 72px 40px 100px;
  }
  .wp-pass-flex-inner {
    position: relative;
    display: block;
    /* extra bottom space so GIF can overflow below the panel */
    padding-bottom: 40px;
  }
  /* Blue panel shifted left, overlapping GIF more */
  .wp-pass-flex-panel {
    position: relative;
    z-index: 1;
    width: 60%;
    margin-left: 26%;
    min-height: 0;
    padding: 28px 32px 28px clamp(140px, 20vw, 175px);
    justify-content: flex-start;
  }
  /* GIF: slightly lower, overlaps panel's left edge */
  .wp-pass-flex-media {
    position: absolute;
    left: 0;
    top: 20px;
    z-index: 2;
    width: 44%;
    max-width: 460px;
  }
  .wp-pass-flex-media img {
    aspect-ratio: 4 / 3;
    height: auto;
  }
}
@media (min-width: 1100px) {
  .wp-pass-flex-media {
    width: 46%;
    max-width: 500px;
    top: 24px;
  }
  .wp-pass-flex-panel {
    width: 58%;
    margin-left: 28%;
    padding: 32px 40px 32px 185px;
  }
}
.wp-pass-flex-panel h3 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  font-weight: 700;
  margin-bottom: 0;
}
.wp-pass-flex-rule {
  display: block;
  width: 36px;
  height: 2px;
  background: rgba(255, 255, 255, 0.9);
  margin: 10px auto 12px;
}
.wp-pass-flex-panel .sub {
  font-weight: 700;
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  margin-bottom: 10px;
}
.wp-pass-flex-panel p:not(.sub) {
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.92;
  margin-bottom: 20px;
  max-width: 34ch;
}
.wp-pass-flex-btn {
  display: inline-block;
  background: #fff;
  color: #001a57;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 8px;
  transition: background-color 200ms ease, transform 150ms ease;
}
.wp-pass-flex-btn:hover { background: #f0f4fa; }
.wp-pass-flex-btn:active { transform: scale(0.97); }

/* Guinness World Records */
.wp-guinness-wrap {
  position: relative;
  padding: 0 32px 0;
  margin-top: -40px;
  z-index: 5;
}
.wp-guinness-beach {
  position: relative;
  min-height: 200px;
  overflow: hidden;
}
.wp-guinness-beach img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}
@media (min-width: 768px) {
  .wp-guinness-beach img { height: 360px; }
}
.wp-guinness-card {
  display: flex;
  flex-direction: column;
  max-width: 1100px;
  margin: -80px auto 0;
  background: #fff;
  border-radius: 24px 24px 0 0;
  overflow: hidden;
  box-shadow: 0 -8px 40px rgba(0, 60, 65, 0.1);
  position: relative;
  z-index: 2;
}
@media (min-width: 768px) {
  .wp-guinness-card {
    flex-direction: row;
    border-radius: 24px;
    margin-top: -120px;
    min-height: 380px;
  }
}
.wp-guinness-text {
  flex: 1;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.wp-guinness-text h3 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 700;
  color: #00666d;
  margin-bottom: 16px;
  line-height: 1.3;
}
.wp-guinness-text p {
  font-size: 15px;
  line-height: 1.65;
  color: #3e494a;
  margin-bottom: 24px;
}
.wp-guinness-media {
  flex: 1;
  min-height: 260px;
}
.wp-guinness-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 260px;
  display: block;
  border-radius: 0 0 24px 24px;
}
@media (min-width: 768px) {
  .wp-guinness-media img { border-radius: 0 24px 24px 0; }
}

/* Upgrade Your Waterpark Experience */
.wp-upgrade {
  background: #00666d;
  color: #fff;
  padding: 64px 32px 72px;
}
.wp-upgrade h2 {
  text-align: center;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 40px;
}
.wp-upgrade-grid {
  display: grid;
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .wp-upgrade-grid { grid-template-columns: repeat(3, 1fr); }
}
.wp-upgrade-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 20px;
  display: block;
}
.wp-upgrade-card h3 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-align: center;
}
.wp-upgrade-card p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.92;
  text-align: center;
  margin-bottom: 20px;
}
.wp-upgrade-card .wp-explore-btn {
  display: block;
  margin: 0 auto;
  background: #fff;
  color: #00666d;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 8px;
  text-align: center;
  max-width: 160px;
  transition: background-color 200ms ease, transform 150ms ease;
}
.wp-upgrade-card .wp-explore-btn:hover { background: #f0fafa; }

/* IBCCES certified overlap */
.wp-ibcces-section {
  padding: 48px 20px 64px;
  background: #fff;
}
.wp-ibcces {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  min-height: 300px;
}
.wp-ibcces-logo {
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: 20px;
  padding: 40px 36px;
  box-shadow: 0 8px 30px rgba(0, 30, 35, 0.08);
  width: min(270px, 74vw);
  text-align: center;
}
.wp-ibcces-logo img {
  display: block;
  width: 100%;
  max-width: 230px;
  height: auto;
  margin: 0 auto;
}
.wp-ibcces-panel {
  position: relative;
  z-index: 1;
  background: #21ccd3;
  color: #fff;
  border-radius: 20px;
  padding: 36px 24px 40px;
  margin-top: -80px;
  margin-left: auto;
  width: 100%;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 130, 140, 0.16);
}
.wp-ibcces-panel h3 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.05rem, 2.1vw, 1.32rem);
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 16px;
}
.wp-ibcces-panel p {
  font-size: clamp(13px, 1.45vw, 15px);
  line-height: 1.62;
  margin: 0;
}

@media (min-width: 768px) {
  .wp-ibcces {
    min-height: 310px;
  }
  .wp-ibcces-logo {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 270px;
    padding: 48px 44px;
  }
  .wp-ibcces-panel {
    margin-top: 0;
    margin-left: 118px;
    width: calc(100% - 32px);
    min-height: 290px;
    padding: 42px 44px 42px 152px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .wp-ibcces-panel p {
    max-width: 38em;
  }
}

@media (min-width: 960px) {
  .wp-ibcces {
    max-width: 900px;
  }
  .wp-ibcces-panel {
    margin-left: 128px;
    padding: 46px 52px 46px 158px;
    min-height: 300px;
  }
}

@media (max-width: 767px) {
  .wp-ibcces {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .wp-ibcces-logo {
    width: min(250px, 80vw);
  }
  .wp-ibcces-panel {
    margin-top: -72px;
    padding: 108px 22px 34px;
    width: 100%;
  }
}
