.hidden {
    display: none;
}

.visible {
    display: block;
    font-size: 0.8em;
}


html {
    scroll-behavior: smooth;
}

/* Botón flotante de música */
.boton-musica-flotante {
    position: fixed;
    bottom: 30px;
    right: 10px;
    width: 54px;
    height: 54px;
    background-color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transition: all 0.3s ease;
}

.boton-musica-flotante:hover {
    background-color: #3a4432;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.boton-musica-flotante.playing {
    background-color: #6b7d57;
}

.boton-musica-flotante svg {
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Modal de notificación de música */
.modal-musica-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease-in;
}

.modal-musica-contenido {
    background-image: url('../images/foto_fondo.jpeg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position-y: center;
    padding: 40px;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease-out;
}

.modal-musica-contenido p {
    font-family: 'Parkinsans', sans-serif;
    font-size: 18px;
    color: #000;
    margin: 0;
    line-height: 1.5;
    background-color: rgb(255, 255, 255, 0.3);
    padding: 10px;
}

.modal-musica-contenido p b {
    font-weight: bold;
}

.cerrar-modal-musica {
    position: absolute;
    top: 5px;
    right: 12px;
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: #fff;
    transition: color 0.3s ease;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cerrar-modal-musica:hover {
    color: #4E5B44;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estilos para el texto */
body.custom-body {
    font-family: "Parkinsans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    margin-bottom: 50px;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /* Asegura que el cuerpo ocupe al menos el 100% de la altura de la ventana */
    font-size: 17px;
    background-color: #272727; 
    color: #FFFFFF;
}


/* PORTADA */


header {
    height: 700px;
}

video {
    position: relative;
    display: block;
    margin: 0 auto;
    width: 60%;
    height: 100%;
    max-width: 117%;
}


#title-name h1 {
    color: black;
    font-family: 'Quattrocento', serif;
    font-style: normal;
    font-size: 30px;
    letter-spacing: 2px;
    text-align: center;
}

nav {
    background-color: #555;
    padding: 10px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 5px;
    background-color: rgb(34, 33, 33);
    /* Color de la línea */
    animation: aparecerLinea 10s forwards;
}

@keyframes aparecerLinea {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

.hero-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
  
  /* Flexbox para control total */
  display: flex;
  overflow: hidden;
}

/* Contenedor de los nombres (Estefanía & Alejandro) */
.hero-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: start;
    z-index: 2;
    padding-top: 30px;
}

/* El bloque de la frase con el color Hedge Green */
.hero-phrase-container {
  background-color: #4E5B44; /* Tu color Hedge Green */
  width: 100%;               /* Asegura que el color de fondo cubra todo el ancho */
  padding: 40px 20px;        /* Espaciado interno para que no toque los bordes */
  z-index: 2;
  box-sizing: border-box;    /* Evita que el padding sume ancho extra */
}

.hero-phrase-container p {
  font-family: 'Parkinsans', sans-serif;
  font-size: 1.8rem;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
}


    .hero-video-bg {
        position: absolute;
        top: 50%;
        left: 50%;
        min-width: 100%;
        min-height: 100%;
        width: 90%;
        height: auto;
        transform: translateX(-50%) translateY(-50%);
        object-fit: cover;
        z-index: -2;
    }

    .hero-overlay {
      position: absolute;
      top: 0; left: 0; width: 100%; height: 100%;
      background: rgba(0, 0, 0, 0.4); /* Capa oscura para que se lea el texto */
      z-index: -1;
    }

    .hero-content h1 {
      font-family: 'Imperial Script', cursive;
      font-size: 5rem; 
      margin-bottom: 10px; 
      text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    }

    .hero-content p {
      font-family: 'Parkinsans', sans-serif;
      font-size: 2rem; 
      letter-spacing: 3px;
    }

    /* --- ESTILOS DEL CONTENIDO PRINCIPAL (LA CORTINA) --- */
    .main-content-wrapper {
        position: relative;
        z-index: 10;
        background-color: #ffffff;
        margin-top: 100vh; 
        box-shadow: 0px -10px 20px rgba(0,0,0,0.1); 
        padding-left: 25%;
        padding-right: 25%;
    }
    
    @media (max-width: 768px) {
        .hero-content h1 { font-size: 3.9rem; }
        .hero-content p {
            font-family: 'Parkinsans', sans-serif;
            font-size: 1.2rem; 
            letter-spacing: 3px;
        }
        .hero-phrase-container {
            padding: 20px!important;
        }
        .hero-phrase-container p {
            font-size: 1.3rem!important;
        }

        .main-content-wrapper {
            position: relative;
            z-index: 10;
            background-color: #ffffff;
            margin-top: 100vh; 
            box-shadow: 0px -10px 20px rgba(0,0,0,0.1); 
            padding-left: 0;
            padding-right: 0;
        }

        video {
            position: relative;
            display: block;
            margin: 0 auto;
            width: 60%;
            height: 60%;
            max-width: 117%;
        }

        .cerrar-modal-musica{
            color: #000!important;
        }
    }

@media only screen and (max-width: 600px) {

    video {
        height: auto;
        object-fit: cover;
        width: 100%;
        /* margin: 10% auto 0; */
    }

    #title-name h1 {
        color: black;
        font-family: 'Quattrocento', serif;
        font-style: normal;
        font-size: 30px;
        letter-spacing: 2px;
        text-align: center;
    }
    
}




