/* ==========================================================================
   HERO.CSS - Full Display / Edge-to-Edge Hero Slider Styles
   ========================================================================== */

/* Full Display Hero Section Wrapper */
.hero-wrapper {
  position: relative;
  width: 100%;
  max-width: 100vw;
  margin: 0;
  padding: 0;
  padding-top: var(--navbar-height, 64px);
  background-color: #1a0f0f;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

/* Full Width Slider Frame - Increased height for laptop and desktop */
.hero-full-slider {
  position: relative;
  width: 100%;
  height: clamp(600px, 80vh, 760px);
  overflow: hidden;
  background-color: #211212;
}

/* Slide Item */
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

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

/* Full Width & Height Background Image */
.hero-slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

/* Cinematic Gradient Overlay for crisp text and vivid images */
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(22, 10, 10, 0.74) 0%,
      rgba(22, 10, 10, 0.45) 50%,
      rgba(22, 10, 10, 0.12) 100%);
  z-index: 2;
}

/* Slide Content Container */
.hero-slide-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 820px;
  color: #ffffff;
  padding-top: clamp(14px, 3vh, 24px);
  padding-bottom: clamp(20px, 4vh, 36px);
}

/* Badge Pill matching site ivory theme - sleek modern slightly rounded */
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 14px 4px 5px;
  background: rgba(251, 244, 236, 0.98);
  border: 1px solid #e5d2c0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  margin-top: 2px;
  margin-bottom: 16px;
}

.hero-pill-badge {
  background: var(--primary-red);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 6px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.25;
}

.hero-pill-text {
  font-size: 0.88rem;
  font-weight: 700;
  color: #382121;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

/* Hero Heading */
.hero-heading {
  font-size: clamp(2.2rem, 4.2vw, 3.5rem);
  font-weight: 900;
  line-height: 1.22;
  color: #ffffff;
  margin: 0 0 18px 0;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.55);
}

.hero-heading .text-highlight {
  color: #ffbe3b;
  font-weight: 900;
  display: inline;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

/* Description */
.hero-description {
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.7;
  color: #fcf6ef;
  margin: 0 0 32px 0;
  max-width: 700px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* CTA Action Buttons */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 12px;
}

.hero-actions .ny-btn-primary {
  background: linear-gradient(135deg, #d72a2a 0%, #8c1a1a 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 6px 20px rgba(215, 42, 42, 0.45);
}

.hero-actions .ny-btn-primary:hover {
  background: linear-gradient(135deg, #e73636 0%, #a11f1f 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(215, 42, 42, 0.55);
}

.hero-actions .ny-btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.85);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  font-weight: 700;
}

.hero-actions .ny-btn-outline:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #8c1a1a;
  transform: translateY(-2px);
}

/* Prev / Next Edge Buttons */
.hero-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(30, 15, 15, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
  backdrop-filter: blur(6px);
}

.hero-nav-arrow:hover {
  background: var(--primary-red);
  border-color: var(--primary-red);
  transform: translateY(-50%) scale(1.08);
}

.hero-nav-arrow.prev {
  left: 24px;
}

.hero-nav-arrow.next {
  right: 24px;
}

.hero-nav-arrow svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* Slider Indicators (Bottom Center) */
.hero-slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid rgba(0, 0, 0, 0.15);
  padding: 0;
}

.hero-dot.active {
  width: 32px;
  border-radius: 12px;
  background: var(--primary-red);
  border-color: var(--primary-red);
}

/* Full Width Bottom Stats Ticker Strip */
.hero-stats-strip {
  width: 100%;
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 24px 0;
  box-shadow: 0 4px 16px rgba(107, 79, 79, 0.05);
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.hero-stat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  position: relative;
}

.hero-stat-card:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: var(--border-subtle);
}

.hero-stat-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(215, 42, 42, 0.09);
  color: var(--primary-red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-stat-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.hero-stat-val {
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--primary-red);
  line-height: 1.1;
  display: block;
}

.hero-stat-desc {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
  display: block;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-full-slider {
    height: clamp(360px, 54vh, 460px);
  }
  .hero-nav-arrow.prev {
    left: 12px;
  }

  .hero-nav-arrow.next {
    right: 12px;
  }

  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .hero-stat-card:nth-child(2)::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-wrapper {
    padding-top: var(--mobile-navbar-height, 60px);
  }

  .hero-full-slider {
    height: clamp(340px, 58vh, 440px);
  }

  .hero-slide-overlay {
    background: linear-gradient(
      to bottom,
      rgba(18, 9, 9, 0.70) 0%,
      rgba(18, 9, 9, 0.85) 60%,
      rgba(18, 9, 9, 0.95) 100%
    );
  }

  .hero-slide-content {
    align-items: center;
    text-align: center;
    max-width: 100%;
    padding-inline: 14px;
    padding-top: 10px;
    padding-bottom: 22px;
  }

  .hero-pill {
    margin-top: 2px;
    margin-bottom: 10px;
    padding: 3px 10px 3px 4px;
    gap: 8px;
    border-radius: 7px;
    max-width: 100%;
  }

  .hero-pill-badge {
    font-size: 0.68rem;
    padding: 2.5px 7px;
    border-radius: 5px;
    white-space: nowrap;
  }

  .hero-pill-text {
    font-size: 0.78rem;
    line-height: 1.25;
  }

  .hero-heading {
    font-size: clamp(1.4rem, 5.2vw, 1.85rem);
    line-height: 1.24;
    margin: 0 0 10px 0;
  }

  .hero-description {
    font-size: 0.88rem;
    line-height: 1.45;
    margin: 0 0 14px 0;
  }

  .hero-actions {
    justify-content: center;
    width: 100%;
    margin-bottom: 8px;
  }

  .hero-actions .ny-btn {
    width: 100%;
  }

  .hero-nav-arrow {
    display: none;
    /* Hide arrows on touch mobile, rely on dots & swipe */
  }

  .hero-slider-dots {
    bottom: 10px;
    gap: 8px;
  }

  .hero-dot {
    width: 10px;
    height: 10px;
  }

  .hero-dot.active {
    width: 26px;
  }

  .hero-stats-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero-stat-card {
    justify-content: flex-start;
    padding-left: 20px;
  }

  .hero-stat-card:not(:last-child)::after {
    display: none;
  }
}

