:root {
  --color-primary: #b76e79;   /* Rosa canela */
  --color-secondary: #874c62; /* Rosa vino/malva */
  --color-light: #fff9f7;     /* Fondo claro cálido */
  --color-accent: #f2c6c2;    /* Rosa pastel suave */
  --color-text: #4a3b3b;      /* Marrón grisáceo elegante */
  --color-white: #ffffff;
  --color-green: #a8c3a1;     /* Verde acuarela de las hojas */
}
    
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }
    
    /* Ajustes de tipografía */
    body {
      font-family: 'Montserrat', sans-serif;
      color: var(--color-text);
      line-height: 1.6;
      background-color: var(--color-white);
    }
    
    h1, h2, h3 {
      font-weight: normal;
      color: var(--color-secondary);

      font-family: Butler, "Times New Roman", serif;
      letter-spacing: -0.03em;
      line-height: 0.9;
      text-transform: uppercase;
      margin: 0;
      z-index: 1;
    }
        
    section {
      padding: 4rem 1rem;
      display: none;
      box-sizing: border-box;
    }
    
    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 1rem;
    }
    
    /* Portada inicial */
    .inicio {
      height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      background: linear-gradient(rgba(255, 250, 243, 0.9), rgba(255, 250, 243, 0.9)), 
                  url('https://images.unsplash.com/photo-1519225421980-715cb0215aed?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80') center/cover no-repeat;
      position: relative;
    }
    #boletosNinos{
      color: var(--color-secondary);
      font-weight: bold;
    }
    #boletosAdultos{
      color: var(--color-secondary);
      font-weight: bold;
    }
    .inicio h1 {
      font-size: 4.5rem;
      color: var(--color-secondary);
      margin: 0;
      text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    }
    
    .inicio h2 {
      font-size: 2.5rem;
      color: var(--color-primary);
      margin: 1rem 0;
      font-weight: 300;
    }
    
    .inicio button {
      margin-top: 2rem;
      padding: 1rem 2.5rem;
      font-size: 1.1rem;
      background-color: var(--color-primary);
      color: var(--color-white);
      border: none;
      border-radius: 50px;
      cursor: pointer;
      transition: all 0.3s ease;
      box-shadow: 0 4px 15px rgba(166, 124, 82, 0.3);
    }
    
    .inicio button:hover {
      background-color: var(--color-secondary);
      transform: translateY(-3px);
      box-shadow: 0 6px 20px rgba(111, 78, 55, 0.4);
    }
    
    /* Encabezado principal */
    #principal {
      display: none;
      background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/fondo.jpeg') center/cover no-repeat;
      flex-direction: column;
      justify-content: center;
      background-size: cover;
      align-items: center;
      background-position: center;
      text-align: center;
      width: 100%;
      height: 100vh;
      object-fit: cover;
      object-position: 50% 20%; /* Centrado horizontal, 20% desde arriba verticalmente */
    }
    
    #principal h1 {
      font-size: 5rem;
      color: var(--color-white);  
      margin-bottom: 1rem;
      letter-spacing: 2px;
    }
    
    #principal p {
      font-size: 1.5rem;
      color: var(--color-white);  
      max-width: 600px;
      margin: 0 auto;
      
    }
    
    /* Imagen romántica */
    .romantic-image {
      width: 100%;
      height: 70vh;
      object-fit: cover;
      object-position: 50% 20%; /* Centrado horizontal, 20% desde arriba verticalmente */
      display: none;
    }
    
    /* Sección de la boda */
    .boda-section {
      background-color: var(--color-light);
      text-align: center;
      position: relative;
    }
    
    .boda-section h2 {
      font-size: 3.5rem;
      color: var(--color-primary);
      margin-bottom: 1.5rem;
    }
    
    .boda-section p {
      font-size: 1.2rem;
      margin-bottom: 1rem;
    }
    
.playlist-section {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 60px auto;
  width: 100%;
  text-align: center;
}

.playlist-card {
  background-color: #fdf8f6; /* tono crema */
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  text-align: center;
  max-width: 600px;
  padding: 0.5rem 0.5rem 2rem 0.5rem;
  margin: 0 auto; /* asegura que quede centrado en contenedores normales */
}

.playlist-icon {
  font-size: 40px;
  margin-bottom: 10px;
  color: #b57b82; /* tono rosa viejo */
}

.playlist-title {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  letter-spacing: 1px;
  color: #8b4f55;
  margin-bottom: 8px;
}

.playlist-subtitle {
  font-size: 16px;
  color: #7a6465;
  margin-bottom: 20px;
}

.spotify-embed {
  border-radius: 12px;
  margin-bottom: 20px;
  border: 1px solid #e6d6d8;
  width: 100%;
}

.playlist-button {
  background-color: #b57b82;
  color: #fff;
  text-decoration: none;
  padding: 8px 13px;
  width: 80%;
  margin-top: 1rem;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  transition: background 0.3s ease;
  display: inline-block;
}

