

@font-face {
  font-family: 'Jost';
  src: url('Jost-Bold.ttf') format('truetype'); /* formato correcto */
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Jost-normal';
  src: url('Jost-Regular.ttf') format('truetype'); /* formato correcto */
  font-weight: normal;
  font-style: normal;
}


@font-face {
  font-family: 'Donalia';
  src: url('Donalia.ttf') format('truetype'); /* formato correcto */
  font-weight: normal;
  font-style: normal;
}



/* Global box-sizing */
*, ::after, ::before {
  box-sizing: border-box;
}

/* Variables de tema */
:root {
  --theme-color: #738ea5;
}

/* 🔹 Estilos generales del body */
body {
  font-family: Jost, sans-serif;
  margin: 0;
  padding: 0;
  font-size: 16px;
  overflow-x: hidden;
  color: #848892;
  background-color: #fff;
  scroll-behavior: smooth;
}

.carousel-item {
  transition: opacity 1.3s ease-in-out !important;
}

@font-face {
  font-family: 'BrilianSignature';
  src: url('Brilian Signature.otf') format('truetype'); /* Ruta de la fuente */
  font-weight: normal;
  font-style: normal;
}


.title-nav{
  color: white;
  font-size: 45px;
  font-family: 'BrilianSignature', sans-serif;
}

/* 🔹 Header (barra de navegación sobre el carrusel) */
header {
  position: absolute; /* Fijo en la parte superior */
  top: 0;
  left: 0;
  width: 100%;
  background-color: transparent; /* Fondo semitransparente */
  z-index: 10; /* Más alto que el carrusel */
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* 🔹 Contenedor del banner (carrusel y contenido) */
.wedding_banner {
  position: relative;
  height: 100vh; /* Ocupa toda la pantalla */
  overflow: hidden;
}

/* 🔹 Carrusel (fondo detrás del contenido) */
.wedding_banner #carouselExample {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* Menor que el header y el contenido */
}

/* 🔹 Asegurar que el carrusel y sus imágenes cubran el área */
.wedding_banner #carouselExample .carousel-inner,
.wedding_banner #carouselExample .carousel-item,
.wedding_banner #carouselExample .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 🔹 Contenido del anuncio (h2, párrafo, reloj) encima del carrusel */
.wedding_banner .wedding_announcement {
  position: relative;
  z-index: 2; /* Encima del carrusel, pero debajo del header */
  text-align: center;
  width: 80%;
  left: 50%;
  top: 60%;
  transform: translate(-50%, -50%);
  color: #fff; /* Asegurar buen contraste */

}

.pSubtitle {
  font-family: Jost-normal;
  font-weight: normal;
  font-size: 30px !important;
}

/* Estilos para elementos animados (loader) */
.loader {
  visibility: visible;
  animation-duration: 1.2s;
  animation-delay: 0.2s;
}

/* Título del anuncio */
.wedding_banner .wedding_announcement h2 {
  font-family: Donalia;
  font-size: 100px;
  color: #fff;
  font-weight: 500;
  margin-bottom: 30px;
}

/* Animación fadeInLeft */
.fadeInLeft {
  -webkit-animation-name: fadeInLeft;
  animation-name: fadeInLeft;
}

.fadeInRight {
  -webkit-animation-name: fadeInRight;
  animation-name: fadeInRight;
}

/* @keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
} */

