:root {
  /* Paleta minimalista */
  --primary-color: #2c2c2c;
  --secondary-color: #8a8a8a;
  --accent-color: #d4af37;
  --text-primary: #1a1a1a;
  --text-secondary: #666666;
  --text-light: #ffffff;
  --background-primary: #ffffff;
  --background-secondary: #fafafa;
  --background-accent: #f8f8f8;
  --border-color: #e5e5e5;

  /* Tipografía minimalista */
  --font-heading: "Cormorant Garamond", serif;
  --font-body: "Inter", sans-serif;

  /* Espaciados precisos */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Sombras sutiles */
  --shadow-minimal: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.12);

  /* Bordes */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--background-primary);
  overflow-x: hidden;
  font-weight: 400;
  text-wrap: pretty;
}

/* Comportamiento normal de scroll */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 20px;
}

#detalles {
  scroll-margin-top: 50px;
}

/* Pantalla completa de invitación */
.invitation-fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 50%, #1a1a1a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: opacity 0.6s ease, transform 0.6s ease;
  color: var(--text-light);
  overflow: hidden;
}

.invitation-fullscreen::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 20%,
      rgba(212, 175, 55, 0.03) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(212, 175, 55, 0.05) 0%,
      transparent 40%
    );
  pointer-events: none;
}

.invitation-fullscreen.hidden {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
}

.fullscreen-content {
  text-align: center;
  width: 90%;
  padding: var(--space-2xl);
  position: relative;
  z-index: 2;
  animation: heroEntrance 1.2s ease-out;
}

@keyframes heroEntrance {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.names-section {
  margin-bottom: var(--space-4xl);
  text-align: center;
  overflow: hidden;
}

.couple-names-hero {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 6rem);
  color: var(--text-light);
  font-weight: 300;
  letter-spacing: 3px;
  margin-bottom: var(--space-xl);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
  text-align: center;
  display: block;
  width: 100%;
}

.couple-names-hero span {
  font-size: 0.7em;
  opacity: 0.8;
  margin: 0 var(--space-md);
  color: var(--accent-color);
}

.decorative-line {
  width: 120px;
  height: 2px;
  background: linear-gradient(
    to right,
    transparent,
    var(--accent-color),
    transparent
  );
  margin: 0 auto;
  position: relative;
}

.decorative-line::before,
.decorative-line::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--accent-color);
  border-radius: 50%;
  top: -2px;
}

.decorative-line::before {
  left: 30px;
}

.decorative-line::after {
  right: 30px;
}

.mystery-section {
  margin-bottom: var(--space-4xl);
  text-align: center;
}

.simple-message {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  margin-bottom: var(--space-3xl);
  font-weight: 300;
  letter-spacing: 1px;
  font-style: italic;
}

.minimal-btn {
  background: transparent;
  color: var(--accent-color);
  border: 1px solid var(--accent-color);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-2xl);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  min-width: 200px;
}

.minimal-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.8s ease;
}

.minimal-btn:hover::before {
  left: 100%;
}

.minimal-btn:hover {
  border-color: var(--accent-color);
  background: var(--accent-color);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.scroll-hint-bottom {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  opacity: 0.6;
  animation: gentle-pulse 3s ease-in-out infinite;
  cursor: pointer;
  padding: var(--space-md);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.scroll-hint-bottom:hover {
  opacity: 0.9;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.scroll-hint-bottom span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

@keyframes gentle-pulse {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 0.9;
  }
}

/* Video Hero Section (oculto por defecto) */

.video-section {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 999;
  transition: opacity 0.6s ease;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.video-section.hidden {
  opacity: 0;
  pointer-events: none;
}

.video-section.fade-out {
  opacity: 0;
  transform: scale(1.1);
  pointer-events: none;
}

#invitation-video {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  border: none;
  pointer-events: auto; /* Permitir interacción con YouTube */
}

.video-scroll-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: transparent;
  pointer-events: none; /* No bloquear interacción con video */
}

/* YouTube iframe responsive */
@media (max-width: 768px) {
  #invitation-video {
    width: 100vw;
    height: 100vh;
  }

  .video-section {
    align-items: center;
    justify-content: center;
  }
}

@media (orientation: landscape) {
  #invitation-video {
    width: 100vw;
    height: 100vh;
  }
}

/* Fallback para navegadores que no soporten aspect-ratio */
.video-section::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.1);
  z-index: 1;
  pointer-events: none;
}