.playlist-button:hover {
  background-color: #9a656b;
}


    /* Cuenta regresiva */
    .countdown {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 3rem;
      flex-wrap: wrap;
      text-align: center;
    }
    
    .calendar-box {
      background-color: var(--color-white);
      padding: 1.5rem 1rem;
      border: 3px solid var(--color-accent);
      border-radius: 15px;
      width: 110px;
      height: 110px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.1);
      font-size: 2rem;
      font-weight: bold;
      color: var(--color-secondary);
      font-family: 'Montserrat', sans-serif;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      transition: transform 0.3s ease;
      width: 90px;
      height: 90px;
      border: 1px solid rgba(68, 59, 59, 0.7);
      border-radius: 5px;
      
    }
    
    .calendar-box:hover {
      transform: translateY(-5px);
    }
    
    .number {
      font-size: 2.5rem;
      font-weight: 700;
      line-height: 1.2;
      color: var(--color-secondary);
    }

    .calendar-box span {
      font-size: 1rem;
      font-size: 0.7rem;
      margin-top: 0.5rem; 
      font-family: 'Montserrat', sans-serif;
      font-weight: normal;
      color: var(--color-primary);
      font-weight: 300;
      letter-spacing: 1px;
      text-transform: uppercase;
    }
    


    /* 📱 Tablets y pantallas medianas */
    @media (max-width: 768px) {
      .countdown {
        gap: 1.2rem;
      }

      h3 {
        font-size: 1.3rem;
      }
      .count-number {
        font-size: 8vw; /* Escala dinámica */
      }

      .count-label {
        font-size: 3vw;
      }

      .count-box {
        min-width: 60px;
      }
    }
    /* Sección de ubicación */
    .location-section {
      text-align: center;
    }
    
    .location-image {
      width: 100%;
      max-width: 800px;
      height: auto;
      border-radius: 15px;
      margin: 2rem auto;
      box-shadow: 0 10px 30px rgba(0,0,0,0.1);
      display: block;
    }
    /* Botones */
    button, .location-btn, .code-form button, .confirmar-reducido, .gift-button {
      background-color: var(--color-primary);
      color: var(--color-white);
      border-radius: 50px;
      transition: all 0.3s ease;
    }
    button:hover, .location-btn:hover, .code-form button:hover, .confirmar-reducido:hover, .gift-button:hover {
      background-color: var(--color-secondary);
      transform: translateY(-3px);
    }

    .location-btn {
      margin-top: 1rem;
      padding: 1rem 2.5rem;
      font-size: 1.1rem;
      background-color: var(--color-primary);
      color: var(--color-white);
      border: none;
      border-radius: 50px;
      cursor: pointer;
      transition: all 0.3s ease;
      display: inline-block;
    }
    
    .location-btn:hover {
      background-color: var(--color-secondary);
      transform: translateY(-3px);
    }
    
    #mapa {
      display: none;
      margin: 2rem auto;
      width: 100%;
      max-width: 100%;
      border-radius: 0;
      overflow: hidden;
      box-shadow: none;
      padding: 0;
    }
    
    #mapa iframe {
      width: 100%;
      height: 400px;
      border: none;
    }
    
    /* Sección de confirmación */
    .confirmation-section {
      text-align: center;
      background-color: var(--color-white);
    }
    
    .confirmation-section h2 {
      font-size: 2.2rem;
      color: var(--color-primary);
      margin-bottom: 2rem;
    }
    
    .code-form {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 1rem;
      margin: 2rem auto;
      max-width: 500px;
    }
    
    .code-form input {
      padding: 1rem;
      font-size: 1rem;
      width: 100%;
      border: 2px solid var(--color-accent);
      border-radius: 8px;
      background-color: var(--color-light);
    }
    
    .code-form button {
      padding: 1rem 2rem;
      font-size: 1.1rem;
      background-color: var(--color-primary);
      color: var(--color-white);
      border: none;
      border-radius: 8px;
      cursor: pointer;
      transition: all 0.3s ease;
      width: 100%;
    }
    
    .code-form button:hover {
      background-color: var(--color-secondary);
    }
    
    /* Panel de invitados */
    .panel-reducido {
      display: none;
      margin: 2rem auto;
      padding: 2rem;
      background-color: var(--color-light);
      border-radius: 15px;
      max-width: 500px;
      box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    }
    
    .panel-reducido h3 {
      color: var(--color-secondary);
      margin-bottom: 1.5rem; 
      font-family: Butler, "Times New Roman", serif;
      font-weight: 600;
    }
    
    .contador {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin: 1.5rem 0;
    }
    
    .contador label {
      font-size: 1.1rem;
      color: var(--color-secondary);
      flex: 1;
      text-align: left;
    }
    
    .contador button {
      width: 40px;
      height: 40px;
      font-size: 1.2rem;
      background-color: var(--color-primary);
      color: var(--color-white);
      border: none;
      border-radius: 50%;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s ease;
    }
    
    .contador button:hover {
      background-color: var(--color-secondary);
    }
    
    .contador span {
      min-width: 40px;
      text-align: center;
      font-size: 1.2rem;
      font-weight: bold;
    }
    
    .confirmar-reducido {
      margin-top: 2rem;
      padding: 1rem 2rem;
      font-size: 1.1rem;
      background-color: var(--color-primary);
      color: var(--color-white);
      border: none;
      border-radius: 8px;
      cursor: pointer;
      transition: all 0.3s ease;
      width: 100%;
    }
    
    .confirmar-reducido:hover {
      background-color: var(--color-secondary);
    }
    
    .volver-atras-btn {
      margin-top: 1rem;
      padding: 1rem 2rem;
      font-size: 1.1rem;
      background-color: transparent;
      color: var(--color-primary);
      border: 2px solid var(--color-primary);
      border-radius: 8px;
      cursor: pointer;
      transition: all 0.3s ease;
      width: 100%;
    }
    .volver-atras-btn:hover {
      background-color: rgba(183, 110, 121, 0.1);
    }
    /* Info box */
    .info-box {
      display: none;
      margin: 2rem auto;
      padding: 2rem;
      background-color: var(--color-light);
      border-radius: 15px;
      max-width: 500px;
      box-shadow: 0 5px 20px rgba(0,0,0,0.05);
      text-align: left;
    }
    
    .info-box p {
      margin: 1rem 0;
      font-size: 1.1rem;
      color: var(--color-text);
    }
    
    .info-box p strong {
      color: var(--color-secondary);
      font-weight: 600;
    }

    .transfer-note {
      font-style: italic;
      font-size: 0.9rem;
      color: var(--color-primary);
      text-align: center;
      margin-top: 1.5rem;
      border-top: 1px dashed var(--color-accent);
      padding-top: 1rem;
    }
    
    .codigo-form {
      display: flex;
      flex-direction: column;
      gap: 1rem;
      margin: 2rem 0;
    }
    
    .codigo-form button {
      padding: 1rem;
      font-size: 1.1rem;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      transition: all 0.3s ease;
    }
    
    .codigo-form button[type="submit"] {
      background-color: var(--color-primary);
      color: var(--color-white);
    }
    
    .codigo-form button[type="submit"]:hover {
      background-color: var(--color-secondary);
    }
    
    .codigo-form button[onclick="mostrarPanelReducido()"] {
      background-color: transparent;
      color: var(--color-primary);
      border: 2px solid var(--color-primary);
    }
    
    .codigo-form button[onclick="mostrarPanelReducido()"]:hover {
      background-color: rgba(166, 124, 82, 0.1);
    }
    
    .decline-btn {
      background-color: #888 !important; /* Un color gris neutro */
      color: var(--color-white);
    }

    .decline-btn:hover {
      background-color: #666 !important;
    }

    /* Botón de alergias */
    .allergy-btn {
      width: 100%;
      margin-top: 1rem;
      padding: 1rem;
      font-size: 1.1rem;
      background-color: transparent;
      color: var(--color-secondary);
      border: 2px solid var(--color-secondary);
      border-radius: 8px;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .allergy-btn:hover {
      background-color: rgba(111, 78, 55, 0.1);
    }

    /* Modal de Alergias */
    .allergy-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.7);
      display: none; /* Oculto por defecto */
      justify-content: center;
      align-items: center;
      z-index: 9990;
      padding: 1rem;
    }

    .allergy-content {
      background-color: var(--color-light);
      padding: 2rem;
      border-radius: 15px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.2);
      width: 100%;
      max-width: 500px;
      text-align: center;
    }

    .allergy-content h3 {
      color: var(--color-secondary);
      font-family: Butler, "Times New Roman", serif;
      margin-bottom: 1rem;
      font-size: 1.3rem; /* Tamaño de fuente ajustado para el título del modal */
    }

    .allergy-list {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1rem;
      margin: 1.5rem 0;
      text-align: left;
    }

    .allergy-list label {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 1rem;
    }

    .other-allergy {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      margin-bottom: 1.5rem;
    }

    .other-allergy input[type="text"] {
      flex: 1;
      padding: 0.5rem;
      border: 1px solid var(--color-accent);
      border-radius: 5px;
    }

    .allergy-buttons {
      display: flex;
      gap: 1rem;
      justify-content: center;
    }

    .allergy-buttons button, .message-content .close-btn, .confirm-buttons button {
      padding: 0.8rem 1.5rem;
      border-radius: 8px;
      border: none;
      cursor: pointer;
      color: var(--color-white);
      font-size: 1rem;
      transition: all 0.3s ease;
      background-color: var(--color-primary);
    }

    .allergy-buttons button:hover, .message-content .close-btn:hover, .confirm-buttons button:hover {
      background-color: var(--color-secondary);
      transform: translateY(-2px);
    }

    .allergy-buttons .close-btn, .message-content .close-btn {
      background-color: #888;
    }

    .confirm-buttons {
      display: flex;
      gap: 1rem;
      justify-content: center;
    }

    /* Modal de Mensajes Genérico */
    .message-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.7);
      display: none; /* Oculto por defecto */
      justify-content: center;
      align-items: center;
      z-index: 9995; /* Un poco por debajo del de alergias */
      padding: 1rem;
    }

    .message-content {
      background-color: var(--color-light);
      padding: 2.5rem;
      border-radius: 15px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.2);
      width: 100%;
      max-width: 450px;
      text-align: center;
    }

    .message-content p {
      font-size: 1.1rem;
      color: var(--color-text);
      margin-bottom: 2rem;
    }

    /* Galería de momentos */
    .galeria-momentos {
      background-color: var(--color-white);
    }
    
    .galeria-momentos h2 {
      font-size: 3.5rem;
      color: var(--color-primary);
      margin-bottom: 3rem;
    }
    
    .cards-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 2rem;
      margin-top: 2rem;
    }
    
    .card {
      background-color: var(--color-white);
      border-radius: 15px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.1);
      overflow: hidden;
      width: 100%;
      max-width: 350px;
      transition: all 0.3s ease;
      position: relative;
    }
    
    .card:hover {
      transform: translateY(-10px);
      box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    }
    
    .card img {
      width: 100%;
      height: 250px;
      object-fit: cover;
      transition: transform 0.5s ease;
    }
    
    .card:hover img {
      transform: scale(1.05);
    }
    
    .card-content {
      padding: 1.5rem;
    }
    
    .card h3 {
      font-size: 1.8rem;
      color: var(--color-secondary);
      margin-bottom: 0.5rem;
    }
    
    .card p {
      font-size: 1rem;
      color: var(--color-text);
      margin-bottom: 1rem;
    }
    
    /* Footer */
    footer {
      padding: 3rem 1rem;
      background-color: var(--color-secondary);
      color: var(--color-white);
      text-align: center;
      display: none;
    }
    
    footer p {
      font-size: 1.5rem;
      font-family: 'Great Vibes', cursive;
    }
    
    /* Control de música */
    .music-controls {
      position: fixed;
      top: 30px;
      right: 30px;
      z-index: 9999; /* Asegura que esté siempre por encima de todo */
      opacity: 0;
      transform: translateY(-20px);
      transition: all 0.5s ease;
      display: none;
      transform: translateZ(0); /* Fuerza la aceleración por hardware para position: fixed */
    }
    
    .music-controls.visible {
      opacity: 1;
      transform: translateY(0);
    }
    
    .music-btn {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
      border: none;
      color: var(--color-white);
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 5px 20px rgba(0,0,0,0.2);
      transition: all 0.3s ease;
      position: relative;
    }
    
    .music-btn:hover {
      transform: scale(1.1);
    }
    
    .music-note {
      font-size: 24px;
    }
    
    .sound-waves {
      display: flex;
      align-items: center;
      gap: 4px;
      margin-left: 8px;
      height: 24px;
    }
    
    .bar {
      width: 4px;
      background-color: var(--color-white);
      border-radius: 2px;
      animation: equalize 1.5s infinite ease-in-out;
    }
    
    .bar:nth-child(1) { height: 8px; animation-delay: 0.1s; }
    .bar:nth-child(2) { height: 12px; animation-delay: 0.3s; }
    .bar:nth-child(3) { height: 16px; animation-delay: 0.5s; }
    
    @keyframes equalize {
      0%, 100% { transform: scaleY(0.5); }
      50% { transform: scaleY(1.5); }
    }
    
    .music-btn.paused .bar {
      animation: none;
      opacity: 0.5;
    }
    
    .music-btn.paused::after {
      content: "";
      position: absolute;
      width: 30px;
      height: 3px;
      background-color: var(--color-white);
      transform: rotate(45deg);
    }
    
    /* Animaciones de scroll */
    .scroll-animation {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }
    
    .scroll-animation.animated {
      opacity: 1;
      transform: translateY(0);
    }
    
    /* Responsive */
    @media (max-width: 768px) {
      .inicio h1, #principal h1 {
        font-size: 3rem;
      }
      
      .boda-section h2, .galeria-momentos h2 {
        font-size: 2.5rem;
      }
      
      .countdown {
        gap: 1rem;
      }
      
      .calendar-box {
        width: 80px;
        height: 80px;
        font-size: 1.5rem;
      }
      
      .card {
        max-width: 100%;
      }
    }
