/* Fonts */
@font-face {
  font-family: "Loos Extended";
  src: url("../fonts/fonnts.com-Loos_Extended_Extra_Light.otf") format("opentype");
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: "Loos Extended";
  src: url("../fonts/fonnts.com-Loos_Extended_Black.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
}

/* Fallback for Barlow if not present, but keeping reference */
@font-face {
  font-family: "Barlow";
  src: url("../fonts/Barlow-Regular.woff2") format("woff2");
  font-weight: 400; /* Regular */
  font-style: normal;
}

@font-face {
  font-family: "Barlow";
  src: url("../fonts/Barlow-Medium.woff2") format("woff2");
  font-weight: 500; /* Medium */
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Barlow", sans-serif;
}

body {
  background-color: #EC1C24;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

/* Slider Container - Transparent on Desktop */
.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slider-container::before {
  display: none; /* Removed global container bg */
}

/* Slide Common Styles */
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden; /* Contain pseudo-elements */
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

/* Slide 1 Specifics - Desktop Normal */
#slide-1 {
  background-image: url("../img/Vector-Slider.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 2;
}

#slide-1::before {
    display: none; 
}

/* Logo styling for slide 1 */
.slide-logo {
    width: 40vw;
    margin-bottom: 40px;
}

#slide-1 .main-title-light {
  font-family: "Loos Extended", sans-serif;
  font-weight: 200;
  font-size: 8vw; /* Large fluid size */
  color: white;
  text-transform: uppercase;
  letter-spacing: 0px;
  margin-bottom: 40px;
}

#slide-1 .subtitle {
  font-family: "Barlow", sans-serif;
  font-weight: 400;
  font-size: 1.2rem;
  color: #4a0000; /* Darker red text */
  text-transform: uppercase;
  letter-spacing: 5px;
}

/* Slide 2-6 Specifics - Desktop Flipped via Pseudo */
#slide-2, #slide-3, #slide-4, #slide-5, #slide-6 {
  background-image: none;
}

#slide-2::before,
#slide-3::before,
#slide-4::before,
#slide-5::before,
#slide-6::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../img/Vector-Slider.svg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scaleX(-1); /* Flipped */
    z-index: -1;
}

/* ... Text Styles for 2-6 ... */
#slide-2 .subtitle-top,
#slide-3 .subtitle-top,
#slide-4 .subtitle-top,
#slide-5 .subtitle-top,
#slide-6 .subtitle-top {
  font-family: "Barlow", sans-serif;
  font-weight: 300;
  font-size: 1.5rem;
  color: white;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0px;
  position: relative; /* Ensure above bg */
  z-index: 1;
}

#slide-2 .main-title-bold,
#slide-3 .main-title-bold,
#slide-4 .main-title-bold,
#slide-5 .main-title-bold,
#slide-6 .main-title-bold {
  font-family: "Loos Extended", sans-serif;
  font-weight: 900;
  padding-top: 20px;
  font-size: 15vw;
  color: #4a0000; 
  text-transform: uppercase;
  line-height: 0.8;
  position: relative; /* Ensure above bg */
  z-index: 1;
}

/* Navigation Dots */
.slider-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  z-index: 10;
}

.dot {
  width: 25px;
  height: 4px; /* dashes */
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 2px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot.active {
  background-color: white;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  /* Apply unified background to container */
  .slider-container {
    background-image: url("../img/Mobile-Vector-Slider.svg");
    background-size: cover;
    background-position: center;
  }
  
  /* Disable Desktop Backgrounds */
  #slide-1 {
      background-image: none;
  }
  /* Increase Logo Size on Mobile */
  .slide-logo {
      width: 80vw; /* Up from 40vw */
      margin-bottom: 20px;
  }

  
  #slide-1::before,
  #slide-2::before,
  #slide-3::before,
  #slide-4::before,
  #slide-5::before,
  #slide-6::before {
      display: none;
  }
}
