/* =============================================
   NRR — Hero Section Styles
   Prefix: nrr- (avoids conflicts with Elementor)
   Font: Poppins via Google Fonts
============================================= */

/* --- Reset within scope --- */
.nrr-hero *,
.nrr-hero *::before,
.nrr-hero *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* --- Hero wrapper --- */
.nrr-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  font-family: "Poppins", sans-serif;
  overflow: hidden;
}

/* --- Slideshow backgrounds --- */
.nrr-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.nrr-hero__bg.is-active {
  opacity: 1;
}

.nrr-hero__bg--1 { background-image: url("./images/hero-bg.jpg"); }
.nrr-hero__bg--2 { background-image: url("./images/hero-bg-2.jpg"); }
.nrr-hero__bg--3 { background-image: url("./images/hero-bg-3.jpg"); }

/* --- Slide loader / progress bars --- */
.nrr-hero__loader {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
}

.nrr-hero__loader-bar {
  width: 48px;
  height: 3px;
  background: rgba(255, 255, 255, 0.30);
  border-radius: 2px;
  overflow: hidden;
}

.nrr-hero__loader-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: #ffffff;
  border-radius: 2px;
}

/* --- Dark overlay --- */
.nrr-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(255, 51, 23, 0.88) 0%,
    rgba(180, 30, 10, 0.406) 55%,
    rgba(120, 20, 5, 0) 100%
  );
  z-index: 1;
}

/* --- Content container (left-aligned) --- */
.nrr-hero__container {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 100px 80px;
  color: #ffffff;
}

/* --- Headline --- */
.nrr-hero__headline {
  font-size: clamp(30px, 4.5vw, 58px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  color: #ffffff;
  max-width: 680px;
}

/* --- Subheadline --- */
.nrr-hero__sub {
  font-size: clamp(14px, 1.4vw, 17px);
  font-weight: 400;
  line-height: 1.7;
  color: #ffffffe6;
  max-width: 480px;
  margin-bottom: 40px;
}

/* --- CTA Buttons --- */
.nrr-hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.nrr-btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.20s ease;
  border: 2px solid transparent;
}

.nrr-btn--primary {
  background: #2176e8;
  color: #ffffff;
  border-color: #4684d4;
}

.nrr-btn--primary:hover {
  background: #116be1;
  border-color: #36475e;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 51, 23, 0.40);
}

.nrr-btn--outline {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.55);
}

.nrr-btn--outline:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* --- Responsive --- */

/* Tablet */
@media (max-width: 1024px) {
  .nrr-hero__container {
    padding: 80px 48px;
  }
}

/* Mobile landscape / tablet portrait */
@media (max-width: 768px) {
  .nrr-hero {
    min-height: 100svh;
    align-items: flex-end;
  }

  .nrr-hero__bg {
    background-position: center center;
  }

  .nrr-hero__bg--1 {
    background-position: 70% center;
  }

  .nrr-hero__overlay {
    background: linear-gradient(
      to top,
      rgba(200, 40, 10, 0.96) 0%,
      rgba(180, 30, 10, 0.80) 45%,
      rgba(120, 20, 5, 0.10) 100%
    );
  }

  .nrr-hero__container {
    padding: 40px 28px 52px;
    text-align: center;
  }

  .nrr-hero__headline,
  .nrr-hero__sub {
    max-width: 100%;
  }

  .nrr-hero__loader {
    justify-content: center;
  }

  .nrr-hero__ctas {
    justify-content: center;
  }
}

/* Mobile portrait */
@media (max-width: 480px) {
  .nrr-hero__container {
    padding: 32px 20px 48px;
  }

  .nrr-hero__ctas {
    flex-direction: column;
    gap: 12px;
  }

  .nrr-btn {
    width: 100%;
    text-align: center;
    padding: 14px 24px;
  }
}