/* SECTIONS */


.flower-border-r {
    position: relative;
    /* Permite posicionar la imagen con precisión */
    right: 50px;
    /* Pegada al margen derecho */
    object-fit: cover;
    /* Asegura que la imagen se ajuste bien a su contenedor */
    z-index: -1;
    /* Envía la imagen detrás del contenido principal */
}

.flower-border-l {
    position: relative;
    /* Permite posicionar la imagen con precisión */
    right: 20px;
    /* Pegada al margen derecho */
    object-fit: cover;
    /* Asegura que la imagen se ajuste bien a su contenedor */
    z-index: -1;
    /* Envía la imagen detrás del contenido principal */
}



/* BIENVENIDOS */

#bienvenidos {
    text-align: center;
    background-color: #272727;
}

#bienvenidos h1 {
    color: #ffffff;
    font-family: 'Quattrocento', serif;
    font-style: normal;
    font-size: 30px;
    letter-spacing: 2px;
}

.bienvenidos-texto p {
    text-align: center;
    padding: 20px;
    padding: 10px;
    /* Ajusta el relleno según sea necesario */
}

.bienvenidos-texto img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 10px;
}


.cuenta-regresiva {
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    filter: opacity(0.8);
    height: 30vh;
}

@media only screen and (max-width: 600px) {
    .cuenta-regresiva {
        background-size: cover;
    }

    #cuenta-atras {
    display: flex;
    align-items: center;
    margin-left: 0!important;
    }

    .separador{
        width: 100%!important;
        height: auto!important;
        margin-top: -40px;
        margin-bottom: -80px;
        margin-left: 0!important;
        background-color: #272727;
    }
}


#cuenta-atras {
    display: flex;
    align-items: center;
    margin-left: 60%;
}

.tiempo {
    text-align: center;
    font-size: 1.2em;
}

  #dias, #horas, #minutos, #segundos {
    font-size: 2.5rem;
  }
  
  .barra {
    font-size: 3rem;
    color: #FFF;
  }


.separador {
    width: 100%;
    height: 550px;
    margin-top: -40px;
    margin-bottom: -80px;
    background-color: #272727;
}



/* LOCATION */

#general-information {
    text-align: center;
    padding: 20px;
    background-color: #272727;
}

#general-information h1 {
    color: #ffffff;
    font-family: 'Quattrocento', serif;
    font-size: 35px;
    letter-spacing: 2px;
}

/* .information-texto p {
    text-align: center;
    padding: 20px;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    font-size: 18px;
    color: white;
} */

.finca-image-container {
    position: relative;
    width: 70%;
    max-width: 500px;
    margin: 30px auto;
    clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5));
}


.finca-image-container img {
    width: 100%;
    display: block;
    object-fit: cover;
}


