/* d:\mobila.md\css\hero.css */
.hero {
  position: relative;
  height: 80vh;
  min-height: 500px;
  overflow: hidden;
  background-color: var(--color-footer-bg);
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: -1;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

/* Slide Content */
.hero-content {
  color: #fff;
  max-width: 800px;
  padding: 0 2rem;
  transform: translateY(30px);
  opacity: 0;
  transition: all 1s cubic-bezier(0.19, 1, 0.22, 1) 0.3s;
}

.hero-slide.active .hero-content {
  transform: translateY(0);
  opacity: 1;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 1rem;
  color: var(--color-accent);
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 2rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Slider Controls */
.hero-nav {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  z-index: 10;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: background var(--transition-normal);
}

.hero-dot.active, .hero-dot:hover {
  background: #fff;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  font-size: 1.5rem;
  transition: all var(--transition-normal);
}

.hero-arrow:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.hero-prev {
  left: 2rem;
}

.hero-next {
  right: 2rem;
}
