/* =======================
   RESET E BASE
   ======================= */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "Sora", sans-serif;
  background-color: #0D0D0D;
  color: #F8F8F8;
  overflow-x: hidden;
}

/* =======================
   HEADER
   ======================= */
.header-container {
  position: relative;
  width: 100%;
  height: 250px;
  background-image: url("../assets/entenda-o-que-e-bdsm-e-como-praticar.png");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-container .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1;
}

.header-content { position: relative; z-index: 2; text-align: center; }
.header-logo { width: 220px; margin-bottom: 20px; }

.nav-links ul { list-style: none; display:flex; gap:40px; justify-content:center; }
.nav-links a { color:#F8F8F8; text-decoration:none; font-weight:600; transition: color .25s; }
.nav-links a:hover { color:#8B0000; }

/* =======================
   CARROSSEL
   ======================= */
.carousel-container {
  position: relative;
  width: 90%;
  max-width: 1100px;
  margin: 80px auto;
  overflow: visible;
  background: transparent;
  border-radius: 12px;
  padding: 40px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel {
  width: 100%;
  background: #000;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 0 25px rgba(0,0,0,0.7);
  overflow: hidden;
}

.carousel-slide {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  transition: opacity 0.5s ease, transform 0.5s ease;
  min-height: 420px;
}

.carousel-slide.active {
  display: flex;
  opacity: 1;
  transform: translateX(0);
}

/* texto */
.slide-text {
  flex: 1;
  text-align: left;
  padding: 20px 30px;
  display: flex;
  align-items: center;
}

.slide-text p {
  font-size: 1.25rem;
  color: #FFFFFF;
  line-height: 1.6;
  font-weight: 600;
  max-width: 520px;
}

/* imagem */
.slide-img {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide-img img {
  width: 100%;
  max-width: 520px;
  height: 420px;
  object-fit: contain;
  border: 4px solid #8B0000;
  border-radius: 12px;
  background: #111;
  box-shadow: 0 0 30px rgba(139,0,0,0.25);
}

.slide-img img.logo-only {
  object-fit: contain;
  padding: 20px;
  height: 100%;
}

/* BOTÕES */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  font-size: 2.2rem;
  cursor: pointer;
  padding: 12px 16px;
  border-radius: 50%;
  transition: background .2s, transform .15s;
  z-index: 30;
  box-shadow: 0 6px 15px rgba(0,0,0,0.5);
}

.carousel-btn:hover {
  background: rgba(139,0,0,0.95);
  transform: translateY(-50%) scale(1.05);
}

.carousel-btn.prev { left: calc(50% - 600px); }
.carousel-btn.next { right: calc(50% - 600px); }

/* =======================
   FOOTER
   ======================= */
.footer-container { background:#111; padding:40px 20px; text-align:center; border-top:2px solid #8B0000; }
.footer-content { display:flex; flex-direction:column; align-items:center; gap:25px; }
.social-links ul { display:flex; gap:20px; list-style:none; }
.social-links img { width:35px; transition:transform .25s; }
.social-links img:hover { transform: scale(1.15); }
.footer-copy { margin-top:20px; color:#777; font-size:0.9rem; }

/* =======================
   RESPONSIVO
   ======================= */

/* Tablets e telas médias */
@media (max-width: 1100px) {
  .carousel-container { padding: 30px 20px; }

  /* Afastar mais as setas */
  .carousel-btn.prev { left: -25px; }
  .carousel-btn.next { right: -25px; }

  /* Diminuir imagem e texto */
  .slide-img img { max-width: 380px; height: 320px; }
  .slide-text p { font-size: 1.1rem; line-height: 1.5; }
}

/* Celulares */
@media (max-width: 768px) {
  .carousel { padding: 20px; }
  .carousel-slide { flex-direction: column; min-height: auto; gap: 22px; }
  .slide-text { padding: 10px; text-align: center; }
  .slide-text p { max-width: none; font-size: 1.05rem; }
  .slide-img img { width: 85%; height: auto; max-width: 360px; }

  /* Afastar as setas para fora do conteúdo */
  .carousel-btn.prev { left: -20px; top: 52%; }
  .carousel-btn.next { right: -20px; top: 52%; }

  /* Reduz um pouco o tamanho das setas */
  .carousel-btn { font-size: 1.8rem; padding: 10px 12px; }
}
