body {
  font-family: "Playfair Display", serif;
  margin: 0;
  background: #fff;
  color: #333;
  text-align: center;
}

.hero {
  height: 75vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  background: url("img/alinca_nova_formt.png") no-repeat center 85%;
  background-size: 70%;
  background-color: #e8dfca;
}

.overlay {
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  color: #2b2b2b;
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 900;
  margin: 0;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.5rem);
  margin: 10px 0;
}

.hero .data {
  font-size: clamp(0.8rem, 1vw, 0.8rem);
  margin-top: 10px;
}

.hero .btn {
  margin-top: 20px;
  padding: 12px 24px;
  background: #c5a46d;
  color: #fff;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
}

.hero::after {
  content: "";
  display: block;
  height: 30px;
  background: linear-gradient(to bottom, #e9dfcf, #ffffff);
}

.continue-hint {
  text-align: center;
  font-style: italic;
  color: #9a8654;
  margin-top: -20px;
  opacity: 0.9;
  font-size: 0.95rem;
}

.historia {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 10%;
  gap: 50px;
  background: #fff;
}

.historia-text {
  flex: 1;
  text-align: left;
}

.titulos{
  font-size: 1.5rem;
  color: #b08d57;
  margin-bottom: 10px;
  padding-top: 20px;
}

.historia-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: bold;
  border-bottom: 2px solid #000;
  display: inline-block;
}

.historia-text p {
  font-size: 1.1rem;
  line-height: 1.1;
  color: #333;
}

.historia-text #salmo {
  margin-top: 20px;
  font-style: italic;
  color: #555;
}

#salmo {
  margin-top: 10px;
  margin-bottom: 20px;
  display: flex;
  text-align: center;
}

.historia-img {
  flex: 1;
  display: flex;
  justify-content: center;
}

.historia-img {
  flex: 1;
  display: flex;
  justify-content: center;
}

.historia-img img {
  width: 100%;
  max-width: 400px; /* controla o tamanho máximo da foto */
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}


.full-photo {
  width: 100%;
  margin: 60px 0; /* espaço antes e depois da seção */
  display: flex;
  align-items: center;
  justify-content: center;
}

.full-photo img {
  width: 94%;
  height: auto;
  display: block;
  object-fit: cover; /* mantém proporção sem distorcer */
  border-radius: 8px; /* opcional, pode deixar retão se preferir */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* sombra suave */
}

.detalhes,
.rsvp {
  background: #fff;
  max-width: 600px;
  padding: 2rem;
  border-radius: 14px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.06);
  text-align: center;
}

.rsvp h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: #1f2a2a;
}

.rsvp .form-group {
  margin-bottom: 1.5rem;
}

.rsvp label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: #333;
}

.rsvp input[type="text"] {
  width: 90%;
  padding: 0.6rem 0.8rem;
  margin: 0.3rem 0;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
}

.btn-principal {
  background-color: #1f2a2a;
  color: #fff;
  border: none;
  padding: 0.7rem 1.3rem;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 1.2rem;
  font-weight: 600;
}

.btn-principal:hover {
  background-color: #355;
}

.btn-secundario {
  background: transparent;
  color: #a38b47;
  border: 1px solid #a38b47;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: background 0.2s ease-in-out;
}

.btn-secundario:hover {
  background: #a38b47;
  color: #fff;
}

/* ====== Rodapé ====== */
footer {
  background-color: #f7f0e5;
  color: #1f2a2a;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.95rem;
  border-top: 1px solid #e1d9ca;
  border-radius: 0 0 14px 14px;
}

footer .dev-credit {
  font-size: 0.8rem;
  color: rgba(0, 0, 0, 0.45);
  margin-top: 6px;
  font-style: italic;
  transition: opacity 0.3s;
}

footer .dev-credit:hover {
  opacity: 0.5;
}

/* ==== ALERTA DE SUCESSO ==== */
.alert-sucesso {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: fadeIn 0.3s ease-in;
}

.alert-sucesso.hide {
  animation: fadeOut 0.3s ease-out forwards;
}

.alert-content {
  background: #fff;
  border-radius: 18px;
  padding: 2rem 2.5rem;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  max-width: 360px;
  width: 90%;
  position: relative;
  transform: scale(1);
  animation: popIn 0.35s ease-out;
}

.alert-content .emoji {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 0.5rem;
}

.alert-content h3 {
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
  color: #1f2a2a;
}

.alert-content p {
  color: #555;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.alert-content button {
  background: #1f2a2a;
  color: #fff;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s ease-in-out;
}

.alert-content button:hover {
  background: #355;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes popIn {
  0% { transform: scale(0.9); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}