/* 
========================================
INDIGO TMT - Hero Styles
========================================
*/

/* Hero Slider Section */
.hero-slider-section {
  min-height: 100vh; /* Minimum height for short screens */
  position: relative;
  z-index: 1; /* Ensure it's behind the navbar */
}

#heroCarousel {
  height: 100%;
}

#heroCarousel .carousel-inner,
#heroCarousel .carousel-item {
  height: 100%;
}
.hero-highlight {
  background: var(--secondary);
  width: max-content;
  margin: 0 auto;
  color: white !important;
  padding: 5px 15px 2px 15px;
  border-radius: 20px;
  font-size: 16px;
}
/* Individual Slide Styling */
#heroCarousel .carousel-item {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  /* Ken Burns Effect */
  animation: kenburnsEffect 25s ease-in-out infinite alternate;
  transform-origin: center center;
}

/* Dark Overlay */
#heroCarousel .carousel-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.6) 100%);
  z-index: 1;
}

/* Content Container & Centering */
#heroCarousel .carousel-container {
  position: relative;
  z-index: 2;
  padding-left: 15px;
  padding-right: 15px;
}

#heroCarousel .carousel-content {
  /* Content is centered vertically by the flex container (.carousel-container) */
  max-width: 900px; /* Adjust max-width as needed */
}

/* Typography */
#heroCarousel .carousel-content h5 {
  color: var(--primary-light);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

#heroCarousel .carousel-content h1 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: clamp(2.5rem, 6vw, 4.5rem); /* Responsive font size */
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

#heroCarousel .carousel-content p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
}

/* Buttons */
#heroCarousel .hero-buttons .btn {
  padding: 0.8rem 2rem;
  font-size: clamp(0.9rem, 2vw, 1rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--border-radius-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: var(--shadow-md);
}

#heroCarousel .hero-buttons .btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Carousel Controls */
#heroCarousel .carousel-indicators {
  position: absolute;
  bottom: 2rem;
  z-index: 15;
  padding-left: 0;
  margin-right: 15%;
  margin-left: 15%;
  list-style: none;
}

#heroCarousel .carousel-indicators button {
  box-sizing: content-box;
  flex: 0 1 auto;
  width: 30px; /* Width of the line */
  height: 3px; /* Height of the line */
  padding: 0;
  margin-right: 3px;
  margin-left: 3px;
  text-indent: -999px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.5); /* Inactive line color */
  background-clip: padding-box;
  border: 0;
  border-top: 10px solid transparent; /* Adds vertical space */
  border-bottom: 10px solid transparent; /* Adds vertical space */
  opacity: 0.5;
  transition: opacity 0.6s ease;
  border-radius: 0; /* Make it a line */
}

#heroCarousel .carousel-indicators button.active {
  opacity: 1;
  background-color: var(--primary); /* Active line color */
}

#heroCarousel .carousel-control-prev,
#heroCarousel .carousel-control-next {
  width: 5%;
  z-index: 10;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

#heroCarousel .carousel-control-prev:hover,
#heroCarousel .carousel-control-next:hover {
  opacity: 1;
}

#heroCarousel .carousel-control-prev-icon,
#heroCarousel .carousel-control-next-icon {
  background-size: 60%, 60%;
  width: 3rem;
  height: 3rem;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
}

/* Animations */
@keyframes kenburnsEffect {
  0% {
    transform: scale(1) translate(0%, 0%);
  }
  100% {
    transform: scale(1.08) translate(-2%, 1%);
  }
}

.animated {
  animation-duration: 1s;
  animation-fill-mode: both;
}

.fadeInUp {
  animation-name: fadeInUp;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 50px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* Delay classes */
.delay-1s { animation-delay: 0.2s; }
.delay-2s { animation-delay: 0.4s; }
.delay-3s { animation-delay: 0.6s; }
.delay-4s { animation-delay: 0.8s; }

/* Ensure animations are hidden until active */
.carousel-item:not(.active) .animated {
  opacity: 0;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  #heroCarousel .carousel-content h1 {
    font-size: clamp(3.2rem, 5.5vw, 5rem);
    padding-left: 10px;
    padding-right: 10px;
  }
  #heroCarousel .carousel-content p {
    margin-bottom: 2rem;
    font-size: 18px !important;
    padding-left: 10px;
    padding-right: 10px;
  }
  #heroCarousel .carousel-content h5 {
    font-size: 16px !important;
  }
  .hero-slider-section {
    min-height: 100vh;
  }
  #heroCarousel .hero-buttons .btn {
    margin-bottom: 0 !important;
  }
}

