/* Reset CSS y estilos generales */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    font-family: 'Poppins', sans-serif;
}
:root {
    --main-color: #f04eaf;
    --grisOscuro: #222222;
}
body {
  line-height: 1;
}

/* Inicio */
.inicio {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 30px;
    width: 100%;
    max-width: 1200px;
    /* padding: 0 15px; */
    margin: 100px auto 0 auto;
}

/* Contenedor de Imagenes */
.contenedor-imagenes {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.swiper {
    width: 600px;
    height: 600px;
    cursor: grab;
}
.swiper-slide {
    overflow: hidden;
}
.imagen-slide {
    width: 100%;
    height: 100%; 
    object-fit: contain;
    border-radius: 10px;
}
.swiper-button-prev::after, .swiper-button-next::after {
    color: var(--main-color);
    --swiper-navigation-size: 30px;
}
.swiper-pagination {
    --swiper-pagination-color: var(--main-color);
}

/* Contenedor de Detalles */
.contenedor-detalles {
    /* border: 1px solid var(--grisOscuro); */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 0 15px;
}
h1 {
    font-family: 'Luckiest Guy', cursive;
    font-size: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--grisOscuro);
    margin-bottom: 5px;
}
.categorias {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.categoria {
    font-size: 14px;
    font-weight: 600;
    text-transform: capitalize;
    color: #434343;
    background-color: #e7e7e7;
    padding: 6px 12px;
    border-radius: 5px;
}
.precios {
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    align-self: center;
}
.precios p {
    text-align: center;
    margin-bottom: 5px;
}
.precios span {
    font-size: 20px;
    font-weight: 500;
    color: var(--main);
}
.leyenda-precio {
    font-size: 14px;
    font-weight: 400;
    margin-top: 3px;
    align-self: center;
}
.descripcion-corta {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 20px;
    line-height: 20px;
}
.detalle {
    margin-bottom: 6px;
    font-size: 14px;
}
.detalle:last-child {
    margin-bottom: 20px; 
}
.boton-reservar {
    width: 400px;
    height: 55px;
    background-color: var(--main-color);
    color: #fff;
    font-weight: 600;
    border-radius: 4px;
    align-self: center;
    cursor: pointer;
}

/* Dialog - Modal */
.modal {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    max-width: 350px;
    height: 280px;
    border-radius: 10px;
}
.modal::backdrop {
    background-color: rgba(0, 0, 0, 0.6);
}
.contenedor-modal {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.boton-cerrar-modal {
    font-size: 25px;
    color: var(--grisOscuro);
    background: none;
    border: none;
    position: absolute;
    top: 8px;
    right: 15px;
    cursor: pointer;
}
.boton-reservar-modal {
    width: 100%;
    background-color: var(--main-color);
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    padding: 18px 0;
    cursor: pointer;
}

/* Descripcion del tour */
.contenedor-descripcion-tour {
    width: 100%;
    background-color: #f5f5f5;
    padding: 40px 15px;
    margin-top: 40px;
}

.descripcion-tour {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}
.descripcion-tour h2 {
    font-family: 'Luckiest Guy', cursive;
    text-transform: uppercase;
    font-size: 40px;
    letter-spacing: 1px;
    margin-bottom: 20px;
}
.descripcion-tour p {
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    margin-bottom: 20px;
}

.contenedor-reservar-abajo {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Media Queries */
@media screen and (max-width: 768px) {
    .inicio {
        margin-top: 20px;
        grid-template-columns: 1fr;
    }
    .contenedor-imagenes {
        margin-bottom: 40px;
    }
    .swiper {
        width: 100%;
        max-width: 100vw;
        height: 300px;
    }
    .swiper-button-prev::after, .swiper-button-next::after {
        display: none;
    }
    h1 {
        font-size: 35px;
        letter-spacing: 0.2px;
    }
    .categoria {
        font-size: 14px;
    }
    .descripcion-corta {
        font-size: 14px;
    }
    .boton-reservar {
        width: 100%;
        max-width: calc(100vw - 30px);
    }
    .descripcion-tour h2 {
        font-size: 30px;
    }
}


/* Estos son los estilos para los elementos dentro del contenedor de la descripcion larga */
p {
    width: 100%;
    font-family: 'Popins', sans-serif;
    text-align: justify;
    font-size: 18px;
}

.video {
    display: flex;
    width: 100%;
    aspect-ratio: 1 / 1;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 20px;
    margin-bottom: 40px;
}

.imagen-descripcion {
    width: 100%;
    margin: 20px 0;
}

h2,
h3 {
    font-family: 'Luckiest Guy', cursive;
    font-size: 40px;
    font-weight: normal;
    text-transform: uppercase;
    text-align: left;
    width: 100%;
}

h2 {
    margin: 20px 0;
}

h3 {
    font-size: 25px;
    margin-top: 20px;
    color: #EC238C;
}

/* Estilos del acrodión */
.contenedor-accordeon {
    width: 100%;
    margin-top: 60px;
}

.accordion {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.accordion-header {
    font-family: 'Poppins', sans-serif;
    font-size: 25px;
    font-weight: 800;
    background-color: #f5f5f5;
    padding: 20px;
    cursor: pointer;
}

.accordion-header:hover {
    background-color: #eaeaea;
}

.accordion-header.active {
    background-color: #f1f1f1;
    color: #EC238C;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-content.active {
    max-height: 500px;
    transition: all 0.3s ease;
}

.accordion-content p {
    padding: 20px;
    text-align: justify;
}

@media screen and (max-width: 768px) {
    h2 {
        font-size: 30px;
    }

    .accordion-header {
        font-size: 18px;
    }
}
/* ----- Terminan estilos de la descripcion ----- */