/* index.css — index page specific styles (logo + countdown + new sections) */

/* base helpers (assumes root vars are defined in shared CSS) */
:root {
  --neon: #00b3ff;
  --white: #ffffff;
  --yellow: #FFD700;
  --black: #000000;
}

/* Ensure this page's main area sits above bg video */
main {
  position: relative;
  z-index: 10;
}

/* Event hero (logo + countdown) */
.event-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 140px);
  padding: 48px 20px;
  text-align: center;
  color: var(--white);
  pointer-events: auto;
  margin-top: -180px; /* optional same visual effect but SAFE */
}


.event-inner {
  max-width: 920px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

/* Logo */
.event-logo {
  width: 520px;
  height: auto;
  object-fit: contain;
  border-radius: 0;        /* or keep radius if your logo is rounded */
  margin-top: 160px;
  background: none !important;
  box-shadow: none !important;
  transform: none !important;
  transition: none !important;
}

.event-logo:hover {
  transform: none !important;
  box-shadow: none !important;
}

/* Title */
.event-title {
  margin-top: 0px !important;
  font-size: 28px;
  letter-spacing: 0.6px;
  color: rgba(255,255,255,0.95);
  text-shadow: 0 8px 30px rgba(0,179,255,0.05);
}

/* Countdown layout */
.countdown {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  flex-wrap: wrap;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 84px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.03);
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
}

.countdown-value {
  display: inline-block;
  font-size: 28px;
  font-weight: 800;
  color: var(--neon);
  letter-spacing: 0.8px;
  text-shadow: 0 8px 30px rgba(0,179,255,0.12);
  transition: transform 180ms ease, text-shadow 220ms ease;
}
.countdown-value.pop {
  transform: scale(1.12);
  text-shadow: 0 18px 50px rgba(0,179,255,0.22);
}

.countdown-label {
  margin-top: 6px;
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.6px;
}

.event-note {
  margin-top: 10px;
  color: rgba(255,255,255,0.78);
  font-size: 14px;
}

/* Fix HERO in place */
#event-hero {
  position: fixed;
  top: 86px; /* navbar height */
  left: 0;
  width: 100%;
  height: calc(100vh - 86px);
  z-index: 2;
  pointer-events: none;
}

/* ================================
   HERO TWO-COLUMN LAYOUT — UPDATED
================================ */

.hero-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  max-width: 1600px;
  margin: 0 auto;
  height: 100%;
  pointer-events: auto;
}

/* LEFT SIDE — shifted slightly left */
.hero-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: auto;
  z-index: 3;

  /* transform: translateX(-110px);  */
}

/* RIGHT SIDE VIDEO — shifted right + down */
.hero-right {
  flex: 0.8;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: auto;
  z-index: 3;

  transform: translate(40px, 90px); /* → right + ↓ down */
}

.hero-side-video {
  width: 90%;
  max-width: 520px;
  border-radius: 20px;
  box-shadow: 0 0 40px rgba(0,179,255,0.45);
  object-fit: cover;
  pointer-events: auto;
}




/* Turn all other sections into stacked slides */
.content-section {
  position: fixed;
  top: 86px;
  left: 0;
  width: 100%;
  height: calc(100vh - 86px);

  display: flex;
  justify-content: center;
  align-items: center;

  opacity: 0;
  transform: scale(0.92);
  filter: blur(25px);
  transition: opacity 0.9s ease, transform 0.9s ease, filter 0.9s ease;

  pointer-events: none;
  z-index: 4;
}



/* Active slide becomes visible */
.content-section.active {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
  pointer-events: auto;
}


.section-inner {
  max-width: 1200px;
  width: 100%;
  text-align: center;
}

/* Section 1 - Welcome */
.welcome-section {
  background: linear-gradient(135deg, rgba(0, 179, 255, 0.1) 0%, rgba(0, 0, 0, 0.8) 100%);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 60px 40px;
}

.welcome-section h2 {
  font-size: 48px;
  margin-bottom: 30px;
  color: var(--neon);
  text-shadow: 0 0 20px rgba(0, 179, 255, 0.5);
}

.welcome-section p {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
}

.explore-btn {
  display: inline-block;
  padding: 16px 40px;
  background: var(--neon);
  color: #000;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(0, 179, 255, 0.5);
}

