body,
html {
  font-family: "Quicksand", Arial, Helvetica, sans-serif;
}

/* Exceção: onde usar a fonte Lovely Day, manter como está */
.names,
.lovely-day {
  font-family: "lovely day", "lovely-day", "lovely-day.ttf", serif !important;
}
.pix-key,
.pix-details,
.pix-info,
.cartao-presente,
.presente-card {
  border: none !important;
  background: none !important;
  box-shadow: none !important;
}
/* Presentes - Padronização visual */

.presentes-opcoes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 700px) {
  .presentes-opcoes {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 2rem;
    align-items: stretch;
  }
}

.presente-bloco {
  /* Garante que os cards fiquem alinhados e com altura igual */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.presente-bloco {
  width: 100%;
  max-width: 340px;
  min-width: 0;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  padding: 2rem 1.5rem 1.5rem 1.5rem;
}

/* Só as listas (Amazon e Mercado Livre) terão card visual */
.presente-bloco .presente-card {
  background: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

.presente-subtitulo {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  margin-top: 0;
  text-align: center;
  color: #3b5a00;
  letter-spacing: 0.01em;
}

.pix-container,
.cartao-presente {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
}
@media (max-width: 900px) {
  .presentes-opcoes {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  .presente-bloco {
    max-width: 98vw;
  }
}

.pix-key {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
}

.copy-btn {
  background: #a38e6d;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.3rem 0.8rem;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s;
}
.copy-btn:hover {
  background: #3b5a00;
}

.cartao-link,
.presente-link {
  display: inline-block;
  margin-top: 0.7rem;
  background: #3b5a00;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s;
}
.cartao-link:hover,
.presente-link:hover {
  background: #a38e6d;
}

.presente-logo img {
  max-width: 90px;
  margin-bottom: 0.7rem;
}

.presente-icon {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

@media (max-width: 900px) {
  .presentes-opcoes {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
}
/* Reset e configurações gerais */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #eae4d8;
  --secondary-color: #a38e6d;
  --text-color: #3b5a00;
  --white: #ffffff;
  --light-gray: #f8f8f8;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  /* font-family: 'Candara', sans-serif; */
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-color);
  overflow-x: hidden;
}

/* Tipografia */
@font-face {
  font-family: "Lovely Day";
  src: url("fonts/lovely-day.woff2") format("woff2"),
    url("fonts/lovely-day.woff") format("woff"),
    url("fonts/lovely-day.ttf") format("truetype");
  font-display: swap;
}

.hero-names,
.names {
  font-family: "Lovely Day", cursive;
  font-weight: normal;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: var(--shadow);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo .names {
  font-size: 1.5rem;
  color: var(--text-color);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 400;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--secondary-color);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-color);
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(59, 90, 0, 0.3), rgba(59, 90, 0, 0.3)),
    url("images/hero-bg.jpg") center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  position: relative;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(59, 90, 0, 0.2);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-names {
  font-size: 4rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-date {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 400;
}

.hero-text {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  opacity: 0.9;
}

.hero-countdown {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.countdown-item {
  text-align: center;
}

.countdown-number {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
}

.countdown-label {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Sections */
section {
  padding: 5rem 0;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-color);
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--secondary-color);
}

/* Detalhes do Evento */
.detalhes {
  background: var(--light-gray);
}

.evento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.evento-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
  text-align: center;
  border: 2px solid var(--primary-color);
}

.evento-image {
  margin-bottom: 1.5rem;
}

.evento-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.evento-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.evento-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.evento-info p {
  margin-bottom: 0.5rem;
}

.endereco {
  font-style: italic;
  color: var(--secondary-color);
  margin: 1rem 0;
}

.map-link {
  display: inline-block;
  color: var(--text-color);
  text-decoration: none;
  border: 2px solid var(--secondary-color);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.map-link:hover {
  background: var(--secondary-color);
  color: var(--white);
}

.dress-code {
  background: var(--primary-color);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.dress-code h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

/* RSVP Section */
.rsvp {
  background: var(--white);
}

.rsvp-subtitle {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: var(--secondary-color);
}

.rsvp-form-container {
  max-width: 600px;
  margin: 0 auto;
}

.rsvp-form {
  background: var(--light-gray);
  padding: 2rem;
  border-radius: 10px;
  border: 2px solid var(--primary-color);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 400;
  color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--primary-color);
  border-radius: 5px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
}

.btn-submit {
  background: var(--secondary-color);
  color: var(--white);
  padding: 1rem 2rem;
  border: none;
  border-radius: 25px;
  font-size: 1.1rem;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.3s ease;
  width: 100%;
}

.btn-submit:hover {
  background: var(--text-color);
}

/* Presentes Section */
.presentes {
  background: var(--light-gray);
}

.presentes-subtitle {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 3rem;
  color: var(--secondary-color);
}

.presentes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 0;
}

.presente-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
  text-align: center;
  border: 2px solid var(--primary-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  /* gap: 1.5rem; */
}

.presente-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
  flex-shrink: 0;
  margin: 20px;
}

.presente-logo img {
  max-width: 140px;
  max-height: 70px;
  object-fit: contain;
}

.presente-icon {
  font-size: 3rem;
}

.presente-card h3 {
  display: none;
}

.presente-link {
  display: inline-block;
  background: var(--secondary-color);
  color: var(--white);
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  transition: background 0.3s ease;
  font-weight: 500;
}

.presente-link:hover {
  background: var(--text-color);
}

.presente-dinheiro {
  background: var(--primary-color);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
}

.presente-dinheiro h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.cartao-presente {
  background: var(--white);
  /* padding: 2rem; */
  border-radius: 10px;
  border: 2px solid var(--secondary-color);
  text-align: center;
  max-width: 300px;
  /* margin: 2rem auto; */
}

.cartao-presente .presente-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

.cartao-presente h4 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.cartao-presente p {
  margin-bottom: 1.5rem;
  color: var(--text-color);
}

.cartao-link {
  display: inline-block;
  background: var(--secondary-color);
  color: var(--white);
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 500;
  transition: background 0.3s ease;
}

.cartao-link:hover {
  background: var(--text-color);
}

.valores-grid {
  display: none;
}

.valor-card {
  display: none;
}

.valor {
  display: none;
}

.valor-link {
  display: none;
}

/* .pix-container {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--secondary-color);
} */

.pix-container h4 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.pix-info {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.pix-qr {
  flex-shrink: 0;
}

.qr-code {
  width: 150px;
  height: 150px;
  border: 2px solid var(--secondary-color);
  border-radius: 10px;
}

.pix-details {
  text-align: left;
}

.pix-key {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--white);
  /* padding: 1rem; */
  border-radius: 10px;
  border: 2px solid var(--secondary-color);
}

#pix-key {
  font-family: monospace;
  font-size: 0.9rem;
  color: var(--text-color);
}

