/* ---------------------------------------------CUERPO------------------------------------------------- */

body {
    margin: 0;
    padding: 0;
    text-align: center;
}

header {
    background-color: white;
    padding: 0.5% 0 0.5% 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

main#contenido {
    margin-top: 8vh;
    min-height: calc(100vh - 100px);
    background-image: url('../imagenes/Servicios/Servicio6.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    background-attachment: scroll;
}

main#contenido .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.card {
    background: white;
    border-radius: 8px;
    padding: 15px;
    margin: 10px auto;
    max-width: 400px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 0 2vw;
}

.logo-wrap {
    width: 21vw;
    display: flex;
    align-items: center;
    color: rgb(24, 154, 219);
    font-family: fantasy;
    font-size: 1.7vw;
    justify-content: space-around;
}

.logo-wrap img {
    height: 8vh;
}

.verde {
    color: rgba(41, 217, 75)
}

.bar-wrap {
    width: 75%;
    display: flex;
    justify-content: flex-end;
    color: black;
    gap: 2.5%
}

.bar-wrap li {
    list-style: none;
}

.bar-wrap a {
    text-decoration: none;
    color: inherit;
}

.bar-wrap a:hover {
    color: rgb(24, 154, 219);
    font-weight: bold;
}

.bar-wrap div:hover {
    color: rgb(24, 154, 219);
    font-weight: bold;
}


/*-------------------------------BODY--------------------------------*/

.Bienvenida {
    position: relative;
    color: white;
    z-index: 10;
    top: 4vh;
    margin: auto;
    width: 90%;
    height: auto;
    overflow: hidden;
    text-align: center;
}

.texto1 {
    font-size: 4rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    color: #e5bb51;
}

.texto2 {
    font-size: 1.5rem;
    font-weight: 300;
    font-family: cursive;
}

.Villa {
    margin: 6% 5% 2% 5%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5%;
    z-index: 10;
    flex-wrap: wrap;
}


/*--------------------------------------CARRUSEL--------------------------------------*/

.carrusel {
    position: relative;
    z-index: 2;
    width: 48%;
    height: 65vh;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.4));
}

.slides {
    display: flex;
    height: 100%;
    border-radius: 20px;
    transition: transform 0.5s ease-in-out;
}

.slides img {
    flex: 0 0 100%;
    border-radius: 20px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

button.prev,
button.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
}

button.prev:hover,
button.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

button.prev {
    left: 10px;
}

button.next {
    right: 10px;
}

.puntos {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.punto {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: background-color 0.3s;
}

.punto.active {
    background-color: rgba(255, 255, 255, 1);
}


/*------------------------------------FORMULARIO----------------------------------------*/

.correo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45%;
    height: auto;
    color: white;
    font-family: 'Playfair Display', serif;
}

.form-reserva {
    background-color: rgba(255, 255, 255, 0.596);
    padding: 1rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    font-family: 'Newsreader', serif;
}

.form-reserva h2 {
    margin: 0.1rem;
    color: #f0ce77;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.845);
    font-family: 'Pinyon Script', cursive;
    font-size: 2.5rem;
    text-align: center;
}

.form-reserva label {
    font-weight: 600;
    color: #333;
    text-align: left;
    font-size: 1.1rem;
}

.form-reserva input,
.form-reserva textarea {
    font-family: 'Newsreader', serif;
    padding: 0.2rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1.1rem;
    box-sizing: border-box;
}

.form-reserva input:focus,
.form-reserva textarea:focus {
    outline: none;
    border-color: #29b673;
    box-shadow: 0 0 5px rgba(41, 182, 115, 0.5);
}

.form-reserva button {
    background-color: #29b673;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    padding: 0.8rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-reserva button:hover {
    background-color: #1f8c56;
}


/*-------------------------------------------------------------------------*/

.animar {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.animar.visible {
    opacity: 1;
    transform: translateY(0);
}

.DescVilla {
    position: relative;
    display: flex;
    flex-direction: column;
    font-size: 1.5rem;
    z-index: 10;
    color: white;
    text-align: justify;
    margin: 3% 5%;
    line-height: 150%;
}

.Lista {
    padding-left: 5vh;
}

.EspacioFinal {
    display: flex;
    align-items: stretch;
    justify-content: center;
    position: relative;
    height: 4vh;
    color: white;
    z-index: 16;
}


/*----------------------------------------RESPONSIVE---------------------------------------*/

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: rgb(24, 154, 219);
}

.bar-wrap {
    display: flex;
    justify-content: flex-end;
    gap: 2rem;
    transition: all 0.3s ease;
}

.bar-wrap.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    padding: 1rem 0;
    z-index: 999;
}

@media (max-width: 1024px) {
    .logo-wrap {
        font-size: 1.3rem;
    }
    .carrusel {
        height: 60vh;
    }
    .Bienvenida {
        width: 100%;
        order: 1;
        margin: 5% 0;
    }
    .texto1 {
        font-size: 4rem;
    }
    .texto2 {
        font-size: 1.5rem;
    }
    .DescVilla {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    .bar-wrap {
        display: none;
        flex-direction: column;
    }
    .bar-wrap.active {
        display: flex;
    }
    .logo-wrap img {
        height: 60px;
    }
    .logo-wrap {
        font-size: 1.3rem;
    }
    .Bienvenida {
        width: 100%;
        order: 1;
        margin: 5% 0;
    }
    .texto1 {
        font-size: 3rem;
    }
    .texto2 {
        font-size: 1.2rem;
    }
    .columnas {
        display: flex;
        flex-direction: column;
        margin: 0 5%;
        gap: 5vh;
    }
    .Villa {
        display: contents;
        order: 2;
    }
    .carrusel {
        width: 100%;
        height: 60vh;
        order: 1;
    }
    .slides img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .DescVilla {
        order: 3;
        font-size: 1.2rem;
    }
    .correo {
        width: 100%;
        order: 4;
        z-index: 10;
    }
    .form-reserva h2 {
        font-size: 2.6rem;
    }
    .form-reserva label {
        font-size: 1.1rem;
    }
    .form-reserva input,
    .form-reserva textarea {
        font-size: 1.1rem;
    }
    .EspacioFinal {
        font-size: 0.8rem;
        order: 5;
    }
}

@media (max-width: 480px) {
    .menu-toggle {
        padding-right: 5%;
    }
    header {
        padding: 0.5rem;
    }
    .Bienvenida {
        width: 100%;
        order: 1;
        margin: 5% 0;
    }
    .texto1 {
        font-size: 2rem;
    }
    .texto2 {
        font-size: 1rem;
    }
    .columnas {
        display: flex;
        flex-direction: column;
        margin: 0 5%;
        gap: 5vh;
    }
    .Villa {
        display: contents;
        order: 2;
    }
    .carrusel {
        width: 100%;
        height: 40vh;
        order: 1;
    }
    .slides img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .DescVilla {
        order: 3;
        font-size: 1rem;
    }
    .correo {
        width: 100%;
        order: 4;
        z-index: 10;
    }
    .form-reserva h2 {
        font-size: 2rem;
    }
    .form-reserva label {
        font-size: 0.9rem;
    }
    .form-reserva input,
    .form-reserva textarea {
        font-size: 0.9rem;
    }
    .EspacioFinal {
        font-size: 0.8rem;
        order: 5;
    }
    .logo-wrap {
        font-size: 1.2rem;
    }
}