/* ============================================================================
   SLIDER REVOLUTION 7 CLONE: SR7_3498_1
   "Mood Board – Infinite Filmstrip Media Gallery"
   Theme: Canggu South Bali Gym & Tropical Fitness Sanctuary | Product: Rabbit CMS
   CTA WhatsApp: 085737015050
   ============================================================================ */

:root {
  --bg-black: #000000;
  --bg-surface: #090a0d;
  --bg-card: #111318;
  --text-cream: #F2E6D9;
  --text-muted: rgba(242, 230, 217, 0.72);
  --accent-red: #CF1313;
  --accent-red-bright: #FF0D0D;
  --accent-gold: #CFA613;
  --accent-green: #13CF51;
  --accent-green-neon: #2DFD67;
  --bullet-idle: rgba(255, 255, 255, 0.5);
  --font-urbanist: 'Urbanist', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-climate: 'Climate Crisis', Impact, sans-serif;
  --ease-sr7: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-out-sr7: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-black);
  color: var(--text-cream);
  font-family: var(--font-urbanist);
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-black);
  color: var(--text-cream);
  overflow-x: hidden;
}

button,
a {
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

/* ============================================================================
   1. MODULE STAGE: SR7_3498_1 (Full-Viewport 100vh Mood Board Filmstrip Stage)
   ============================================================================ */
.sr7-module {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 680px;
  background-color: var(--bg-black);
  overflow: hidden;
  user-select: none;
}

.sr7-content {
  position: relative;
  width: 100%;
  height: 100%;
}

.sr7-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.45s var(--ease-sr7), visibility 0.45s var(--ease-sr7);
  overflow: hidden;
}

.sr7-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 5;
}

.sr7-slide-bg {
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 6;
}

/* ============================================================================
   2. GLOBAL HUD ZONES (Slide 11276 — Top & Bottom Bars, zIndex: 100)
   ============================================================================ */
.sr7-global-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 14px 24px;
  pointer-events: none;
}

.sr7-hud-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1680px;
  margin: 0 auto;
  padding: 10px 18px;
  background: rgba(8, 9, 12, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(242, 230, 217, 0.14);
  border-radius: 999px;
  pointer-events: auto;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
}

.sr7-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.sr7-brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  transition: transform 0.35s var(--ease-out-sr7);
}

.sr7-brand:hover .sr7-brand-logo {
  transform: rotate(15deg) scale(1.06);
}

.sr7-brand-text {
  display: flex;
  flex-direction: column;
}

.sr7-brand-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.8px;
  color: var(--text-cream);
}

.sr7-brand-dot {
  color: var(--accent-gold);
}

.sr7-brand-sub {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.4px;
  color: rgba(242, 230, 217, 0.62);
}

/* Center Mood Switcher Tabs */
.sr7-mood-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(242, 230, 217, 0.1);
}

.sr7-mood-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: rgba(242, 230, 217, 0.7);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  transition: all 0.25s ease;
}

.sr7-mood-tab:hover {
  color: var(--text-cream);
  background: rgba(255, 255, 255, 0.07);
}

.sr7-mood-tab.is-active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(242, 230, 217, 0.24);
}

.tab-swatch {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.swatch-red {
  background: var(--accent-red-bright);
  box-shadow: 0 0 8px var(--accent-red-bright);
}

.swatch-gold {
  background: var(--accent-gold);
  box-shadow: 0 0 8px var(--accent-gold);
}

.swatch-green {
  background: var(--accent-green-neon);
  box-shadow: 0 0 8px var(--accent-green-neon);
}

.tab-num {
  opacity: 0.55;
  font-size: 11px;
}

/* Right HUD Actions */
.sr7-hud-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sr7-hud-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(242, 230, 217, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-cream);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  transition: all 0.25s ease;
}

.sr7-hud-btn:hover {
  background: rgba(242, 230, 217, 0.15);
  border-color: var(--text-cream);
}

/* Audio Equalizer Bars */
.audio-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}

.audio-bars span {
  width: 2px;
  height: 4px;
  background: var(--accent-green-neon);
  border-radius: 2px;
  transition: height 0.2s ease;
}

.sr7-audio-toggle.is-playing {
  border-color: var(--accent-green-neon);
  background: rgba(45, 253, 103, 0.12);
}