/* Estilos generales para títulos */
h1, h2, h3, h4, h5, h6 {
  color: #002642;
  font-family: Jost, sans-serif;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

/* Ajuste responsivo y alternativo para h2 */
@media (min-width: 1200px) {
  h2, .h2 {
    font-size: 2rem;
  }
}
h2, .h2 {
  font-size: calc(1.325rem + 0.9vw);
}


@media(max-width:1399px){
  .wedding_banner .wedding_announcement #clock > div + div{
    margin: 0;
  }
}
@media(max-width:1199px){
  .wedding_banner .wedding_announcement{
    width: 100%;
    top: 55%;
  }
  .wedding_banner .wedding_announcement .wpo-wedding-date{
    margin-top: 30px;
  }
  .wedding_banner .wedding_announcement .wpo-wedding-date #clock > div{
    width: 150px;
    height: 130px;
  }
  .wedding_banner .wedding_announcement h2{
    font-size: 85px;
    margin-bottom: 15px;
  }
  .wedding_banner .wedding_announcement p{
    font-size: 25px;
  }
  .wedding_banner .wedding_announcement .wpo-wedding-date{
    margin-top: 15px;
  }
  .wedding_banner .wedding_announcement .wpo-wedding-date #clock .time{
    font-size: 30px;
  }
  .wedding_banner .wedding_announcement .wpo-wedding-date #clock span{
    font-size: 16px;
  }
}
@media(max-width:767px){ 
  *[class="wow"]{
    animation:none !important;
  }
  .wedding_banner .wedding_announcement {    
    top: 60%;
  }
  .pSubtitle {
    font-family: Jost-normal;
    font-weight: normal;
    font-size: 20px !important;
  }
  .wedding_banner .wedding_announcement .clock-grids > div{
    flex-wrap: wrap;
    justify-content: center;
  }
  .wedding_banner .wedding_announcement h2{
    font-size: 70px;
  }
  .wedding_banner .wedding_announcement p{
    font-size: 22px;
  }
  .wedding_banner .wedding_announcement .wpo-wedding-date #clock > div{
    width: 130px;
    height: 110px;
  }
  .wedding_banner .wedding_announcement .wpo-wedding-date #clock .time{
    font-size: 20px;
  }
  .wedding_banner .wedding_announcement .wpo-wedding-date #clock span{
    font-size: 14px;
  }
}
@media(max-width:575px){
  @keyframes loading {
    0% {
      text-shadow: 10px 0 35px #fff;    
    }
  }
  .wedding_banner:after{
    background-color: rgba(0,0,0,0.3);
  }
  .wedding_banner .carousel-control-prev, 
  .wedding_banner .carousel-control-next{
    display: none;
  }
  .pSubtitle {
    font-family: Jost-normal;
    font-weight: normal;
    font-size: 15px !important;
  }
  .wedding_banner .wedding_announcement .wpo-wedding-date{
    margin-top: 10px;
  }
  .wedding_banner .wedding_announcement h2 {
    font-size: 60px;
  }
  .wedding_banner .wedding_announcement p {
    font-size: 18px;
  }
  .wedding_banner .wedding_announcement .clock-grids > div{
    gap: 0;
  }
  .wedding_banner .wedding_announcement .wpo-wedding-date #clock > div {    
    width: 115px;
    height: 90px;
  }
}
@media(max-width:420px){
  .wedding_banner .wedding_announcement h2 {
    font-size: 50px;
  }
}

.d-flex {
  display: flex !important
;
}


/* Estilos para el fondo de cada caja del reloj */
#clock > div {
  width: 200px;
  height: 163px;
  font-family: Donalia;
  color: black;
  background: url(countdown1.svg) 50% / cover no-repeat local;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  -webkit-filter: drop-shadow(0 0 10px hsla(0, 0%, 100%, 0.5));
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

#clock span {
  font-family: Jost,sans-serif;
  color: black;
}

.nav-link{
  font-family: Jost,sans-serif;
  color: white;
  font-weight: bold;
}

.navbar-toggler-icon {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  vertical-align: middle;
  background-image: var(--bs-navbar-toggler-icon-bg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
  position: relative; /* Agregado para permitir z-index */
  z-index: 99999999;
  color: white;
  filter: brightness(0) invert(1);
}


@media (max-width: 992px) {
  /* Forzamos que el contenedor del menú esté siempre en posición fija */
  .navbar-collapse {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;            /* Ocupa toda la pantalla */
    background-color: #ccc;   /* Fondo gris; ajusta el tono si lo deseas */
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
  }
  /* Cuando el menú se muestre, se hace visible y se centra */
  .navbar-collapse.show {
    opacity: 1;
    visibility: visible;
  }
  
  /* Centramos el contenido del menú */
  .navbar-nav {
    width: 100%;
    margin: 0;              /* Eliminamos cualquier margen automático */
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  /* Estilo de los enlaces para mayor legibilidad */
  .navbar-nav .nav-link {
    font-size: 1.5rem;
    padding: 1rem;
    color: #000; /* Texto oscuro sobre fondo gris */
  }
}



/* Animación zoomIn */
.zoomIn {
  animation-name: zoomIn;
}
@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale3d(0.3, 0.3, 0.3);
  }
  50% {
    opacity: 1;
  }
}



