/* Shared hero slider — homepage (full) and inner pages (page) */

.hero-slider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
}

.hero-slider--full {
  min-height: 100vh;
  margin-top: 0;
}

.hero-slider--page {
  min-height: 72vh;
  margin-top: var(--nav-height, 72px);
}

.hero-slider__background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  transform: scale(1.02);
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
  transition: opacity 1s ease-in-out, transform 8s ease-out;
}

.hero-slider__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.45) 45%,
    rgba(13, 79, 60, 0.55) 100%
  );
}

.hero-slider__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 48px 16px 80px;
  text-align: center;
}

.hero-slider__breadcrumb {
  justify-content: center;
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.hero-slider__breadcrumb a,
.hero-slider__breadcrumb span {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.hero-slider__breadcrumb a:hover {
  color: var(--safari-gold, #DAA520);
}

.hero-slider__content {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
}

.hero-slide-content {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  position: absolute;
  width: 100%;
  pointer-events: none;
}

.hero-slide-content.active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
  pointer-events: auto;
}

.hero-slider__subtitle {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.8);
}

.hero-slider__title {
  font-family: var(--font-primary);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
  color: #fff;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.85), 0 0 24px rgba(0, 0, 0, 0.5);
}

.hero-slider__title .highlight {
  color: #FFD700;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9), 0 0 16px rgba(218, 165, 32, 0.45);
}

.hero-slider__description {
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  line-height: 1.65;
  max-width: 680px;
  margin: 0 auto 24px;
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.75);
}

.hero-slider__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.hero-slider__actions .btn {
  padding: 11px 24px;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 50px;
  letter-spacing: 0.02em;
  text-transform: none;
}

.hero-slider__actions .btn-primary {
  background: linear-gradient(135deg, #0D4F3C 0%, #228B22 100%);
  border: none;
  box-shadow: 0 6px 22px rgba(13, 79, 60, 0.45);
}

.hero-slider__actions .btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
  color: #fff;
}

.hero-slider__actions .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.hero-slider__contact {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 22px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 50px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.hero-contact-item:hover {
  background: rgba(255, 255, 255, 0.24);
  border-color: #fff;
  transform: translateY(-2px);
  color: #fff;
}

.hero-contact-item i {
  width: 18px;
  height: 18px;
}

.hero-slider__indicators {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}

.hero-slider__indicators .indicator {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}

.hero-slider__indicators .indicator.active,
.hero-slider__indicators .indicator:hover {
  background: #fff;
  border-color: #fff;
  transform: scale(1.15);
}

@media (max-width: 768px) {
  .hero-slider--full {
    min-height: 100svh;
  }

  .hero-slider--full .hero-slider__inner {
    padding-top: calc(var(--nav-height, 72px) + 12px);
  }

  .hero-slider--page {
    min-height: 58svh;
    margin-top: var(--nav-height, 72px);
  }

  .hero-slider__inner {
    padding-bottom: 72px;
  }

  .hero-slider__title {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
  }

  .hero-slider__subtitle {
    letter-spacing: 2px;
    font-size: 0.8rem;
  }

  .hero-slider__description {
    font-size: 0.95rem;
  }

  .hero-slider__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-slider__actions .btn {
    width: 100%;
    max-width: none;
  }

  .hero-slider__contact {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .hero-slider__breadcrumb {
    font-size: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
  }
}