/* Imagen de fondo estática */
.background-image {
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  height: calc(100vh - 70px);
  z-index: 1; /* Por debajo del contenido principal */
  transition: opacity 0.3s ease;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.background-image.hidden {
  opacity: 0;
  transform: scale(1.1);
  pointer-events: none;
}

.background-image.fade-out {
  opacity: 0;
  transform: scale(1.1);
  pointer-events: none;
}

#static-invitation-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  filter: grayscale(100%) brightness(0.7);
  mask: linear-gradient(
    to right,
    transparent 0%,
    white 15%,
    white 85%,
    transparent 100%
  );
  -webkit-mask: linear-gradient(
    to right,
    transparent 0%,
    white 15%,
    white 85%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.8s ease-in;
}

.background-image:not(.hidden) #static-invitation-image {
  opacity: 1;
}

.scroll-hint-over-image {
  position: absolute;
  bottom: 10px;
  transform: translateX(-50%);
  text-align: center;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: max-content;
  opacity: 0.8;
  animation: gentle-bounce 3s ease-in-out infinite;
  transition: transform 0.1s ease-out;
}

.scroll-hint-over-image span {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 400;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  background: rgba(0, 0, 0, 0.3);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-lg);
  white-space: nowrap;
}

.scroll-hint-over-image .scroll-arrow {
  font-size: 1.2rem;
  color: var(--accent-color);
  animation: arrow-pulse 2s ease-in-out infinite;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Responsive para imagen estática - horizontal mantiene 16:9 */
@media (max-width: 768px) and (orientation: landscape) {
  .background-image {
    aspect-ratio: 16 / 9;
  }

  #static-invitation-image {
    object-fit: contain;
  }
}

/* Desktop - misma solución que mobile */
@media (min-width: 769px) {
  .background-image {
    top: 70px;
    height: calc(100vh - 70px);
  }
}

/* Ajustar imagen en móvil vertical para formato más cuadrado */
@media (max-width: 768px) and (orientation: portrait) {
  .background-image {
    width: 100vw;
    height: calc(100vh - 70px);
    top: 70px;
  }

  #static-invitation-image {
    content: url("assets/imagen-mobile.webp");
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* Responsive para pantalla completa de invitación */
@media (max-width: 768px) {
  .fullscreen-content {
    padding: var(--space-md);
    max-width: 95%;
  }

  .couple-names-hero {
    font-size: clamp(1.6rem, 8vw, 4rem);
    letter-spacing: 0.5px;
    margin-bottom: var(--space-lg);
    white-space: nowrap;
    margin-top: 0;
  }

  .names-section {
    margin-bottom: var(--space-lg);
    margin-top: 0;
  }

  .simple-message {
    font-size: 1.4rem;
    margin-bottom: var(--space-2xl);
    padding: 0 var(--space-md);
  }

  .minimal-btn {
    min-width: 180px;
    padding: var(--space-md) var(--space-xl);
    font-size: 1rem;
  }

  .invitation-message {
    font-size: 1rem;
    margin: var(--space-lg) 0;
    padding: 0 var(--space-sm);
  }

  .actions-section {
    margin-top: var(--space-2xl);
    gap: var(--space-md);
  }

  .scroll-hint-bottom {
    bottom: var(--space-lg);
  }

  .scroll-hint-bottom span {
    font-size: 0.8rem;
  }

  /* Responsive para nueva intro section */
  .main-heading {
    font-size: 2.2rem;
    letter-spacing: 1px;
  }

  .wedding-date-elegant {
    gap: var(--space-md);
    padding: var(--space-lg);
  }

  .date-number {
    font-size: 3rem;
  }

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

  .month {
    font-size: 1.3rem;
  }

  .welcome-text {
    font-size: 1rem;
    padding: 0 var(--space-md) !important;
    margin: 0 !important;
  }

  /* Responsive para nueva sección de detalles */
  .details-message {
    max-width: 95%;
  }

  .event-title {
    font-size: 1.5rem;
  }

  .event-detail {
    font-size: 1rem;
    padding: 0 var(--space-sm);
  }

  .event-time {
    font-size: 1.2rem;
  }

  .gift-info {
    margin-top: var(--space-2xl);
  }

  .gift-text {
    font-size: 0.95rem;
  }
}

/* Navigation */
#navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1002;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

#navbar.visible {
  transform: translateY(0);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) var(--space-xl);
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  letter-spacing: 2px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-logo:hover {
  color: var(--accent-color);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--space-2xl);
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 400;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
  position: relative;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-color);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--accent-color);
}

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

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--primary-color);
  transition: all 0.3s ease;
}

