@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,600;0,700;0,900;1,400;1,700&display=swap');

:root {
  --primary: #db0011;
  --bg-color: #050505;
  --text-color: #f5f5f5;
}

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

body.parallax-body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: 'Montserrat', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Header */
.head_exp {
  top: 0;
  background-color: #ed1c24;
  padding: 0.4em;
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  border-bottom-color: rgb(0, 0, 0);
  border-bottom-width: 2px;
  border-bottom-style: solid;
  z-index: 99;
  transition: background-color 0.5s ease-out;
}

.head_exp:hover {
  background-color: #000;
}

.head_exp a {
  display: block;
  width: 150px;
}

.head_exp img {
  width: 100%;
  max-width: 150px;
  display: block;
}

/* Z-Index Utils */
.z-0 {
  z-index: 0;
}

.z-1 {
  z-index: 10;
}

.z-2 {
  z-index: 20;
}

.z-3 {
  z-index: 30;
}

.z-4 {
  z-index: 40;
}

.z-5 {
  z-index: 50;
}

.opacity-20 {
  opacity: 0.2;
}

.opacity-30 {
  opacity: 0.3;
}

.opacity-40 {
  opacity: 0.4;
}

/* Typography - Strictly Montserrat */
h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.5rem, 6vw, 6rem);
  line-height: 1.1;
  font-weight: 900;
  text-transform: uppercase;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.9);
  letter-spacing: -2px;
}

h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 2rem;
  letter-spacing: -1px;
}

p.lead {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  line-height: 1.6;
  font-weight: 600;
}

p.body-text,
ul.stats-list li {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.8;
  color: #dfdfdf;
  margin-bottom: 1.5rem;
}

.color-primary {
  color: var(--primary);
}

.bold {
  font-weight: 700;
}

.highlight-quote {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-style: italic;
  font-weight: 600;
  color: var(--primary);
  border-left: 4px solid var(--primary);
  padding-left: 1.5rem;
  margin: 2rem 0;
  background: rgba(219, 0, 17, 0.05);
  padding: 1.5rem;
  border-radius: 0 10px 10px 0;
}

.quote-author {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 1rem;
  color: var(--text-color);
  display: block;
}

/* Parallax Scenography */
#parallax-wrapper {
  position: relative;
  width: 100%;
}

.scene {
  position: relative;
  width: 100%;
  min-height: 150vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.scene-hero {
  min-height: 120vh;
}

.bg-layer {
  position: absolute;
  top: -10%;
  left: -5%;
  width: 110%;
  height: 120%;
  z-index: 0;
}

.texture-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay-dark {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 5, 5, 0.75);
}

/* Float Elements (Mockups) */
.float-element {
  position: absolute;
  max-width: 50vw;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.8));
  will-change: transform;
}

.hero-img-1 {
  top: 15%;
  right: -5%;
  max-width: 50vw;
}

/* Static Mockup Layouts (Side-by-Side Flex) */
.content-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  width: 100%;
}

.content-grid.reverse {
  flex-direction: row-reverse;
}

.img-col {
  flex: 1 1 50%;
  max-width: 50%;
  width: 100%;
  padding: 0 2rem;
  display: flex;
  justify-content: center;
}

.text-col {
  flex: 1 1 50%;
  max-width: 50%;
  width: 100%;
  padding: 0 2rem;
}

.static-mockup {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.6));
  border-radius: 20px;
  animation: floatMockup 6s ease-in-out infinite;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.4s ease;
}

.static-mockup:hover {
  transform: scale(1.02) translateY(-5px);
  filter: drop-shadow(0 30px 40px rgba(219, 0, 17, 0.25)) drop-shadow(0 15px 20px rgba(0, 0, 0, 0.8));
  animation-play-state: paused;
}

@keyframes floatMockup {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }

  100% {
    transform: translateY(0);
  }
}

/* Text Content Containers - High Contrast */
.content {
  position: relative;
  width: 100%;
  max-width: 1300px;
  padding: 0 5vw;
  pointer-events: none;
}

.text-block {
  /* Stronger background for legibility */
  background: rgba(10, 10, 10, 0.92);
  padding: 3.5rem;
  border-radius: 24px;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7);
  max-width: 100%;
  pointer-events: auto;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.text-block:hover {
  transform: translateY(-5px);
  border-color: rgba(219, 0, 17, 0.3);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8), 0 0 40px rgba(219, 0, 17, 0.15);
}

.hero-content {
  text-align: center;
  padding: 3rem;
  border-radius: 20px;
  pointer-events: auto;
}

.hero-content .sponsor {
  font-size: 1.1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 2rem;
  font-weight: 700;
}

.hero-content .sponsor span {
  color: var(--primary);
}

.hero-content h1 {
  max-width: 1000px;
  margin: 0 auto;
}

.align-right {
  display: flex;
  justify-content: flex-end;
}

.align-left {
  display: flex;
  justify-content: flex-start;
}

.text-center {
  text-align: center;
}

.mx-auto {
  margin: 0 auto;
}

/* Stats list */
ul.stats-list {
  list-style: none;
  margin: 2rem 0;
}

ul.stats-list li {
  position: relative;
  padding-left: 2rem;
  font-weight: 600;
}

ul.stats-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