.finca-image-container .information-texto {
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 15px;
    text-align: center;
    font-family: 'Quattrocento', serif;
    font-size: 18px;
    line-height: 1.5;
}


@media (max-width: 600px) {
    .finca-image-container {
        width: 90%;
    }

    .finca-image-container .information-texto {
        font-size: 16px;
    }
}


/* Google Maps */
#mapDiv {
    height: 300px;
    max-width: 90%;
    margin: 20px auto 40px;
}

.element_itinerario,
.element_ceremonia,
.element_bienvenidos,
.element_nosotros,
.element_asistencia,
.element_interes,
.element_regalos,
.element_galeria,
.element_parking,
.element_banquete,
.element_buses,
.pdf_img {
    max-width: 3%;
}

.element_buses p{
    white-space: nowrap;
}



/* ITINERARIO */


@media only screen and (max-width: 600px) {
    .timeline {
        position: relative !important;
        margin: 10px 15px !important;
        padding: 0 !important;
        border-left: 3px solid #555;
        display: flex;
        flex-direction: column;
    }

    .event {
        display: grid;
        /* Definimos 3 columnas exactas: Hora, Icono y el resto para texto */
        /* El primer valor (40px) es el hueco entre la línea negra y el contenido */
        grid-template-columns: 55px 40px 1fr; 
        align-items: center;
        position: relative;
        padding-left: 20px; /* Separación de la línea negra */
    }

    .event::before {
        content: "";
        position: absolute;
        left: 8px!important; /* Centrado en el borde de 3px */
        width: 12px;
        height: 12px;
        background-color: #555;
        border-radius: 50%;
    }

    .time {
        font-weight: bold;
        font-size: 0.85rem;
        /* Forzamos a que no se mueva de su celda */
        grid-column: 1; 
    }

    .icon {
        grid-column: 2;
        display: flex;
        justify-content: center;
    }

    .icon img {
        width: 25px;
        height: auto;
    }

    .description {
        grid-column: 3;
        font-size: 0.9rem;
        line-height: 1.2;
        /* Esto obliga al texto a saltar de línea si no cabe */
        min-width: 0; 
        word-break: break-word;
    }
    .element_itinerario,
    .element_ceremonia,
    .element_bienvenidos,
    .element_nosotros,
    .element_asistencia,
    .element_interes,
    .element_galeria,
    .element_regalos,
    .element_parking,
    .element_banquete,
    .element_buses {
        max-width: 10%;
    }

    .pdf_img {
        max-width: 10%!important;
    }

    .element_buses{
        max-width: 12%;
    }

    .element_buses p{
        white-space: nowrap;
    }
    
    .element-escalas {
        max-width: 10%;
    }
}