/*-------------------------
    RSVP CSS START
---------------------------*/


  /* 🔹 Contenedor de los acompañantes */
  #guest-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }
  
  /* 🔹 Botón para añadir un acompañante (junto al label) */
  .add-guest-btn {
    background: #738ea5;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s ease-in-out;
  }
  
  .add-guest-btn:hover {
    background: #5a738e;
  }
  
  /* 🔹 Contenedor individual de cada acompañante */
  .guest-entry {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  /* 🔹 Botón para eliminar un acompañante (gris en lugar de rojo) */
  .remove-guest-btn {
    background: #b0c7d9;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s ease-in-out;
  }
  
  .remove-guest-btn:hover {
    background: #8ea5b5;
  }
  
.rsvp_section {
    padding: 120px 0;
    overflow: hidden;
    text-align: center;
  }
  @media (max-width: 768px) {
    .rsvp_section .radio-buttons p {
      display: block;
      text-align: left;
      margin-right: 0;
    }
  }

  /* 🔹 Ajustar tamaño del input para que permita escribir más texto */
  .allergy-input {
    width: 100%;
    height: 110px !important; /* Más alto para escribir mejor */
    resize: vertical; /* Permite ajustar el tamaño si es necesario */
    padding: 10px;
    font-size: 16px;
    border: 1px solid #cde0ef;
    border-radius: 5px;
    background: white;
  }


  /* 🔹 Botón de envío */
  .rsvp_section .theme-btn {
    background: #edf3f8;
    color: #002642;
    display: inline-block;
    font-weight: 600;
    padding: 15px 45px;
    font-size: 16px;
    border: 0;
    text-transform: capitalize;
    z-index: 1;
    position: relative;
    transition: all .3s;
    text-decoration: none;
  }
  
  .rsvp_section .theme-btn:hover {
    background: #86a0b6;
    color: #fff;
  }



.img-fluid{
  width: 80px;
}
.rsvp_section .content_wrapper {
  position: relative;    
  margin: 0 auto;
  padding: 10px;
  box-shadow: 0px 2px 16.8px 3.2px rgba(0, 0, 0, 0.08);
  background: #fff;
}
.rsvp_section .content_wrapper .rsvpForm_area {
  padding: 60px 40px;
  border: 30px solid #cde0ef;
  position: relative;
  z-index: 9;
}
.rsvp_section .bg_1{
  margin-right: -65px;
  z-index:99;
}
.rsvp_section .bg_2{
  margin-left: -65px;
  z-index:99;
}
.rsvp_section .content_wrapper .rsvpForm_area .form-field{
  margin-bottom: 20px;
}
.rsvp_section .content_wrapper .rsvpForm_area .errorMessage{
  color: red;
  font-size: 16px;
}
.rsvp_section .content_wrapper .rsvpForm_area .form-control {
  width: 100%;
  height: 50px;
  margin: 0;
  border: 0;
  padding-left: 0;
  border-bottom: 1px solid #cde0ef;
  background: transparent;
  border-radius: 0;
  color: #738ea5;
  font-size: 18px;
}
.rsvp_section .content_wrapper .rsvpForm_area .form-control:focus {
  outline: none;
  box-shadow: none;
}
.rsvp_section .content_wrapper .rsvpForm_area .form-control:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: #738ea5;
}
.rsvp_section .content_wrapper .rsvpForm_area .form-control::-moz-placeholder {
  color: #738ea5;
}
.rsvp_section .content_wrapper .rsvpForm_area .form-control::placeholder {
  color: #738ea5;
}
.rsvp_section .content_wrapper .rsvpForm_area select.form-control {
  color: #738ea5;
  -webkit-appearance: none;
  -o-appearance: none;
  appearance: none;
  -moz-appearance: none;
  background: transparent url('../images/icons/select-icon.png') no-repeat calc(100% - 15px) center;
  position: relative;
}
.rsvp_section .content_wrapper .rsvpForm_area .nice-select {
  padding-left: 10px;
}
.rsvp_section .content_wrapper .rsvpForm_area .nice-select:after {
  border-bottom: 1px solid #738ea5;
  border-right: 1px solid #738ea5;
  width: 7px;
  height: 7px;
}
.rsvp_section .content_wrapper .rsvpForm_area .select.last {
  margin-bottom: 50px;
}
.rsvp_section .content_wrapper .rsvpForm_area .submit-area {
  margin-top: 40px;
  text-align: center;
}
.rsvp_section .content_wrapper .rsvpForm_area .radio-buttons {
  display: flex;
}