@media (max-width: 767.98px) {
  #heroCarousel .carousel-control-prev,
  #heroCarousel .carousel-control-next {
    display: none; /* Hide arrows on smaller screens */
  }
  #heroCarousel .carousel-indicators {
    bottom: 1rem;
  }
  #heroCarousel .hero-buttons .btn {
    padding: 0.7rem 1.5rem;
  }
  #heroCarousel .hero-buttons .btn {
    margin-right: 1rem !important;
  }
}

@media (max-width: 575.98px) {
  #heroCarousel .carousel-content h1 {
    font-size: clamp(3rem, 7vw, 5.8rem);
  }
  #heroCarousel .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  #heroCarousel .hero-buttons .btn {
    width: 80%;
    margin-bottom: 0.75rem !important;
    margin-right: 0 !important;
  }
  #heroCarousel .carousel-content h5 {
    font-size: 14px !important;
  }
}

/* Hero Section */
.hero-section {
  padding: 8rem 0 5rem;
  position: relative;
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Hero with background image */
.hero-section.with-bg {
  color: white;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-section.with-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
  z-index: 1;
}

.hero-section.with-bg .container {
  position: relative;
  z-index: 2;
}

/* Hero content */
.hero-section h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-section p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-section .hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

/* Product hero section */
.product-hero-section {
  background-color: var(--white);
  padding: 6rem 0 3rem;
}

.product-hero-section h1 {
  color: var(--dark);
  font-size: 3rem;
}

.product-hero-section .product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 2rem 0;
}

.product-hero-section .product-meta-item {
  display: flex;
  align-items: center;
}

.product-hero-section .product-meta-item i {
  font-size: 1.25rem;
  color: var(--primary);
  margin-right: 0.5rem;
}

.product-hero-section .product-image {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease;
  overflow: hidden;
}

.product-hero-section .product-image:hover {
  transform: scale(1.02);
}

.product-hero-section .product-image img {
  width: 100%;
  height: auto;
}

/* Product gallery thumbnails */
.product-gallery-thumbs {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.product-gallery-thumb {
  width: 80px;
  height: 80px;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.product-gallery-thumb:hover,
.product-gallery-thumb.active {
  border-color: var(--primary);
}

.product-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Responsive adjustments */
@media (max-width: 1199.98px) {
  #heroCarousel h1,
  .hero-section h1 {
    font-size: 3rem;
  }
  
  .product-hero-section h1 {
    font-size: 2.75rem;
  }
}

@media (max-width: 991.98px) {
  #heroCarousel h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  }
  
  #heroCarousel p {
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    margin-bottom: 2rem;
  }
  
  .hero-section {
    padding: 6rem 0 4rem;
  }
  
  .hero-section h1 {
    font-size: 2.75rem;
  }
  
  .product-hero-section {
    padding: 5rem 0 3rem;
  }
  
  .product-hero-section h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 767.98px) {
  #heroCarousel .carousel-caption {
    padding-top: 90px; /* Increase padding for smaller screens */
    padding-bottom: 4rem;
  }
  
  #heroCarousel .carousel-indicators {
    bottom: 1rem;
  }
  
  #heroCarousel .carousel-control-prev,
  #heroCarousel .carousel-control-next {
    display: none; /* Hide arrows on small devices, rely on swipe */
  }
  
  .hero-section {
    padding: 5rem 0 3rem;
  }
  
  .hero-section h1 {
    font-size: 2.25rem;
  }
  
  .hero-section p {
    font-size: 1.1rem;
  }
  
  .product-hero-section {
    padding: 4rem 0 2rem;
  }
  
  .product-hero-section h1 {
    font-size: 2.25rem;
  }
  
  .product-gallery-thumb {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 575.98px) {
  #heroCarousel h1 {
    font-size: clamp(2rem, 6vw, 2.5rem);
  }
  
  #heroCarousel p {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    margin-bottom: 1.5rem;
  }
  
  #heroCarousel .hero-buttons .btn {
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
  }
  
  #heroCarousel .carousel-indicators button {
    width: 8px;
    height: 8px;
  }
  #heroCarousel .carousel-indicators button.active {
    width: 10px;
    height: 10px;
  }
  
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .product-hero-section h1 {
    font-size: 2rem;
  }
  
  .product-hero-section .product-meta {
    gap: 1rem;
  }
} 
.carousel-item p {
  font-size: 22px !important;
  font-family: 'khand';
  font-weight: 500;
  color: var(--lightest);
}
.carousel-item h1 {
  margin-bottom: 0px !important;
}

/* .testimonial-carousel p {
  font-size: 14px !important;
}
.testimonial-carousel h6 {
  margin-bottom: -3px !important;
} */