/* ============================================================
   ESTILOS EXCLUSIVOS DA PÁGINA EVENTO ALINHAR
============================================================ */

/* Fundo geral com efeito estático */
body.evento-page {
  font-family: "Segoe UI", sans-serif;
  color: #fdf6f0;
  min-height: 100vh;

  background-image: url("movimento_alinhar/alinhar_9.jpeg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;

  position: relative;
}

/* Overlay do fundo */
body.evento-page::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(15, 8, 5, 0.55);
  z-index: -1;
}

/* Layout principal */
#conteudo-evento {
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 20px 70px;
}

/* ============================================================
   HERO DO EVENTO
============================================================ */

.hero-evento {
  margin-bottom: 40px;
}

.hero-evento-inner {
  background: rgba(0,0,0,0.35);
  border-radius: 18px;
  padding: 32px 26px;
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  text-align: center;
}

.hero-evento-inner h1 {
  font-size: 2.6rem;
  color: #f5e3b3;
  margin-bottom: 12px;
}

.hero-evento-inner p {
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ============================================================
   CARROSSEL
============================================================ */

.evento-carousel-section {
  margin-top: 20px;
  margin-bottom: 40px;
  text-align: center;
}

.evento-carousel-section h2 {
  font-size: 1.9rem;
  color: #f5e3b3;
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: 1rem;
  max-width: 700px;
  margin: 0 auto 22px;
}

/* Container principal */
.carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

/* Área visível */
.carousel-viewport {
  flex: 1;
  max-width: 900px;
  height: 420px;
  overflow: hidden;
  border-radius: 18px;
  position: relative;
}

/* Faixa do carrossel */
.carousel-track {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform 0.5s ease-in-out;
}

/* Slide */
.carousel-slide {
  min-width: 100%;
  height: 100%;
  flex-shrink: 0;
  cursor: pointer;
}

/* Imagens enquadradas */
/* WRAPPER para permitir fundo borrado */
.carousel-slide {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
}

/* Fundo borrado da própria imagem */
.carousel-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(25px);
  transform: scale(1.2);
  opacity: 0.5;
  transition: 0.3s ease;
}

/* A imagem principal sobre o blur */
.carousel-slide img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

/* === MUITO IMPORTANTE ===
   Cada slide ganha seu fundo borrado automaticamente
*/
.carousel-slide:nth-child(1)::before {
  background-image: url("movimento_alinhar/alinhar_1.jpeg");
}
.carousel-slide:nth-child(2)::before {
  background-image: url("movimento_alinhar/alinhar_2.jpeg");
}
.carousel-slide:nth-child(3)::before {
  background-image: url("movimento_alinhar/alinhar_3.jpeg");
}
.carousel-slide:nth-child(4)::before {
  background-image: url("movimento_alinhar/alinhar_4.jpeg");
}


/* Botões */
.carousel-button {
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.3rem;
}

.carousel-button:hover {
  background: rgba(0,0,0,0.8);
}

/* Bolinhas */
.carousel-dots {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: 0.25s ease;
}

.carousel-dot.active {
  width: 22px;
  background: #f5e3b3;
}

/* ============================================================
   SEÇÃO DE TEXTO FINAL
============================================================ */

.evento-texto-final {
  margin-top: 40px;
}

.evento-texto-card {
  background: rgba(0,0,0,0.35);
  border-radius: 18px;
  padding: 26px 22px;
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
}

.evento-texto-card h2 {
  font-size: 1.7rem;
  color: #f5e3b3;
  margin-bottom: 12px;
}

.evento-texto-card p {
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 8px;
}

/* ============================================================
   SEÇÃO DE VÍDEOS
============================================================ */

.evento-videos-section {
  margin-top: 50px;
  margin-bottom: 40px;
  text-align: center;
}

.evento-videos-section h2 {
  font-size: 2rem;
  color: #f5e3b3;
  margin-bottom: 12px;
}

.evento-videos-section p {
  max-width: 700px;
  margin: 0 auto 25px;
}

/* Grid dos vídeos */
.evento-videos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

/* Cards dos vídeos */
.evento-video-card {
  background: rgba(0,0,0,0.35);
  border-radius: 18px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.15);
}

.evento-video-card video {
  width: 100%;
  height: 280px;
  object-fit: contain;
  background-color: #000;
  border-radius: 12px;
}

/* Fullscreen fix */
video:fullscreen,
video:-webkit-full-screen {
  object-fit: contain !important;
  background-color: #000 !important;
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .evento-videos-grid {
    grid-template-columns: 1fr;
  }

  .evento-video-card video {
    height: 220px;
  }

  .carousel-viewport {
    height: 260px;
  }
}

/* ============================================================
   MODAL (LIGHTBOX)
============================================================ */

.img-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(6px);
  justify-content: center;
  align-items: center;
  z-index: 999999;
  cursor: zoom-out;
}

.img-lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 12px;
  cursor: default;
}

.img-lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  font-weight: bold;
  user-select: none;
}

.img-lightbox-close:hover {
  color: #f5e3b3;
  transform: scale(1.2);
}

/* ============================================================
   SEÇÃO — LEVAR O EVENTO ALINHAR PARA OUTRAS CIDADES
============================================================ */

.evento-contato-section {
  margin-top: 60px;
  margin-bottom: 60px;
  display: flex;
  justify-content: center;
  padding: 0 20px;
}

.evento-contato-card {
  width: 100%;
  max-width: 750px;
  background: rgba(0,0,0,0.35);
  border-radius: 18px;
  padding: 32px 26px;
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  text-align: center;
}

.evento-contato-card h2 {
  font-size: 2rem;
  color: #f5e3b3;
  margin-bottom: 10px;
}

.evento-contato-sub {
  font-size: 1rem;
  margin-bottom: 25px;
  color: #fdf6f0;
}

/* FORMULÁRIO */
#eventoContatoForm {
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: left;
}

#eventoContatoForm label {
  color: #f5e3b3;
  font-weight: 600;
  font-size: 1rem;
}

#eventoContatoForm input,
#eventoContatoForm textarea {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: white;
  font-size: 1rem;
  resize: none;
}

#eventoContatoForm textarea {
  height: 140px;
}

/* BOTÃO */
.evento-contato-btn {
  margin-top: 10px;
  padding: 14px;
  border-radius: 12px;
  background-color: #a1887f;
  color: white;
  border: none;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: 0.25s ease;
}

.evento-contato-btn:hover {
  background-color: #8d6e63;
  transform: translateY(-2px);
}

/* Responsivo */
@media (max-width: 768px) {
  .evento-contato-card {
    padding: 24px 18px;
  }
}
