/* ===== Hero Section CSS ===== */

.hero-carousel {
  position: relative;
  top: 50px;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: center;
}
	
.hero-carousel-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  z-index: 0;
  transition: transform 1.2s ease;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  padding: 1.5rem;
  margin: 0 auto;
  box-sizing: border-box;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-inner.reverse {
  flex-direction: column-reverse;
}

@media (min-width: 768px) {
  .hero-inner {
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
  }

  .hero-inner.reverse {
    flex-direction: row-reverse;
  }
}

.hero-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image img {
  max-height: 60vh;
  width: auto;
  object-fit: contain;
  border-radius: 1.5rem;
  animation: float 4s ease-in-out infinite alternate;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

@keyframes float {
  0% { transform: translateY(0); }
  100% { transform: translateY(-15px); }
}

/* Dots navigation */
.hero-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #93c5fd;
  opacity: 0.6;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-dot.active {
  background: #3b82f6;
  opacity: 1;
}

/* ===== Mobile ===== */
@media (max-width: 480px) {
  .hero-carousel {
    top: 5rem;
    height: 40vh;
    padding: 0;
    overflow: hidden;
  }

  .hero-carousel-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
  }

  .hero-content {
    height: 100%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-inner {
    flex-direction: column;
    height: 100%;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    text-align: center;
  }

  .hero-image {
    width: 100%;
    height: auto;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .hero-image img {
    max-height: 80vh;
    max-width: 90vw;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 1rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }

  .hero-dots {
    bottom: 1rem;
    gap: 0.4rem;
  }

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