/* Fuentes Helvetica Neue (14 tipos) y Nimbus SanL (2 tipos) */

@font-face {
    font-family: 'NimbusSanL'; /* Nombre interno */
    src: url('../fonts/NimbusSanL-Reg.otf') format('opentype'); /* Ruta a tu fuente OTF */
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'NimbusSanL-Bold';
    src: url('../fonts/NimbusSanL-Bol.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'Helvetica Neue';
    src: url('HelveticaNeue.woff2') format('woff2'),
        url('HelveticaNeue.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue Italic';
    src: url('HelveticaNeue-Italic.woff2') format('woff2'),
        url('HelveticaNeue-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue Bold';
    src: url('HelveticaNeue-Bold.woff2') format('woff2'),
        url('HelveticaNeue-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue MediumItalic';
    src: url('HelveticaNeue-MediumItalic.woff2') format('woff2'),
        url('HelveticaNeue-MediumItalic.woff') format('woff');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue UltraLightItalic';
    src: url('HelveticaNeue-UltraLightItalic.woff2') format('woff2'),
        url('HelveticaNeue-UltraLightItalic.woff') format('woff');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue Medium';
    src: url('HelveticaNeue-Medium.woff2') format('woff2'),
        url('HelveticaNeue-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue Thin';
    src: url('HelveticaNeue-Thin.woff2') format('woff2'),
        url('HelveticaNeue-Thin.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue Light';
    src: url('HelveticaNeue-Light.woff2') format('woff2'),
        url('HelveticaNeue-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue LightItalic';
    src: url('HelveticaNeue-LightItalic.woff2') format('woff2'),
        url('HelveticaNeue-LightItalic.woff') format('woff');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue BoldItalic';
    src: url('HelveticaNeue-BoldItalic.woff2') format('woff2'),
        url('HelveticaNeue-BoldItalic.woff') format('woff');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue UltraLight';
    src: url('HelveticaNeue-UltraLight.woff2') format('woff2'),
        url('HelveticaNeue-UltraLight.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue ThinItalic';
    src: url('HelveticaNeue-ThinItalic.woff2') format('woff2'),
        url('HelveticaNeue-ThinItalic.woff') format('woff');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue CondensedBold';
    src: url('HelveticaNeue-CondensedBold.woff2') format('woff2'),
        url('HelveticaNeue-CondensedBold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Neue CondensedBlack';
    src: url('HelveticaNeue-CondensedBlack.woff2') format('woff2'),
        url('HelveticaNeue-CondensedBlack.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}
:root {

    --fuenteHeading: 'Helvetica Neue', sans-serif;
    --fuenteParrafos: 'Helvetica Neue', sans-serif;

    --primario: #784D3C;
    --gris: rgb(133, 133, 118);
    --blanco: #ffffff;
    --gris2: #393C41;
    --negro: #1D1D1F;
    --azul: #4275DB;
    --azulOscuro: #4257AD;
    --sensa: #e69053;
}
html {
    box-sizing: border-box;
    font-size: 62.5%; /* 1 rem = 10px */
}
*, *:before, *:after {
    box-sizing: inherit;
}
body {
    font-family: var(--fuenteParrafos);
    font-size: 1.6rem;
}

/* Globales */
.contenedor {
    width: min(90%);
    margin: 0 auto;
}
a {
    text-decoration: none;
}
h1, h2, h3, h4 {
    font-family: var(--fuenteHeading);
    line-height: 1.2;
}
h1 {
    font-size: 4.8rem;
    height: 40px;
}
h2 {
    font-size: 8rem;
}
h3 {
    font-size: 2.7rem;
}
h4 {
    font-size: 2.8rem;
}
img {
    max-width: 100%;
}
/* Utilidades */
.no-margin {
    margin: 0;
}
.no-padding {
    padding: 0;
}
.centrar-texto {
    color: var(--negro);
    font-weight: 300;
    display: flex;
    text-align: center;
}

/* --------- HEADER Y NAV DE TODAS LAS PÁGINAS --------- */

.header {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center 35%;
    width: 100vw;   /* 100% del ancho de la ventana */
    height: 100vh;  /* 100% del alto de la ventana */
}
/* Imagen header Sevilla One */
.sevilla-one {
    background-image: url(/img/sevillaOne.webp);
}
/* Imagen header Sevilla 2 */
.sevilla2 {
    background-image: url(../img/sevilla2.webp);
}
/* Imagen header Sensa Pro */
.sensa-pro {
    background-image: url(../img/sensa-pro.webp);
}
.sensa-pro__texto {
    text-align: center;
    color: var(--negro);
    margin-top: 5rem;
}
/* Barra de navegación y hamburguesa */
.barra {
    display: flex;
    justify-content: space-between;
    padding-top: 1rem;
}
.navegacion {
    display: flex;
    align-items: center;
}
.navegacion-footer {
    display: flex;
    align-items: center;
}
.navegacion-enlace {
    display: block;
    text-align: center;
    padding: 3px 0px 4px 0px;
    font-size: 1.8rem;
    color: var(--blanco);
}
.navegacion-enlace-footer {
    display: block;
    text-align: center;
    padding: 3px 0px 4px 0px;
    font-size: 1.8rem;
    color: var(--blanco);
}
.navegacion-list {
    list-style: none;
    display: flex;
    gap: 3rem;
}
.navegacion-list-footer {
    list-style: none;
    display: flex;
    gap: 3rem;
}
.abrir-menu,
.cerrar-menu {
    display: none;
}
/* ---- Responsive para móviles ---- */
@media(max-width:768px) {
    body.no-scroll {
    overflow: hidden;
    }
    .abrir-menu,
    .cerrar-menu {
        display: block;
        border: 0;
        font-size: 3rem;
        font-weight: bold;
        background-color: transparent;
    }
    .abrir-menu {
        color: var(--blanco);
    }
    .cerrar-menu {
        color: var(--gris2);
        padding-left: 86%;
    }
    .navegacion {
        /*opacity: 0;---------------------*/
        z-index: 1000; /*--------------------Actualización--*/
        transform: translateY(-100%); /*--------------Actualización--*/
        display: flex;
        flex-direction: column;
        gap: 3rem;
        /*position: absolute;---------------------*/
        position: fixed;/*---------------------Actualización--*/
        top: 0;
        right: 0;
        left: 0;
        bottom: 0;
        padding-top: 1.2rem;
        background-color: var(--blanco);
        transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out; /* Transición para movimiento y visibilidad al desplegar menú hambrguesa */
    }
    .navegacion.visible {
        opacity: 1;
        transform: translateY(0); /* Transición para movimiento y visibilidad - La sitúa en la pantalla */
    }
    /* Pliegue del menú hamburguesa */
    .navegacion.cerrando {
        transform: translateY(-100%); /* El menú se mueve hacia arriba */
        opacity: 0; /* El menú se desvanece */
    }
    .navegacion-enlace {
        color: var(--gris2);
        text-align: left;
        font-size: 2.8rem;
        font-weight: 500;
    }
    .navegacion-list {
        flex-direction: column;
        padding-right: 65%;
        gap: 7px;
    }
}
@media (max-width:560px) {
    .navegacion-list{
        padding-right: 55%;
    }
}
@media (max-width:375px) {
    .navegacion-enlace {
        font-size: 2.3rem;
    }
    .navegacion-list{
        padding-right: 55%;
    }
}
/* Títulos, subtítulos y descripciones de experiencia */
.header-texto {
    text-align: center;
    color: var(--blanco);
}
.titulo-exp {
    margin: 7rem 0 0 0;
    font-weight: 400;
    font-size: 3.5rem;
}
.subtitulo-exp {
    margin: 0;
    font-weight: 500;
}
.subtitulo-exp-contact {
    margin: 0;
    font-weight: 400;
    font-size: 3.5rem;
    text-decoration: none;
    color: var(--blanco);
}
.descripcion-exp {
    font-weight: 200;
    font-size: 5rem;
}
.precio-exp {
    margin: 5rem 0 0 0;
    font-weight: 400;
    font-size: 2.5rem;
}
@media (max-width: 1600px) {
    .titulo-exp {
        margin: 4rem 0 0 0;
        font-weight: 400;
        font-size: 4rem;
    }
    .subtitulo-exp {
        margin: 0;
        font-size: 6rem;
        font-weight: 500;
    }
    .subtitulo-exp-contact {
        margin: 0;
        font-size: 4rem;
        font-weight: 400;
        text-decoration: none;
        color: var(--blanco);
    }
    .descripcion-exp {
        font-size: 5rem;
        font-weight: 200;
    }
    .precio-exp {
        margin: 3.5rem 0 0 0;
        font-weight: 300;
        font-size: 3rem;
    }
}
@media (max-width: 768px) {
    .titulo-exp {
        margin: 4rem 0 0 0;
        font-weight: 400;
        font-size: 2.5rem;
    }
    .subtitulo-exp {
        margin: 0;
        font-size: 3rem;
        font-weight: 500;
    }
    .descripcion-exp {
        font-weight: 200;
        font-size: 3rem;
    }
    .precio-exp {
        margin: 4rem 0 0 0;
        font-weight: 300;
        font-size: 2rem;
    }
}
@media (max-width: 375px) {
    .titulo-exp {
        margin: 4rem 0 0 0;
        font-weight: 400;
        font-size: 2.3rem;
    }
    .subtitulo-exp {
        margin: 0;
        font-size: 2.5rem;
        font-weight: 400;
    }
    .descripcion-exp {
        font-size: 2.3rem;
        font-weight: 200;
    }
}

/* --------- PÁGINA PRODUCTO --------- */

.detalles {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columnas iguales */
    gap: 1px; /* Espaciado entre los elementos */
    width: 100%;
    margin-top: 10rem;
    margin-bottom: 10rem;
}
@media (max-width: 768px) {
    .detalles {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}
.elemento {
    font-size: 3rem;
    font-weight: 500;
    color: var(--negro);
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    border-right: 1px solid rgb(220, 221, 221); /* Línea sutil */
}
.elemento:last-child {
    border-right: none;
}
@media (max-width: 1600px) {
    .elemento {
        border-right: none;
        font-size: 2.5rem;
    }
}
@media (max-width: 768px) {
    .elemento {
        border-right: none;
        font-size: 3rem;
        margin-top: 15px;
    }
}
.foto-dos {
    height: 100%;
    width: 100%;
    border-radius: 10px;
}
.titulo-texto {
    text-align: center;
    color: var(--negro);
    font-size: 6rem;
    margin: 30px 0px 0px 0px;
    font-weight: 500;
}
@media (max-width: 768px) {
    .titulo-texto {
        font-size: 4.5rem;
        margin: 25px 0px 0px 0px;
    }
}
.texto {
    text-align: center;
    color: var(--gris);
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 28px;
    margin: 100px 72px 100px 0px;
}
@media (max-width: 768px) {
    .texto {
        font-size: 2rem;
        margin: 50px 0px 50px 0px;
    }
}
.texto2 {
    text-align: center;
    color: var(--gris);
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 28px;
    margin: 25px 0px 100px 0px;
}
@media (max-width: 768px) {
    .texto2 {
        font-size: 2rem;
        margin: 20px 0px 100px 0px;
    }
}
.texto-carrusel {
    color: var(--gris);
    font-size: 2.5rem;
    line-height: 28px;
    margin: 20px 10px 100px 0;
}
@media (max-width: 768px) {
    .texto-carrusel {
        font-size: 2rem;
        margin: 20px 10px 70px 0;
    }
}
.titulo-texto-carrusel {
    color: var(--negro);
    font-size: 4.5rem;
    margin: 50px 10px 0 0;
    font-weight: 400;
}
@media (max-width: 768px) {
    .titulo-texto-carrusel {
        font-size: 3.5rem;
    }
}
.carrusel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden; /* Evita que las imágenes se salgan */
}
.carrusel-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth; /* Suaviza el desplazamiento */
    gap: 20px;
    scrollbar-width: none;
}
.carousel-container::-webkit-scrollbar {
    display: none;
}
.slide {
    flex: 0 0 80%; /* Cada imagen ocupa el 80% del ancho */
    scroll-snap-align: center;
    display: flex;
    text-align: center;
    flex-direction: column;
    align-items: center;
}
.slide img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    cursor: pointer; /* Hace que parezca clickeable */
}

/* --------- FORMULARIO RESERVA --------- */

.book-title {
    font-family: var(--fuenteParrafos);
    color: var(--negro);
    font-size: 47px;
    font-weight: 500;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container-reserva { /* Container con imagen y datos de reserva */
    display: grid;
    grid-template-columns: 2fr 1fr;
    height: auto;
    width: 100%;
    margin: 50px auto;
    border-radius: 10px;
    overflow: hidden;
}

/* Columna de la imagen */
.image-column {
    background: url(../img/sevillaOne.webp) center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    width: 100%;
    height: 100%;
}
.image-column2 {
    background: url(../img/sevilla2.webp) center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    width: 100%;
    height: 100%;
}
.image-text1 {   /* Título sobre la imagen */
    position: relative;
    margin-bottom: 60rem;
    font-size: 40px;
    font-weight: 400;
}
.image-text12 {   /* Título sobre la imagen */
    position: relative;
    margin-bottom: 60rem;
    font-size: 40px;
    font-weight: 400;
}
.image-text2 {   /* Subtítulo sobre la imagen */
    font-size: 60px;
    font-weight: 500;
}

/* Columna de datos del formulario */
.form-column {
    background-color: #ececec;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centra verticalmente */
    align-items: center; /* Centra horizontalmente */
    padding: 30px;
}
.form-group {   /* Dato del formulario */
    margin-bottom: 15px;
    width: 100%;
}
.div-cancel {
    display: flex !important;;
}
.form-tfn {
    display: flex;
    gap: 5px;
}
.aviso {
    font-size: 15px;
    color: rgb(206, 98, 27);
    font-weight: bold;
}
.btn-form {
    text-align: center;
}

label {
    font-size: 18px;
    color: #555;
    margin-bottom: 5px;
}

input, select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

.boton-producto {
    margin-top: 10px;
    padding: 10px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    max-width: 300px;
}

.boton-producto:hover {
    background: #0056b3;
}

/* Responsive */
@media (max-width: 768px) {
    .container-reserva {
        grid-template-columns: 1fr; /* Una sola columna en móvil */
        height: auto;
        width: 100%;
        flex-direction: column-reverse;
    }

    .image-column {
        height: 500px;
    }

    .form-column h2 {
        font-size: 2rem;
    }

    .image-text1 {
        position: relative;
        margin-bottom: 35rem;
        font-size: 25px;
        font-weight: 400;
    }
    .image-text12 {
        position: relative;
        margin-bottom: 35rem;
        margin-top: 5rem;
        font-size: 25px;
        font-weight: 400;
    }
    
    .image-text2 {
        font-size: 30px;
    }
}
/* --------- XXXXX --------- *//* --------- XXXXX --------- *//* --------- XXXXX --------- *//* --------- XXXXX --------- */

.posicion-boton {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}
.boton {
    padding: 10px 50px;
    font-size: 20px;
    font-weight: 200;
    width: auto;
    max-width: 400px;
    font-family: var(--fuenteHeading);
    color: var(--blanco);
    background-color:var(--azul);
    border: none;
    border-radius: 30px;
    transition: .2s;
}
.boton:hover {
    background-color:var(--azulOscuro);
}
/* @media (min-width: 768px) {
    .boton {
        display: inline-block;
    }
} */
.boton:hover {
    cursor: pointer;
}
.boton--primario {
    background-color: var(--negro);
}
.boton--primario:hover {
    background-color:var(--sensa);
    color: var(--blanco);
}
.boton--secundario {
    background-color: var(--primario);
}

.footer {
    background-color: var(--negro);
    padding-bottom: 3rem;
    /* margin-top: 4rem; */
}

/* Contacto */
.contacto-bg {
    background-image: url(../img/SensaOne_contacto.webp);
    height: 100%;
    width: 100%;
    height: 40rem;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 5px;
}

.formulario {
    background-color: var(--blanco);
    margin: -5rem auto 0 auto;
    width: 95%;
    padding: 5rem;
    border-radius: 5px;
}
.campo {
    display: flex;
    margin-bottom: 2rem;
}
.campo__label {
    flex: 0 0 9rem;
    text-align: right;
    padding-right: 2rem;
}
.campo__field {
    flex: 1;
    border: 1px solid var(--gris);
}
.campo__field--textarea {
    height: 20rem;
}

.sensa-pro {
        color: var(--sensa);
}

/* ALERTA DEL OK O NO DEL FORMULARIO */

.alerta-exito {
    font-size: 30px;
    font-family: var(--fuenteParrafos);
    font-weight: 300;
    text-align: center;
    color: #4CAF50;
}
.alerta-error {
    font-size: 30px;
    font-family: var(--fuenteParrafos);
    font-weight: 300;
    text-align: center;
    color: rgb(194, 18, 18);
}
@media (max-width: 768px) {
    .alerta-exito {
        font-size: 27px;
    }
    .alerta-error {
        font-size: 27px;
    }
}