.copy-btn {
  background: var(--secondary-color);
  color: var(--white);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.3s ease;
}

.copy-btn:hover {
  background: var(--text-color);
}

.presentes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

/* Galeria */
.galeria {
  background: var(--white);
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.galeria-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.galeria-item img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.galeria-item:hover img {
  transform: scale(1.05);
}

/* História */
.historia {
  background: var(--light-gray);
}

.historia-timeline {
  max-width: 800px;
  margin: 0 auto;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 3rem;
  padding: 2rem;
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--secondary-color);
}

.timeline-icon {
  font-size: 2rem;
  flex-shrink: 0;
  background: var(--primary-color);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 3px solid var(--secondary-color);
}

.timeline-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.timeline-content p {
  line-height: 1.8;
  color: var(--text-color);
}

/* Footer */
.footer {
  background: var(--text-color);
  color: var(--white);
  text-align: center;
  padding: 2rem 0;
}

/* Introdução Listas de Presentes */
.listas-introducao {
  text-align: center;
  margin: 3rem 0 2rem 0;
  padding: 2rem;
  background: var(--white);
  border-radius: 10px;
  border: 2px solid var(--primary-color);
}

.listas-introducao h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.listas-introducao p {
  color: var(--secondary-color);
  font-size: 1.1rem;
}

/* Responsividade */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem;
    box-shadow: var(--shadow);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-names {
    font-size: 2.5rem;
  }

  .hero-countdown {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .countdown-number {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .container {
    padding: 0 15px;
  }

  .evento-grid {
    grid-template-columns: 1fr;
  }

  .presentes-grid {
    grid-template-columns: 1fr;
  }

  .valores-grid {
    display: none;
  }

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

  .pix-details {
    text-align: center;
  }

  .pix-key {
    flex-direction: column;
    gap: 0.5rem;
  }

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

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

  .timeline-icon {
    align-self: center;
  }
}

@media (max-width: 480px) {
  .hero-names {
    font-size: 2rem;
  }

  .hero-date {
    font-size: 1.2rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .countdown-number {
    font-size: 1.5rem;
  }

  .nav-container {
    padding: 1rem;
  }

  .nav-logo .names {
    font-size: 1.2rem;
  }

  section {
    padding: 3rem 0;
  }

  .valores-grid {
    display: none;
  }

  .galeria-grid {
    grid-template-columns: 1fr;
  }
}

/* Animações */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-title,
.evento-card,
.presente-card,
.timeline-item {
  animation: fadeIn 0.8s ease forwards;
}

/* Smooth scrolling para navegação */
html {
  scroll-behavior: smooth;
}

/* Efeitos de hover */
.evento-card:hover,
.presente-card:hover {
  transform: translateY(-5px);
  transition: transform 0.3s ease;
}

/* Estilo para formulário enviado */
.form-success {
  background: var(--primary-color);
  color: var(--text-color);
  padding: 1rem;
  border-radius: 5px;
  margin-top: 1rem;
  text-align: center;
}

/* Loading states */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 2px solid var(--secondary-color);
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