/* =========================================
   GSAP Horizontal Gallery
   ========================================= */
.scene-gallery {
  min-height: calc(100vh - 65px) !important;
  height: calc(100vh - 65px) !important;
  width: 100vw !important;
  margin: 0 !important;
  display: flex;
  align-items: center;
  justify-content: flex-start !important;
  overflow: hidden;
  /* Hide horizontal scrollbar natively */
  background: #000;
  padding: 0 !important;
  /* Remove padding to touch edges */
}

.gallery-track {
  display: flex;
  margin: 0 !important;
  justify-content: flex-start !important;
  min-height: calc(100vh - 65px) !important;
  height: calc(100vh - 65px) !important;
  width: max-content;
  /* Critical for GSAP horizontal measurement */
}

.gallery-item {
  position: relative;
  width: 100vw;
  margin: 0 !important;
  /* Occupy exactly the full width of the screen */
  min-height: calc(100vh - 65px) !important;
  height: calc(100vh - 65px) !important;
  /* Occupy full height minus header */
  flex-shrink: 0;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Removed border radius and shadows for full-bleed effect */
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* CHANGED FROM CONTAIN TO COVER for a true full-bleed cinematic sequence */
  padding: 0;
  /* Removing padding as requested */
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.02);
  /* More subtle scale for fullscreen */
}

.item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 3rem 2rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  font-weight: 800;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Footer CTA */
.cta-wrapper {
  position: relative;
  width: 100%;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  text-align: center;
  padding: 2rem;
}

.cta-content {
  max-width: 800px;
}

.text-white {
  color: #fff !important;
}

.cta-btn {
  display: inline-block;
  margin-top: 3rem;
  padding: 1.2rem 3.5rem;
  background-color: #fff;
  color: var(--primary);
  text-decoration: none;
  font-weight: 900;
  font-size: 1.3rem;
  text-transform: uppercase;
  border-radius: 50px;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, background-color 0.4s ease, color 0.4s ease;
  pointer-events: auto;
}

.cta-btn:hover {
  transform: scale(1.05) translateY(-5px);
  box-shadow: 0 20px 40px rgba(219, 0, 17, 0.4), 0 5px 15px rgba(0, 0, 0, 0.3);
  background-color: #db0011;
  color: #ffffff !important;
}

/* GSAP utility classes */
.line {
  overflow: hidden;
}

.word {
  display: inline-block;
  transform: translateY(115%);
}

/* =========================================
   RESPONSIVE DESIGN & LEGIBILITY
   ========================================= */

@media (max-width: 1024px) {
  .float-element {
    max-width: 60vw;
    opacity: 0.85;
  }

  .content-grid {
    gap: 2rem;
  }

  .text-block {
    max-width: 100%;
    padding: 2.5rem;
  }

  .hero-content {
  }
}

@media (max-width: 768px) {

  .content-grid,
  .content-grid.reverse {
    flex-direction: column;
    text-align: center;
  }

  .img-col,
  .text-col {
    max-width: 100%;
    width: 100%;
    padding: 0;
  }

  .content-grid .img-col {
    margin-top: 2rem;
  }

  .float-element {
    max-width: 80vw;
    opacity: 0.25;
    /* Severely reduce opacity of mockups on mobile to guarantee text reading */
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.9)) blur(2px);
  }

  /* Bring some prominent ones slightly back */
  .hero-img-1 {
    opacity: 0.35;
    max-width: 100vw;
    filter: none;
  }

  .scene {
    min-height: auto;
    padding: 15vh 0;
  }

  .align-right,
  .align-left {
    justify-content: center;
  }

  .text-block {
    background: rgba(10, 10, 10, 0.95);
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.9);
  }

  .hero-content {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .head_exp img {
    max-width: 120px;
  }

  .text-block {
    padding: 1.5rem;
    border-radius: 16px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  .float-element {
    opacity: 0.2;
  }

  /* Keep them as faint background textures */

  ul.stats-list li {
    font-size: 1rem;
    text-align: left;
  }

  .cta-wrapper {
    min-height: 40vh;
  }

  .cta-btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
  }
}

/* Typography Enhancements for Hero Title */
.hero-title {
  font-size: 4.5rem;
  /* Large professional sizing */
  font-weight: 900;
  /* Extra heavy weight for impact */
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #ffffff;
  /* Explicit white color for dark background */
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 2px 5px rgba(0, 0, 0, 1);
  /* Deep professional shadow to lift off texture */
  text-transform: uppercase;
}

/* Specific highlighted words requested by user */
.highlight-red {
  color: #ff3461 !important;
  text-shadow: 0 0 20px rgba(255, 52, 97, 0.4), 0 0 40px rgba(255, 52, 97, 0.2);
  display: inline-block;
  animation: neonBreathe 3s ease-in-out infinite alternate;
}

@keyframes neonBreathe {
  from {
    text-shadow: 0 0 10px rgba(255, 52, 97, 0.3), 0 0 20px rgba(255, 52, 97, 0.2);
  }

  to {
    text-shadow: 0 0 25px rgba(255, 52, 97, 0.8), 0 0 50px rgba(255, 52, 97, 0.5), 0 0 75px rgba(255, 52, 97, 0.3);
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.8rem;
  }
}