

/* =======================================================================
   EVENTS PAGE LAYOUT: hero carousel + intro + packages
   ======================================================================= */
/* HERO WRAPPER --------------------------------------------------------- */
.events-hero {
  position: relative;
  height: 100vh;      /* fill full viewport */
  min-height: 520px;
  width: 100%;
  overflow: hidden;
  background: #000;
}


/* Container that holds all slides */
.events-hero-slides {
  position: absolute;
  inset: 0;
}

/* Single slide */
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.03);
  transition:
    opacity 1800ms ease,
    transform 1800ms ease;
}

/* Active slide */
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.events-page-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100lvh;
  z-index: -1;
  pointer-events: none;
  background-color: #000;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: translateZ(0);
  will-change: transform;
}

#events-page {
  position: relative;
  z-index: 1;
}


/* Arrows --------------------------------------------------------------- */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4);
  background: rgba(0,0,0,0.45);
  color: #fff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    transform 160ms ease;
}

.hero-arrow-prev { left: 20px; }
.hero-arrow-next { right: 20px; }

@media (hover: hover) and (pointer: fine) {
  .hero-arrow:hover {
    background: rgba(0,0,0,0.8);
    border-color: rgba(255,255,255,0.8);
    transform: translateY(-50%) scale(1.05);
  }
}

.hero-arrow:active {
  background: rgba(0,0,0,0.8);
  border-color: rgba(255,255,255,0.8);
  transform: translateY(-50%) scale(0.98);
}
/* Dots ----------------------------------------------------------------- */
.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 20;
}

.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.7);
  background: rgba(0,0,0,0.6);
  padding: 0;
  cursor: pointer;
  opacity: 0.7;
  transition:
    background 160ms ease,
    transform 160ms ease,
    opacity 160ms ease,
    width 160ms ease;
}

.hero-dot.active {
  width: 20px;
  background: rgba(255,255,255,0.95);
  border-color: rgba(255,255,255,1);
  opacity: 1;
}




/* Disable the zoom treatment on contain slides */
.hero-slide.hero-slide-contain,
.hero-slide.hero-slide-contain.active {
  transform: none;
}

/* INTRO SECTION (champagne copy) -------------------------------------- */
.events-intro {
  position: relative;
  padding: 260px 10vw 10px;    /* more bottom padding */
  color: #fff;
  text-align: center;
  background: none;
}

/* Intro text layout */
.events-intro-inner {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.events-intro-inner p {
  margin: 22px 0;
  line-height: 1.65;
  font-size: clamp(18px, 2.5vw, 22px); /* beta sizing */
  font-weight: 400;
  text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

/* Tighten the gap between paragraph 2 and 3 */
.events-intro-inner p:nth-of-type(2) {
  margin-bottom: 4px;
}

.events-intro-inner p:nth-of-type(3) {
  margin-top: 4px;
}


/* Intro footnote */
.events-intro-inner p.events-intro-footnote {
  display: inline-block;
  margin-top: 100px;
  padding-top: 30px;
  font-size: 18px;
  font-style: italic;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}



/* Scroll reveal */
.fade-seq {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 560ms cubic-bezier(.22,1,.36,1),
    transform 560ms cubic-bezier(.22,1,.36,1);
}

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

/* CTA reveal: soft fade + slight rise */
.events-cta .fade-seq {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 420ms cubic-bezier(.22,1,.36,1),
    transform 420ms cubic-bezier(.22,1,.36,1);
}

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

/* PACKAGES SECTION ----------------------------------------------------- */
.events-packages {
  position: relative;
  padding: 20px 8vw 120px;
  background: none;   /* let the champagne body bg show through */
}


.events-packages-overlay {
  display: none;
}


.events-packages-inner {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
}

.events-packages-title {
  font-size: clamp(26px, 4vw, 38px); /* matches beta */
  text-align: center;
  margin: 0 0 10px;
}

.events-packages-subtitle {
  text-align: center;
  max-width: 590px;
  margin: 0 auto 28px;
  font-size: 18px;             /* beta-style subtitle size */
  color: var(--muted);
}

/* Make the Packages subtitle white */
#packages-subtitle {
  color: #ffffff;
}


/* Glass cards */
#packages-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;               /* a little more breathing room */
  align-items: center;     /* ← centers the cards */
}

.package-card {
  position: relative;

  /* Width controls */
  width: 100%;            /* always fill available width */
  max-width: 825px;       /* adjust to make cards wider/narrower */
  margin: 0 auto 18px;    /* center + bottom spacing */

  /* Internal spacing */
  padding: 22px 20px;     /* top/bottom, left/right */

  /* Shape & surface (glass look from old beta) */
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);   /* very transparent glass */
  
  /* Shadow (depth) */
  box-shadow: 0 10px 40px rgba(0,0,0,.35);

  /* Glass blur */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