/* Main Content */
.main-content {
  position: relative;
  z-index: 1001;
  background: var(--background-primary);
  margin-top: 100vh;
  display: none;
}

.main-content.visible {
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Intro Section Mejorada */
.intro-section {
  padding: var(--space-xl) 0;
  background: var(--background-primary);
  display: flex;
  align-items: center;
  min-height: 100vh;
  position: relative;
  z-index: 1002;
}

.intro-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 80%,
      rgba(212, 175, 55, 0.03) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(44, 44, 44, 0.02) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.intro-content {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 2;
}

.welcome-message {
  text-align: center;
  max-width: 600px;
  animation: fadeInUp 1s ease-out;
}

.main-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--primary-color);
  font-weight: 300;
  letter-spacing: 2px;
  margin-bottom: var(--space-2xl);
  position: relative;
  white-space: nowrap;
  text-align: center;
}

.main-heading::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: var(--accent-color);
}

.wedding-date-elegant {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: var(--space-lg);
  margin: var(--space-2xl) 0;
  padding: var(--space-xl);
  background: rgba(212, 175, 55, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-lg);
}

.date-number {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 300;
  color: var(--accent-color);
  line-height: 1;
}

.date-details {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.month {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--primary-color);
  font-weight: 400;
  line-height: 1.2;
}

.year {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: 2px;
}

.welcome-text {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin: var(--space-2xl) 0;
  text-align: left;
}

.scroll-hint {
  margin-top: var(--space-3xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  opacity: 0.7;
  animation: gentle-bounce 3s ease-in-out infinite;
}

@keyframes gentle-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.scroll-hint span {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 400;
  letter-spacing: 0.5px;
}

.scroll-arrow {
  font-size: 1.2rem;
  color: var(--accent-color);
  animation: arrow-pulse 2s ease-in-out infinite;
}

@keyframes arrow-pulse {
  0%,
  100% {
    opacity: 0.5;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(3px);
  }
}

/* Section Titles */
.section-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: var(--space-3xl);
  color: var(--primary-color);
  font-weight: 400;
  letter-spacing: 1px;
}

/* Details Section */
.details-section {
  padding: var(--space-xl) 0;
  background: var(--background-primary);
  display: flex;
  align-items: center;
  min-height: 80vh;
  position: relative;
  z-index: 1002;
}

.details-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 80%,
      rgba(212, 175, 55, 0.03) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(44, 44, 44, 0.02) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.details-content {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 2;
}

.details-message {
  text-align: center;
  max-width: 700px;
  animation: fadeInUp 1s ease-out;
}

.event-info {
  padding: var(--space-xl) 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  max-width: 100%;
  overflow-wrap: break-word;
}

.event-info:last-child {
  border-bottom: none;
}

.event-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--primary-color);
  font-weight: 400;
  margin-bottom: var(--space-lg);
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}

.event-title svg,
.event-title img {
  flex-shrink: 0;
}

.event-image {
  margin: var(--space-lg) 0;
}

@keyframes show {
  from {
    opacity: 0;
    scale: 25%;
  }

  to {
    opacity: 1;
    scale: 100%;
  }
}

.ceremony-image {
  width: 100%;
  max-width: 600px;
  height: 450px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease;
  margin: 0 auto;
  display: block;
  view-timeline-name: --image;
  view-timeline-axis: block;

  animation-timeline: --image;
  animation-name: show;
  animation-range: entry 25% cover 50%;
  animation-fill-mode: both;
}



.event-description {
  font-size: 1rem;
  color: var(--text-secondary);
  margin: var(--space-md) 0;
  line-height: 1.7;
  text-align: left;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.event-detail {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin: var(--space-sm) 0;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.event-time {
  font-size: 1.3rem;
  color: var(--accent-color);
  font-weight: 600;
  margin-top: var(--space-md);
}

.gift-info {
  background: rgba(212, 175, 55, 0.05);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(212, 175, 55, 0.2);
  margin-top: var(--space-4xl);
}

.gift-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-2xl);
}

.detail-card {
  background: var(--background-secondary);
  padding: var(--space-2xl);
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.detail-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.detail-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-lg);
}

.detail-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: var(--space-md);
  font-weight: 400;
}

.detail-info p {
  margin-bottom: var(--space-xs);
  color: var(--text-secondary);
}

.time {
  font-size: 1.2rem !important;
  font-weight: 600 !important;
  color: var(--accent-color) !important;
}

.venue {
  font-weight: 500 !important;
  color: var(--text-primary) !important;
}

