body {
    overflow-x: hidden;
    width: 100%;
    /* font-family: "EB Garamond", serif; */
}

.container-color{
    background-color: #F4F0ED;
    /* background-image: url(../images/fondo1.png); */
    background-repeat: round;
    background-size: contain;
    padding: 50px 20px 50px 20px;
    justify-content: center;
    flex-direction: column;
}

.container-color-white{
    background-color: #FFFF;
    /* background-image: url(../images/fondo1.png); */
    /* background-repeat: repeat;
    background-size: contain; */
    padding: 50px 20px 50px 20px;
    display: flex;
    justify-content: center;
    flex-direction: column;
}
/* .container-color p, .container-color-white p{
    color: #4B4B4B;
    font-family: "Cormorant Garamond", Sans-serif;
    font-size: 37px;
    font-weight: 400;
    font-style: normal;
    line-height: 1em;
    letter-spacing: 0px;
} */
.elementor-shape {
    fill: #F4F0ED;
}

.elementor-shape-top{
    transform: rotate(180deg);
}

.elementor-shape-bottom{
    /* transform: rotate(180deg); */
}
.elementor-element{
    width: 100%;
    display: flex;
    justify-content: center;
}
.elementor-image{
    width: 50%;
    vertical-align: middle;
    display: inline-block;
}
.elementor-container{
    width: 500px;
    color: #666666;
    font-size: 110%;
    background: white;
    box-sizing: border-box;
    box-shadow: 0 0 0 .5px rgba(0,20,40,.1),0 2px 8px 0 rgba(50,55,90,.2);
    border-radius: 3px;
    text-align: left;
    margin: 1rem auto;
    min-width: 260px;
    -moz-box-sizing: border-box;
    position: relative;
    max-width: 100%;
    padding: 1rem;
}
.big-letter{
    color: #4B4B4B;
    font-size: 30px;
    font-weight: 400;
    font-style: normal;
    line-height: 1em;
    letter-spacing: 0px;
}
.elementor-container-flex{
    display: flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
    justify-content: center;

}
@media (max-width: 768px) {
    .big-letter{
        font-size: 30px;
    }
    .elementor-container{
        padding: .5rem;
        min-width: auto;
    }
    
}
/* --------------------INFO PADRES--------------------------- */



/* --------------------GALERIA--------------------------- */
.galeria img {
    cursor: pointer;
    transition: transform 0.2s; /* Efecto de hover */
}

.galeria img:hover {
    transform: scale(1.05); /* Efecto de zoom al pasar el mouse */
}

.carousel-item img {
    height: auto; /* Altura automática para mantener la proporción */
    max-height: 60vh; /* Limitar la altura máxima de la imagen grande */
    width: 100%; /* Asegurar que la imagen ocupe el ancho completo */
    object-fit: contain; /* Mantener la proporción sin distorsión */
}

.img-thumbnail {
    max-width: 100%; /* Hacer las miniaturas responsivas */
    height: auto; /* Altura automática para mantener la proporción */
}


/* Opcional: Cambiar el color del hover en las flechas */
.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-color: rgba(216, 211, 211, 0.7); /* Color más oscuro al pasar el mouse */
}


.modal-body {
    position: relative;
    height: unset; /* Para asegurarte que ocupa toda la altura de la ventana */
}

#imageModal .modal-dialog{
    max-width: unset;
}

.close{
    color: #ffff;
}
.close:hover {
    color: #646464;
}

.modal-body img {
    max-height: 90vh; /* Asegura que la imagen no exceda el 90% de la altura de la ventana */
    max-width: 90vw;  /* Asegura que la imagen no exceda el 90% del ancho de la ventana */
    object-fit: contain; /* Mantiene la relación de aspecto */
}

.modal-body {
    overflow: hidden; /* Evita el desplazamiento de la imagen fuera del modal */
    position: relative; /* Necesario para el posicionamiento absoluto del contenedor de la imagen */
}

.modal-body img {
    transition: transform 0.25s ease; /* Añade una transición suave */
    cursor: grab; /* Cambia el cursor para indicar que la imagen es arrastrable */
}

.img-zoom {
    transform: scale(2); /* Aumenta el tamaño de la imagen al 200% */
    cursor: grabbing; /* Cambia el cursor mientras se arrastra la imagen */
}