.rsvp_section .radio-buttons [type=radio]:checked+label, 
.rsvp_section .radio-buttons [type=radio]:not(:checked)+label{
  color:#738ea5;
  cursor: pointer;
  display: inline-block;
  line-height: 20px;
  padding-left: 28px;
  position: relative;
  font-size: 18px;
}  
.rsvp_section .radio-buttons [type=radio] +label:before{
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 100%;
  content: "";
  height: 18px;
  left: 0;
  position: absolute;
  top: 0;
  width: 18px;
}
.rsvp_section .radio-buttons [type=radio] +label:after{
  background: #738ea5;
  border-radius: 100%;
  content: "";
  height: 12px;
  left: 3px;
  position: absolute;
  top: 3px;
  transition: all .2s ease;
  width: 12px; 
  opacity: 0;
  -webkit-transform: scale(0);
  transform: scale(0);
} 
.rsvp_section .radio-buttons [type=radio]:checked + label:after{
  opacity: 1;
  -webkit-transform: scale(1);
  transform: scale(1);
}


.rsvp_section .radio-buttons p + p{
  margin-left: 30px;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
@media(max-width:1199px){
  .rsvp_section .content_wrapper .rsvpForm_area{
    padding: 15px 10px;
  }
}
@media(max-width:767px){
  section.rsvp_section {
    padding: 50px 0;
  }
}
@media(max-width:575px){
  
  .rsvp_section .content_wrapper .rsvpForm_area{
    border-width: 10px;
  }
}
@media(max-width:480px){
  .rsvp_section .content_wrapper .rsvpForm_area .radio-buttons{
    display: block;
  }
  .rsvp_section .radio-buttons p + p{
    margin: 0;
    margin-top: 15px;
    border-bottom: 1px solid #cde0ef;
    padding-bottom: 15px;
  }
  .wpo-section-title-s2 .section-title-img{
    max-width:unset !important;
    width: 100%;
  }
  .wpo-section-title-s2 .section-title-img::before, 
  .wpo-section-title-s2 .section-title-img::after{
    width: 40% !important;      
  }
  .wpo-section-title-s2 .section-title-img::before{
    left:20px !important;
  }
  .wpo-section-title-s2 .section-title-img::after{
    right:20px !important;
  }
  .rsvp_section .content_wrapper .rsvpForm_area .submit-area{
    margin-top: 25px !important;
  }
}
@media(max-width:380px){
  .wpo-section-title-s2 .section-title-img::before, 
  .wpo-section-title-s2 .section-title-img::after{
    width: 35% !important;      
  }
}
/*-------------------------
  RSVP CSS END
---------------------------*/









  /* 🔹 Estilos para el título de la sección */
  .address_section .section-title {
    text-align: center;
  }

  .address_section {
    padding: 100px 0;
    background-color: #f9fbfc; /* Fondo suave */
  }
  
/*---------------------------
    ADDRESS SEC CSS START
----------------------------*/
  .address_section {
    padding-bottom: 90px;
  }
  .address_section .wpo-event-wrap .wpo-event-item {
    padding: 20px;
    border: 2px solid #b0c7d9;
    position: relative;
    margin-bottom: 40px;
  }
  .address_section .wpo-event-wrap .wpo-event-item .wpo-event-text {    
    padding: 30px;
    text-align: center;
    background: #edf3f8;
  }
  .address_section .wpo-event-wrap .wpo-event-item .wpo-event-text h2 {
    font-family: "Donalia";
    display: block;
    font-size: 35px;
    font-weight: 400;        
    position: relative;
    line-height: 1;
    padding: 0;
    margin-bottom:20px;
    font-size: 28px;
  }
  .address_section .wpo-event-wrap .wpo-event-item .wpo-event-text ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .address_section .wpo-event-wrap .wpo-event-item .wpo-event-text ul li {
    margin-bottom: 15px;        
    color: #848892;
    font-size: 16px;
    line-height:25px;
  }
  .address_section .wpo-event-wrap .wpo-event-item .wpo-event-text ul li:last-child {
    margin-bottom: 0;
  }
  .address_section .wpo-event-wrap .wpo-event-item .wpo-event-text ul li a {
    font-weight: 700;
    color: #8facc2;
    position: relative;
    display: inline-block;    
    margin-top: 0;
    text-decoration:none;
  }
  .address_section .wpo-event-wrap .wpo-event-item .wpo-event-text ul li a:before {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    content: "";
    background: #8facc2;
  }
  .address_section .wpo-event-wrap .wpo-event-item .event-shape-1 {
    position: absolute;
    right: -5px;
    top: -20px;
    background: #fff;
    padding: 5px;
  }
  .address_section .wpo-event-wrap .wpo-event-item .event-shape-2 {
    position: absolute;
    left: -5px;
    bottom: -20px;
    background: #fff;
    padding: 5px;
  }

  @media (min-width: 576px){
      .modal.locationModal .modal-dialog{
          max-width:850px;
      }
      
  }      
  @media (max-width: 575px){
    .modal.locationModal .modal-dialog{
      margin: 0;
      top: 45%;
      left: 50%;
      transform: translate(-50%,-50%);
      width: 90%;
    }
  }
  @media (max-width: 480px){
    .address_section .wpo-event-wrap .wpo-event-item .wpo-event-text ul li{
      font-size: 15px;
    }
  }
/*---------------------------
    ADDRESS SEC CSS END
----------------------------*/




.flipInX {
  -webkit-backface-visibility: visible !important;
  backface-visibility: visible !important;
  -webkit-animation-name: flipInX;
  animation-name: flipInX;
}



  
@media (max-width: 768px) {
  /* Aseguramos que el contenedor o slide oculte el desbordamiento */
  .wedding_banner .carousel-item {
    overflow: hidden;
    position: relative;
  }
  
  /* Aplicamos a la imagen la animación de desplazamiento */
  .wedding_banner #carouselExample .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;         /* O 'contain' si prefieres ver la imagen completa sin recorte */
    object-position: left center; /* Inicia mostrando la parte izquierda */
    animation: scanImage 7s linear forwards; /* Duración 7s (igual que el intervalo del carrusel) */
  }
}

