@import url('https://fonts.googleapis.com/css2?family=Syne:wght@700;800&family=Space+Grotesk:wght@500;700&family=Inter:wght@400;600;900&display=swap');

/* Premium Custom Fonts */

:root {
  --neon: #d4ff00;
  --dark: #0a0a0a;
  --light: #ffffff;
  --accent: #222222;
}

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

body {
  font-family: 'Corps', 'Inter', sans-serif;
  background-color: var(--dark);
  color: var(--light);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, .title {
  font-family: 'Agharti', 'Syne', sans-serif;
  text-transform: uppercase;
  line-height: 0.9;
}

/* Nav */
nav {
  position: absolute;
  top: 0; left: 0; width: 100%;
  height: 90px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
}
.menu {
  display: flex;
  gap: 2.5rem;
  background: rgba(10, 10, 10, 0.5);
  padding: 0.8rem 2rem;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.menu a { color: var(--light); text-decoration: none; font-weight: 700; font-family: 'Right Grotesk', 'Space Grotesk', sans-serif; font-size: 1rem; text-transform: uppercase; transition: color 0.3s; letter-spacing: 1px;}
.menu a:hover { color: var(--neon); }

/* Hero */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}
.hero-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 1;
}
.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  animation: slideUpFade 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Intake Form */
.intake-form {
  background: var(--light);
  border: 4px solid var(--dark);
  padding: 2rem;
  margin-top: 3rem;
  box-shadow: 10px 10px 0px var(--neon);
}
.intake-form input, .intake-form select {
  width: 100%;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 2px solid var(--dark);
  font-size: 1.1rem;
  font-family: 'Corps', sans-serif;
  background: var(--light);
}
.intake-form input:focus, .intake-form select:focus {
  outline: none;
  border-color: var(--neon);
}
.intake-form button {
  width: 100%;
}

/* Persistent Floating CTA (Disco Ball & Logo) */
.floating-cta {
  position: fixed;
  top: 45px;
  transform: translateY(-50%);
  left: 2rem;
  right: auto;
  z-index: 1000;
  padding: 0;
  width: 90px;
  height: 90px;
  background: transparent;
  box-shadow: none;
  border-radius: 50%;
  transition: transform 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 400px;
  transform-style: preserve-3d;
}

.floating-cta:hover {
  transform: translateY(-50%) scale(1.15);
}