.mui-go42p8 { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; width: 1em; height: 1em; display: inline-block; fill: currentColor; -webkit-flex-shrink: 0; -ms-flex-negative: 0; flex-shrink: 0; -webkit-transition: fill 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; transition: fill 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms; font-size: 1.5rem; font-size: 2rem; margin-bottom: 24px; color: black; }
.dress-code-section {
    background-color: var(--color-white);
    text-align: center;
    padding: 2rem 1rem;
  }
  
  .dress-code-simple {
    max-width: 500px;
    margin: 0 auto;
    padding: 1.5rem;
    background-color: var(--color-light);
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }
  .dress-code-simple:hover {
    transform: translateY(-5px);
  }
  
  .dress-code-icon {
    margin-bottom: 1rem;
  }
  .dress-code {
    width: 4em;
    height: 4em;
  }
  
  .dress-code-simple h2 {
    font-size: 1.8rem;
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
  }
  
  .check-icon {
    color: var(--color-primary);
    font-size: 1.5rem;
    vertical-align: middle;
    margin-right: 0.5rem;
  }
  
  .dress-code-simple p:first-child {
    font-size: 1.2rem;
    color: var(--color-secondary);
    margin-bottom: 1rem;
    font-weight: 600;
  }
  
  .dress-code-note {
    font-size: 1rem;
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }
  
  /* 🌟 Botón */
  .btn-info {
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  .btn-info:hover {
    background-color: #c79d6b;
    transform: scale(1.05);
  }
  
  /* 🌟 Modal */
  .modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 80px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
  }
  
  .modal-content {
    background-color: #fff;
    margin: auto;
    border-radius: 10px;
    padding: 1rem;
    width: 90%;
    max-width: 600px;
    position: relative;
    animation: fadeIn 0.3s ease;
  }
  
  .modal-content img {
    width: 100%;
    border-radius: 8px;
  }
  
  .close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #555;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
  }
  .close-modal:hover {
    color: #000;
  }
  
  /* Animación */
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: scale(0.95);
    }
    to {
      opacity: 1;
      transform: scale(1);
    }
  }
  
  @media (max-width: 768px) {
    .dress-code-simple {
      padding: 1rem;
    }
  
    .btn-info {
      width: 100%;
    }
  }

  /*Mesa de regalos styles */
  .gift-section {
    background-color: var(--color-white);
  }
  
  .gift-section .subtitle {
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: 2rem;
    font-style: italic;
  }
  
  .gift-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin: 2rem 0;
  }
  
  .gift-card {
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    display: flex;
    background-color: var(--color-light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
  }
  
  .gift-card:hover {
    transform: translateY(-5px);
  }
  
  .gift-logo {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-white);
    border-right: 1px solid #eee;
  }
  
  .gift-logo img {
    width: 100px;
    height: auto;
    object-fit: contain;
  }
  
  .gift-info {
    padding: 1.5rem;
    flex: 1;
  }
  
  .gift-info h3 {
    font-size: 1.3rem;
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
    font-family: 'Open Sans', sans-serif;
  }
  
  .gift-info p {
    font-size: 0.9rem;
    color: var(--color-text);
    margin-bottom: 1.5rem;
  }
  
  .gift-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background-color: var(--color-primary);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
  }
  
  .gift-button:hover {
    background-color: var(--color-secondary);
  }
  
  .amazon-card .gift-button {
    background-color: #FF9900;
  }
  
  .amazon-card .gift-button:hover {
    background-color: #e88a00;
  }
  
  .liverpool-card .gift-button {
    background-color: #e10098;
  }
  
  .liverpool-card .gift-button:hover {
    background-color: #c70086; /* Tono más oscuro para el hover */
  }
  
  .gift-note {
    text-align: center;
    margin-top: 2rem;
    font-style: italic;
    color: var(--color-primary);
  }

  .gift-code {
    font-size: 0.95rem;
    margin-bottom: 1rem !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
  }

  .gift-buttons-container {
    display: flex;
    align-items: center;
    justify-content: center; /* Centra los botones */
    gap: 0.75rem;
    margin-top: 1rem;
  }

  .copy-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    background-color: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-accent);
    border-radius: 50px; /* Bordes redondeados consistentes */
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .copy-btn:hover {
    background-color: var(--color-accent);
    color: var(--color-secondary);
    border-color: var(--color-primary);
  }

  .copy-btn.copied {
    background-color: var(--color-green); /* Verde para indicar éxito */
    color: var(--color-white);
    border-color: var(--color-green);
  }
  
  @media (max-width: 768px) {
    .gift-card {
      flex-direction: column;
    }
    
    .gift-logo {
      border-right: none;
      border-bottom: 1px solid #eee;
    }
    
    .gift-logo img {
      width: 80px;
    }
  }
  
