/* UTILIDADES */
.hidden {
  display: none !important;
}

/* HERO */
.hero {
  min-height: 100vh;
  background: url("../assets/images/hero-bg_SaveTheDate.jpeg") center/cover
    no-repeat fixed;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(230, 221, 243, 0.8),
    rgba(248, 246, 251, 0.9)
  );
}

.hero-content {
  animation: fadeUp 1.2s ease forwards;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3.5rem;
  letter-spacing: 2px;
}

.subtitle {
  font-size: 1.5rem;
  margin-top: 0.5rem;
}

.date {
  margin-top: 0.5rem;
  font-size: 1.1rem;
}

/* =========================
   MENSAGEM POÉTICA
========================= */

.message {
  padding: 5rem 1.5rem;
  background: linear-gradient(to bottom, #f6f1fa, #ffffff);
  text-align: center;
  position: relative;
}

/* Texto */
.message p {
  max-width: 720px;
  margin: 0 auto;
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  line-height: 1.6;
  color: #6b4f8a;
  letter-spacing: 0.5px;
}

/* Linha decorativa */
.message::before,
.message::after {
  content: "✦";
  display: block;
  color: #c9b7e2;
  font-size: 2rem;
  margin: 1.2rem auto;
}

/* CTA */
.cta {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.8rem 2rem;
  border-radius: 30px;
  background-color: #c7b3e5;
  color: #3b2f4a;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.cta:hover {
  background-color: #b49ad9;
  transform: translateY(-2px);
}

.cta.secondary {
  background-color: transparent;
  border: 1px solid #c7b3e5;
}

.cta-wrapper {
  margin-top: 2rem;
}

/* SEÇÕES */
.section {
  padding: 4rem 1.5rem;
  text-align: center;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* GALERIA */
.gallery-grid {
  max-width: 1200px;
  margin: 2rem auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.photo {
  background-color: #ddd;
  background-size: cover;
  background-position: top;
  aspect-ratio: 900/1080;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.photo:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.gallery-destaque {
  max-width: 1200px;
  margin: 2rem auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.photo-destaque {
  background-color: #ddd;
  background-size: cover;
  background-position: top;
  aspect-ratio: 1400/900;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.photo-destaque:hover {
  transform: scale(1.025);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* =========================
   DRESS CODE
========================= */

.dresscode {
  padding: 4rem 1.5rem;
  background: linear-gradient(to bottom, #f9f6fb, #f1ecf7);
}

.dresscode-container {
  max-width: 820px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(4px);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  box-shadow: 0 10px 30px rgba(140, 120, 170, 0.15);
}

/* Título */
.dresscode h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  text-align: center;
  color: #6b4f8a;
  margin-bottom: 0.5rem;
}

/* Subtítulo */
.dresscode .intro {
  text-align: center;
  font-size: 1rem;
  color: #9a86b4;
  margin-bottom: 2rem;
  font-style: italic;
}

/* Texto */
.dresscode p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #4a4453;
  margin-bottom: 1.3rem;
}

/* Ênfase */
.dresscode strong {
  color: #6b4f8a;
  font-weight: 600;
}

/* Parágrafo final */
.dresscode .final {
  margin-top: 2rem;
  text-align: center;
  font-size: 1.1rem;
  color: #5c4a6d;
}

/* =========================
   SUGESTÕES DE PRESENTE
========================= */

.gifts {
  padding: 5rem 1.5rem;
  text-align: center;
  background: #fdfbff;
}

.gifts h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  color: #6b4f8a;
  margin-bottom: 1.5rem;
}

.gifts-intro {
  max-width: 700px;
  margin: 0 auto 2.5rem;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
}

.gifts-image {
  max-width: 820px;
  margin: 0 auto;
}

.gifts-image img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

/* LOCAL */
.location-card {
  max-width: 600px;
  margin: 0 auto;
}

.location-image {
  background-color: #ddd;
  height: 300px;
  border-radius: 12px;
  margin-bottom: 1rem;
}

/* =========================
   MURAL DE RECADOS
========================= */

.mural {
  background: linear-gradient(to bottom, #f7f2fb, #ffffff);
  text-align: center;
}

.mural h2 {
  color: #6b4f8a;
  margin-bottom: 0.5rem;
}

.mural-intro {
  margin-bottom: 2rem;
  color: #8a7aa5;
}

.mural-form {
  max-width: 480px;
  margin: 0 auto 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.mural-form input,
.mural-form textarea {
  padding: 0.8rem 1rem;
  border-radius: 12px;
  border: 1px solid #ddd;
  font-size: 1rem;
}

.mural-form textarea {
  resize: none;
  min-height: 100px;
}

.mural-mensagens {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.mural-card {
  background: white;
  padding: 1rem 1.2rem;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(120, 100, 160, 0.12);
  text-align: left;
}

.mural-card strong {
  display: block;
  color: #6b4f8a;
  margin-bottom: 0.3rem;
}

/* Feedback do mural */
.mural-feedback {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.95rem;
  color: #6b4f8a;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.mural-feedback.show {
  opacity: 1;
}

/* Animação de entrada do card */
.mural-card {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInCard 0.6s ease forwards;
}

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

/* =========================
   ÁLBUM - QR CODE
========================= */

.album-qrcode {
  background: linear-gradient(to bottom, #f9f6fb, #ffffff);
  text-align: center;
  padding: 4rem 1.5rem;
}

.album-qrcode-container {
  max-width: 480px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(4px);
  border-radius: 22px;
  padding: 3rem 2rem;
  box-shadow: 0 12px 30px rgba(140, 120, 170, 0.18);
}

.album-qrcode h2 {
  font-size: 2rem;
  color: #6b4f8a;
  margin-bottom: 0.8rem;
}

.album-qrcode-intro {
  color: #8a7aa5;
  margin-bottom: 2.5rem;
  font-style: italic;
}

/* QR Code */
.qrcode-box {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.qrcode-box img {
  width: 180px;
  height: 180px;
  border-radius: 16px;
  padding: 12px;
  background: white;
  box-shadow: 0 10px 25px rgba(120, 100, 160, 0.2);
}

/* Texto de apoio */
.album-qrcode-hint {
  font-size: 1rem;
  color: #5c4a6d;
  line-height: 1.5;
}

/* FOOTER */
.footer {
  padding: 2rem;
  text-align: center;
  font-size: 1.2rem;
}

/* ANIMAÇÕES */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

.qrcode-box img {
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
  100% {
    transform: translateY(0);
  }
}

/* RESPONSIVO */
@media (max-width: 600px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .subtitle {
    font-size: 1.2rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }

  .dresscode-container {
    padding: 2rem 1.5rem;
  }

  .dresscode h2 {
    font-size: 1.9rem;
  }

  .dresscode p {
    font-size: 1rem;
  }
  .message {
    padding: 4rem 1.2rem;
  }

  .message p {
    font-size: 1.4rem;
  }
  .gifts h2 {
    font-size: 1.8rem;
  }

  .gifts-intro {
    font-size: 1rem;
  }
}