.timeline {
    position: relative;
    margin: 10px 0;
    padding-left: 40px;
    border-left: 3px solid #555;
    margin-left: 460px;
  }

  .submensaje-intinerario p{
    font-size: smaller;
  }
  
  .event {
    position: relative;
    padding: 20px 0;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease-out;
  }
  
  .event:before {
    content: '';
    position: absolute;
    left: -6px;
    top: 28px;
    width: 12px;
    height: 12px;
    background-color: #555;
    border-radius: 50%;
  }
  
  .event .time {
    width: 100px;
    font-weight: bold;
    color: #ffffff;
  }
  
  .event .icon {
    margin-right: 20px;
  }
  
  .event .icon img {
    width: 30px;
    height: 30px;
  }
  
  .event .description {
    font-size: medium;
    color: #ffffff;
    white-space: nowrap;
  }
  
  .event .description:hover {
    color: #2c3e50;
    transition: color 0.3s ease;
  }
  
  /* Animation logic */
  .show {
    opacity: 1;
    transform: translateY(0);
  }
  
  @keyframes fadeInUp {
    0% {
      opacity: 0;
      transform: translateY(30px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  

.itinerario img {
    max-width: 80%;
    height: auto;
    border-radius: 10px;
    margin-top: 10px;
}

.element-crew {
    max-width: 3%;
}

.element {
    max-width: 4%;
}

/* CONTACTO */
.rrss {
    width: 30px;
    /* Ancho del icono */
    height: auto;
    /* Altura del icono */
    margin-bottom: 5px;
}

.contacto p {
    margin: 0;
    /* Elimina el margen predeterminado del párrafo */
    text-align: justify;
}


@media (max-width: 768px) {
    .contacto {
        padding: 15px;
        display: inline-flex;
        flex-direction: column;
    }
}

.contacto-info {
    text-align: center;
    /* margin: 20px 0; */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.contacto-info a {
    display: inline-block;
    /* Color característico de WhatsApp */
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.contacto-info img {
    max-width: 40px;
}



/* INFORMACIÓN DE INTERÉS */

hr{
    background-color: #fff;
}

.hospedaje-container {
    position: relative;
    width: 70%;
    max-width: 500px;
    margin: 30px auto;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5));
    border-radius: 15px;
}

.hospedaje-container .url-hospedaje {
    background-color: rgb(0, 0, 0, 0.6);
    color: #fff;
    padding: 15px;
    text-align: center;
    font-family: 'Quattrocento', serif;
    font-size: 18px;
    line-height: 1.5;
}

.hospedaje-container .url-hospedaje p {
    color: #fff!important;
}

.hospedaje-container img {
    width: 100%;
    height: auto;
}

#info_interes {
    text-align: center;
    padding: 20px;
    background-color: #272727;
}

/* @media only screen and (max-width: 600px) {
    #info_interes {
        background-size: auto;
    }
} */

#info_interes h1 {
    color: #ffffff;
    font-family: 'Quattrocento', serif;
    font-size: 35px;
    letter-spacing: 2px;
}

#info_interes h1.titulo-hoteles{
    color: #000;
}

#info_interes #autobuses h1{
    color: #000;
}

#info_interes h4 {
    color: white;
}

#info_interes p {
    text-align: center;
    padding: 20px;
    padding: 10px;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.7);
}

#info_interes .url-hospedaje p {
    text-align: center;
    padding: 20px;
    padding: 10px;
    color: #fff;
    background-color: transparent;
}

#info_interes_contacto{
    background-image: url(../images/fondo_contacto.png);
    background-size: cover;
    text-align: center;
    padding: 20px;
    background-color: #fff;
    filter: opacity(0.8);
}

#info_interes_contacto p{
    color: #fff;
}


/* Accordion styles for info section */
#accordionInfoInteres .card {
    background: #fff;
    border: 1px solid;
    margin-bottom: 10px;
}
#accordionInfoInteres .card-header {
    background: transparent;
    border: none;
    padding: .5rem 1rem;
}
#accordionInfoInteres .card-header .btn {
    color: #000;
    text-decoration: none;
    font-family: 'Quattrocento', serif;
    font-size: 1.05rem;
    width: 100%;
    text-align: left;
    position: relative;
    padding-right: 2.2rem; /* espacio para la flecha */
}
#accordionInfoInteres .card-header .btn::after {
    content: "▾";
    position: absolute;
    right: 0.9rem;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    transition: transform 0.25s ease;
    color: #000;
    font-size: 1.15rem;
    line-height: 1;
}
#accordionInfoInteres .card-header .btn[aria-expanded="true"]::after {
    transform: translateY(-50%) rotate(180deg);
}
#accordionInfoInteres .card-header .btn.collapsed { color: #000; }
#accordionInfoInteres .card-header .btn.collapsed b { font-weight: 300; }

#accordionInfoInteres #collapseHotel .card-body {
    background-image: url('../images/fondo_shrek.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position-y: bottom;
    background-position-x: center;
    text-align: center;
    color: #000;
}

#accordionInfoInteres #collapseParking .card-body {
    background-image: url(../images/fondo_gato.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position-y: bottom;
    background-position-x: center;
    text-align: center;
    color: #000;
}

#accordionInfoInteres #collapseAutobuses .card-body {
    background-image: url('../images/fondo_asno.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position-y: bottom;
    background-position-x: center;
    text-align: center;
    color: #000;
}

