/* Hero Section Styles */
.hero {
  position: relative;
  /* height: 100vh minus header height (fallback 110px -> 6.875rem if JS fails) */
  height: calc(100vh - var(--header-height, 6.875rem));
  min-height: 40rem; /* Mobile min-height */
  padding-bottom: 2rem;
}

.hero .container {
  height: 100%;
}

.hero-container {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 0; /* No radius on mobile usually, or small */
  overflow: hidden;
  margin: 0 auto;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: var(--bg-desktop);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero .container {
  height: 100%;
}

.hero-container {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 1.25rem; /* 20px */
  overflow: hidden;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .hero-slide {
    background-image: var(--bg-mobile, var(--bg-desktop));
  }
}

.hero-slide.active {
  opacity: 1;
}

/* Hero Video Styles */
.hero-slide.video-slide {
  background: black; /* Fallback */
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 32.3%,
    rgba(0, 0, 0, 0.6) 73.29%,
    rgba(0, 0, 0, 0.2) 106.82%
  );
  mix-blend-mode: normal;
  opacity: 0.8;
  z-index: 2;
  border-radius: 1.25rem; /* 20px */
}

.hero-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--enaya-white);
}

.hero-social-icons {
  display: flex;
  flex-direction: column;
  gap: 1.25rem; /* 20px */
}

.hero-social-icons a,
.hero-social-icons img {
  width: 1.25rem;
  height: 1.25rem;
}

.slider-dot {
  width: 0.5rem; /* 8px */
  height: 0.5rem; /* 8px */
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background-color: var(--enaya-white);
  transform: scale(1.2);
}

.hero-subtitle {
  font-size: 1.5rem; /* 24px */
  font-weight: 600;
  margin-bottom: 0.625rem; /* 10px */
  text-transform: uppercase;
}
.hero-logo {
  width: 7.657rem; /* 200px */
  height: auto;
  margin-bottom: 1.73875rem; /* 27.82px */
}

.hero-title {
  font-size: 4.375rem; /* 70px */
  line-height: 5rem; /* 80px */
  font-weight: 400;
  text-transform: uppercase;
  max-width: 62.5rem; /* 1000px */
  margin-bottom: 0.75rem; /* 12px */
  margin-top: 0;
}

.hero-description {
  font-size: 1.375rem; /* 22px */
  line-height: 1.875rem; /* 30px */
  margin-bottom: 2.330625rem; /* 37.29px */
  max-width: 62.5rem; /* 1000px */
  margin-top: 0;
}

.hero-social-sidebar {
  position: absolute;
  left: 2.5rem; /* 40px */
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
}

.hero-center-content {
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  margin-bottom: 5.269375rem; /* 84.31px */
}

/* Update dots to be relative/static within the flex container */
.hero-slider-dots {
  display: flex;
  gap: 0.625rem; /* 10px */
  position: static;
  margin: 0;
  margin-right: auto;
  position: absolute;
  left: 3.0625rem; /* 49px */
  bottom: 0;
  z-index: 9;
}

.hero-content {
  max-width: 62.5rem; /* 1000px */
  margin: 0 auto;
}

.hero-buttons {
  display: flex;
  gap: 1.25rem; /* 20px */
}

/* Base override for mobile image if set */
@media (max-width: 768px) {
  .hero-slide {
    background-image: var(--bg-mobile, var(--bg-desktop));
  }
}

.hero-slide.active {
  opacity: 1;
}

/* Hero Video Styles */
.hero-slide.video-slide {
  background: black;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.hero-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--enaya-white);
  padding: 0 1rem;
  max-width: 100%;
}

/* Mobile defaults for sidebar (Hidden or Bottom) */
.hero-social-sidebar {
  display: none; /* Hide on small mobile by default */
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
}

.hero-social-icons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-social-icons a,
.hero-social-icons img {
  width: 1.25rem;
  height: 1.25rem;
}

.slider-dot {
  width: 0.5rem;
  height: 0.5rem;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background-color: var(--enaya-white);
  transform: scale(1.2);
  border-radius: 1rem;
}

.hero-subtitle {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.hero-buttons {
  display: flex;
  gap: 0.75rem;
  width: 100%;
  align-items: center;
  justify-content: center;
}

.hero-main-content {
  display: flex;
  align-content: flex-end;
  align-items: center;
  width: 100%;
  height: 100%;
  flex-wrap: wrap;
}

/* =========================================
   Responsive Breakpoints
   ========================================= */
/* Small mobile devices (≤ 529px) */
@media (max-width: 529px) {
  .hero {
    height: calc(41vh - var(--header-height, 6.875rem));
  }
  .hero-title {
    font-size: 2.375rem;
    line-height: 3rem;
  }
  .hero-description {
    font-size: 1.2rem;
  }
}
/* Medium mobile devices (530px–767px) */
@media (min-width: 530px) and (max-width: 767px) {
  .hero {
    height: calc(50vh - var(--header-height, 6.875rem));
  }
  .hero-title {
    font-size: 3rem;
    line-height: 3.5rem;
  }
}
/* Tablets (768px–1023px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .hero {
    height: calc(50vh - var(--header-height, 6.875rem));
  }
  .hero-title {
    font-size: 3.5rem;
    line-height: 4rem;
  }
}