/* polaroid */

/* contenedor */
.galeria-polaroid {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ----- MASONRY (desktop) ----- */
/* usamos column-count para un masonry sencillo sin huecos */
.polaroid-masonry {
  column-count: 3;
  column-gap: 1.5rem;
  /* small visual reset para que no tenga padding lateral que interfiera */
  padding: 0;
}

/* ajustar columnas según ancho */
@media (min-width: 1400px) {
  .polaroid-masonry { column-count: 3   ; }
}
@media (max-width: 1100px) {
  .polaroid-masonry { column-count: 2; }
}

/* cada polaroid como inline-block para la columna */
.polaroid {
  display: inline-block; /* importante para column layout */
  width: 100%;
  margin: 0 0 1.25rem; /* separacion entre items en la columna */
  background: #fff;
  padding: 10px 10px 26px;
  border-radius: 6px;
  border: 1px solid #e6e6e6;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  text-align: center;
  transition: transform .28s ease, box-shadow .28s ease;
  /* ligera rotación de polaroid como detalle */
  transform-origin: center;
}
.polaroid:nth-child(even) { transform: rotate(1deg); }
.polaroid:nth-child(odd)  { transform: rotate(-1deg); }
.polaroid:hover {
  transform: rotate(0deg) scale(1.03);
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

.polaroid img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 4px;
}

/* caption estilo polaroid */
.caption {
  margin-top: 8px;
  font-family: "Courier New", monospace;
  font-size: 14px;
  color: #444;
}

/* ===== LIGHTBOX (si usas) ===== */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  padding: 40px;
}
.lightbox-content {
  max-width: 92%;
  max-height: 84%;
  border-radius: 10px;
  box-shadow: 0 6px 30px rgba(0,0,0,0.6);
}
.cerrar {
  position: absolute;
  top: 18px;
  right: 28px;
  color: #fff;
  font-size: 38px;
  cursor: pointer;
}

/* ===== MÓVIL: convertir en SLIDER HORIZONTAL ===== */


/* esconder controles en desktop */
@media (min-width: 769px) {
  .slider-controls { display: none; }
}

/* esconder scrollbar visual (cross-browser) */
.polaroid-masonry::-webkit-scrollbar { display: none; }
.polaroid-masonry { -ms-overflow-style: none; scrollbar-width: none; }






/* --------------------MAPAS--------------------------- */
.container-color.location{
    padding: 0px 20px 0px 20px;
    background-position: center;
    background-repeat: round;
    background-size: auto;
    /* background-image: url(../images/fondo4.png); */
}
.elementor-shape svg {
    display: block;
    width: calc(100% + 1.3px);
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}
.elementor-shape.location{
    background-image: linear-gradient(180deg, #FFF 61%, #F4F0ED -40%);
}

.elementor-container.location{
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    align-items: center;
    width: 430px;
    background-color: #ffffff;
    padding: 1rem;
}

.btn-redirect.location{
    border-style: none;
    border-color: #F4F0ED;
    background-color: #F4F0ED;
    padding: 1rem;
    min-width: 80px;
    max-width: 225px;
    color: #4B4B4B;
}

.elementor-image.location{
    width: 360px !important;
    height: 170px;
}

.hour{
    font-size: 24px;
    margin-bottom: 0.5rem;
}
@media (max-width: 767px) {
    .elementor-image.location {
        width: 260px !important;
        height: 160px !important;
    }

    .elementor-container.location{
        padding: 1rem 0rem;
    }

    .container-color.location{
        padding: 0px 20px 0px 20px;
        background-position: center;
        background-repeat: round;
        background-size: auto;
        background-image: unset;
    }
    .section-name.location {
        font-size: 20px !important;
    }
    .point-location{
        padding: 0rem 0.5rem;
    }
}

/* --------------------CODIGO DE VESTIMENTA--------------------------- */

.elementor-icon{
    width: 180PX;
}
.section-title{
    text-align: center;
    font-style: oblique;
    font-family: "Cormorant Garamond", Sans-serif;
    font-size: 25px !important;
    font-weight: 600 !important;
    text-decoration-line: underline;
    margin-bottom: 2rem !important;
}

.section-name{
    text-align: center;
    font-style: oblique;
    font-family: "Cormorant Garamond", Sans-serif;
    font-size: 23px !important;
}
.elementor-image{
    width: 35% !important;
    vertical-align: middle;
    display: inline-block;
}

.container-color.dresscode{
    background-image: none;
}

@media (max-width: 767px) {
    .flex-container {
        flex-direction: column; /* Apilar las secciones en móviles */
        align-items: flex-start; /* Alinear a la izquierda en móvil */
    }

    .info-card {
        padding: 20px;
    }

    .section-name{
        font-size: 17px!important;
    }
    .section-title{
    font-size: 20px !important;
    }
    .elementor-image{
        width: 60% !important;
    }
    
}


/* --------------------ITINERARIO--------------------------- */
.icon-box-container{
    width: 200px;
    height: 150px;
    display: flex;
    justify-content: center;
}
.elementor-icon-box-content{
    width: 200px;
    text-align: center;
}
.elementor-icon-box-icon{
    width: 115px;
    height: 115px;
}
.elementor-image.itinerary{
    width: 30px !important;
    height: 150px !important;
}
.elementor-element.itinerary{
    width: unset;
}

@media (max-width: 767px) {
    .elementor-icon-box-icon{
        width: 80px;
        height: 80px;
    }
    .elementor-icon-box-content{
        width: 125px;
    }
    .icon-box-container{
        width: 125px;
        display: flex;
        align-items: center;
    }
}


.timeline {
  position: relative;
  padding: 2rem 0;
  width: 90%;
  margin: 0 auto;
}

.timeline h2 {
  text-align: center;
  font-family: 'Playfair Display', serif;
  margin-bottom: 3rem;
  font-size: 2rem;
}

/* Línea central */
.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #e5c7c7;
  transform: translateX(-50%);
}

