/* ---- RESET E ESTILOS GERAIS ---- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #101828;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #f5f5f7;
  -ms-overflow-style: none; /* Para Internet Explorer e Edge antigo (legado) */
  min-height: 100vh;

  display: flex;
  flex-direction: column; 
}

/* Para Firefox */
html {
  scrollbar-width: none;
}

/* Para navegadores baseados em WebKit (Chrome, Safari, Edge, Opera) */
body::-webkit-scrollbar {
  display: none;
}

/* ---- ANIMAÇÃO DE CORAÇÕES ---- */
#coracoes-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.coracao {
  position: absolute;
  top: -50px;
  font-size: 24px;
  color: red;
  user-select: none;
  animation: chover linear;
}

@keyframes chover {
  to {
    transform: translateY(110vh);
    opacity: 0;
  }
}

/* ---- TELA DE ENTRADA ---- */
#tela-entrada {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100%;
  position: fixed;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.5s ease-out;
  visibility: hidden;

  flex-grow: 1; 
}

#tela-entrada.visivel {
  opacity: 1;
  visibility: visible;
}

.caixa-entrada {
  text-align: center;
}

.caixa-entrada h1 {
  font-size: 4rem;
  font-weight: 600;
}

.caixa-entrada p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 30px;
}

#botao-entrar {
  background-color: #007aff;
  color: white;
  border: none;
  padding: 12px 25px;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.3s;
}

#botao-entrar:hover {
  background-color: #1a8cff;
}

/* ---- CONTEÚDO PRINCIPAL ---- */
#conteudo-principal {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 40px;
  width: 90%;
  max-width: 800px;
  margin: 5vh auto;
  position: relative;
  z-index: 5;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  transition: opacity 0.3s ease-in-out;

  flex-grow: 1; 
}

#conteudo-principal.visivel {
  opacity: 1;
}

#conteudo-principal h2 {
  text-align: center;
  font-weight: 600;
  margin-bottom: 20px;
}

/* ---- BOTÕES (DENTRO DO CONTEÚDO PRINCIPAL) ---- */
#botao-fechar,
.botao-voltar {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.3s;
  z-index: 15;
}

#botao-fechar:hover,
.botao-voltar:hover {
  color: white;
}

/* ---- ELEMENTOS DA TELA PRINCIPAL ---- */
#parabenizacao {
  font-weight: 600;
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 25px;
}

.slideshow-container {
  width: 100%;
  max-width: 350px;
  height: 450px;
  border-radius: 15px;
  position: relative;
  margin-bottom: 40px;
  flex-shrink: 0;
}

.slideshow-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.slideshow-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  border-radius: 15px;
}

.slideshow-container img.visivel {
  opacity: 1;
}

.controle-slide {
  position: absolute;
  top: 45%;
  display: flex;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.3s;
  z-index: 10;
}

.controle-slide:hover {
  color: white;
}

.prev {
  left: 15px;
}

.next {
  right: 15px;
}

#contador {
  font-size: 1.75rem;
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.5px;
  line-height: 1.5;
  margin-bottom: 40px;
}

.galeria-meses h2 {
  text-align: center;
  font-weight: 600;
  margin-bottom: 20px;
}

.botoes-meses {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.botao-galeria {
  background-color: #007aff;
  color: white;
  border: none;
  padding: 12px 25px;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.botao-galeria:hover {
  background-color: #1a8cff;
}

/* ---- GALERIA DE FOTOS ---- */
.fotos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  width: 100%;
}

.fotos img {
  width: calc(50% - 8px);
  flex-grow: 1;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* ---- MEDIA QUERIES ---- */
@media (max-width: 600px) {
  .fotos img {
    width: 100%; /* Uma única coluna */
  }

  #parabenizacao {
    font-size: 1.2rem;
  }

  #conteudo-principal {
    padding: 20px;
    width: 95%; /* Caixa ocupa mais da tela no celular */
  }
}



/* ---- RODAPÉ -----*/
/* Apenas o texto, fixo na parte de baixo, sem fundo. */
#informacoes-container {
    display: block;
    position: relative;
    margin-top: 10px;
    margin-bottom: 40px;
    
    /* Remove qualquer estilo de caixa */
    background: none;
    border: none;
    backdrop-filter: none;
    box-shadow: none;
    
    /* Estilo do texto */
    text-align: center;
    color: rgba(240, 240, 240, 0.6); /* Texto branco com leve transparência */
    font-size: 13px;

    /* Transição suave para quando o estilo mudar */
    transition: all 0.5s ease-in-out;
}

/* Os estilos dos textos e links permanecem os mesmos */
#informacoes-container p, #informacoes-container div {
    margin: 1px 0;
}

#informacoes-container p1 {
    font-size: 11px;
}

#informacoes a {
    color: rgb(76, 175, 80);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

#informacoes a:visited {
    color: #4CAF50;
}

#informacoes a:hover {
    color: #66ffbe;
}
