@import url('style.css');

/* =================== Slideshow Principal (Home Index) =================== */

/* Wrapper externo: centraliza e aplica moldura fina e elegante */
#hero-slideshow-wrapper {
  width: 90%;
  max-width: 1200px;
  margin: 30px auto;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  background: var(--white);
  padding: 12px;
  transition: var(--transition);
}
#hero-slideshow-wrapper:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(11, 50, 26, 0.1);
}

#hero-slideshow {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
  border-radius: 8px;
  background-color: #06120b; /* fundo escuro para as fotos */
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.hero-slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

/* Dots de navegação do hero */
#hero-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

#hero-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: var(--transition);
  display: inline-block;
}

#hero-dots span.active {
  background: var(--secondary);
  border-color: var(--secondary);
  transform: scale(1.2);
}

/* Responsividade do hero slideshow */
@media (max-width: 1024px) {
  #hero-slideshow { height: 380px; }
}
@media (max-width: 768px) {
  #hero-slideshow-wrapper { width: 95%; padding: 8px; }
  #hero-slideshow { height: 280px; }
}
@media (max-width: 480px) {
  #hero-slideshow { height: 200px; }
  #hero-dots { bottom: 10px; }
}