/* Items */
.timeline-item {
  position: relative;
  width: 50%;
  padding: 2rem;
  box-sizing: border-box;
}

.timeline-item .timeline-icon {
  width: 60px;
  height: 60px;
  background: #fff;
  border: 3px solid #e5c7c7;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  color: #d89b9b;
  position: absolute;
  top: 20px;
  z-index: 2;
}

.timeline-item .timeline-content {
  background: #fff;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  position: relative;
  z-index: 1;
}

.timeline-item.left {
  left: 0;
  text-align: right;
}
.timeline-item.left .timeline-icon {
  right: -40px;
}
.timeline-item.left .timeline-content {
  margin-right: 80px;
}

.timeline-item.right {
  left: 50%;
  text-align: left;
}
.timeline-item.right .timeline-icon {
  left: -40px;
}
.timeline-item.right .timeline-content {
  margin-left: 80px;
}

/* Responsive: en pantallas chicas todos a un lado */
@media (max-width: 768px) {
  .timeline-item {
    width: 100%;
    padding-left: 4rem;
    padding-right: 2rem;
  }

  .timeline-item.left, 
  .timeline-item.right {
    left: 0;
    text-align: left;
  }

  .timeline-item .timeline-icon {
    left: -30px;
    right: auto;
  }

  .timeline-item.left .timeline-content,
  .timeline-item.right .timeline-content {
    margin: 0 0 1.5rem 60px;
  }
}


/* nuevo */
.timeline {
  position: relative;
  padding: 2rem 0;
  width: 90%;
  margin: 0 auto;
}

/* Línea central más corta */
.timeline-line {
  position: absolute;
  left: 50%;
  top: 60px;   /* empieza justo bajo el primer ícono */
  bottom: 60px; /* termina justo antes del último ícono */
  width: 4px;
  background: #ece4de ;
  transform: translateX(-50%);
  margin-top: 40px;
}

/* Items */
.timeline-item {
  position: relative;
  width: 50%;
  min-height: 160px; /* tamaño fijo */
  padding: 2rem;
  box-sizing: border-box;
}

.timeline-item .timeline-icon {
  width: 80px;
  height: 80px;
  background: #fff;
  border: 3px solid #ece4de;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 35px;
  color: #ece4de;
  position: absolute;
  top: 20px;
  z-index: 2;
}

.timeline-item .timeline-content {
  position: relative;
  z-index: 1;
  /* Sin tarjeta, solo texto */
  background: transparent;
  box-shadow: none;
  border: none;
  margin: 0;
  padding: 0;
}

.timeline-item .timeline-content h3 {
  font-size: 1.5rem;
  margin: 0 0 .3rem;
  font-weight: 600;
}