/* Animación que desplaza la imagen de izquierda a derecha */
@keyframes scanImage {
  from {
    object-position: left center;
  }
  to {
    object-position: right center;
  }
}



header {
  position: fixed;      /* Fijo en la parte superior */
  top: 0;
  left: 0;
  width: 100%;
  background-color: transparent; /* Fondo transparente al inicio */
  transition: background-color 0.3s ease-in-out;
  z-index: 10;          /* Asegura que esté sobre el contenido */
}

header.scrolled {
  background-color: #ccc; /* Fondo gris opaco cuando se hace scroll */
}















/*------------------------------
    CELEBRATE BANNER CSS START
-------------------------------*/

.img_banner {   
  background-position: 50% 20%; /* Ajusta los valores según tu necesidad */
  background-repeat: no-repeat;
  background-size: cover;
  padding: 125px 0;
  margin-top: 75px;
  position: relative;
  z-index: 1;
}

.img_banner:before {
  background: rgba(0,0,0,0.8);
  content: "";
  height: 100%;
  left: 0;
  opacity: .35;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: -9;
}
.img_banner .textContent h2{
  color: #fff;
  opacity: 0.5;
  font-size: 75px;
  font-size: calc(28px + (75 - 28) * ((100vw - 320px) / (1920 - 320)));
  margin:0;
  font-family: Donalia;
  font-weight: 400;
}
@media(max-width:991px){
  .img_banner{   
      margin-top: 30px;
      padding:80px 0;
  }
}
@media(max-width:575px){
  .img_banner{           
      padding:60px 0;
      margin: 0;
  }
}
/*------------------------------
  CELEBRATE BANNER CSS END
-------------------------------*/





    /* 🔹 Preloader con video */
    #preloader {
      position: fixed;
      width: 100%;
      height: 100vh;
      background: black;
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 9999;
    }

    #preloader video {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    /* 🔹 GIF de carga mientras carga el video */
    #loadingGif {
      position: absolute;
      width: 100px;
      height: 100px;
      background: url('loading.gif') no-repeat center center;
      background-size: contain;
    }

    /* 🔹 Ocultar el contenido hasta que termine el preloader */
    #content {
      display: none;
    }




    /* Transiciones para preloader y contenido */
    #preloader {
      opacity: 1;
      -webkit-transition: opacity 1s ease-in-out;
      transition: opacity 1s ease-in-out;
    }
    #content {
      opacity: 0;
      -webkit-transition: opacity 1s ease-in-out;
      transition: opacity 1s ease-in-out;
      display: none;
    }

    /* Estilos del preloader con fondo de nubes */
    .cloud-intro {
      display: flex;
      align-items: center;
      justify-content: center;
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      pointer-events: none;
      user-select: none;
      transform: scale(5);
      z-index: -1;
    }
    .cloud-intro__bg {
      position: absolute;
      width: 100%;
      height: 100%;
      background-color: #d9d8d5;
    }
    .cloud-intro__image {
      position: absolute;
      max-width: none;
      z-index: 1;
    }
    .cloud-intro__image img {
      width: 100%;
    }
    .is-first-load .cloud-intro__image img {
      animation: clouds 20s cubic-bezier(.37,0,.63,1) infinite alternate both;
    }
    .cloud-intro__image:first-child {
      transform: translate(-300px,-10%);
      transform-origin: right bottom;
    }
    .cloud-intro__image:nth-child(2) {
      transform: translate(-150px,-9%);
      transform-origin: right bottom;
    }
    .cloud-intro__image:nth-child(3) {
      transform: translateY(-25%);
      transform-origin: right center;
    }
    .cloud-intro__image:nth-child(4) {
      transform: translate(150px,-25%);
      transform-origin: left bottom;
    }
    .cloud-intro__image:nth-child(5) {
      transform: translate(0);
    }
    .cloud-intro__image:nth-child(6) {
      transform: translate(-300px,8%);
      transform-origin: right top;
    }
    .cloud-intro__image:nth-child(7) {
      transform: translate(-150px,25%);
      transform-origin: right top;
    }
    .cloud-intro__image:nth-child(8) {
      transform: translate(40%,9%);
      transform-origin: center right;
    }
    @keyframes clouds {
      0% { transform: translate3d(2.5%,2.5%,0); }
      100% { transform: translate3d(-2.5%,-2.5%,0); }
    }
    /* Preloader principal (sin fondo negro) */
    #preloader {
      position: fixed;
      width: 100%;
      height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      z-index: 9999;
    }
    #preloader video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: none;
    }

    /* Mensajes e invitación */
    .invitacion-header-title {
      font-size: 60px;
      color: #444;
      margin-bottom: 5px;
      font-family: 'BrilianSignature', sans-serif;
      z-index: 2;
    }
    .invitacion-header {
      font-size: 20px;
      color: #666;
      margin-bottom: 5px;
      z-index: 2;
    }
    .invitado-nombre {
      font-size: 26px;
      color: #333;
      font-weight: bold;
      margin-bottom: 20px;
      z-index: 2;
    }
    /* Botones (dispuestos en columna y más discretos) */
    .buttons-container {
      display: flex;
      flex-direction: column;
      gap: 10px;
      align-items: center;
    }
    .buttons-container button {
      width: 220px;
      padding: 8px 12px;
      font-size: 14px;
      border: 1px solid #ccc;
      border-radius: 5px;
      background-color: #f9f9f9;
      color: #555;
      transition: background-color 0.3s ease, color 0.3s ease;
      cursor: pointer;
    }
    .buttons-container button:hover {
      background-color: #e9e9e9;
      color: #333;
    }
    .btn-sound {
      background-color: #e0f7fa;
      border-color: #b2ebf2;
      color: #00796b;
      font-size: 16px;
    }
    .btn-muted {
      background-color: #f1f8e9;
      border-color: #dcedc8;
      color: #558b2f;
    }
    .btn-skip {
      background-color: #fce4ec;
      border-color: #f8bbd0;
      color: #c2185b;
    }
    /* Resto de estilos originales (carrusel, formulario, etc.) se mantienen */
    .wedding_announcement h2 {
      font-size: 2.5em;
      margin-bottom: 20px;
    }
    .wedding_announcement p {
      font-size: 1.2em;
      margin-bottom: 40px;
    }
    .wpo-wedding-date .clock-grids {
      display: flex;
      justify-content: center;
      gap: 15px;
    }
    .wpo-wedding-date .box {
      width: 80px;
      padding: 20px;
      border-radius: 10px;
      background-color: #f2f2f2;
    }
    .wpo-wedding-date .time {
      font-size: 2em;
      font-weight: bold;
    }
    .wpo-wedding-date span {
      display: block;
      margin-top: 5px;
      font-size: 0.9em;
    }

    .hidden {
      display: none !important;
    }
    