.disco-ball {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: 
    radial-gradient(circle at 30% 30%, rgba(255,255,255,1) 0%, rgba(255,255,255,0.4) 20%, transparent 60%), /* Intense Curved Glare */
    repeating-linear-gradient(90deg, transparent, transparent 4px, rgba(0, 0, 0, 0.8) 4px, rgba(0, 0, 0, 0.8) 5px),
    repeating-linear-gradient(0deg, transparent, transparent 4px, rgba(0, 0, 0, 0.8) 4px, rgba(0, 0, 0, 0.8) 5px),
    linear-gradient(180deg, #d0d0d0 0%, #ffffff 48%, #444444 50%, #0a0a0a 100%); /* Chrome Horizon Reflection */
  background-size: 100% 100%, 25px 25px, 25px 25px, 100% 100%;
  box-shadow: inset -6px -6px 12px rgba(0,0,0,0.9), inset 4px 4px 10px rgba(255,255,255,0.8), 0 0 20px var(--neon);
  animation: spinDisco 1.2s linear infinite;
  position: absolute;
  transform: translateZ(0);
}

@keyframes spinDisco {
  0% { background-position: 0 0, 0 0, 0 0, 0 0; }
  100% { background-position: 0 0, -25px 0, 0 0, 0 0; }
}

.cylinder-wrap {
  position: absolute;
  width: 90px;
  height: 90px;
  transform-style: preserve-3d;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cylinder {
  position: relative;
  width: 10px;
  height: 10px;
  transform-style: preserve-3d;
  animation: spinCylinder 10s linear infinite;
}

.cylinder span {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -6px;
  margin-left: -5px;
  width: 10px;
  height: 12px;
  font-family: 'Right Grotesk', 'Space Grotesk', sans-serif;
  font-weight: 900;
  font-size: 11px;
  color: var(--neon);
  text-align: center;
  backface-visibility: hidden;
  text-shadow: 
    -1.5px -1.5px 0 var(--dark),
     1.5px -1.5px 0 var(--dark),
    -1.5px  1.5px 0 var(--dark),
     1.5px  1.5px 0 var(--dark),
     0px    0px  5px var(--dark);
}

@keyframes spinCylinder {
  0% { transform: rotateX(-15deg) rotateY(0deg); }
  100% { transform: rotateX(-15deg) rotateY(-360deg); }
}

/* Nav CTA Button */
.nav-btn {
  position: fixed;
  right: 2rem;
  top: 45px;
  transform: translateY(-50%);
  background: var(--neon);
  color: var(--dark);
  padding: 0.8rem 1.5rem;
  font-family: 'Right Grotesk', 'Space Grotesk', sans-serif;
  font-weight: 900;
  font-size: 1rem;
  text-decoration: none;
  text-transform: uppercase;
  border: 2px solid var(--dark);
  box-shadow: 4px 4px 0px var(--dark);
  transition: all 0.3s;
  z-index: 1000;
}
.nav-btn:hover {
  background: var(--light);
  transform: translateY(-50%) scale(1.05);
}
@media (max-width: 900px) {
  .menu {
    display: none; /* Hide center menu on mobile to avoid clutter */
  }
}
.hero-title {
  font-size: 11vw;
  color: var(--neon);
  text-shadow: 6px 6px 0px #000;
  margin: 0;
  letter-spacing: 0px;
  font-family: 'Agharti', sans-serif;
  text-transform: uppercase;
}
.hero-subtitle {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--light);
  margin-top: -1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Diagonal Separator */
.diag-cut {
  clip-path: polygon(0 0, 100% 5vw, 100% 100%, 0 calc(100% - 5vw));
}

/* Sections */
section {
  padding: 10vw 5vw;
  position: relative;
}

.section-white {
  background-color: var(--light);
  color: var(--dark);
}
.section-neon {
  background-color: var(--neon);
  color: var(--dark);
}
.section-dark {
  background-color: var(--dark);
  color: var(--light);
}

.sec-title {
  font-size: 8vw;
  margin-bottom: 2rem;
  letter-spacing: -1px;
}
.sec-subtitle {
  font-family: 'Right Grotesk', 'Space Grotesk', sans-serif;
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  display: block;
}

/* Ticker */
.ticker-wrap {
  width: 100%;
  overflow: hidden;
  background-color: var(--neon);
  padding: 10px 0;
  position: relative;
  z-index: 5;
}
.ticker {
  display: inline-block;
  white-space: nowrap;
  animation: ticker 20s linear infinite;
}
.ticker__item {
  display: inline-block;
  padding: 0 2rem;
  font-family: 'Agharti', 'Syne', sans-serif;
  font-size: 2rem;
  color: var(--dark);
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.card {
  padding: 2rem;
  border: 4px solid var(--dark);
  background: var(--light);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.card:hover {
  transform: translateY(-6px) translateX(-6px);
  box-shadow: 12px 12px 0px var(--dark);
}
.card h3 { font-size: 2.5rem; margin-bottom: 1rem; }
.card p { font-size: 1.1rem; line-height: 1.5; }
.card-img { width: 100%; height: 250px; object-fit: cover; border-bottom: 4px solid var(--dark); margin-bottom: 1rem; }

/* Floating Trinkets */
.trinket {
  position: absolute;
  z-index: 10;
  mix-blend-mode: darken; /* Darken works better for dropping near-white backgrounds */
  transition: transform 0.3s;
}
.trinket:hover {
  transform: scale(1.1) rotate(5deg);
}
.trinket-hot {
  top: 50px;
  right: 5%;
  width: 150px;
  transform: rotate(15deg);
}
.trinket-button {
  bottom: 20%;
  left: 2%;
  width: 120px;
  transform: rotate(-10deg);
}
.trinket-wristband {
  top: 20px;
  left: 30%;
  width: 250px;
  transform: rotate(-20deg);
}
.trinket-glasses {
  top: -40px;
  right: 10%;
  width: 200px;
  transform: rotate(15deg);
}
.trinket-fan {
  top: 15%;
  left: -80px;
  width: 220px;
  transform: rotate(20deg);
}
.trinket-bandana {
  top: -30px;
  right: 5%;
  width: 180px;
  transform: rotate(45deg);
}
.trinket-glowsticks {
  bottom: 50px;
  right: 5%;
  width: 150px;
  transform: rotate(-10deg);
}
.trinket-pacifier {
  bottom: 0px;
  left: 20%;
  width: 130px;
  transform: rotate(20deg);
}
.trinket-dj {
  bottom: -40px;
  right: 40%;
  width: 180px;
  transform: rotate(-5deg);
}

/* Event Images Grid */
.event-img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.event-img-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border: 4px solid var(--dark);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.event-img-grid img:hover {
  transform: scale(1.03);
}
.event-img-grid img.grid-span-2 {
  grid-column: span 2;
}

/* Community Images Grid */
.community-img-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.community-img-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border: 4px solid var(--dark);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.community-img-grid img:hover {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .event-img-grid {
    grid-template-columns: 1fr !important;
  }
  .event-img-grid img.grid-span-2 {
    grid-column: span 1 !important;
  }
  .community-img-grid img {
    height: 180px !important;
  }
}

/* Standalone Image Section */
.standalone-img {
  width: 100%;
  height: 80vh;
  object-fit: cover;
  filter: contrast(1.3) sepia(0.6) hue-rotate(320deg) saturate(3);
}

/* Premium Brutalist Travel Grid Images */
/* Jagged divider */
.jagged {
  height: 50px;
  width: 100%;
  background-image: linear-gradient(135deg, transparent 50%, var(--neon) 50%), linear-gradient(45deg, var(--neon) 50%, transparent 50%);
  background-position: top left, top left;
  background-size: 50px 50px;
  background-repeat: repeat-x;
  margin-top: -25px;
  position: absolute;
  z-index: 2;
  animation: panJagged 2s linear infinite;
}

/* Experiences specific */
.exp-item {
  border-bottom: 2px solid var(--dark);
  padding: 2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: padding-left 0.3s ease;
}
.exp-item:hover {
  padding-left: 20px;
  background: rgba(0,0,0,0.05);
}
.exp-item h3 { font-size: 4vw; }
.exp-item span { font-weight: 900; font-size: 1.5rem; color: var(--neon); background: var(--dark); padding: 0.5rem 1rem;}

/* Footer */
footer {
  padding: 10vw 5vw 2vw;
  background-color: var(--dark);
  color: var(--light);
}
.footer-title {
  font-size: 10vw;
  color: var(--light);
  margin-bottom: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  border-top: 2px solid #333;
  padding-top: 4rem;
}
.contact-box {
  background-color: var(--neon);
  color: var(--dark);
  padding: 3rem;
  font-weight: 600;
}
.contact-box h3 { font-size: 3rem; margin-bottom: 1rem; }
.btn {
  display: inline-block;
  background: var(--dark);
  color: var(--neon);
  padding: 1rem 2rem;
  font-family: 'Right Grotesk', 'Space Grotesk', sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  text-decoration: none;
  text-transform: uppercase;
  margin-top: 2rem;
  transition: all 0.3s;
}
.btn:hover { background: var(--light); color: var(--dark); }
.social-links a { color: var(--light); margin-right: 1rem; text-decoration: none; font-weight: 600; font-size: 1.2rem;}
.social-links a:hover { color: var(--neon); }
.btn-pulse {
  animation: btnPulse 2s infinite;
}

/* Continuous Animations */
@keyframes slideUpFade {
  0% { opacity: 0; transform: translateY(100px) scale(0.9); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes neonPulse {
  0% { text-shadow: 6px 6px 0px #000, 0 0 5px var(--neon); }
  100% { text-shadow: 6px 6px 0px #000, 0 0 15px var(--neon), 0 0 25px var(--neon); }
}

@keyframes panJagged {
  from { background-position: 0 0, 0 0; }
  to { background-position: 50px 0, 50px 0; }
}

@keyframes ticker {
  0%   { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

@keyframes btnPulse {
  0% { box-shadow: 0 0 0 0 rgba(212, 255, 0, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(212, 255, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(212, 255, 0, 0); }
}

.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease-out;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-100px) rotate(-8deg);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}
.reveal-left.active {
  opacity: 1;
  transform: translateX(0) rotate(0deg);
}

/* Brutalist Tiers Toggle */
.brutalist-toggle-container {
  display: inline-flex;
  border: 4px solid var(--dark);
  background: var(--dark);
  padding: 2px;
  box-shadow: 6px 6px 0px var(--neon);
  margin-bottom: 2rem;
}
.toggle-btn {
  font-family: 'Right Grotesk', 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 900;
  padding: 0.8rem 1.5rem;
  border: none;
  background: transparent;
  color: var(--light);
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
}
.toggle-btn.active {
  background: var(--neon);
  color: var(--dark);
}
.toggle-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}
.toggle-btn.active:hover {
  background: var(--neon);
  color: var(--dark);
}
/* Mobile Sticky Bottom Navigation */
.mobile-bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  /* Prevent horizontal scroll globally */
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
    position: relative;
  }

  /* Force all grid children to span 1 column only, completely preventing horizontal expansion */
  .grid-2, .grid-3, .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  /* Force children to drop columns and span only 1 column */
  .grid-2 > *, .grid-3 > *, .footer-grid > * {
    grid-column: span 1 !important;
    grid-column-start: auto !important;
    grid-column-end: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Navigation center menu hide */
  .menu {
    display: none !important;
  }
  
  /* Floating CTA (Disco Ball) */
  .floating-cta {
    top: 25px !important;
    left: 1rem !important;
    width: 50px !important;
    height: 50px !important;
    position: fixed !important;
    z-index: 2000 !important;
  }
  .disco-ball {
    width: 34px !important;
    height: 34px !important;
    box-shadow: inset -4px -4px 8px rgba(0,0,0,0.9), inset 3px 3px 7px rgba(255,255,255,0.8), 0 0 12px var(--neon) !important;
  }
  .cylinder-wrap {
    display: none !important; /* Hide rotating text cylinder entirely on mobile */
  }
  
  /* Nav Start Planning Button - Sleek Pill shape aligned with disco ball */
  .nav-btn {
    position: fixed !important;
    top: 25px !important;
    right: 1rem !important;
    transform: translateY(0) !important;
    padding: 0.5rem 1rem !important;
    font-size: 0.8rem !important;
    font-weight: 900 !important;
    border-radius: 50px !important; /* Premium Pill Shape */
    border: 2px solid var(--dark) !important;
    box-shadow: 2px 2px 0px var(--dark) !important;
    background: var(--neon) !important;
    color: var(--dark) !important;
    z-index: 2000 !important;
  }
  
  /* Floating Trinkets (Hide completely to prevent blocking text) */
  .trinket {
    display: none !important;
  }
  
  /* Section Spacing & Sizing */
  section {
    padding: 3rem 1rem !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }
  
  /* Typography Scale Down */
  .sec-title {
    font-size: 2.8rem !important;
    line-height: 0.95 !important;
    margin-bottom: 1.2rem !important;
    letter-spacing: -1px !important;
  }
  .sec-subtitle {
    font-size: 0.85rem !important;
    margin-bottom: 0.6rem !important;
  }
  
  /* Hero Section Mobile Polish */
  .hero {
    height: 85vh !important; /* Slightly shorter on mobile so CTA is easy to see */
    clip-path: polygon(0 0, 100% 0, 100% 94%, 0 100%) !important;
  }
  .hero-title {
    font-size: 3.5rem !important;
    text-shadow: 4px 4px 0px #000 !important;
  }
  .hero-subtitle {
    font-size: 1.2rem !important;
    margin-top: -0.2rem !important;
  }
  
  /* Event Experiences */
  .exp-item {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.6rem !important;
    padding: 1.2rem 0 !important;
  }
  .exp-item h3 {
    font-size: 1.6rem !important;
    line-height: 1.1 !important;
  }
  .exp-item span {
    font-size: 1rem !important;
    padding: 0.3rem 0.6rem !important;
  }
  
  /* Cards Styling */
  .card {
    padding: 1.2rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .card h3 {
    font-size: 1.8rem !important;
  }
  .card-img {
    height: 180px !important;
  }
  
  /* Highlight Card Adjustments (Stacked Tiers) */
  .grid-3 > .card:nth-child(2) {
    transform: none !important;
    box-shadow: 4px 4px 0px var(--neon) !important;
    margin: 0.5rem 0 !important;
  }
  
  /* Standalone Image */
  .standalone-img {
    height: 35vh !important;
  }
  
  /* Intake Form */
  .intake-form {
    padding: 1.2rem !important;
    box-shadow: 5px 5px 0px var(--neon) !important;
    width: 100% !important;
  }
  .intake-form input, .intake-form select {
    font-size: 1rem !important;
    padding: 0.75rem !important;
    margin-bottom: 0.8rem !important;
  }
  
  /* Footer mobile */
  .footer-title {
    font-size: 3rem !important;
    margin-bottom: 2rem !important;
  }
  .footer-grid {
    padding-top: 2rem !important;
    gap: 2rem !important;
  }
  .footer-grid h3 {
    font-size: 1.8rem !important;
  }

  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: var(--dark);
    border-top: 3px solid var(--neon);
    z-index: 9999;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.5);
  }
  .mobile-nav-item {
    flex: 1;
    text-align: center;
    color: var(--light);
    text-decoration: none;
    font-family: 'Right Grotesk', 'Space Grotesk', sans-serif;
    font-weight: 900;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    border-right: 1px solid rgba(255,255,255,0.1);
    transition: all 0.2s ease;
  }
  .mobile-nav-item:last-child {
    border-right: none;
  }
  .mobile-nav-item:hover, .mobile-nav-item.active {
    background: var(--neon);
    color: var(--dark);
  }
  
  /* Add padding-bottom to body to ensure footer isn't obscured by bottom nav */
  body {
    padding-bottom: 60px !important;
  }
}