.sr7-audio-toggle.is-playing .audio-bars span:nth-child(1) {
  animation: eqBar 0.55s ease-in-out infinite alternate;
}
.sr7-audio-toggle.is-playing .audio-bars span:nth-child(2) {
  animation: eqBar 0.4s ease-in-out 0.15s infinite alternate;
}
.sr7-audio-toggle.is-playing .audio-bars span:nth-child(3) {
  animation: eqBar 0.65s ease-in-out 0.08s infinite alternate;
}
.sr7-audio-toggle.is-playing .audio-bars span:nth-child(4) {
  animation: eqBar 0.48s ease-in-out 0.22s infinite alternate;
}

@keyframes eqBar {
  0% { height: 3px; }
  100% { height: 12px; }
}

/* Primary WhatsApp HUD CTA */
.sr7-hud-wa {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #13CF51 0%, #0d9e3c 100%);
  color: #041208;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  box-shadow: 0 0 20px rgba(19, 207, 81, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sr7-hud-wa:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 0 28px rgba(45, 253, 103, 0.65);
}

.wa-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #041208;
  animation: waBlink 1.4s infinite;
}

@keyframes waBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.75); }
}

/* Bottom HUD Bar */
.sr7-global-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 12px 24px;
  pointer-events: none;
}

.sr7-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1680px;
  margin: 0 auto;
  padding: 8px 18px;
  background: rgba(8, 9, 12, 0.68);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(242, 230, 217, 0.12);
  border-radius: 999px;
  pointer-events: auto;
  font-size: 12px;
}

.sr7-telemetry {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(242, 230, 217, 0.78);
}

.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green-neon);
  box-shadow: 0 0 8px var(--accent-green-neon);
  margin-right: 6px;
}

.telemetry-sep {
  opacity: 0.35;
}

.sr7-stage-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sr7-nav-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(242, 230, 217, 0.24);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-cream);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.sr7-nav-circle:hover {
  background: var(--text-cream);
  color: var(--bg-black);
}

.sr7-nav-pill {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(242, 230, 217, 0.22);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-cream);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.sr7-nav-pill:hover {
  background: rgba(242, 230, 217, 0.16);
}

.sr7-bottom-credit {
  display: flex;
  align-items: center;
  gap: 10px;
}

.credit-text {
  color: rgba(242, 230, 217, 0.72);
  font-size: 12px;
}

.credit-text strong {
  color: var(--text-cream);
}

.credit-wa-pill {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(242, 230, 217, 0.12);
  border: 1px solid rgba(242, 230, 217, 0.25);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: var(--text-cream);
  transition: all 0.2s ease;
}

.credit-wa-pill:hover {
  background: var(--accent-gold);
  color: #000000;
  border-color: var(--accent-gold);
}

/* ============================================================================
   3. FILMSTRIP GEOMETRY & MARQUEE CANVASES across SLIDES 1, 2, 3
   ============================================================================ */
.sr7-filmstrip-group {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 9;
  will-change: transform;
}

.sr7-strip {
  position: absolute;
  overflow: hidden;
  background: rgba(0, 0, 0, 0);
  will-change: transform, clip-path;
  cursor: pointer;
}

.sr7-filmstrip-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* ----------------------------------------------------------------------------
   SLIDE 1 (11273): 4-STRIP PINWHEEL PERIMETER FRAMING 60%x50% CENTER STAGE
   - Layer 8 (1st strip): left 0, top 0, w 20%, h 75%, border 10px
   - Layer 9 (2nd strip): right 0, top 0, w 80%, h 25%, border 10px
   - Layer 10 (3rd strip): right 0, bottom 0, w 20%, h 75%, border 10px
   - Layer 11 (4th strip): left 0, bottom 0, w 80%, h 25%, border 10px
   ---------------------------------------------------------------------------- */
.strip-s1-1 {
  left: 0;
  top: 0;
  width: 20%;
  height: 75%;
  border: 10px solid rgba(0, 0, 0, 0);
  z-index: 9;
}

.strip-s1-2 {
  right: 0;
  top: 0;
  width: 80%;
  height: 25%;
  border: 10px solid rgba(0, 0, 0, 0);
  z-index: 8;
}

.strip-s1-3 {
  right: 0;
  bottom: 0;
  width: 20%;
  height: 75%;
  border: 10px solid rgba(0, 0, 0, 0);
  z-index: 7;
}

.strip-s1-4 {
  left: 0;
  bottom: 0;
  width: 80%;
  height: 25%;
  border: 10px solid rgba(0, 0, 0, 0);
  z-index: 6;
}

