/* ===== BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Body styling is handled in nav.css to avoid conflicts */

/* ===== HERO SLIDER WRAPPER ===== */
.hero-slider {
  position: relative;
  min-height: 80vh;
  color: #ffffff;
  overflow: hidden;
  background-color: #111; /* fallback if image not loaded */
  background-size: cover;
  background-position: center center;
  display: flex;
  flex-direction: column;
}

/* Left-side overlay only so text is readable */
.hero-slider::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 55%; /* overlay only on left part */
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.85),
    rgba(0, 0, 0, 0.5),
    rgba(0, 0, 0, 0)
  );
  pointer-events: none;
  z-index: 1;
}

/* Inner layout (text + controls) */
.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3rem clamp(1.5rem, 4vw, 4rem);
  flex: 1;
}

/* ===== TEXT SIDE ===== */
.hero-content {
  max-width: 520px;
}

.hero-kicker {
  display: inline-block;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.hero-heading {
  font-size: clamp(2.1rem, 3vw + 1rem, 3.3rem);
  line-height: 1.1;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.hero-paragraph {
  font-size: 0.98rem;
  line-height: 1.6;
  color: #f0f4f8;
  max-width: 38rem;
}

/* ===== CONTROLS (ARROWS) ===== */
.hero-controls {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: clamp(0.75rem, 2vw, 1.5rem);
  pointer-events: none; /* only arrow buttons themselves get pointer */
}

.hero-arrow {
  pointer-events: auto;
  border: none;
  background: rgba(0, 0, 0, 0.45);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.4);
}

/* Artistic arrow body */
.hero-arrow .arrow-body {
  position: relative;
  width: 18px;
  height: 2px;
  background-color: #ffffff;
}

.hero-arrow .arrow-body::before,
.hero-arrow .arrow-body::after {
  content: "";
  position: absolute;
  right: 0;
  width: 9px;
  height: 2px;
  background-color: #ffffff;
  transform-origin: right center;
}

.hero-arrow-left .arrow-body {
  transform: rotate(180deg);
}

.hero-arrow .arrow-body::before {
  transform: rotate(40deg) translateY(-1px);
}

.hero-arrow .arrow-body::after {
  transform: rotate(-40deg) translateY(1px);
}
/* ===== CLEAN, STRAIGHT PROGRESS BAR – CENTERED BELOW SLIDER ===== */
.hero-progress-wrapper {
  width: 100%;
  text-align: center;
  position: absolute;
  bottom: 22px;
  left: 0;
  z-index: 4;
}

/* No background, no blur */
.hero-progress {
  display: inline-flex;
  gap: 0.55rem;
  padding: 0;        /* remove rounded background */
  background: none;   /* clean */
}

/* Longer, taller, sharper accent bars */
.progress-segment {
  width: 48px;       /* increased for clarity */
  height: 10px;      /* increased for visibility */
  border: none;
  border-radius: 0;   /* REMOVE all border radius */
  cursor: pointer;

  background-image: repeating-linear-gradient(
    135deg,
    #ffffff,
    #ffffff 8px,
    #ffffff 8px,
    #ffffff 16px,
    #ffffff 16px,
    #ffffff 24px,
    #ffffff 24px,
    #ffffff 32px
  );

  opacity: 0.35;
  transition: opacity .25s, transform .25s, box-shadow .25s;
}

/* Hover effect */
.progress-segment:hover {
  opacity: .8;
  transform: translateY(-2px);
}

/* Active slide indicator */
.progress-segment.active {
  opacity: 1;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.45);
}


/* ===== RESPONSIVE – TABLET & MOBILE ===== */
@media (max-width: 900px) {
  /* Make overlay cover more so text stays readable */
  .hero-slider::before {
    width: 100%;
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.85),
      rgba(0, 0, 0, 0.6),
      rgba(0, 0, 0, 0.2)
    );
  }

  /* Center the content block on smaller screens */
  .hero-inner {
    padding: 2.4rem 1.4rem 3.6rem; /* extra bottom for progress bar */
    align-items: flex-start;
    justify-content: center;
    padding-top: 4rem;               /* adjust this value to move even higher */
  padding-bottom: 4rem;            /* keeps spacing at bottom */
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
    margin-top: 60px;
  }

  .hero-heading {
    font-size: clamp(1.9rem, 5vw, 2.4rem);
    line-height: 1.2;
  }

  .hero-paragraph {
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 28rem;
    margin-inline: auto;
  }

  /* Hide arrows on small screens */
  .hero-controls,
  .hero-arrow {
    display: none;
  }

  /* Keep progress bar bottom-center, but slightly closer on mobile */
  .hero-progress-wrapper {
    bottom: 14px;
  }
}

/* Extra fine-tuning for very small phones */
@media (max-width: 600px) {
  .hero-inner {
    padding: 2rem 1rem 3.8rem;
  }

  .hero-heading {
    font-size: clamp(1.7rem, 6vw, 2.1rem);
  }

  .hero-paragraph {
    font-size: 0.9rem;
  }

  .hero-kicker {
    font-size: 0.8rem;
    padding: 0.2rem 0.6rem;
  }

  .hero-progress-wrapper {
    bottom: 12px;
  }
}