/* Make all package card text white (no !important needed) */
.package-card,
.package-card h1,
.package-card h2,
.package-card h3,
.package-card p,
.package-card span,
.package-card div {
  color: #ffffff;
}






.package-name {
  font-size: 20px;        /* beta size */
  font-weight: 700;
  margin-bottom: 4px;
}

.package-tagline {
  font-style: italic;
  color: var(--muted);
  margin-bottom: 10px;
}

.package-body {
  font-size: 15.5px;      /* beta body size */
  line-height: 1.6;
  color: var(--muted);
}

/* Pills row under each package */
.package-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.package-pill {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  position: relative;
  cursor: default;
   /* hover lift transition */
  transition: transform 180ms cubic-bezier(.22,1,.36,1), box-shadow 180ms cubic-bezier(.22,1,.36,1);
}
.package-pill:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.28);
}

/* Dexxtra cinematic pill pulse – glow only, no movement */
@keyframes dex-pulse-spaced {
  /* 0% → 23% is the 1.2s pulse (because 1.2s / 5.2s = 23%) */

  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,0.0); }
  8%   { box-shadow: 0 0 0 6px rgba(255,255,255,0.20); } /* peak */
  23%  { box-shadow: 0 0 0 0 rgba(255,255,255,0.0); }    /* end glow */

  /* 23% → 100% is NOTHING (the 4-second gap) */
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.0); }
}



.package-pill.pulse-run {
  animation: dex-pulse-spaced 5.2s ease-out 1s 3;
}







/* Tooltip bubble */
.package-pill[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 8px);
  transform: translateX(-50%) translateY(4px);
  background: rgba(0,0,0,0.86);
  color: #fff;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.4;
  min-width: 180px;
  max-width: 260px;
  white-space: normal;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.55);
  transition: opacity 160ms ease, transform 160ms ease;
  z-index: 20;
}

/* Little arrow */
.package-pill[data-tooltip]::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 100%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: rgba(0,0,0,0.86) transparent transparent transparent;
  opacity: 0;
  transition: opacity 160ms ease;
  z-index: 19;
}

/* Show on hover/focus */
.package-pill[data-tooltip]:hover::after,
.package-pill[data-tooltip]:hover::before,
.package-pill[data-tooltip]:focus-visible::after,
.package-pill[data-tooltip]:focus-visible::before {
  opacity: 1;
}

.package-pill[data-tooltip]:hover::after,
.package-pill[data-tooltip]:focus-visible::after {
  transform: translateX(-50%) translateY(0);
}


/* EVENTS – Bottom CTA ---------------------------------------------- */

.events-cta {
  padding: 40px 10vw 100px;
  text-align: center;
  color: #ffffff;
  background: none;
}

.events-cta-inner {
  max-width: 720px;
  margin: 0 auto;
}

/* Top three lines */
.events-cta-lines p {
  margin: 0 0 4px;
  font-size: 16px;
  line-height: 1.5;
  opacity: 0.95;
}

/* "Experience the Frequency." */
.events-cta-tagline {
  margin: 22px 0 26px;
  font-size: 18px;
  font-style: italic;
}

/* Book Now pill */
.events-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  border-radius: 999px;
  border: 1px solid #ffffff;
  background: #000000;
  color: #ffffff;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    transform 160ms cubic-bezier(.22,1,.36,1),
    box-shadow 160ms cubic-bezier(.22,1,.36,1),
    background-color 160ms ease,
    color 160ms ease;
}

.events-cta-button:hover,
.events-cta-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.45);
  background: #ffffff;
  color: #000000;
}


/* Basic mobile adjustments */
@media (max-width: 768px) {
  .events-hero {
    /* svh fixes the shifting/black bar caused by the mobile address bar */
    height: 100svh;
min-height: 420px;
  }

  .events-intro {
    padding: 120px 16px 100px; /* less extreme on phones */
  }
  
  

  .events-packages {
    padding: 80px 16px 90px;
  }

  .package-card {
    padding: 18px 16px 18px;
  }

  /* Precision Sound – shift right slightly */
  #packages-grid .package-card:nth-of-type(1) .package-pills .package-pill:nth-of-type(1)[data-tooltip]::after {
    margin-left: 12px;
  }

  /* Pinspot Accents – shift left slightly */
  #packages-grid .package-card:nth-of-type(2) .package-pills .package-pill:nth-of-type(3)[data-tooltip]::after {
    margin-right: 12px;
  }

  /* Nudge ONLY the last pill in the last package card (Confetti FX) */
  #packages-grid .package-card:last-of-type .package-pills .package-pill:last-of-type[data-tooltip]::after {
    margin-left: 25px;
  }
}


