/**
 * Hero Banner Three (Logistick) - scoped styles for the imported hero section.
 * Only applies inside .hero-banner-three-wrapper so the rest of the site is unchanged.
 */

/* Variables used by banner-three (match logistick theme) */
.hero-banner-three-wrapper {
  --main-600: hsl(358, 86%, 47%);
  --main-two-700: hsl(197, 89%, 6%);
}

/* Background image - size/position (background-image set inline or via JS) */
.hero-banner-three-wrapper.bg-img {
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  width: 100%;
  min-height: 400px;
}

/* Banner three padding and responsive (reduced height) - using aspect ratio for better fit */
.hero-banner-three-wrapper.banner-three {
  padding: 0;
  min-height: 56.25vw;
  /* 16:9 Aspect Ratio */
  max-height: 80vh;
  display: flex;
  align-items: center;
}

@media (max-width: 991px) {
  .hero-banner-three-wrapper.banner-three {
    min-height: 56.25vw;
    max-height: 60vh;
  }
}

@media (max-width: 768px) {
  .hero-banner-three-wrapper.banner-three {
    min-height: 70vh;
    /* Taller on mobile for better visibility */
  }
}

/* Circle with accent (video circle) */
.hero-banner-three-wrapper .before-bg-main-600 {
  z-index: 1;
}

.hero-banner-three-wrapper .before-bg-main-600::before {
  position: absolute;
  content: "";
  width: inherit;
  height: inherit;
  border-radius: inherit;
  background-color: var(--main-600);
  top: 30px;
  left: 0;
  z-index: -1;
}

/* Curve road - visible only on very large screens */
.hero-banner-three-wrapper .curve-road {
  display: none;
}

@media (min-width: 1800px) {
  .hero-banner-three-wrapper .curve-road {
    display: block;
  }
}

/* Utility: z-index for overlays */
.hero-banner-three-wrapper .tw-z-2 {
  z-index: 2;
}

/* Object fit for circle image */
.hero-banner-three-wrapper .object-fit-cover {
  object-fit: cover;
}

/* Hero Overlay - dark gradient for text readability */
.hero-banner-three-wrapper .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.2) 100%);
  z-index: 0;
}

/* Hero Content Styles */
.hero-banner-three-wrapper .hero-content-inner {
  position: relative;
  z-index: 10;
  max-width: 800px;
}

.hero-banner-three-wrapper .hero-subtitle {
  color: #dd1d26;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  display: block;
  font-size: 18px;
}

.hero-banner-three-wrapper .hero-title {
  color: #fff;
  font-size: 65px;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 25px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-banner-three-wrapper .hero-description {
  color: #fff;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 600px;
}

@media (max-width: 991px) {
  .hero-banner-three-wrapper .hero-title {
    font-size: 45px;
  }
}

@media (max-width: 575px) {
  .hero-banner-three-wrapper .hero-title {
    font-size: 35px;
  }
}