.code {
  font-size: 1.1rem !important;
  font-weight: 500 !important;
  color: var(--text-primary) !important;
}

.gift-message {
  font-size: 0.9rem !important;
  line-height: 1.5 !important;
  margin-bottom: var(--space-md) !important;
  text-align: center !important;
}

.account-number {
  font-family: "Courier New", monospace !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  color: var(--accent-color) !important;
  background: rgba(212, 175, 55, 0.1) !important;
  padding: var(--space-sm) var(--space-md) !important;
  border-radius: var(--radius-sm) !important;
  margin: var(--space-md) auto !important;
  text-align: center !important;
  border: 1px solid rgba(212, 175, 55, 0.3) !important;
  letter-spacing: 1px !important;
  max-width: 600px !important;
  word-break: break-all !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: var(--space-sm) !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
}

.account-number:hover {
  background: rgba(212, 175, 55, 0.2) !important;
  border-color: var(--accent-color) !important;
  transform: translateY(-1px) !important;
}

.account-number svg {
  color: var(--accent-color) !important;
  opacity: 0.7 !important;
  transition: opacity 0.3s ease !important;
}

.account-number:hover svg {
  opacity: 1 !important;
}

/* RSVP Section */
.rsvp-section {
  padding: var(--space-4xl) 0 var(--space-4xl) 0;
  background: var(--background-secondary);
  position: relative;
  z-index: 1002;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

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

.rsvp-text {
  text-align: left;
  margin-bottom: var(--space-3xl);
}

.rsvp-text h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 3vw, 1.5rem);
  color: var(--primary-color);
  margin-bottom: var(--space-xl);
  font-weight: 300;
  letter-spacing: 1px;
}

.rsvp-text p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin: var(--space-lg) 0;
  text-align: left;
}

.rsvp-text {
  text-align: left;
}

.rsvp-text .google-form-link {
  display: block;
  margin: var(--space-lg) auto 0 auto;
  width: fit-content;
}

.google-form-link {
  display: inline-block;
  background: transparent;
  color: var(--accent-color);
  border: 1px solid var(--accent-color);
  text-decoration: none;
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-sm);
  font-weight: 400;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  margin-top: var(--space-lg);
  text-align: center;
}

.google-form-link:hover {
  background: var(--accent-color);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

/* Footer */
.footer {
  background: var(--primary-color);
  color: var(--text-light);
  text-align: center;
  padding: var(--space-xl);
  position: relative;
  z-index: 1002;
  display: none;
}

.main-content.visible ~ .footer {
  display: block;
}

.footer p {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 1px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.8s ease forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
  /* Reducir padding en mobile */

  .intro-section {
    padding: var(--space-md) 0;
    min-height: 100vh;
  }

  .details-section,
  .location-section,
  .rsvp-section {
    padding: var(--space-md) 0;
  }

  /* Eliminar todos los paddings internos en mobile - solo usar el del main-content */
  .welcome-message,
  .details-message,
  .intro-content,
  .location-content,
  .rsvp-content,
  .welcome-text,
  .gift-info {
    padding: 0;
  }

  /* Mejorar legibilidad de texto en mobile */
  .welcome-text,
  .gift-text,
  .event-description,
  .rsvp-text {
    text-align: left;
  }

  /* Ocultar scroll hint en mobile - ya tienen el menú */
  .scroll-hint-over-image {
    display: none;
  }

  /* Simplificar número de cuenta en mobile */
  .account-number {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    font-size: 1rem !important;
    text-align: center !important;
    margin: var(--space-md) 0 !important;
  }

  /* Centrar nombre de sede en mobile */
  .event-detail {
    text-align: center !important;
  }

  .event-description {
    padding: 0 var(--space-md) !important;
  }

  .event-image {
    padding: 0 var(--space-md) !important;
  }

  .ceremony-image {
    height: 250px !important;
    max-width: 100% !important;
  }

  .nav-menu {
    display: none;
  }

  .nav-menu a::after {
    bottom: -2px;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .nav-menu.active {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-top: 1px solid var(--border-color);
  }

  .nav-menu.active a {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
  }

  .nav-menu.active a::after {
    bottom: 0;
    height: 1px;
    background: var(--accent-color);
    z-index: 1;
  }

  .nav-toggle {
    display: flex;
  }

  .names {
    font-size: 3rem;
  }

  .date {
    font-size: 1.2rem;
  }

  .subtitle {
    font-size: 1rem;
  }

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

  .rsvp-content {
    padding: 0 16px;
  }

  .rsvp-text {
    text-align: center;
  }
}