/* 🔹 Mensaje de éxito */
.success-message {
    color: #28a745;
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
    text-align: center;
    animation: fadeIn 1s ease-in-out;
}

/* 🔹 Animación de fade-in */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 🔹 Efecto hover para el botón de envío */
.theme-btn {
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.theme-btn:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

/* 🔹 Botón deshabilitado después del envío */
.theme-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}


/* 🔹 Estilo cuando el formulario se envía correctamente */
.button-success {
  background-color: #28a745 !important;
  color: #fff !important;
  cursor: default;
  transform: scale(1);
}

/* 🔹 Mensaje de éxito */
.message-success {
  color: #28a745;
  font-size: 18px;
  font-weight: bold;
  margin-top: 10px;
  text-align: center;
  animation: fadeInSuccess 1s ease-in-out;
}

/* 🔹 Nueva animación de entrada para el mensaje de éxito */
@keyframes fadeInSuccess {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 🔹 Nueva animación de entrada para los acompañantes */
.slide-in-new {
  opacity: 0;
  animation: slideInFromBottom 0.5s forwards;
}

/* 🔹 Nueva animación de salida al eliminar un acompañante */
.slide-out-remove {
  animation: slideOutToTop 0.5s forwards;
}

/* 🔹 Animación de entrada personalizada */
@keyframes slideInFromBottom {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 🔹 Animación de salida personalizada */
@keyframes slideOutToTop {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-15px); }
}