#parking{
    text-align: center;
    padding: 20px;
}

#parking h1 {
    color: #fff;
    font-family: 'Quattrocento', serif;
    font-size: 35px;
    letter-spacing: 2px;
}


.slider {
    align-items: center;
    position: relative;
    overflow: hidden;
    max-width: 800px;
    margin: auto;
}

.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.nav {
    background-color: #00000000;
    border: none;
    color: white;
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.nav.prev {
    left: 10px;
}

.nav.next {
    right: 10px;
}

.nav:focus {
    outline: none;
}




/* ASISTENCIA */

#asistencia {
    text-align: center;
    padding: 40px 20px;
    background-color: #272727;
}

#asistencia h1 {
    font-family: 'Quattrocento', serif;
    font-size: 35px;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

#asistencia p {
    font-family: 'Roboto', sans-serif;
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 40px;
}
#asistencia b {
    font-weight: bold;
}

/* Formulario */
.form-container-asist {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 450px;
    margin: 0 auto;
    font-family: 'Roboto', sans-serif;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

label {
    display: block;
    font-size: 16px;
    color: #333333;
    margin-bottom: 8px;
    font-weight: 600;
}

input[type="text"],
input[type="tel"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #cccccc;
    border-radius: 8px;
    font-size: 16px;
    color: #333333;
    transition: border-color 0.3s ease;
}

.acompanante input[type="text"],
.acompanante input[type="tel"],
.acompanante input[type="number"]{
    width: 100%;
    padding: 12px;
    border: 1px solid #cccccc;
    border-radius: 8px;
    font-size: 16px;
    color: #333333;
    transition: border-color 0.3s ease;
}

.acompanante select{
    max-height: 35px;
    cursor: pointer;
}

.acompanante .select_edad{
    align-items: center;
    max-height: 40px;
}

input[type="text"]:focus,
input[type="tel"]:focus {
    border-color: #0056b3;
    outline: none;
}

input::placeholder {
    color: #888888;
}

/* Radio buttons */
.checkbox-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

input[type="radio"] {
    margin-right: 8px;
}

input[type=checkbox]{
    accent-color: rgb(34, 33, 33);
}

label[for="acompanadoNo"],
label[for="acompanadoSi"],
label[for="busNo"],
label[for="busSi"] {
    font-size: 14px;
    color: #555555;
}

#popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background-color: white;
    z-index: 1000;
    width: 450px;
    color: #333333;
}

#accompaniments-list {
    max-height: 450px;
    overflow-x: hidden;
    overflow-y: scroll;
}

.asistencia-texto{
    min-height: 800px;
}

#attendance-form select{
    cursor: pointer;
}

@media only screen and (max-width: 600px) {

    .acompanante select{
        max-width: 40%;
    }
    #attendance-form select{
        max-width: 100%;
    }

    #asistencia {
        text-align: center;
        padding: 40px 20px;
        background-color: #272727;
    }

    #popup {
        display: none;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 20px;
        background-color: white;
        z-index: 1000;
        width: 350px;
    }

    input[type="text"],
    input[type="tel"] {
        width: 100%;
        padding: 12px;
        border: 1px solid #cccccc;
        border-radius: 8px;
        font-size: 16px;
        color: #333333;
        transition: border-color 0.3s ease;
    }
}

#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.popup-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#closeButton {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    width: 20px;
    /* Ajusta el tamaño según sea necesario */
    height: 20px;
    /* Ajusta el tamaño según sea necesario */
}

#closeButton img,
#cerrar-modal img {
   width: 30px;
}

.modal {
    display: none;
    /* Inicialmente oculto */
    position: fixed;
    top: 50%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    /* Fondo oscuro semitransparente */
    z-index: 1;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fefefe;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    text-align: center;
    position: relative;
}

.close {
    position: absolute;
    top: 0;
    right: 0;
    padding: 10px;
    cursor: pointer;
}

.add-button,
.save-button {
    background-color: black;
    color: white;
    border: none;
    padding: 10px 20px;
    margin-top: 10px;
    border-radius: 4px;
    cursor: pointer;
}