.timeline-item .timeline-content p {
  margin: 0;
  font-size: 1.5rem;
  color: #444;
}

/* Desktop zigzag */
.timeline-item.left {
  left: 0;
  text-align: right;
}
.timeline-item.left .timeline-icon {
  right: -40px;
}
.timeline-item.left .timeline-content {
  margin-right: 80px;
}

.timeline-item.right {
  left: 50%;
  text-align: left;
}
.timeline-item.right .timeline-icon {
  left: -40px;
}
.timeline-item.right .timeline-content {
  margin-left: 80px;
}

/* 📱 Mobile */
@media (max-width: 768px) {
  .timeline-line {
    left: 30px;
    transform: none;
  }

  .timeline-item {
    width: 100%;
    padding-left: 70px;
    min-height: 100px;
  }

  .timeline-item.left,
  .timeline-item.right {
    left: 0;
    text-align: left;
  }

  .timeline-item .timeline-icon {
    left: -8px!important;
    right: auto;
  }

  .timeline-item .timeline-content {
    margin: 0 0 1.5rem 15px;
  }
  .timeline{
    padding: 2rem 0;
    width: 80%;
    margin: auto+3rem auto;
  }

  .timeline-item.right .timeline-content{
    margin-left: 65px;
  }

  .timeline-item .timeline-content p{
    white-space: nowrap;
  }
}



/* --------------------MESA DE REGALOS--------------------------- */
.elementor-container-flex.mesa-regalos {
    flex-direction: row; /* Apilar las secciones en móviles */
    align-items: flex-start; 
    justify-content: space-evenly;
}

.btn-redirect{
    background-color: #6EC1E400;
    /* border-style: double; */
    /* border-width: 4px 4px 4px 4px; */
    /* border-color: #DCCCB9; */
    border: solid 2px #DCCCB9;
    padding: 1rem;
    min-width: 80px;
    max-width: 225px;
    cursor: pointer;
}

.btn-redirect:hover{
    background-color: #F4F0ED;
    /* color: white;  */
}

.elementor-container.mesa-regalos{
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    align-items: center;
    width: 430px;
    /* background-color: #6EC1E400; */
    /* border-style: double; */
    /* border-width: 4px 4px 4px 4px; */
    /* border-color: #DCCCB9; */
    border: solid 2px #DCCCB9;
    padding: 1rem;
}
.elementor-image.mesa-regalos{
    width: 70% !important;
    max-height: 60px;
}
.event-number{
    font-size: 17px;
    margin-top: 2rem;
}
@media (max-width: 767px) {
    .elementor-container-flex.mesa-regalos {
        flex-direction: column; /* Apilar las secciones en móviles */
        align-items: flex-start; /* Alinear a la izquierda en móvil */
    }
}


#dt-length-0 {
    width: 4rem !important;
  }

  @media (max-width: 576px) { 
    .big-container{
        margin: 2rem;
    }
   }

  @media (min-width: 576px) { 
    .big-container{
        margin: 2rem;
    }
   }

  @media (min-width: 768px) { 
    .big-container{
        margin: 4rem;
    }
   }
  
  @media (min-width: 992px) { 
    .big-container{
        margin: 4rem;
    }
   }
  
  @media (min-width: 1200px) { 
    .big-container{
        margin: rem;
    }
   }


   

#heart-path {
    stroke: red;
    fill: none;
    stroke-width: 8;
}



@keyframes draw-heart {
  from {
    stroke-dashoffset: 100%;
  }
  to {
    stroke-dashoffset: 0;
  }
}

   /* LOADEEEER */
  #preloaderV2 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.loading-heart {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

#heart-path {
  stroke-dasharray: 2000; /* longitud aproximada */
  stroke-dashoffset: 2000;
  stroke: #e3cebe;
  fill: none;
  stroke-width: 8;
  animation: draw-heart 2s infinite linear;
}

@keyframes draw-heart {
  0% { stroke-dashoffset: 2000; }
  50% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 2000; }
}

.preloader-title {
  position: absolute;
  text-align: center;
  font-family: 'Dancing Script', cursive; /* fuente cursiva elegante */
  font-size: 16px; /* texto más pequeño */
  line-height: 1.2;
}

.preloader-title small {
  font-size: 12px;
}