.explore-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 179, 255, 0.7);
}

/* Section 2 - Why Join */
.why-join-section {
  /* background: linear-gradient(135deg, rgba(255, 215, 0, 0.95) 0%, rgba(255, 165, 0, 0.9) 100%); */
  border-radius: 20px;
  padding: 60px 40px;
  color: var(--neon);
}

.why-join-section h2 {
  font-size: 52px;
  margin-bottom: 40px;
  font-weight: 900;
  line-height: 1.2;
}

.stats-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.stat-badge {
  background: #000;
  color: #fff;
  padding: 15px 30px;
  border-radius: 25px;
  font-size: 18px;
  font-weight: 600;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.95);
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #000;
}

.feature-card p {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

/* Section 3 - Previous Events */
.previous-events-section {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 60px 40px;
}

.previous-events-section h2 {
  font-size: 48px;
  margin-bottom: 50px;
  color: var(--neon);
  text-shadow: 0 0 20px rgba(0, 179, 255, 0.5);
  text-transform: uppercase;
}
.havana-gallery {
  display: flex;
  flex-direction: column;
  gap: 30px;
  overflow: hidden;
}

.gallery-row {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.row-track {
  display: flex;
  gap: 22px;
  width: max-content;
}

.row-left .row-track {
  animation: scroll-left 100s linear infinite;
}

.row-right .row-track {
  animation: scroll-right 105s linear infinite;
}

/* pause on hover */
.gallery-row:hover .row-track {
  animation-play-state: paused;
}

/* Image styling + hover effect */
.row-track img {
  width: 280px;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  transition: transform .4s ease, box-shadow .4s ease;
}

.row-track img:hover {
  box-shadow: 0 14px 40px rgba(0,179,255,.55);
  z-index: 20;
}

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

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


/* Section 4 - Get Started */
.get-started-section {
  background: linear-gradient(135deg, rgba(0, 179, 255, 0.2) 0%, rgba(0, 0, 0, 0.9) 100%);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 80px 40px;
}

.get-started-section h2 {
  font-size: 52px;
  margin-bottom: 30px;
  color: #fff;
  text-shadow: 0 0 30px rgba(0, 179, 255, 0.6);
}

.get-started-section p {
  font-size: 20px;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.9);
}

/* responsive */
@media (max-width: 820px) {
  .event-logo { width: 160px; height: 160px; }
  .event-title { font-size: 22px; }
  .countdown-item { min-width: 64px; padding: 8px 10px; }
  .countdown-value { font-size: 20px; }
  
  .welcome-section h2,
  .previous-events-section h2 { 
    font-size: 32px; 
  }
  
  .why-join-section h2,
  .get-started-section h2 { 
    font-size: 36px; 
  }
  
  .welcome-section p { 
    font-size: 16px; 
  }
  
  .features-grid { 
    grid-template-columns: 1fr; 
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   FULLSCREEN DARK OVERLAY (COVERS EVERYTHING)
============================================================ */
#slide-overlay {
  position: fixed;
  top: 0;               /* cover whole screen */
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.78); /* dark enough to fully hide timer */
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s ease;
  z-index: 3; 
}

/* When visible */
#slide-overlay.visible {
  opacity: 1;
}

.scroll-hint {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  pointer-events: none;
  animation: fadeInHint 2.5s ease forwards 3s;
}

.scroll-text {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 6px;
  letter-spacing: 1px;
}

/* Container for multiple arrows */
.scroll-arrows {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}

/* Single arrow */
.scroll-arrow {
  width: 22px;
  height: 22px;
  border-left: 3px solid var(--neon);
  border-bottom: 3px solid var(--neon);
  transform: rotate(-45deg);
  opacity: 0.8;
  animation: arrowBounce 1.4s infinite ease-in-out;
}

/* Delay each arrow for cascading animation */
.scroll-arrow:nth-child(1) { animation-delay: 0s; }
.scroll-arrow:nth-child(2) { animation-delay: 0.2s; }

@keyframes arrowBounce {
  0%   { transform: translateY(0) rotate(-45deg); opacity: 0.8; }
  50%  { transform: translateY(8px) rotate(-45deg); opacity: 1; }
  100% { transform: translateY(0) rotate(-45deg); opacity: 0.8; }
}

