:root {
  --ivory: #f8f4ed;
  --olive: #7a8562;
  --burgundy: #6b1d2a;
  --champagne: #e5d3b3;
  --gold: #c8a96b;

  --text: #3b3028;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  background: var(--ivory);
  color: var(--text);
}

.hero {
  position: relative;
  min-height: 100vh;
  background: url("../img/hero.jpg") center center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  padding: 20px;
}

.hero h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: 5rem;
  font-weight: 400;
  margin-bottom: 10px;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
  letter-spacing: 2px;
}

.frase {
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 30px;
  color: var(--champagne);
}

.fecha {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.ubicacion {
  margin-bottom: 35px;
}

.btn {
  display: inline-block;
  padding: 14px 30px;
  border: 1px solid var(--burgundy);
  color: white;
  text-decoration: none;
  transition: 0.3s;
}

.btn:hover {
  background: var(--burgundy);
}

.countdown-section {
  padding: 100px 20px;
  text-align: center;
}

.countdown-section h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 3rem;
  margin-bottom: 40px;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.box {
  background: white;
  width: 130px;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.box span {
  display: block;
  font-size: 2.5rem;
  color: var(--burgundy);
  font-weight: 600;
}

.mensaje {
  padding: 100px 30px;
  text-align: center;
  max-width: 900px;
  margin: auto;
}

.mensaje h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 3rem;
  margin-bottom: 20px;
}

.mensaje p {
  line-height: 1.8;
}

.proximamente {
  padding: 50px 20px 120px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: auto;
}

.card {
  background: white;
  padding: 40px 20px;
  text-align: center;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.card h3 {
  margin-bottom: 10px;
  color: var(--burgundy);
}

footer {
  background: #111;
  color: white;
  text-align: center;
  padding: 60px 20px;
}

footer h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.5rem;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 3rem;
  }

  .fecha {
    font-size: 1.1rem;
  }

  .box {
    width: 140px;
  }
}
.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 3rem;
  font-weight: 400;
}

.section-header::after {
  content: "";
  display: block;
  width: 80px;
  height: 1px;
  background: var(--gold);
  margin: 15px auto 0;
}
.historia {
  background: white;
  border-radius: 30px;
  padding: 80px 25px;
  max-width: 900px;
  margin: auto;
}

.historia-img {
  width: 100%;
  border-radius: 20px;
  margin-bottom: 40px;
}

.historia-texto {
  text-align: center;
}

.historia-texto p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  line-height: 2;
}
.quote {
  padding: 80px 25px;
  text-align: center;
}

.quote p {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-style: italic;
  margin: 25px 0;
}

.line {
  display: block;
  width: 120px;
  height: 1px;
  background: var(--gold);
  margin: auto;
}
.evento {
  padding: 80px 25px;
  text-align: center;
}

.evento-fecha {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1.2rem;
}

.evento-fecha strong {
  color: var(--burgundy);
  font-size: 1.5rem;
}
.cards-evento {
  padding: 20px 25px 80px;
  display: grid;
  gap: 20px;
  max-width: 900px;
  margin: auto;
}

.evento-card {
  background: white;
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(200, 169, 107, 0.2);
}

.evento-card h3 {
  color: var(--burgundy);
  margin-bottom: 10px;
}
.rsvp {
  padding: 100px 25px;
  text-align: center;
}

.rsvp h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 3rem;
  margin-bottom: 20px;
}

.rsvp p {
  margin-bottom: 30px;
}

.rsvp button {
  border: none;
  background: var(--burgundy);
  color: white;
  padding: 15px 35px;
  border-radius: 50px;
  opacity: 0.7;
}
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.timeline {
  padding: 100px 25px;
  max-width: 900px;
  margin: auto;
}

.timeline-container {
  position: relative;
}

.timeline-container::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--olive);
}

.timeline-item {
  position: relative;
  display: flex;
  gap: 20px;
  margin-bottom: 50px;
  padding-left: 10px;
}

.timeline-icon {
  width: 40px;
  height: 40px;
  background: white;
  border: 2px solid var(--olive);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  flex-shrink: 0;
}

.timeline-content h3 {
  color: var(--burgundy);
  margin-bottom: 5px;
}

.timeline-photo {
  width: 100%;
  border-radius: 20px;
  margin: 20px 0 50px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  padding: 20px;
  max-width: 600px;
  margin: auto;

  animation: heroFade 1.5s ease;
}

@keyframes heroFade {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.scroll-indicator {
  margin-top: 40px;

  font-size: 2rem;

  color: var(--burgundy);

  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-10px);
  }

  60% {
    transform: translateY(-5px);
  }
}
.historia-img:hover {
  transform: translateY(-5px);
}
.timeline {
  background: white;
}
.rsvp {
  background: white;
}
.ornament {
  text-align: center;

  font-size: 2rem;

  color: var(--gold);

  margin: 40px 0;
}
