/* Reset e base */
body {
  margin: 40px 0 0 0;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background-color: #000;
  color: #f8eed7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  text-align: center;
}

/* Modal full screen */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(2px) brightness(1.1);
  -webkit-backdrop-filter: blur(2px) brightness(1.1);
  background-color: rgba(7, 7, 7, 0.74);
}

.modal {
  position: relative;
  width: 90%;
  max-width: 600px;
  overflow: hidden;
  background: none;
  border-radius: 12px;
  box-shadow: none;
}

.modal img {
  width: 100%;
  display: block;
  filter: brightness(0.6);
  object-fit: cover;
}

.modal-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  pointer-events: none;
}

.modal-content h2, .modal-content p, .modal-content button {
  pointer-events: auto;
}

.modal-content h2 {
  font-size: 28px;
  font-weight: bold;
  margin: 0 0 10px 0;
}

.modal-content p {
  font-size: 16px;
  margin-bottom: 20px;
}

/* ===== Botão com efeito de brilho ===== */
.modal-content button {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.modal-content button::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.3),
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.3)
  );
  transform: rotate(25deg);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.modal-content button:hover::before {
  opacity: 1;
  animation: brilho 1.5s linear infinite;
}

/* Animação de brilho */
@keyframes brilho {
  0% {
    transform: rotate(25deg) translateX(-100%);
  }
  100% {
    transform: rotate(25deg) translateX(100%);
  }
}

/* Slideshow */
.slideshow {
  position: relative;
  width: 500px;
  height: 500px;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 15px;
  background-color: #111;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
}

.slideshow img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  display: none;
}

.slideshow img.active {
  display: block;
}

/* Título */
h1 {
  font-size: 2rem;
  margin: 15px 0;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #f8eed7;
}

/* Texto */
p {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 auto 20px;
  max-width: 600px;
  color: #f8eed7;
}

/* Links */
.links {
  margin: 15px 0 25px;
}

.links a {
  display: inline-block;
  margin: 5px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  color: #f8eed7;
  border: 1px solid #f8eed7;
  padding: 8px 18px;
  border-radius: 25px;
  transition: all 0.2s ease;
  background: #222;
  position: relative;
}

.links a:hover {
  background: #464646;
  border-color: #f8eed7;
}

/* Label "Portfólio" com brilho contínuo */
.links a.behance .label {
  position: absolute;
  top: -12px;
  left: -2px;
  transform: rotate(-10deg);
  background: #d40b0b;
  color: white;
  padding: 4px 8px;
  font-size: 12px;
  border-radius: 39px;
  overflow: hidden;
  z-index: 1;
}

.links a.behance .label::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.3),
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.3)
  );
  transform: rotate(25deg);
  animation: brilho 1.5s linear infinite;
  z-index: -1;
  opacity: 1;
}

/* Rodapé */
footer {
  width: 100%;
  border-top: 1px solid #222;
  text-align: center;
  font-size: 12px;
  color: #f5f5f5;
  margin-top: 30px;
  padding: 12px 0;
}

/* Responsivo */
@media (max-width: 1024px) {
  .slideshow {
    width: 70vw;
    height: 70vw;
    max-width: 500px;
    max-height: 500px;
  }
}

@media (max-width: 768px) {
  .slideshow {
    width: 85vw;
    height: 85vw;
    max-width: 400px;
    max-height: 400px;
  }

  .partners img {
    max-width: 90vw;
  }
}

@media (max-width: 480px) {
  .slideshow {
    width: 90vw;
    height: 90vw;
    max-width: 350px;
    max-height: 350px;
  }
}

/* ===== Logo central do meio ===== */
.logo {
  margin: 10px 0;
}

.logo img {
  width: 200px;
  height: auto;
  display: block;
  margin: 0 auto;
}