/* Estilos para el itinerario */
.itinerary-section {
  background-color: var(--color-light);
  padding: 2rem 1rem;
}

.itinerary-section .subtitle {
  font-size: 1.1rem;
  color: var(--color-primary);
  margin-bottom: 2rem;
  text-align: center;
  font-style: italic;
}

.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding-left: 80px; /* más espacio para hora, punto y línea */
}


.timeline-event {
  position: relative;
  margin-bottom: 2.5rem;
  display: flex;
  align-items: flex-start;
}

  
.event-time {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 60px;
  font-weight: 600;
  color: var(--color-secondary);
  font-size: 0.9rem;
  text-align: center;
  z-index: 1;
}

.event-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 2px solid var(--color-white);
  box-shadow: 0 0 0 2px var(--color-primary);
  margin-bottom: 8px; /* espacio entre el punto y la hora */
}

.timeline::before {
  content: '';
  position: absolute;
  left: 51px; /* posición de la línea vertical */
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-accent);
  z-index: 0; /* detrás de los puntos */
}

.event-card {
  background: var(--color-white);
  border-radius: 10px;
  padding: 1.2rem;
  box-shadow: 0 3px 15px rgba(0,0,0,0.05);
  margin-left: 10px;
  flex: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-event:hover .event-card {
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.event-card h3 {
  color: var(--color-secondary);
  margin-bottom: 0.3rem;
  font-size: 1.2rem;
}

.event-card p {
  color: var(--color-text);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.event-note {
  font-size: 0.8rem;
  color: var(--color-primary);
  font-style: italic;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px dashed var(--color-accent);
}

/* Responsivo */
@media (max-width: 768px) {
  .timeline {
    padding-left: 30px;
  }

  .timeline::before {
    left: 20px;
  }

  .event-time {
    left: -10px;
    width: 50px;
    font-size: 0.85rem;
  }



  .event-card {
    margin-left: 10px;
    font-size: 0.85rem;
  }
}

/* --- Sección de Hospedaje --- */
.hospedaje-section {
  background-color: var(--color-white);
}

.hospedaje-section .subtitle {
  font-size: 1.1rem;
  color: var(--color-text);
  margin-bottom: 3rem;
  text-align: center;
  font-style: italic;
}

.hotel-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.hotel-card {
  flex: 1;
  min-width: 280px;
  max-width: 400px;
  background-color: var(--color-light);
  border-radius: 15px;
  border: 2px solid var(--color-accent);
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  text-align: left;
}

.hotel-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.hotel-info {
  padding: 1.5rem;
}

.hotel-info h3 {
  font-size: 1.3rem;
  color: var(--color-secondary);
  margin-bottom: 0.5rem;
}

.hotel-info p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.hotel-button {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
}

/* Hacker Warning Overlay - Efecto TV descompuesta */
.hacker-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  color: white;
  display: none; /* Oculto por defecto */
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 9999; /* Siempre encima de todo */
  font-family: 'Montserrat', sans-serif;
  overflow: hidden;
}

/* Capa de estática y líneas */
.hacker-overlay::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,0) 0, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0) 100%);
  background-size: auto 4px;
  opacity: 0.4;
  animation: scanlines 0.5s linear infinite;
}