.add-button:hover,
.save-button:hover {
    background-color: black;
}

.btn.btn-primary{
    background-color: rgb(34, 33, 33);;
    color: white;
}


/* Botón de enviar: Estilo Business */
button#submit,
button#addAcompananteButton,
button#guardarButton,
button#deleteAcompananteButton,
button#descargar_app,
button#boton-maps,
button#cerrar-modal-musica {
    background-color: #fff;
    color: rgb(34, 33, 33);
    font-family: "Parkinsans", sans-serif;
    font-size: 16px;
    font-weight: 500;
    padding: 12px 40px;
    border: 1px solid rgb(34, 33, 33);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

button#submit:hover,
button#addAcompananteButton:hover,
button#guardarButton:hover,
button#deleteAcompananteButton:hover,
button#descargar_app:hover,
button#boton-maps:hover,
button#cerrar-modal-musica:hover {
    background-color: rgb(34, 33, 33);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
    color: #fff;
    border: 1px solid #fff;
}

button#submit:active {
    background-color: #0e3d80;
    /* Azul aún más oscuro al hacer clic */
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
    /* Reduce la sombra */
    transform: translateY(0);
    /* Elimina el levantamiento */
}

/* Responsivo */
@media only screen and (max-width: 600px) {
    .form-container-asist {
        padding: 20px;
        max-width: 90%;
    }

    #asistencia h1 {
        font-size: 30px;
    }

    #asistencia p {
        font-size: 16px;
    }
}

/* CARROUSEL */

#carrousel {
    text-align: center;
    padding: 20px;
    background-color: #272727;
}

#carrousel h1 {
    font-family: 'Quattrocento', serif;
    font-size: 35px;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.carrousel-texto p {
    text-align: center;
    padding: 20px;
    padding: 10px;
    /* Ajusta el relleno según sea necesario */
}

.carousel-link {
    display: block;
    cursor: pointer;
    text-decoration: none;
}

.carousel-link img {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.carousel-link:hover img {
    transform: scale(1.05);
    filter: brightness(0.9);
}



.carousel-item img {
    height: auto;
    /* Ajusta la altura de las imágenes */
    max-width: 40%;
    object-fit: cover;
    /* Asegúrate de que las imágenes se escalen correctamente */
    margin: 0 auto;
}

.carousel-caption {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.5);
    /* Fondo semitransparente para el texto */
    right: 33% !important;
    bottom: 20px;
    left: 33% !important;
    z-index: 10;
    padding-top: 20px;
    padding-bottom: 20px;
    color: #fff;
    text-align: center;
}


.carrousel-texto img {
    position: absolute;
    max-width: 7%;
    margin-top: -4%;
    margin-left: -22%;
    transform: rotate(-30deg);
}

/* Ajuste general del contenedor del carrusel */
#travelCarousel {
    max-width: 600px; /* Ajusta el ancho máximo que desees en desktop */
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
}

.carousel-item img {
    width: 100%;
    height: 400px; /* Altura fija para consistencia */
    object-fit: cover; /* Recorta la imagen para llenar el espacio sin deformarse */
    display: block;
    transition: transform 0.3s ease;
}

/* Efecto hover para indicar que es clickeable (Fancybox) */
.carousel-item a:hover img {
    transform: scale(1.05);
    cursor: zoom-in;
}

/* Ajustes para Móvil */
@media (max-width: 600px) {
    #travelCarousel {
        max-width: 100%;
    }
    
    .carousel-item img {
        height: 300px; /* Altura un poco menor para pantallas pequeñas */
    }
    
    .carrousel-texto img {
        max-width: 15%;
        margin-top: -10%;
        margin-left: -5%;
    }
}

@media only screen and (max-width: 600px) {
    .carousel-item img {
        height: 450px;
        /* Ajusta la altura de las imágenes */
        max-width: 100%;
    }

    .carousel-control-prev,
    .carousel-control-next {
        z-index: 3;
    }

    .carousel-caption {
        right: 7% !important;
        left: 7% !important;
    }

    .carrousel-texto img {
        position: absolute;
        max-width: 15%;
        margin-top: -20%;
        margin-left: -43%;
        transform: rotate(-10deg);
    }
}