@keyframes fadeInHint {
  0% { opacity: 0; transform: translate(-50%, 10px); }
  100% { opacity: 1; transform: translate(-50%, 0); }
}

/* ============================================================
   MOBILE HERO + SLIDE FIX (ADD AT VERY BOTTOM OF FILE)
============================================================ */

@media (max-width: 900px) {

  /* --------------------------------
     1. REMOVE FIXED HERO
  -------------------------------- */
  #event-hero {
    position: relative !important;
    top: auto !important;
    height: 100vh;
  }

  .event-hero {
    min-height: auto;
    margin-top: 0px;
    padding: 40px 10px;
  }

  /* --------------------------------
     2. STACK HERO PROPERLY
  -------------------------------- */
  .hero-wrapper {
    flex-direction: column;
    justify-content: center;
    height: 100%;
  }

  .hero-left {
    transform: none !important;
  }

    #slide-overlay {
    display: none !important;
  }

  .hero-right {
    display: none; /* hide side video on mobile */
  }

  /* --------------------------------
     3. FIX LOGO + TITLE SPACING
  -------------------------------- */
  .event-logo {
    width: 330px !important;
    height: auto !important;
    margin-top: 100px;
  }

  .event-title {
    margin-top: 0px !important;
    font-size: 22px;
  }

  /* --------------------------------
     4. MAKE COUNTDOWN CLEAN
  -------------------------------- */
  .countdown {
    gap: 12px;
  }

  .countdown-item {
    min-width: 70px;
    padding: 8px 10px;
  }

  .countdown-value {
    font-size: 20px;
  }

  /* --------------------------------
     5. REMOVE FIXED SLIDE MODE
  -------------------------------- */

  /* Stack sections normally */
  .content-section {
    position: relative !important;
    top: 10px;
    height: auto !important;

    opacity: 1 !important;
    transform: none !important;
    filter: none !important;

    pointer-events: auto !important;

    padding: 80px 20px;
  }

  .section-inner {
    max-width: 1000px;
    width: 100%;
  }
  .content-section.active {
    opacity: 1 !important;
  }

  /* --------------------------------
     6. FIX FEATURE CARDS VISIBILITY
  -------------------------------- */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .feature-card {
    padding: 25px 20px;
  }

  /* --------------------------------
     7. FIX GALLERY IMAGES SIZE
  -------------------------------- */
  .row-track img {
    width: 200px;
    height: 160px;
  }

  /* --------------------------------
     8. FIX SECTION HEADINGS SCALE
  -------------------------------- */
  .previous-events-section{
    display: none;
  }
  .welcome-section h2,
  .previous-events-section h2 {
    font-size: 28px;
  }

  .why-join-section h2,
  .get-started-section h2 {
    font-size: 30px;
  }



}

@media (max-width: 900px) {

  .why-join-section {
    background: linear-gradient(
      135deg,
      rgba(0, 179, 255, 0.1) 0%,
      rgba(0, 0, 0, 0.85) 100%
    );

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border-radius: 20px;
    padding: 50px 25px;

    box-shadow: 0 10px 40px rgba(0, 179, 255, 0.15);
  }

}

/* =========================================
   HIDE SCROLL HINT ON MOBILE WHEN SCROLLED
========================================= */

@media (max-width: 900px) {

  .scroll-hint.hide-on-scroll {
    opacity: 0;
    transform: translate(-50%, 20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
  }

  @media (max-width: 900px) {

  .scroll-hint {
    bottom: 75px; /* slightly higher */
  }

  .scroll-text {
    font-size: 13px;   /* smaller text */
    letter-spacing: 0.5px;
  }

  .scroll-arrows {
    gap: 4px; /* tighter spacing */
  }

  .scroll-arrow {
    width: 16px;   /* smaller arrow */
    height: 16px;
    border-left: 2px solid var(--neon);
    border-bottom: 2px solid var(--neon);
  }

}

  /* =========================================
   MOBILE: EQUAL STAT BADGES
========================================= */

.stats-row {
  display: grid !important;
  grid-template-rows: repeat(3, 1fr); /* 3 equal tiles */
  gap: 10px;
}

.stat-badge {
  width: 100%;
  text-align: center;
  padding: 12px 8px;
  font-size: 14px;
}



}