:root {
  --rosa: #f2c6cf;
  --bege: #f8f1e7;
  --box-bg: #2c2c2c;
  --texto-claro: #fff;
}

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

.font1 {
  font-family: "Pacifico", cursive;
}
.font2 {
  font-family: 'Playfair Display', serif;
}

body {
  background-color: var(--bege);
  color: #333;
}

header {
  padding: 2rem;
  text-align: center;
  background-color: var(--rosa);
  color: #333;
}
header h1 {
  font-size: 5em;
  text-shadow: 10px 10px 3px rgba(0, 0, 0, 0.3);
}
header p {
  font-size: 1.5em;
}

/* Carrossel */
.carrossel-container {
  overflow: hidden;
  max-width: 95%;
  margin: 2rem auto;
  background-color: var(--box-bg);
  border-radius: 1rem;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.carrossel-track {
  display: flex;
  width: fit-content;
  animation: deslizar 30s linear infinite;
}

.carrossel-track img {
  width: 260px;
  height: auto;
  margin: 1rem;
  border-radius: 1rem;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.carrossel-track img:hover {
  transform: scale(1.05);
}

@keyframes deslizar {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Bio */
section.bio {
  margin: 4rem auto;
  padding: 2rem;
  max-width: 800px;
  text-align: center;
  position: relative;
}

.imagem-pixel {
  width: 300px;
  height: 300px;
  margin: 0 auto;
  background-image: url('foto-drielly.jpg');
  background-size: cover;
  filter: contrast(0) brightness(0);
  animation: pixeliza 1.5s forwards ease-in-out;
}

@keyframes pixeliza {
  0% {
    filter: contrast(0) brightness(0);
    clip-path: inset(50% 50% 50% 50%);
  }
  100% {
    filter: contrast(1) brightness(1);
    clip-path: inset(0 0 0 0);
  }
}

.descricao {
  opacity: 0;
  transform: translateY(20px);
  animation: aparecer 1s 1.6s forwards;
}

@keyframes aparecer {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tabela */
.cards-container {
    padding: 4rem 1rem;
    text-align: center;
    background-color: var(--bege);
}
.cards-container h2 {
    font-size: 4em;
    margin-bottom: 2rem;
}
.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}
.card {
    background-color: var(--rosa);
    color: #333;
    padding: 2rem;
    width: 200px;
    border-radius: 1rem;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(0,0,0,0.3);
}

.btn-personalizar {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.6rem 1.2rem;
    background-color: #ff69b4;
    color: white;
    font-weight: bold;
    border-radius: 2rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.btn-personalizar:hover {
    justify-content: center;
    background-color: #ff85c1;
}

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  top: 9%;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
  z-index: 999;
}
.modal-content {
  background-color: #fff;
  padding: 2rem;
  border-radius: 1rem;
  max-width: 400px;
  width: 90%;
  text-align: left;
  position: relative;
}
.fechar {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
}

.card-descricao h3 {
    text-align: center;
    font-size: 1.5em;
    color: var(--rosa);
    text-shadow: 1px 1px 3px rgb(0, 0, 0);
    padding: 30px;
}

/* Botão para escolhas */
.btn-escolher {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.8rem 2rem;
  background-color: var(--rosa);
  color: #333;
  font-family: 'Pacifico', cursive;
  font-size: 1.3rem;
  border-radius: 2rem;
  box-shadow: 0 4px 10px rgba(255, 198, 207, 0.7);
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
}

.btn-escolher:hover {
  background-color: #d48a9a;
  color: #fff;
  box-shadow: 0 6px 15px rgba(212, 138, 154, 0.8);
}

/* Animação de fade + slide */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Inicialmente escondida */
.bio {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

/* Quando visível */
.bio.ativa {
  animation: fadeUp 0.8s ease forwards;
}

.bio {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, #fff0f5, #fbece9);
  border-top: 2px dashed #ffb6c1;
  border-bottom: 2px dashed #ffb6c1;
}

/* .imagem-pixel {
  width: 250px;
  height: 250px;
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  box-shadow: 0 0 15px rgba(255, 192, 203, 0.6);
  image-rendering: pixelated;
}

.des {
  max-width: 500px;
  font-family: 'Playfair Display', serif;
  color: #3a2c4d;
} */

.des h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-family: 'Pacifico', cursive;
  color: #d94f80;
}

.des p {
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: justify;
}
.instagram{
  display: inline-block;
  margin-top: 1.5rem;
  font-weight: bold;
  color: #c95f8d;
  text-decoration: none;
  font-size: 1.1rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s, color 0.3s;
}

.instagram:hover,
.instagram:focus {
  color: #a33f65;
  border-color: #a33f65;
  outline: none;
}


@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bio.ativa .imagem-pixel {
  animation: fadeUp 0.8s ease forwards;
}

.bio.ativa .descricao {
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.3s;
}

footer {
  background-color: #c95f8d;
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
}

footer a {
  color: #ffe9f0;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}
/* Responsivo */
@media (max-width: 1024px) {
  .carrossel-track img {
    width: 200px;
    margin: 0.75rem;
  }
}

@media (max-width: 700px) {
  .carrossel-container {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .carrossel-track {
    flex-wrap: nowrap;
    animation: none;
    gap: 1rem;
  }

  .carrossel-track img {
    width: 80%;
    scroll-snap-align: center;
    margin: 1rem 0;
  }

   .modal-content {
    max-width: 700px;
    font-size: 1.2rem;
    padding: 3rem;
  }

  
   .bio {
    flex-direction: column;
    text-align: center;
  }

  .imagem-pixel {
    order: -1; /* Coloca a imagem acima do texto */
    width: 200px;
    height: 200px;
    margin-bottom: 1rem;
  }

  .descricao h2 {
    font-size: 1.7rem;
  }

  .descricao p {
    font-size: 1rem;
  }
}

@media (max-width: 650px) {
  .carrossel-container {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    
  }

  .carrossel-track {
    flex-wrap: nowrap;
    animation: deslizarMobile 10s linear infinite; /* velocidade aumentada */
  }

  .carrossel-track img {
    width: 80%;
    flex-shrink: 0;
    scroll-snap-align: center;
    margin: 1rem auto;
  }

   .modal-content {
    max-width: 600px;
    font-size: 1.1rem;
    padding: 2.5rem;
  }

  @keyframes deslizarMobile {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }

   footer {
    font-size: 0.8rem;
    padding: 1.5rem 0.8rem;
  }
}