/* ----------------------------------------------------------------------------
   SLIDE 2 (11274): 4 VERTICAL COLUMNS (15%, 45%, 25%, 15%) WITH 20PX BORDERS
   ---------------------------------------------------------------------------- */
.layout-columns {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  z-index: 10;
}

.strip-s2-1,
.strip-s2-2,
.strip-s2-3,
.strip-s2-4 {
  position: relative;
  height: 100%;
  border-left: 20px solid rgba(0, 0, 0, 0);
}

.strip-s2-1 {
  width: 15%;
  z-index: 9;
}

.strip-s2-2 {
  width: 45%;
  z-index: 8;
}

.strip-s2-3 {
  width: 25%;
  z-index: 7;
}

.strip-s2-4 {
  width: 15%;
  border-right: 20px solid rgba(0, 0, 0, 0);
  z-index: 6;
}

/* ----------------------------------------------------------------------------
   SLIDE 3 (11275): 3 HORIZONTAL ROWS (100% x 33.333% each) WITH 20PX/40PX BORDERS
   ---------------------------------------------------------------------------- */
.layout-rows {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 11;
}

.strip-s3-1,
.strip-s3-2,
.strip-s3-3 {
  position: relative;
  width: 100%;
  height: 33.3333%;
  border-top: 20px solid rgba(0, 0, 0, 0);
  border-bottom: 20px solid rgba(0, 0, 0, 0);
  border-left: 40px solid rgba(0, 0, 0, 0);
  border-right: 40px solid rgba(0, 0, 0, 0);
}

/* ============================================================================
   4. FLUID DYNAMICS CANVASES & OVERLAYS (Layer 12 on S1, Layer 26 on S3)
   ============================================================================ */
.sr7-fluid-box {
  position: absolute;
  overflow: hidden;
}

/* Slide 1 Fluid Box: 60% x 50% centered in the pinwheel frame */
.fluid-s1 {
  left: 50%;
  top: 50%;
  width: 60%;
  height: 50%;
  transform: translate(-50%, -50%);
  z-index: 11;
  background: radial-gradient(circle at 50% 50%, rgba(207, 19, 19, 0.16) 0%, rgba(0, 0, 0, 0.92) 75%);
}

/* Slide 3 Fluid Box: 100% x 100% behind the 3 horizontal strips */
.fluid-s3 {
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 7;
}

.sr7-fluid-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Slide 2 Overlay (Layer 13): linear-gradient(-141deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.9) 100%) */
.overlay-s2 {
  position: absolute;
  inset: 0;
  z-index: 13;
  background: linear-gradient(-141deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.92) 100%);
  pointer-events: none;
}

/* Slide 3 Overlay (Layer 13): rgba(0,0,0,0.4) */
.overlay-s3 {
  position: absolute;
  inset: 0;
  z-index: 13;
  background: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.56) 0%, rgba(0, 0, 0, 0.42) 100%);
  pointer-events: none;
}

/* ============================================================================
   5. SR7 LOADER BG REVEAL CHOREOGRAPHY (Layer 20 on S1, Layer 18 on S2 & S3)
   Matches exact SR7 timeline:
   - Slide 1 (#CF1313): starts scale(3,4), shrinks to 60%x50% (0..1.3s), clips out right-to-left (1.79s..2.79s)
   - Slide 2 (#CFA613): sweeps up y:100%->0% (0..1s), clips out right-to-left (1.4s..2.6s)
   - Slide 3 (#13CF51): sweeps from left x:-100%->0% (0..1s), clips out right-to-left (1.4s..2.6s)
   ============================================================================ */
.sr7-loader-bg {
  position: absolute;
  pointer-events: none;
  z-index: 12;
}

.loader-s1 {
  left: 50%;
  top: 50%;
  width: 60%;
  height: 50%;
  background-color: var(--accent-red);
  transform: translate(-50%, -50%) scale(1, 1);
  clip-path: inset(0 100% 0 0);
}

.loader-s2 {
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: var(--accent-gold);
  clip-path: inset(0 100% 0 0);
}

.loader-s3 {
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: var(--accent-green);
  clip-path: inset(0 100% 0 0);
}

/* Triggered when .is-entering is active on the slide */
.sr7-slide.is-entering .loader-s1 {
  animation: sr7LoaderS1 2.75s var(--ease-sr7) forwards;
}