/* Standalone Bootstrap carousel hero */
.herosection-page {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: #fbf4ec;
}



    /* =====================================================
       HERO SECTION
       ===================================================== */

.hero-section {
  position: relative;
  width: 100%;
  padding-top: 64px;
  overflow: hidden;
  background: #fbf4ec;
}



    /* =====================================================
       CAROUSEL
       ===================================================== */

.hero-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}


.hero-carousel .carousel-inner {
  width: 100%;
  overflow: hidden;
}



    /* =====================================================
       DESKTOP SLIDE

       Height same rahegi = 500px
       ===================================================== */

.hero-carousel .carousel-item {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  background: #ead8c5;
}



    /* =====================================================
       IMAGE

       IMPORTANT:
       - Full width
       - Full height
       - No crop
       - No empty space
       ===================================================== */

.hero-carousel .carousel-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center;
  user-select: none;
  -webkit-user-drag: none;
  image-rendering: auto;
}



    /* =====================================================
       IMAGE OVERLAY
       ===================================================== */

.hero-carousel .carousel-item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.10));
}



    /* =====================================================
       PREVIOUS / NEXT BUTTON
       ===================================================== */

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
  top: 50%;
  width: 50px;
  height: 50px;
  margin: 0 22px;
  padding: 0;
  transform: translateY(-50%);
  border: none;
  border-radius: 50%;
  background: rgba(55, 31, 31, 0.55);
  opacity: 0.85;
  z-index: 10;
  transition: background 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}


.hero-carousel .carousel-control-prev:hover,
.hero-carousel .carousel-control-next:hover {
  background: #d72a2a;
  opacity: 1;
}


.hero-carousel .carousel-control-prev:hover {
  transform: translateY(-50%) translateX(-2px);
}


.hero-carousel .carousel-control-next:hover {
  transform: translateY(-50%) translateX(2px);
}



    /* =====================================================
       INDICATORS
       ===================================================== */

.hero-carousel .carousel-indicators {
  margin-bottom: 18px;
  z-index: 10;
}


.hero-carousel .carousel-indicators button {
  width: 8px;
  height: 8px;
  margin: 0 5px;
  padding: 0;
  border: 0;
  border-radius: 20px;
  background-color: #ffffff;
  opacity: 0.65;
  transition: width 0.25s ease, opacity 0.25s ease;
}


.hero-carousel .carousel-indicators button.active {
  width: 25px;
  background-color: #d72a2a;
  opacity: 1;
}



    /* =====================================================
       TABLET
       ===================================================== */

@media (max-width: 992px) {
  .hero-carousel .carousel-item { height: 430px; }
  .hero-carousel .carousel-control-prev,
  .hero-carousel .carousel-control-next {
    width: 44px;
    height: 44px;
    margin: 0 14px;
  }
}



    /* =====================================================
       MOBILE
       ===================================================== */

@media (max-width: 768px) {
  .hero-section { padding-top: 60px; }
  .hero-carousel .carousel-item { height: 260px; }
  .hero-carousel .carousel-control-prev,
  .hero-carousel .carousel-control-next {
    width: 40px;
    height: 40px;
    margin: 0 8px;
  }
  .hero-carousel .carousel-indicators { margin-bottom: 12px; }
  .hero-carousel .carousel-indicators button {
    width: 7px;
    height: 7px;
    margin: 0 4px;
  }
  .hero-carousel .carousel-indicators button.active { width: 21px; }
}



    /* =====================================================
       SMALL MOBILE
       ===================================================== */

@media (max-width: 480px) {
  .hero-carousel .carousel-item { height: 210px; }
  .hero-carousel .carousel-control-prev,
  .hero-carousel .carousel-control-next {
    width: 34px;
    height: 34px;
    margin: 0 5px;
  }
  .hero-carousel .carousel-indicators { margin-bottom: 9px; }
  .hero-carousel .carousel-indicators button {
    width: 6px;
    height: 6px;
    margin: 0 3px;
  }
  .hero-carousel .carousel-indicators button.active { width: 18px; }
}



    /* =====================================================
       VERY SMALL MOBILE
       ===================================================== */

@media (max-width: 360px) {
  .hero-section { padding-top: 58px; }
  .hero-carousel .carousel-item { height: 190px; }
  .hero-carousel .carousel-control-prev,
  .hero-carousel .carousel-control-next {
    width: 31px;
    height: 31px;
    margin: 0 3px;
  }
}



    /* =====================================================
       LANDSCAPE MOBILE
       ===================================================== */

@media (max-width: 900px) and (orientation: landscape) {
  .hero-carousel .carousel-item { height: 240px; }
}

@media (max-width: 480px) {
  .hero-full-slider {
    height: clamp(300px, 52vh, 380px);
  }
}