/* MÚSICA */

#musica {
    text-align: center;
    padding: 20px;
}

#musica h1 {
    color: black;
    font-family: 'Quattrocento', serif;
    font-size: 35px;
    letter-spacing: 2px;
}

.musica-texto p {
    text-align: center;
    padding: 20px;
    padding: 10px;
}

/* REGALOS */

#regalos {
    text-align: center;
    background-image: url('../images/fondo_regalos.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position-y: bottom;
    background-position-x: center;
    background-color: #272727;
}

#regalos h1 {
    color: #FFFFFF;
    font-family: 'Quattrocento', serif;
    font-size: 35px;
    letter-spacing: 2px;
}

.regalos-texto p {
    text-align: center;
    padding: 6px;
}

.plain-text {
    color: #FFFFFF;
    background: none;
    font-family: 'Quattrocento', serif;
    font-size: larger;
    padding: 0;
    margin-top: 15px;
    font-weight: bold;
}

/* FOOTER */
.pre-footer.desktop {
    max-width: 100%;
    margin: 0 auto;
    mask-image: linear-gradient(to top, rgb(0, 0, 0) 90%, rgba(0, 0, 0, 0) 100% 100%);
    display: block!important;
}

.pre-footer.mobile {
    display: none!important;
}

@media only screen and (max-width: 600px) {
    .pre-footer.mobile {
        max-width: 100%;
        mask-image: linear-gradient(to top, rgb(0, 0, 0) 90%, rgba(0, 0, 0, 0) 100% 100%);
        display: block!important;
    }
    .pre-footer.desktop {
        display: none!important;
    }
        #parking h1{
        color: #000;
    }
}

footer {
    background-color: #4a4949;
    padding: 10px;
    color: white;
}

.footer-content p {
    text-align: center;
    font-weight: 200;
}


@media only screen and (min-width: 768px) and (max-width: 1024px) {

    #cuenta-atras {
        display: flex;
        align-items: center;
        margin-left: 30%!important;
    }
    .timeline{
        margin-left: 200px;
    }

    .element_itinerario,
    .element_ceremonia,
    .element_bienvenidos,
    .element_nosotros,
    .element_asistencia,
    .element_interes,
    .element_regalos,
    .element_galeria,
    .element_parking,
    .element_banquete,
    .element_buses,
    .pdf_img {
        max-width: 6%;
    }
    video{
        position: relative;
        display: block;
        margin: 0 auto;
        width: 100% !important;
        height: 100% !important;
        max-width: 100%;
        margin-right: 12%;
    }
}

/* --- AJUSTES ESPECÍFICOS PARA TABLET (768px a 1024px) --- */
@media only screen and (min-width: 768px) and (max-width: 1024px) {

    #parking h1{
        color: #fff;
    }

    /* 1. Contenedor Principal: Ni tan ancho como desktop, ni tan pegado como móvil */
    .main-content-wrapper {
        padding-left: 10% !important;
        padding-right: 10% !important;
    }
    
    video {
        width: 100% !important; /* El 100% que tenías era demasiado invasivo en tablet */
        height: 100vh !important;
        margin: 0 auto !important;
    }

    /* 3. Cuenta Atrás: Centrada */
    #cuenta-atras {
        margin-left: 0 !important;
        justify-content: center !important;
        width: 100%;
    }
    
    .tiempo {
        font-size: 1.5em;
    }

    /* 4. Línea de tiempo (Timeline): Centrada */
    .timeline {
        margin-left: 10% !important; /* Ajuste para que no se pegue a la izquierda */
        padding-left: 50px;
        width: fit-content;
    }

    /* 5. Iconos de sección: Tamaño intermedio */
    .element_itinerario,
    .element_ceremonia,
    .element_bienvenidos,
    .element_nosotros,
    .element_asistencia,
    .element_interes,
    .element_regalos,
    .element_galeria,
    .element_parking,
    .element_banquete,
    .element_buses,
    .pdf_img {
        max-width: 8% !important;
    }

    /* 6. Carrusel: Adaptar tamaño de imagen */
    #travelCarousel {
        max-width: 80% !important;
    }

    .carousel-item img {
        height: 450px !important; /* Un poco más alto que en móvil pero menos que desktop */
    }

    /* 7. Información de Finca y Hospedaje */
    .finca-image-container, 
    .hospedaje-container {
        width: 85% !important;
        max-width: none !important;
    }

    /* 8. Botón de música flotante */
    .boton-musica-flotante {
        right: 25px;
        bottom: 40px;
        width: 60px;
        height: 60px;
    }

    .cerrar-modal-musica{
        color: #fff!important;
    }
}