@keyframes sr7LoaderS1 {
  0% {
    transform: translate(-50%, -50%) scale(3, 4);
    clip-path: inset(0 0% 0 0);
  }
  47% {
    transform: translate(-50%, -50%) scale(1, 1);
    clip-path: inset(0 0% 0 0);
  }
  65% {
    transform: translate(-50%, -50%) scale(1, 1);
    clip-path: inset(0 0% 0 0);
  }
  100% {
    transform: translate(-50%, -50%) scale(1, 1);
    clip-path: inset(0 100% 0 0);
  }
}

.sr7-slide.is-entering .loader-s2 {
  animation: sr7LoaderS2 2.55s var(--ease-sr7) forwards;
}

@keyframes sr7LoaderS2 {
  0% {
    transform: translateY(100%);
    clip-path: inset(0 0% 0 0);
  }
  38% {
    transform: translateY(0%);
    clip-path: inset(0 0% 0 0);
  }
  55% {
    transform: translateY(0%);
    clip-path: inset(0 0% 0 0);
  }
  100% {
    transform: translateY(0%);
    clip-path: inset(0 100% 0 0);
  }
}

.sr7-slide.is-entering .loader-s3 {
  animation: sr7LoaderS3 2.55s var(--ease-sr7) forwards;
}

@keyframes sr7LoaderS3 {
  0% {
    transform: translateX(-100%);
    clip-path: inset(0 0% 0 0);
  }
  38% {
    transform: translateX(0%);
    clip-path: inset(0 0% 0 0);
  }
  55% {
    transform: translateX(0%);
    clip-path: inset(0 0% 0 0);
  }
  100% {
    transform: translateX(0%);
    clip-path: inset(0 100% 0 0);
  }
}

/* Filmstrip Reveal Choreography when slide enters */
.sr7-slide.is-entering .strip-s1-1 {
  animation: revealFromLeft 2.4s var(--ease-out-sr7) forwards;
}
.sr7-slide.is-entering .strip-s1-2 {
  animation: revealFromTop 2.4s var(--ease-out-sr7) forwards;
}
.sr7-slide.is-entering .strip-s1-3 {
  animation: revealFromRight 2.4s var(--ease-out-sr7) forwards;
}
.sr7-slide.is-entering .strip-s1-4 {
  animation: revealFromBottom 2.4s var(--ease-out-sr7) forwards;
}

.sr7-slide.is-entering .strip-s2-1 {
  animation: revealColUp 2.45s var(--ease-out-sr7) forwards;
}
.sr7-slide.is-entering .strip-s2-2 {
  animation: revealColUp 2.58s var(--ease-out-sr7) forwards;
}
.sr7-slide.is-entering .strip-s2-3 {
  animation: revealColUp 2.7s var(--ease-out-sr7) forwards;
}
.sr7-slide.is-entering .strip-s2-4 {
  animation: revealColUp 2.82s var(--ease-out-sr7) forwards;
}

.sr7-slide.is-entering .strip-s3-1 {
  animation: revealRowRight 2.35s var(--ease-out-sr7) forwards;
}
.sr7-slide.is-entering .strip-s3-2 {
  animation: revealRowRight 2.52s var(--ease-out-sr7) forwards;
}
.sr7-slide.is-entering .strip-s3-3 {
  animation: revealRowRight 2.68s var(--ease-out-sr7) forwards;
}

