/* SECÇÃO GERAL */
html, body {
  overflow-x: hidden;
}

  
/* IMAGEM PRINCIPAL */
.imagem-principal {
  position: relative;
  border: 2px solid #ffffff;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1rem;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.imagem-principal img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
}

/* SETA SOBRE A IMAGEM */
.seta {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px; 
  height: 70px;
  animation: bounce 1.5s infinite;
}


/* Animação de pulo */
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, -10px); }
}


  /* MENSAGEM DE BOAS-VINDAS */
  .mensagem-boas-vindas h1 {
    font-family: 'Playfair Display', serif;
    text-align: center;
    font-size: 50px;
    color: #800000;
    font-weight: 700;
    margin: 2rem 0 1rem 0;
    line-height: 1.1;
  }
  
  .mensagem-boas-vindas .destaque {
    color: #800000;
    font-weight: bold;
  }
  
  .mensagem-boas-vindas .subtexto {
  font-family: 'Pompeire', cursive;
  text-align: center;
  font-size: 25px;
  color: #333;
  margin-top: 1rem;
  line-height: 1.3;
  }
  
  .mensagem-boas-vindas .subtexto1 {
    font-family: 'Pompeire', cursive;
    text-align: left;
    font-size: 20px;
    color: #333;
    margin-top: 1rem;
    line-height: 1.3;
    }
  /* DATA COM ECG */
/* Cabeçalhos principais: "Marca na Agenda" */
.marcar-agenda h2 {
  font-family: 'Playfair Display', serif;
  text-align: center;
  font-size: 50px;
  color: #800000;
  font-weight: 700;
  margin: 2rem 0 1rem 0;
  line-height: 1.1;
}

