* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: Arial, sans-serif;
  color: white;
  height: 100%;
  width: 100%;
  overflow-x: hidden;
  overscroll-behavior: none; /* evita pulo em mobile */
}

/* Slideshow */
.slideshow {
  position: fixed;
  inset: 0; /* ocupa exatamente toda a tela */
  z-index: -1;
  overflow: hidden; /* impede que imagens escapem */
}

.slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  will-change: opacity; /* melhora performance mobile */
}

.slideshow img.active {
  opacity: 1;
}

/* Conteúdo */
.content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

/* ===== LOGO ===== */
.logo {
  margin-top: 20px;
  margin-bottom: 15px;
}

.logo img {
  width: 120px;   /* tamanho fixo */
  height: auto;   /* mantém proporção */
  border-radius: 8px;
}

h1 {
  font-size: 1.4rem;
  text-align: center;
  margin-bottom: 20px;
}

/* Botões Sociais */
.social {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.social a img {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease;
}

.social a img:hover {
  transform: scale(1.05);
}

/* Box genérico */
.box {
  background-color: #FFFFFF1A;
  padding: 20px;
  border-radius: 8px;
  margin: 10px 0;
  max-width: 600px;
  text-align: left;
  display: block;
  color: white;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.box:hover {
  transform: scale(1.05);
}

/* Imagens dentro das boxes */
.box img {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 10px;
}

/* Portfólio */
.portfolio {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Contato */
.contato {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* ===== CARROSSEL ===== */
.carousel {
  position: relative;
  max-width: 450px;
  margin: 30px auto;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  background: rgba(255,255,255,0.05);
}

.carousel-images {
  display: flex;
  transition: transform 0.6s ease-in-out;
}

.carousel-images img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  flex-shrink: 0;
  cursor: pointer;
}

.carousel-buttons {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 10px;
}

.carousel-buttons button {
  background: none;
  border: none;
  color: rgba(255,255,255,0.8);
  font-size: 40px;
  cursor: pointer;
  transition: opacity 0.3s;
}

.carousel-buttons button:hover {
  opacity: 1;
  color: #fff;
}

.carousel-dots {
  text-align: center;
  margin: 10px 0;
}

.carousel-dots span {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 5px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  cursor: pointer;
}

.carousel-dots .active {
  background: #fff;
}

/* Rodapé */
footer {
  text-align: center;
  margin-top: 30px;
  font-size: 0.9rem;
  background-color: #000000AA;
  padding: 15px;
  border-radius: 8px;
}

footer a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

footer a:hover {
  text-decoration: underline;
}

/* ===== Lightbox ===== */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255,255,255,0.3);
}

.lightbox.active {
  display: flex;
}

/* Botões do Lightbox */
.lightbox button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255,255,255,0.8);
  font-size: 48px;
  cursor: pointer;
  padding: 10px;
  transition: opacity 0.3s;
}

.lightbox button:hover {
  opacity: 1;
  color: #fff;
}

.lightbox .prev {
  left: 30px;
}

.lightbox .next {
  right: 30px;
}

.lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}
