/* slider.css */
.slides {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
   left: 0;
  width: 100%;
   height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  background-size: cover;
  background-position: center;
}

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

.slide-1 { background-image: url("https://technext.github.io/jackson/images/img_bg_1.jpg"); }
.slide-2 { background-image: url("https://technext.github.io/jackson/images/img_bg_2.jpg"); }

.slide::before {
  content: "";
  position: absolute; 
  top: 0; 
  left: 0;
  width: 100%;
   height: 100%;
  z-index: 0;
}

.slide-content {
  position: absolute;
  max-width: 480px;
    color: #000;
padding: 0 1rem;

}

/* -- Atenção: ajuste de posição aqui -- */
.slide-1 .slide-content {
  top: 20%;
  left: 1%;
}
.slide-2 .slide-content {
  top: 20%;
  left: 1.5%;
}

/* Tipografia */
.slide-title {
  font-family: 'Playfair Display', serif;
  font-size: 4.5rem;
  line-height: 1;
  margin: 0 0 0.2rem 0;
  font-weight: 600;
  text-align: left;
}

.slide-subtitle {
  font-family: 'Quicksand', sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 0.5rem 0;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
 border: 1px black solid;
  padding: 0.5rem;
  border-radius: .1rem;
  font-family: 'Quicksand', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  text-transform: uppercase;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
 text-decoration: none;
}

.btn-primary {
  background-color: #fff;
  color: #000;
   border: 1px black solid;
}
.btn-primary:hover {
  background-color: #007bff;
  color: #fff;
}

.btn-secondary {
  background-color: transparent;
    color: #000;
     border: 1px black solid;
}
.btn-secondary:hover {
  background-color: #fff;
  color: #000;
}

.slider-controls {
  position: absolute;
  top: 90%;                 /* centraliza verticalmente */
  left: 20px;               /* 40px da borda esquerda, igual ao slide-content */
  transform: translateY(-50%);  
  display: flex;
  flex-direction: column;   /* empilha um botão embaixo do outro */
  gap: 5px;                /* 10px de espaçamento entre eles */
  z-index: 2;
}

.manual-btn {
  background: none;
  border: none;
  cursor: pointer;
}

.manual-btn i {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.3s ease;
    background-color: rgba(116, 113, 113, 0.827);
    border-radius: 50%;
}

.manual-btn.active i {
 
  border-radius: 50%;
  color: #007bff;
  background-color: #fff;

}