.data-com-ecg {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.data-com-ecg .ecg {
  width: 40px;
  height: auto;
  vertical-align: middle;
}

.data-com-ecg .dia,
.data-com-ecg .mes,
.data-com-ecg .ano {
  font-size: 40px;                         /* tamanho atualizado */
  font-weight: bold;
  color: #000;                             /* preto */
  font-family: 'Playfair Display', serif; /* fonte definida */
}

  
  
  .frase-romantica {
    font-family: 'Pompeire', cursive;
    text-align: center;
    font-size: 20px;
    color: #333;
    margin-top: 1rem;
    line-height: 1.3;
  }
  .frase-romantica2 {
    font-family: 'Pompeire', cursive;
    text-align: left;
    font-size: 20px;
    color: #333;
    margin-top: 1rem;
    line-height: 1.3;
  }
  
  /* COUNTDOWN */
  .countdown {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 0px;
    margin-bottom: 0px;
    background: #e4d1d0;
    padding: 10px;
    border-radius: 1rem;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
  
  .countdown .box {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0%;
  }
  
  .countdown .box span {
    font-size: 2rem;
    font-weight: bold;
    color: #000;
  }
  
  .countdown .box p {
    font-size: 0.8rem;
    margin-top: 10px;
    text-transform: uppercase;
    color: #333;
    margin-bottom: 0px;
  }
  
  /* segunda parte do site*/
  body {
    font-family: 'Georgia', serif;
    background: #fff;
    color: #333;
    margin: 0;
    padding: 0;
  }
  
  .container {
    max-width: 900px;         /* largura máxima do container */
    
    margin-top: 10px;         /* distância do topo da página */
    margin-bottom: 10px;      /* distância do rodapé ou próximo conteúdo */
    margin-left: auto;        /* centraliza horizontalmente */
    margin-right: auto;
  
    padding-top: 10px;        /* espaço interno superior */
    padding-bottom: 10px;     /* espaço interno inferior */
    padding-left: 15px;       /* espaço interno esquerdo */
    padding-right: 15px;
  
    background-color: #fff;   /* opcional: fundo branco */
    border-radius: 16px;      /* bordas arredondadas */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.00); /* leve sombra para destacar */
  }
  
  .containerpi {
    max-width: 900px;         /* largura máxima do container */
    
    margin-top: 10px;         /* distância do topo da página */
    margin-bottom: 10px;      /* distância do rodapé ou próximo conteúdo */
    margin-left: auto;        /* centraliza horizontalmente */
    margin-right: auto;
  
    padding-top: 10px;        /* espaço interno superior */
    padding-bottom: 10px;     /* espaço interno inferior */
    padding-left: 15px;       /* espaço interno esquerdo */
    padding-right: 15px;
  
    background-color: #fff;   /* opcional: fundo branco */
    border-radius: 16px;      /* bordas arredondadas */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.00); /* leve sombra para destacar */
  }
  .containerpi {
    display: none; /* escondido no início */
    opacity: 0;
    transition: opacity 0.8s ease-in-out; /* efeito suave ao aparecer */
  }
  
  .containerpi.mostrar {
    display: block; 
    opacity: 1;
  }
  

  .separador {
    border: 2px solid #fff;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .separador img {
    width: 150px;   /* define o tamanho fixo */
    height: auto;   /* mantém a proporção */
    display: block;
    margin: 0% auto; 
    max-width: 50%;/* centra e dá espaço em cima/baixo */
  }
  
  
  .titulo {
    font-family: 'Playfair Display', serif;
    font-size: 50px;
    color: #800000;
    font-weight: 700;
    margin: 20px 0;
    line-height: 1.1;
    text-align: center;
  }
  
  .subtitulo {
    font-family: 'Pompeire', cursive;
    font-size: 30px;
    color: #000;
    margin-top: 1rem;
    line-height: 1.3;
    text-align: center;
  }
  
  .timeline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 20px;
  }
  
    .evento {
      background: #f9f9f9;
      font-family: 'Pompeire', cursive;
      border-left: 4px solid #990000;
      padding: 15px 20px;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
  
    .evento h3 {
      margin-top: 0;
      font-family: 'Playfair Display', serif;
      font-size: 50px;
      font-size: 1.3em;
      color: #000;
    }
  
    .evento .data {
      font-style: normal;
      font-family: 'Pompeire', cursive;
      color: #800000;
      font-size: 20px;
    }
    /* para os nosso números*/

  .contador-section {
    max-width: 600px;
    margin: 50px auto;
    text-align: center;
    font-family: 'Pompeire', cursive;
  }
  
  .contador-linha {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
    gap: 10px;
    flex-wrap: wrap;
  }
    /* Estado inicial: oculto e deslocado */
    .animar-scroll {
      opacity: 0;
      transform: translateY(40px);
      transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    }
    
    .animar-scroll.visivel {
      opacity: 1;
      transform: translateY(0);
    }
    
    
    .bolha {
      background-color: #e8cfcf;
      color: #000;
      font-weight: bold;
      font-size: 1.5em;
      width: 60px;
      height: 60px;
      border-radius: 15px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    .contador-linha span {
      font-size: 1.2em;
    }
    
    .frase-final {
      font-family: 'Pompeire', cursive;
      font-size: 20px;
      color: #333;
      margin-top: 1rem;
      line-height: 1.3;
      text-align: center;
    }
      /* rodape*/  
    .rodape {
      background-color: #E4D1D0;
      padding: 20px;
      text-align: center;
      margin-top: 40px;
      border: 1px solid #ccc;
      border-radius: 10px;
      font-family: 'Georgia', serif;
      font-size: 1em;
      color: #000;
    }
/* menu de barra inicial logo em cima*/ 
  
/* Barra superior (topo) */
.barra-topo {
  background-color: #EBDADA;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 10px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Logo */
.logo {
  font-family: 'Pompeire', cursive;
  font-size: 20px;
  color: #000;
}

/* Ícone de menu (hambúrguer) */
.menu-icon {
  font-size: 28px;
  cursor: pointer;
  display: block;
}

/* Menu topo para desktop (oculto por padrão em mobile) */
.menu-topo {
  display: none;
}

.menu-topo a {
  margin-left: 20px;
  text-decoration: none;
  color: #000;
  font-family: 'Playfair Display', serif;
  font-size: 30px;
}

/* Menu lateral (mobile) */
.menu-lateral {
  height: 100%;
  width: 0;
  position: fixed;
  top: 0;
  right: 0;
  background-color: #EBDADA;
  overflow-x: hidden;
  transition: 0.3s;
  padding-top: 60px;
  z-index: 1001;
}

.menu-lateral a {
  display: block;
  padding: 12px 30px;
  text-decoration: none;
  color: #000;
  font-size: 30px;
  font-family:'Playfair Display', serif; 
}

.menu-lateral .fechar {
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 30px;
  cursor: pointer;
}

/* Responsivo: mostrar menu-topo em ecrãs maiores */
@media (min-width: 768px) {
  .menu-icon {
    display: none;
  }

/* Estilo do container do menu para centralizar e espaçar */
.menu-topo {
  display: flex;
  gap: 20px;
  background-color: #EBDADA; /* fundo semelhante ao da imagem */
  padding: 10px 20px;
  border-radius: 30px;
  justify-content: center;
  align-items: center;
}

/* Estilo dos links (botões) */
.menu-topo a {
  background-color: white;
  padding: 8px 20px;
  border-radius: 999px; /* aparência de pílula */
  text-decoration: none;
  color: #000;
  font-family: 'Pompiere', cursive;
  font-size: 30px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: background-color 0.3s;
}

.menu-topo a:hover {
  background-color: #f0f0f0;
}


  .menu-lateral {
    display: none;
  }
}

/* Para evitar sobreposição do conteúdo com a barra fixa */
body {
  padding-top: 60px;
}
/* FORMS */
/* Estilo geral do formulário */
.rsvpForm {
  max-width: 500px;
  margin: 20px auto; /* centraliza */
  padding: 20px;
  background-color: #fff; /* fundo branco */
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.00); /* leve sombra */
  font-family: 'pompiere', cursive;
  font-size: 25px;
}

/* Estilo das labels */
.rsvpForm label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #333;
}

/* Estilo dos inputs */
.rsvpForm input[type="text"] {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
  font-size: 16px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.rsvpForm input[type="text"]:focus {
  border-color: #e4d1d0; /* cor suave quando em foco */
  box-shadow: 0 0 5px rgba(228, 209, 208, 0.6);
  outline: none;
}

/* Estilo do botão */
.rsvpForm button {
  width: 100%;
  padding: 12px;
  background-color: #e4d1d0;
  color: #000;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

.rsvpForm button:hover {
  background-color: #d1bcbc;
  transform: scale(1.02); /* efeito leve de "pop" */
}

.rsvpForm button:active {
  transform: scale(0.98);
}
/* mensagem */
.mensagem-submetido {
  display: none;
  color: green;
  font-weight: bold;
  margin-top: 10px;
  max-width: 300px;
  text-align: left;
  margin-left: 0;
}


/* Animação para aparecer suavemente */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* texto caixa forms */
textarea {
  width: 100%;
  max-width: 600px;
  padding: 10px;
  margin-top: 8px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: 'Arial', sans-serif;
  font-size: 16px;
  box-sizing: border-box;
  resize: vertical;
}

/* Container do título + botão */
.titulo-agenda {
  display: flex;
  align-items: center;
  justify-content: center; /* centraliza no ecrã */
  gap: 0.5rem;
  margin: 20px 0;
}

/* Estilo do título */
.titulo-agenda h2 {
  font-family: 'Playfair Display', serif;
  font-size: 50px;  /* como registado */
  color: #800000;
  margin: 0;
}

/* Ajuste do ícone personalizado */
.icone-agenda {
  width: 50px;   /* tamanho do ícone */
  height: 50px;  /* mantém proporção */
  vertical-align: middle;
  transition: transform 0.2s ease;
}

.btn-agenda:hover .icone-agenda {
  transform: scale(1.1); /* efeito de zoom ao passar o rato */
}


/* Emoji/link de calendário */
.btn-agenda {
  font-size: 2rem; /* tamanho grande do emoji 📅 */
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.btn-agenda:hover {
  transform: scale(1.2); /* aumenta ligeiramente no hover */
}

/* roadmap */
.box1 {
  position: relative;
  border: 2px solid #800000;
  padding: 15px;
  padding-bottom: 50px;  
  text-align: center;
  width: 180px;
  transition: all 0.6s ease;
  overflow: hidden;
  border-radius: 10px;
}

.box-header {
  margin-bottom: 10px;
}

.box-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.6s ease;
}

.box-content img {
  width: 100%;
  border-radius: 8px;
  max-width: 100%;
}

.toggle {
  position: absolute;
  bottom: 10px;   
  left: 50%;
  transform: translateX(-50%);
  background: #800000;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  font-size: 22px;
  cursor: pointer;
  transition: all 0.3s ease;
}


.box.open {
  width: 220px;
  height: auto;
}

.box1.open .box-content {
  max-height: 400px;
  opacity: 1;
}

.box.open .toggle {
  background: #800000;
  content: "-";
}
.container1 {
  display: flex;
  flex-wrap: wrap;       /* permite que as caixas passem para baixo */
  gap: 40px;
  align-items: flex-start;
  justify-content: center; /* centra em ecrãs largos */
}

.box1 {
  flex: 1 1 250px;       /* mínimo 250px, ocupa o resto do espaço */
  max-width: 300px;      /* não deixa ficar demasiado grande */
  border: 1px solid #ccc;
  border-radius: 10px;
  overflow: hidden;
}

.box-content img {
  width: 100%;           /* imagem adapta-se à largura da caixa */
  height: auto;
  display: block;
}

/* responsividade extra */
@media (max-width: 768px) {
  .container1 {
    gap: 20px;
  }
  .box1 {
    flex: 1 1 100%;      /* cada caixa ocupa toda a largura em ecrãs pequenos */
    max-width: 100%;
  }
}

/* Timeline principal */
.timeline1 {
  position: relative;
  width: 100%;
  margin: 50px auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

/* Linha central vermelha */
.timeline1::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: #800000;
  transform: translateX(-50%);
  z-index: 0;
}

/* Cada evento */
.timeline1-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* CORAÇÕES na linha */
/* .timeline1-item::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 50px;
  background: url("Imagens/coracao.png") no-repeat center/contain;
  z-index: 1;
} */

.ponto-da-timeline {
  position: relative;
  width: 100px; /* largura do ponto ou do espaço onde o coração vai ficar */
  height: 100px;
}

.timeline1-heart {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: auto;
}

/* Ícones circulares dos eventos */
.timeline1-circle {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 4px solid #ccc;
  background: white;
  z-index: 1;
}
.timeline1-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Texto */
.timeline1-content {
  width: 35%;
  font-family: "Playfair Display", serif;
}
.timeline1-content.left {
  text-align: right;
  margin-right: 20px;
}
.timeline1-content.right {
  text-align: left;
  margin-left: 20px;
}
.timeline1 h3 {
  font-size: 22px;
  color: #800000;
  font-weight: bold;
  margin-bottom: 10px;
}
.timeline1 p {
  font-size: 16px;
  color: #222;
  margin: 5px 0;
  line-height: 1.5;
}

/* Localização */
.timeline1-location {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 20px;
  text-align: center;
  z-index: 1;
  text-decoration: none;
}
.timeline1-location img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-bottom: 5px;
}
.timeline1-location p {
  font-size: 14px;
  font-family: "Playfair Display", serif;
  color: #800000;
  margin: 0;
}
.timeline1-location:hover p {
  text-decoration: underline;
}

/* Animação scroll */
.animar-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.animar-scroll.ativo {
  opacity: 1;
  transform: translateY(0);
}

/* ========================= */
/* MOBILE (até 768px)        */
/* ========================= */
@media (max-width: 768px) {
  .timeline1 {
    gap: 40px;
  }
  
  .timeline1::before {
    left: 20px;
    transform: none;
  }
  
  /* Coração sobre a linha */
  .timeline1-heart {
    position: absolute;      /* sobreposição */
    top: 190%;                /* centralizar verticalmente no ponto */
    left: -123px;             /* ajustar para ficar sobre a linha */
    transform: translateY(-50%);
    z-index: 2;              /* acima da linha */
    width: 50px;             /* opcional: ajustar tamanho */
    height: 50px;
  }

  .timeline1-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 60px; /* espaço para a linha */
    gap: 0.8rem;        /* espaçamento controlado */
  }


  /* Forçar ordem: circle → location → content */
  .timeline1-circle {
    order: 1;
    align-self: center;
  }
  .timeline1-location {
    order: 2;
    align-self: center;
    text-align: center;
  }
  .timeline1-content,
  .timeline1-content.left,
  .timeline1-content.right {
    order: 3;
    width: 100%;
    text-align: left;
    margin: 0;
  }

}


.confirmar-presenca button {
  background-color: #800000; /* vermelho vinho */
  color: #fff;
  font-size: 25px;
  font-weight: bold;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.confirmar-presenca button:hover {
  background-color: #a00000; /* tom mais claro no hover */
}

/* Botão X para fechar página */
.fechar-pagina {
  position: absolute;
  top: 15px;
  right: 20px;
}

.fechar-pagina a {
  font-size: 32px;
  font-weight: bold;
  color: #800000; /* vermelho vinho */
  text-decoration: none;
  transition: color 0.3s ease;
}

.fechar-pagina a:hover {
  color: #a00000;
}

.confirmar-album {
  text-align: center;
  margin: 30px 0;
}

.confirmar-album button {
  background-color: #800000; /* vermelho vinho */
  color: #fff;
  font-size: 25px;
  font-weight: bold;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.confirmar-album button:hover {
  background-color: #a00000; /* tom mais claro no hover */
}

/* Grade de fotos */
.galeria {
  column-count: 3;   /* número de colunas */
  column-gap: 15px;  /* espaçamento */
  max-width: 1000px;
  margin: 0 auto;
}

.galeria .foto {
  display: inline-block;
  width: 100%;
  margin-bottom: 15px;
}

.galeria .foto img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}


/* Efeito zoom ao passar o rato */
.galeria .foto:hover img {
  transform: scale(1.08);
}


/* Modal (fundo escuro + centralização) */
.modal {
  display: none; 
  position: fixed; 
  z-index: 9999; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  background-color: rgba(0,0,0,0.9); 
  justify-content: center; 
  align-items: center;
}

/* Imagem dentro do modal */
.modal-conteudo {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255,255,255,0.3);
  animation: zoom 0.3s ease;
}


/* Botão fechar */
.fechar {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

/* Animação ao abrir */
@keyframes zoom {
  from {transform: scale(0.7);}
  to {transform: scale(1);}
}


.menu-botoes {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 50px;
}

.botao-opcao {
  position: relative;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.botao-opcao:hover {
  transform: scale(1.1); /* animação ao passar por cima */
}

.icone-circulo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-color: #800000; /* vermelho vinho como no exemplo */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.icone-circulo img {
  width: 60px;
  height: 60px;
  filter: brightness(0) invert(1); /* deixa o ícone branco */
}

.texto-curvo {
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  text-align: center;
  font-size: 25px;
  font-family: 'pompiere', cursive;
  color: #000;
  white-space: nowrap;
}
.oculto {
  display: none;
}

.mensagem-submetido {
  margin-top: 10px;
  font-weight: bold;
}
.sucesso {
  color: green;
}
.erro {
  color: red;
}
.envio {
  color: orange;
}