@keyframes revealFromLeft {
  0%, 52% { opacity: 0; transform: translateX(-45%); }
  100% { opacity: 1; transform: translateX(0); }
}
@keyframes revealFromTop {
  0%, 52% { opacity: 0; transform: translateY(-45%); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes revealFromRight {
  0%, 52% { opacity: 0; transform: translateX(45%); }
  100% { opacity: 1; transform: translateX(0); }
}
@keyframes revealFromBottom {
  0%, 52% { opacity: 0; transform: translateY(45%); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes revealColUp {
  0%, 50% { opacity: 0; transform: translateY(35%); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes revealRowRight {
  0%, 50% { opacity: 0; transform: translateX(-35%); }
  100% { opacity: 1; transform: translateX(0); }
}

/* ============================================================================
   6. CONTENT TEXT GROUPS, HEADLINES, BULLETS & BUTTONS (Layers 13..28)
   ============================================================================ */
.sr7-content-group {
  position: absolute;
  z-index: 14;
  pointer-events: auto;
}

/* Slide 1 Content Group: Centered inside the 60%x50% pinwheel frame */
.group-s1 {
  left: 50%;
  top: 50%;
  width: 52%;
  transform: translate(-50%, -50%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Slide 2 Content Group: Bottom-Left (x: 100px, y: 80px) */
.group-s2 {
  left: 100px;
  bottom: 84px;
  text-align: left;
  max-width: calc(100% - 160px);
}

/* Slide 3 Content Group: Centered (50% / 50%) */
.group-s3 {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 86%;
  max-width: 980px;
}

/* Taglines */
.sr7-tagline {
  font-family: var(--font-urbanist);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.tagline-s1 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 4px;
  line-height: 36px;
  color: var(--accent-red-bright);
}

.tagline-s2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 10px;
  line-height: 48px;
  color: var(--text-cream);
}

.tagline-s3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 10px;
  line-height: 48px;
  color: var(--text-cream);
}

/* Headlines & Overflow Mask */
.sr7-headline-mask {
  overflow: hidden;
  padding: 2px 4px;
}

.sr7-headline {
  margin: 0;
  will-change: transform, color;
}

/* Slide 1 Headline: Urbanist 700, 90px, #F2E6D9 (starts #000000 on red loader bg!) */
.headline-s1 {
  font-family: var(--font-urbanist);
  font-size: clamp(36px, 5.8vw, 90px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -1px;
  color: var(--text-cream);
}

/* Slide 2 Headline: Climate Crisis 400, 160px, uppercase, #CFA613 (starts #000000 on gold loader bg!) */
.headline-s2 {
  font-family: var(--font-climate);
  font-size: clamp(48px, 9.6vw, 152px);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: 0px;
  text-transform: uppercase;
  color: var(--accent-gold);
  text-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
}

/* Slide 3 Headline: Urbanist 900, 120px, #13CF51 (starts #000000 on green loader bg!) */
.headline-s3 {
  font-family: var(--font-urbanist);
  font-size: clamp(46px, 7.6vw, 120px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -1px;
  color: var(--accent-green);
  text-shadow: 0 12px 36px rgba(0, 0, 0, 0.72);
}

/* Headline Color & Slide-Up Entrance Animations matching SR7 tl.in */
.sr7-slide.is-entering .headline-s1 {
  animation: headlineEnterS1 2.55s var(--ease-sr7) forwards;
}
.sr7-slide.is-entering .headline-s2 {
  animation: headlineEnterS2 2.25s var(--ease-sr7) forwards;
}
.sr7-slide.is-entering .headline-s3 {
  animation: headlineEnterS3 2.55s var(--ease-sr7) forwards;
}

@keyframes headlineEnterS1 {
  0% { transform: translateY(105%); color: #000000; opacity: 0; }
  12% { transform: translateY(105%); color: #000000; opacity: 1; }
  50% { transform: translateY(0%); color: #000000; opacity: 1; }
  68% { transform: translateY(0%); color: #000000; opacity: 1; }
  100% { transform: translateY(0%); color: var(--text-cream); opacity: 1; }
}

@keyframes headlineEnterS2 {
  0% { transform: translateY(100%); color: #000000; opacity: 0; }
  45% { transform: translateY(0%); color: #000000; opacity: 1; }
  64% { transform: translateY(0%); color: #000000; opacity: 1; }
  100% { transform: translateY(0%); color: var(--accent-gold); opacity: 1; }
}

@keyframes headlineEnterS3 {
  0% { transform: translateY(100%); color: #000000; opacity: 0; }
  42% { transform: translateY(0%); color: #000000; opacity: 1; }
  68% { transform: translateY(0%); color: #000000; opacity: 1; }
  100% { transform: translateY(0%); color: var(--accent-green); opacity: 1; }
}

.sr7-slide.is-entering .sr7-tagline,
.sr7-slide.is-entering .sr7-vibe-caption,
.sr7-slide.is-entering .sr7-bullets,
.sr7-slide.is-entering .sr7-btn-row,
.sr7-slide.is-entering .sr7-s2-footer-row {
  animation: delayedFadeIn 2.5s var(--ease-sr7) forwards;
}

@keyframes delayedFadeIn {
  0%, 62% { opacity: 0; transform: translateY(16px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Vibe Subtitle Caption */
.sr7-vibe-caption {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: rgba(242, 230, 217, 0.84);
  max-width: 540px;
  margin-top: 8px;
}

.caption-s2 {
  margin-top: 10px;
  margin-bottom: 4px;
  max-width: 580px;
}

.caption-s3 {
  margin-top: 4px;
  margin-bottom: 18px;
  max-width: 620px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
}

/* ============================================================================
   7. SR7 BULLETS & PROGRESS BAR (Layers 25, 26, 27, 28)
   - Idle Bullet: 8px x 6px, rgba(255,255,255,0.5), radius 5px, margin 13px 5px
   - Selected Bullet: 60px x 6px on Slide 1 & 3; 300px x 6px on Slide 2!
   ============================================================================ */
.sr7-bullets {
  display: inline-flex;
  align-items: center;
  padding: 0 5px;
}

.bullets-s1 {
  margin: 14px 0 16px;
}

.bullets-s2 {
  margin-left: 24px;
}

.bullets-s3 {
  margin: 6px 0 8px;
}

.sr7-bullet {
  position: relative;
  width: 8px;
  height: 6px;
  margin: 10px 5px;
  border-radius: 5px;
  border: none;
  background-color: var(--bullet-idle);
  overflow: hidden;
  transition: background-color 0.25s ease, width 0.35s var(--ease-sr7);
}

.sr7-bullet:hover {
  background-color: #ffffff;
}

.sr7-bullet.is-selected {
  width: 60px;
}

.sr7-bullet.is-selected.bullet-wide {
  width: 300px;
}

.sr7-bullet-progress {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  border-radius: 5px;
}

/* ============================================================================
   8. SR7 ACTION BUTTONS (Layer 16 on S1, Layer 21 on S2 & S3) + WA CTAs
   ============================================================================ */
.sr7-btn-row {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.sr7-s2-footer-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.sr7-main-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
  height: 47px;
  line-height: 45px;
  border-radius: 60px;
  border: 2px solid var(--text-cream);
  background: rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(6px);
  color: var(--text-cream);
  font-family: var(--font-urbanist);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.btn-s1:hover {
  background-color: var(--accent-red);
  border-color: transparent;
  color: var(--text-cream);
  box-shadow: 0 10px 28px rgba(207, 19, 19, 0.45);
}

.btn-s2:hover {
  background-color: var(--accent-gold);
  border-color: transparent;
  color: #000000;
  box-shadow: 0 10px 28px rgba(207, 166, 19, 0.45);
}

.btn-s3:hover {
  background-color: var(--accent-green-neon);
  border-color: transparent;
  color: #000000;
  box-shadow: 0 10px 28px rgba(45, 253, 103, 0.45);
}

.sr7-wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  height: 47px;
  border-radius: 60px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.wa-s1 {
  background: var(--accent-red);
  color: #ffffff;
  border: 2px solid var(--accent-red);
}
.wa-s1:hover {
  background: #ff1f1f;
  transform: translateY(-2px);
}

.wa-s2 {
  background: var(--accent-gold);
  color: #000000;
  border: 2px solid var(--accent-gold);
}
.wa-s2:hover {
  background: #ffd026;
  transform: translateY(-2px);
}

.wa-s3 {
  background: var(--accent-green);
  color: #021207;
  border: 2px solid var(--accent-green);
}
.wa-s3:hover {
  background: var(--accent-green-neon);
  transform: translateY(-2px);
}

/* ============================================================================
   9. FLOATING FILMSTRIP HOVER TOOLTIP
   ============================================================================ */
.sr7-strip-tooltip {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 120;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-9999px, -9999px, 0);
  background: rgba(9, 10, 14, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(242, 230, 217, 0.25);
  border-radius: 14px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.65);
  transition: opacity 0.18s ease;
}

.sr7-strip-tooltip.is-visible {
  opacity: 1;
}

.tooltip-badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--accent-gold);
}

.tooltip-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-cream);
}

.tooltip-cta {
  font-size: 11px;
  color: var(--accent-green-neon);
  font-weight: 600;
}

/* ============================================================================
   10. BELOW-THE-FOLD: CANGGU SOUTH BALI GYM SANCTUARY & ACTIVITY GALLERY
   ============================================================================ */
.canggu-sanctuary {
  position: relative;
  background-color: var(--bg-surface);
  border-top: 1px solid rgba(242, 230, 217, 0.12);
}

.canggu-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
}

.canggu-intro-section {
  padding: 96px 0 72px;
  background: radial-gradient(circle at 15% 20%, rgba(207, 19, 19, 0.1) 0%, transparent 45%),
              radial-gradient(circle at 85% 80%, rgba(19, 207, 81, 0.08) 0%, transparent 50%);
}

.canggu-intro-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 16px;
}

.kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-gold);
  box-shadow: 0 0 10px var(--accent-gold);
}

.section-headline {
  font-size: clamp(32px, 3.6vw, 52px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.8px;
  color: var(--text-cream);
  margin-bottom: 20px;
}

.text-red { color: var(--accent-red-bright); }
.text-gold { color: var(--accent-gold); }
.text-green { color: var(--accent-green-neon); }

.section-lead {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.intro-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.primary-wa-cta {
  display: inline-flex;
  align-items: center;
  padding: 15px 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #13CF51 0%, #0b9e3b 100%);
  color: #031207;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  box-shadow: 0 12px 30px rgba(19, 207, 81, 0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.primary-wa-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(45, 253, 103, 0.5);
}

.secondary-outline-cta {
  display: inline-flex;
  align-items: center;
  padding: 15px 26px;
  border-radius: 999px;
  border: 1.5px solid rgba(242, 230, 217, 0.3);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-cream);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.25s ease;
}

.secondary-outline-cta:hover {
  background: var(--text-cream);
  color: var(--bg-black);
}

.intro-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.stat-card {
  padding: 24px;
  border-radius: 20px;
  background: var(--bg-card);
  border: 1px solid rgba(242, 230, 217, 0.1);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-accent-red { border-top: 3px solid var(--accent-red-bright); }
.card-accent-gold { border-top: 3px solid var(--accent-gold); }
.card-accent-green { border-top: 3px solid var(--accent-green-neon); }
.card-accent-cream { border-top: 3px solid var(--text-cream); }

.stat-zone {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.6px;
  color: rgba(242, 230, 217, 0.55);
}

.stat-val {
  font-size: 30px;
  font-weight: 900;
  color: var(--text-cream);
}

.stat-label {
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-muted);
}

/* 2. Interactive Filterable Gym Gallery Section */
.canggu-gallery-section {
  padding: 64px 0 88px;
}

.gallery-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 36px;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(242, 230, 217, 0.18);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;
  transition: all 0.25s ease;
}

.filter-chip:hover {
  color: var(--text-cream);
  border-color: rgba(242, 230, 217, 0.45);
}

.filter-chip.is-active {
  background: var(--text-cream);
  color: var(--bg-black);
  border-color: var(--text-cream);
}

.canggu-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}

.gallery-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid rgba(242, 230, 217, 0.1);
  aspect-ratio: 4 / 3;
  cursor: pointer;
  group: true;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease-out-sr7), filter 0.4s ease;
}

.gallery-card:hover img {
  transform: scale(1.08);
}

.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.88) 100%);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
}

.gallery-zone-tag {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.tag-iron { background: rgba(207, 19, 19, 0.9); color: #ffffff; }
.tag-turf { background: rgba(207, 166, 19, 0.95); color: #000000; }
.tag-recovery { background: rgba(19, 207, 81, 0.92); color: #021407; }

.gallery-card-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-cream);
}

.gallery-card-meta {
  font-size: 12px;
  color: rgba(242, 230, 217, 0.76);
}

/* 3. Membership Passes Section */
.canggu-passes-section {
  padding: 72px 0 96px;
  border-top: 1px solid rgba(242, 230, 217, 0.08);
}

.passes-header {
  max-width: 760px;
  margin-bottom: 44px;
}

.passes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.pass-card {
  background: var(--bg-card);
  border: 1px solid rgba(242, 230, 217, 0.12);
  border-radius: 24px;
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.pass-card:hover {
  transform: translateY(-6px);
  border-color: rgba(242, 230, 217, 0.32);
}

.pass-featured {
  border-color: var(--accent-gold);
  box-shadow: 0 20px 50px rgba(207, 166, 19, 0.12);
}

.pass-badge {
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.badge-red { background: rgba(207, 19, 19, 0.2); color: #ff5252; border: 1px solid rgba(207, 19, 19, 0.45); }
.badge-gold { background: rgba(207, 166, 19, 0.2); color: var(--accent-gold); border: 1px solid rgba(207, 166, 19, 0.5); }
.badge-green { background: rgba(19, 207, 81, 0.18); color: var(--accent-green-neon); border: 1px solid rgba(19, 207, 81, 0.45); }

.pass-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-cream);
  margin-bottom: 10px;
}

.pass-price {
  font-size: 34px;
  font-weight: 900;
  color: var(--text-cream);
  margin-bottom: 12px;
}

.pass-price span {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

.pass-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.pass-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  flex-grow: 1;
}

.pass-list li {
  font-size: 14px;
  color: rgba(242, 230, 217, 0.88);
}

.pass-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  transition: all 0.25s ease;
}

.cta-red { background: var(--accent-red); color: #ffffff; }
.cta-red:hover { background: #ff1e1e; }

.cta-gold { background: var(--accent-gold); color: #000000; }
.cta-gold:hover { background: #ffd22b; }

.cta-green { background: var(--accent-green); color: #031408; }
.cta-green:hover { background: var(--accent-green-neon); }

/* 4. Footer */
.canggu-footer {
  padding: 36px 0;
  border-top: 1px solid rgba(242, 230, 217, 0.1);
  background: #050608;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logo {
  width: 42px;
  height: 42px;
}

.footer-brand strong {
  font-size: 14px;
  letter-spacing: 1.2px;
  display: block;
}

.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.back-top-btn {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(242, 230, 217, 0.22);
  font-size: 12px;
  font-weight: 700;
}

.footer-wa-btn {
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--accent-green);
  color: #031207;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.8px;
}

/* ============================================================================
   11. INTERACTIVE MODAL & LIGHTBOX
   ============================================================================ */
.sr7-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sr7-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.sr7-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  overflow-y: auto;
  background: #101218;
  border: 1px solid rgba(242, 230, 217, 0.2);
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.8);
}

.sr7-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(242, 230, 217, 0.25);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-cream);
  font-size: 16px;
}

.sr7-modal-close:hover {
  background: var(--accent-red);
  border-color: var(--accent-red);
}

.modal-hero-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 22px;
}

.modal-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 8px;
}

.modal-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-cream);
  margin-bottom: 12px;
}

.modal-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.modal-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.modal-spec-box {
  padding: 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(242, 230, 217, 0.1);
}

.modal-spec-box span {
  display: block;
  font-size: 11px;
  color: rgba(242, 230, 217, 0.55);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.modal-spec-box strong {
  font-size: 14px;
  color: var(--text-cream);
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================================================
   12. SR7 RESPONSIVE BREAKPOINTS (1240px, 1024px, 778px, 480px)
   Matches SR7 size.width: [1600, 1240, 1024, 778, 480]
   ============================================================================ */
@media (max-width: 1100px) {
  .sr7-mood-tabs {
    display: none;
  }
  .group-s2 {
    left: 60px;
    bottom: 70px;
  }
  .sr7-bullet.is-selected.bullet-wide {
    width: 160px;
  }
  .canggu-intro-grid,
  .passes-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 778px) {
  /* Slide 1 strips adjust to 85% / 15% on tablet/mobile per SR7 JSON! */
  .strip-s1-1,
  .strip-s1-3 {
    height: 85%;
  }
  .strip-s1-2,
  .strip-s1-4 {
    height: 15%;
  }
  .fluid-s1,
  .loader-s1 {
    width: 60%;
    height: 70%;
  }
  .group-s1 {
    width: 56%;
  }
  .tagline-s1 {
    color: var(--text-cream);
    font-size: 13px;
  }

  /* Slide 2 columns adjust to 15%, 65%, 35%, 15% per SR7 JSON */
  .strip-s2-1 { width: 15%; }
  .strip-s2-2 { width: 50%; }
  .strip-s2-3 { width: 20%; }
  .strip-s2-4 { width: 15%; }

  .group-s2 {
    left: 32px;
    bottom: 68px;
  }

  .hide-mobile {
    display: none;
  }

  .sr7-hud-bar {
    padding: 8px 12px;
  }

  .sr7-hud-btn:not(.sr7-audio-toggle) {
    display: none;
  }
}

@media (max-width: 480px) {
  .group-s1 {
    width: 78%;
  }
  .group-s2 {
    left: 20px;
    bottom: 64px;
  }
  .sr7-bullet.is-selected.bullet-wide {
    width: 100px;
  }
  .bullets-s2 {
    margin-left: 0;
  }
  .sr7-main-btn,
  .sr7-wa-btn {
    padding: 0 18px;
    height: 40px;
    line-height: 38px;
    font-size: 12px;
    letter-spacing: 2px;
  }
  .strip-s3-1,
  .strip-s3-2,
  .strip-s3-3 {
    border-left-width: 14px;
    border-right-width: 14px;
    border-top-width: 10px;
    border-bottom-width: 10px;
  }
}