.hacker-content .warning-icon {
  font-size: 5rem;
  display: block;
  margin-bottom: 1.5rem;
  animation: glitch-icon 1.5s linear infinite;
}

.hacker-content p {
  font-size: 1.2rem;
  animation: glitch-text 2s linear infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

@keyframes scanlines {
  0% { background-position: 0 0; }
  100% { background-position: 0 100%; }
}

@keyframes glitch-icon {
  0%, 100% { text-shadow: -1.5px -1.5px 0 #ff00c1, 1.5px 1.5px 0 #00fff9; }
  25% { text-shadow: 1.5px 1.5px 0 #ff00c1, -1.5px -1.5px 0 #00fff9; }
  50% { text-shadow: 1.5px -1.5px 0 #ff00c1, -1.5px 1.5px 0 #00fff9; }
  75% { text-shadow: -1.5px 1.5px 0 #ff00c1, 1.5px -1.5px 0 #00fff9; }
}

@keyframes glitch-text {
  0%, 100% { transform: translateX(0); }
  10% { transform: translateX(-3px); }
  20% { transform: translateX(3px); }
  30%, 80% { transform: translateX(0); }
  85% { transform: translateX(5px); }
  95% { transform: translateX(-5px); }
}

/* Secciones claras */
section {
  background-color: var(--color-light);
  border-radius: 12px;
  margin: 2rem auto;
  padding: 3rem 1.5rem;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

/* Bordes decorativos sutiles */
.calendar-box, .event-card, .panel-reducido, .info-box, .gift-card {
  border: 2px solid var(--color-accent);
  border-radius: 15px;
}

/* Animaciones suaves */
.scroll-animation {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.scroll-animation.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive ajustes */
@media (max-width: 768px) {
  h1, #principal h1 {
    font-size: 3rem;
  }
  .boda-section h2, .galeria-momentos h2 {
    font-size: 2.2rem;
  }
  .info-boda {
    flex-direction: column; /* Apila los elementos en pantallas pequeñas */
    align-items: center; /* Centra los elementos */
    gap: 2rem; /* Reduce el espacio entre los elementos */
  }

  .linea {
    width: 80%; /* Ajusta el ancho de la línea al 80% del contenedor */
  }
}
@media (max-width: 480px) {
  .countdown {
    gap: 0.6rem;
    flex-wrap: wrap;
    padding: 0.5rem;
  }

  .count-box {
    flex: 1 1 40%; /* permite 2 por fila */
    min-width: 50px;
  }

  .count-number {
    font-size: 10vw;
  }

  .count-label {
    font-size: 4vw;
  }
}
/* Estilos para el botón de carga */
.loading {
  position: relative;
  color: transparent !important; /* Oculta el texto del botón */
  pointer-events: none; /* Deshabilita clics mientras carga */
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  margin-left: -10px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--color-white);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Estilos para el Modal de Galería (Carrusel) */
.gallery-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-modal-overlay.visible {
  display: flex;
  opacity: 1;
}

.gallery-modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.gallery-modal-content img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 85vh;
  border-radius: 10px;
}

.gallery-close-btn {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.gallery-close-btn:hover {
  color: #bbb;
}

.gallery-nav-btn {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.3s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  background-color: rgba(0,0,0,0.3);
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.6);
}

/* Mejoras para el carrusel en móviles */
@media (max-width: 768px) {
  .gallery-nav-btn {
    font-size: 28px; /* Ícono más grande */
    padding: 20px 10px; /* Área de clic más grande (vertical y horizontal) */
    background-color: rgba(0, 0, 0, 0.5); /* Fondo más opaco para mayor visibilidad */
    top: 50%;
    transform: translateY(-50%); /* Mejor centrado vertical */
    margin-top: 0;
  }

  .gallery-close-btn { top: 10px; right: 20px; font-size: 35px; }
}


@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600&family=Montserrat:wght@400;500&display=swap');

.boda-section {
  text-align: center;
  background-color: #fdfbf5;
  color: #4a3b3b;
  padding: 4rem 1rem;
  font-family: 'Montserrat', sans-serif;
}

.padres-section {
  background-color: #fdfbf5;
}
.bendicion {
  font-family: Butler, "Times New Roman", serif;
  text-transform: uppercase;
  font-size: 1.2rem; /* Aumentado el tamaño de la fuente */
  letter-spacing: 2px; /* Reducido el espaciado para mejor legibilidad */
  color: #2c2222; /* Tono aún más oscuro */
  margin-bottom: 1.5rem;
  font-weight: 700; /* Hecho más audaz */
}

/* --- Sección de los Papás --- */

/* --- Contenedor principal --- */
.padres-container {
  text-align: center;
  background-color: #fafafa;
  border: 1px solid #e2e2e2;
  padding: 3rem 1.5rem;
  max-width: 600px;
  margin: 3rem auto;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.03);
}

/* --- Texto superior e inferior --- */
.intro,
.cierre {
  font-family: 'Great Vibes', cursive;
  font-size: 1.5rem;
  color: #333;
  margin: 1.5rem 0;
  line-height: 1.5;
}

/* --- Bloques de padres --- */
.padres-bloque {
  margin: 2rem 0;
}

.padres-bloque h3 {
  font-family: 'Great Vibes', cursive;
  font-size: 1.6rem;
  margin-bottom: 1rem;
  text-transform: math-auto;
}

.w-wife {
  font-family: 'Great Vibes', cursive;
}

.padres-bloque p {
  font-family: Butler, "Times New Roman", serif;
  font-size: 1rem;
  color: #444;
  margin: 0.2rem 0;
}

/* --- Responsive --- */
@media (max-width: 600px) {
  .padres-container {
    padding: 2rem 1rem;
  }
  .intro, .cierre {
    font-size: 1.3rem;
  }
}


.nombres {
  font-family: Butler, "Times New Roman", serif;
  font-size: 2.2rem;
  letter-spacing: 1px;
  margin-bottom: 0.3rem;
  color: #1c1c1c;
}

.subtitulo {
  font-size: 1.3rem; /* Aumentado el tamaño de la fuente */
  color: #2c2222; /* Tono aún más oscuro */
  letter-spacing: 1px;
}

.fecha {
  font-family: Butler, "Times New Roman", serif;
  font-size: 1.1rem;
  color: #2c2222; /* Tono aún más oscuro */
  margin-bottom: 3rem;
  letter-spacing: 1px;
}

/* --- Sección central con líneas --- */
.info-boda {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #1c1c1c;
}

.linea {
  width: 200px;
  height: 1px;
  background-color: #824b34;
  opacity: 0.7;
}

.info-texto {
  margin: 0.7rem 0;
  font-size: 1.1rem;
  letter-spacing: 2px;
  font-weight: 500;
}

.fecha-grande {
  text-align: center;
}

.mes {
  font-family: Butler, "Times New Roman", serif;
  color: #824b34;
  letter-spacing: 3px;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.dia {
  font-family: Butler, "Times New Roman", serif;
  font-size: 6rem;
  color: #1c1c1c;
  margin: 0;
}

.anio {
  font-family: Butler, "Times New Roman", serif;
  color: #824b34;
  letter-spacing: 3px;
  margin-top: 0.3rem;
}

/* --- Contador --- */
.countdown {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.count-box {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 80px; /* reducido para pantallas pequeñas */
  flex: 1 1 auto;
}

.count-number {
  font-size: 3rem;
  font-weight: 500;
  font-family: Butler, "Times New Roman", serif;

}

.count-label {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}



@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600&family=Montserrat:wght@400;500&display=swap');

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

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #fdfbf5;
  color: #4a3b3b;
  overflow-x: hidden;
}

/* === SECCIÓN HERO CON EFECTO DE DESPLAZAMIENTO === */
.boda-hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.imagenes-container {
    width: 100%;
    height: 100%;
}

.imagenes {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  overflow: hidden;
}

.columna {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 50%;
}

.columna img {
  width: 100%;
  height: 33.33vh;
  object-fit: cover;
  border-radius: 6px;
  transition: transform 0.3s ease-out;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #fdfbf5;
    color: #4a3b3b;
    overflow-x: hidden;
    height: 100vh;
  background-color: #fdfbf5;
  font-family: 'Montserrat', sans-serif;
  overflow-x: hidden; /* Prevent horizontal scroll */
  color: #4a3b3b;
  overflow-x: hidden;
}


/* ==== CONTENEDOR DE PARALLAX ==== */


/* Sección principal */
.gallery-section{
    position: relative;
    overflow: hidden;
    width: 100%;
  }

  /* elemento sticky que ocupa el viewport */
  .gallery{
    position: sticky;
    top: 0;
    height: 100vh;          /* VITAL — define la "ventana visible" para el cálculo */
    display: flex;
    align-items: center;    /* centra verticalmente las columnas dentro del viewport */
    justify-content: center;
    gap: var(--gap);
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 20px;
    box-sizing: border-box;
  }

  .column{
    width: var(--col-w);
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;   /* centra las imágenes horizontalmente */
    will-change: transform;
    transform: translateZ(0);
  }

  .column img{
    display:block;
    width: 100%;
    height: auto;
    max-height: 65vh;      /* evita que una imagen individual supere demasiado la altura visible */
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  }

  /* sección siguiente para poder pasar después de la galería */
  .next-section{
    min-height: 80vh;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#faf3f2;
    padding: 60px 20px;
  }

  /* responsive: columnas apiladas */
@media (max-width: 880px) {
  :root {
    --col-w: 42%; /* columnas un poco más angostas */
  }

  .gallery {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    padding: 20px 10px;
  }

  .column {
    width: var(--col-w);
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .column img {
    width: 100%;
    max-height: 45vh; /* más pequeño para pantallas pequeñas */
    object-fit: cover;
  }

  .next-section {
    min-height: 60vh;
  }
}

.gallery-section {
  --gap: 40px;
  --col-w: 45%;
  --radius: 16px;
}

@media screen and (max-width: 479px) {
    .countdown {
        grid-column-gap: 10px;
        grid-row-gap: 10px;
        flex-flow: row;
        justify-content: center;
        margin-top: -23px;
        margin-bottom: -22px;
        padding-bottom: 0;
        font-size: 12px;
        overflow: visible;
    }
}

/* --- Sección de Sugerencias (Hospedaje y Turismo) --- */
.suggestions-section {
  background-color: var(--color-white);
}

.suggestions-container {
  max-width: 700px;
  margin: 2rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.suggestion-dropdown {
  border: 1px solid var(--color-accent);
  border-radius: 12px;
  overflow: hidden;
  background-color: var(--color-light);
}

.suggestion-summary {
  padding: 1.2rem 1.5rem;
  font-family: Butler, "Times New Roman", serif;
  font-size: 1.3rem;
  color: var(--color-secondary);
  cursor: pointer;
  list-style: none; /* Oculta el marcador por defecto */
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.2s ease;
}

.suggestion-summary:hover {
  background-color: #f9f2f0;
}

.suggestion-summary::after {
  content: '▼'; /* Flecha hacia abajo */
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.suggestion-dropdown[open] > .suggestion-summary::after {
  transform: rotate(180deg); /* Gira la flecha cuando está abierto */
}

.suggestion-content {
  padding: 1.5rem;
  border-top: 1px solid var(--color-accent);
}

.tourist-intro {
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 1.5rem;
  text-align: left;
}

.tourist-cards-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tourist-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: var(--color-white);
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid #eee;
  text-align: left;
}

.tourist-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.tourist-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-secondary);
  margin-bottom: 0.2rem;
}

.tourist-card p {
  font-size: 0.9rem;
  color: var(--color-text);
  margin: 0;
}