/* Contenedor principal del carrusel de hoteles */
#carouselHoteles {
    padding: 10px 45px;
    max-width: 400px; /* Ajusta según el ancho que desees en móvil */
    margin: 0 auto;
}

/* La tarjeta que envuelve cada hotel */
#carouselHoteles .hospedaje-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin: 10px;
}

/* Imagen específica del hotel */
#carouselHoteles .img-hotel {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

/* Texto debajo de la imagen */
#carouselHoteles .info-hospedaje {
    background-color: rgb(0, 0, 0, 0.4);
    color: #555;
    padding: 15px;
    text-align: center;
    font-family: 'Quattrocento', serif;
    font-size: 18px;
    line-height: 1.5;
}

#carouselHoteles .info-hospedaje p {
    margin: 0;
    font-size: 0.95rem;
    color: #fff;
    font-weight: 600;
    text-align: center;
    background-color: transparent;
}

/* Personalización de las flechas para que no usen las de Bootstrap global */
#carouselHoteles .control-icon-custom {
    background-color: #333; /* Color del círculo de la flecha */
    color: #fff;
    font-size: 30px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

#carouselHoteles .carousel-control-next-icon,
#carouselHoteles .carousel-control-prev-icon {
    filter: invert(1) grayscale(100%) brightness(0.5)!important;
}

#carouselHoteles .carousel-control-prev:hover, 
#carouselHoteles .carousel-control-next:hover {
    opacity: 1;
}

/* Icono del hotel arriba del carrusel */
.icono-hotel {
    width: 40px;
    height: auto;
    display: block;
    margin: 0 auto;
}

#carouselHoteles .carousel-item img{
    max-width: 100%!important;
}
@media (min-width: 600px) {
    /* Seleccionamos específicamente el icono de tablet */
    .element_parking[src*="parking.svg"] {
        filter: brightness(0) invert(1)!important;
        
        /* Opcional: Si quieres que no sea un blanco tan fuerte, 
           puedes bajarle un poco la opacidad */
        opacity: 0.9;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
}

@media only screen and (min-width: 1025px) and (max-width: 1440px) {

    .main-content-wrapper {
        padding-left: 15% !important;
        padding-right: 15% !important;
        margin-top: 100vh;
    }

    #cuenta-atras {
        margin-left: 0 !important;
        justify-content: center !important;
        display: flex;
        width: 100%;
    }

    .timeline {
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 600px; 
        padding-left: 50px;
    }

    .element_itinerario,
    .element_ceremonia,
    .element_bienvenidos,
    .element_nosotros,
    .element_asistencia,
    .element_interes,
    .element_regalos,
    .element_galeria,
    .element_parking,
    .element_banquete,
    .element_buses,
    .pdf_img {
        max-width: 5% !important;
    }

    .hero-video-bg {
        width: 100% !important;
        object-fit: cover;
    }

    .finca-image-container, 
    .hospedaje-container {
        width: 60% !important;
        max-width: 450px !important;
    }

    #travelCarousel {
        max-width: 550px !important;
    }

    .carousel-item img {
        height: 500px !important;
    }

    .form-container-asist {
        max-width: 500px !important;
    }
}

@media only screen and (min-width: 1441px) {
    #cuenta-atras {
        margin-left: 0 !important;
        justify-content: center !important;
    }
    
    .timeline {
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 700px;
    }
}