/* 🔹 Efecto hover en el botón de añadir acompañantes */
.add-guest-btn {
  transition: all 0.3s ease-in-out;
}

.add-guest-btn:hover {
  transform: scale(1.1);
  background-color: #007bff;
  color: white;
}

/* 🔹 Efecto visual para el botón de eliminar */
.remove-guest-btn {
  transition: all 0.3s ease-in-out;
  background-color: #ff4d4d;
  border: none;
  padding: 5px 10px;
  margin-left: 10px;
  border-radius: 5px;
  color: white;
  cursor: pointer;
}

.remove-guest-btn:hover {
  background-color: #cc0000;
  transform: scale(1.1);
}



/* 

     .modal {
      position: fixed;
      top: 0;
      left: 0;
      z-index: 1050;
      display: none;
      width: 100%;
      height: 100%;
      overflow-x: hidden;
      overflow-y: auto;
      outline: 0;
    }
    .modal.show {
      display: block;
    }
    .modal-dialog {
      position: relative;
      width: auto;
      margin: 1.75rem auto;
      pointer-events: none;
    }
    .modal-content {
      position: relative;
      display: flex;
      flex-direction: column;
      width: 100%;
      pointer-events: auto;
      background-color: #fff;
      background-clip: padding-box;
      border: 1px solid rgba(0,0,0,.2);
      border-radius: .3rem;
      outline: 0;
    }
    .modal-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 1rem;
      border-bottom: 1px solid #dee2e6;
    }
    .modal-title {
      margin: 0;
      line-height: 1.5;
    }
    .modal-body {
      position: relative;
      padding: 1rem;
    }
    .btn-close {
      background: none;
      border: none;
      font-size: 1.5rem;
      line-height: 1;
      color: #000;
      opacity: 0.5;
    }
    .btn-close:hover {
      opacity: 0.75;
    }

 */

