/* General styles */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');

.tenue {
    filter: blur(2px) grayscale(60%);
}

.desactiva {
    pointer-events: none;
    user-select: none;
}

.section {
    display: none;
}

.section.active {
    display: block;
}

body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: white; /* Fondo general */
}

header {
    background-color: #2b3d5a;
    color: white;
}

.topi{
    display: none;
}

.dropdown-menu{
    display: none;
}

nav {
    display: flex;
    justify-content: space-around;
    position: sticky;
    top: 0;
    height: 65px;
    padding: 0 7rem;
    background-color: rgba(8, 23, 46, 0.54); /* Transparencia corregida */
    border-bottom: 1px solid #2b3d5a;
}

nav button {
    background: none;
    text-transform: uppercase;
    border: none;
    height: 40px;
    border-bottom: 4px solid transparent; /* Transparencia corregida */
    color: white;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    padding: 24px 0;
    position: relative;
    transition: 0.4s ease;
}

nav button:hover {
    border-bottom: 4px solid #bb8f60;
}

.hero {
    background: url('../img/cover.jpg') no-repeat center top; /* Alineación hacia arriba */
    text-align: center;
    margin-top: -65px; /* Ajuste de altura del margen */
    padding: 5rem 0;
    height: 180px;
    background-size: cover;
}

.hero .izq {
    float: left;
    margin: 3% 0 0 13%;
    height: 160px;
}

.hero .izq img {
    max-width: 100%; /* Ajuste responsivo */
    height: auto; /* Mantiene la proporción */
    display: block; /* Elimina el espacio inferior */
}

.hero .der {
    float: left;
    margin: 3% 0 0 1%;
    height: 160px;
}

.hero .der h1 {
    margin: 15px 0;
    font-size: 23px;
    font-weight: 700;
}

.hero .der button {
    background-color: rgba(255, 255, 255, 0.4);
    color: white;
    text-transform: uppercase;
    margin-top: 15px;
    padding: 10px 30px;
    font-size: 16px;
    cursor: pointer;
    border: 1px solid white;
    border-radius: 5px;
    font-weight: 600;
}

.cuerpo {
    text-align: center;
    margin-bottom: 2rem;
    cursor: default;
}

.cuerpo h2 {
    color: #08172E;
    font-weight: 700;
    text-transform: uppercase;
}

.cuerpo h2 b {
    color: #BB8F60;
}

.cuerpo img {
    max-width: 150px;
    border-radius: 50%;
    margin: 1rem 0;
}

.cuerpo p {
    color: #333333;
    margin: 1rem 4rem;
    font-weight: 400;
}

.statistics {
    display: flex;
    justify-content: space-around;
    margin-bottom: 2rem;
}

.stat {
    text-align: center;
    background-color: #2B3D5A;
    color: white;
    padding: 1rem;
    flex: 1;
}

.stat h3 {
    color: #BB8F60;
    font-size: 2rem;
    margin: 0;
    font-weight: 700;
}

/* Estilos adicionales para borde en estados horizontales y verticales */
.stat:first-child {
    border-right: 3px solid #08172E;
}

.stat:last-child {
    border-left: 3px solid #08172E;
}
.stat h3, .stat p{
    opacity: 0;
    transition: opacity 1s ease;
}
#s2,#s3 {
    opacity: 0.2;
    transition: opacity 2s ease;
}
#s3{
    opacity: 0.1;
}
#sn1,#sn2,#sn3{
    color:white;
}

.btnduo {
    text-align: center;
    margin-bottom: 2rem;
}

.btnduo button {
    width: 40%;
    background-color: white;
    color: #B56B46;
    text-transform: uppercase;
    border: 3px solid #B56B46;
    padding: 14px 7px;
    cursor: pointer;
    border-radius: 5px;
    font-weight: 600;
    font-size: 15px;
    transition: 0.4s ease;
}
.btn-disabled,.btn-disabled:hover{
    color:gray !important;
    border-color: gray !important;
    background-color: lightgray !important;
}

#btn-anterior::before{
    content: "\2190 ";
}
#btn-siguiente::after{
    content: " \2192";
}

.btnduo button:hover {
    background-color: #BB8F60;
    color: white;
}

footer {
    background-color: #333333;
    color: white;
    text-align: center;
    font-size: 12px;
    line-height: 17px;
    padding: 4px;
}

footer b{
    font-size: 10px;
    font-weight: 400;
}

/* Media query for screens with a max-width of 390px */
@media only screen and (max-width: 480px) {
    .cuerpo p {
        margin: 1rem 1.5rem;
    }

    .statistics {
        flex-direction: column;
    }

    .stat:first-child {
        border-right: none;
        border-bottom: 3px solid #08172E;
    }

    .stat:last-child {
        border-left: none;
        border-top: 3px solid #08172E;
    }

    .header-container {
        display: none;
    }

    /****** menu ***/
    .topi {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        display: flex;
        align-items: center;
        padding: 8px 0px;
        background-color: #2b3d5a;
        z-index: 2;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); 
    }
    
    .menu-button {
        background: none;
        border: none;
        color: white;
        font-size: 25px;
        cursor: pointer;
    }
    
    .responsive-logo {
        max-height: 40px;
    }
    
    .topi-text {
        text-align: left;
        margin: 0 0 0 6px;
        font-size: 17px;
        letter-spacing: 2px;
        font-weight: 600;
        line-height: 14px;
    }

    .topi-text b{
        font-size: 10px;
        font-weight: 100;
        letter-spacing: 0;
    }
    
    .topi-space {
        flex-grow: 1;
    }
    
    .topi-reservar {
        background-color: rgba(255, 255, 255, 0.4);
        color: white;
        margin-right: 10px;
        text-transform: uppercase;
        padding: 8px 10px;
        font-size: 14px;
        cursor: pointer;
        border: 1px solid white;
        border-radius: 5px;
        font-weight: 400;
    }
    .dropdown-menu {
        display: none;
        flex-direction: column;
        position: fixed;
        z-index: 3;
        top: 56px;
        left: 5px;
        background-color: #2b3d5af2;
        border: 1px solid #08172E;
        width: 105px;
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 8px;
        box-shadow: 2px 3px 4px 1px rgba(0, 0, 0, 0.2);
    }
    
    .dropdown-menu button {
        background: none;
        border: none;
        color: white;
        padding: 10px;
        text-align: left;
        cursor: pointer;
        width: 100%;
        font-size: 14px;
    }
    
    .dropdown-menu button:hover {
        background-color: #08172E;
    }
    .cuerpo{
        margin-top: 67px;
    }
}
