/* Estilos generales */
body {
    font-family: 'Lato', sans-serif;
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #f8f9fa;
}

/* Header */
#header-container {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo-container {
    padding: 0;
    text-align: center;
}

.logo {
    max-height: 50px;
    width: auto;
}

/* Selector de idioma */
.language-selector {
    display: flex;
    justify-content: left;
    align-items: center;
    padding: 5px 0;
}

.language-selector .btn {
    width: 23px;
    height: 23px;
    padding: 0 0 5px 0; /* Espacio para el subrayado */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 400; /* Peso de fuente normal */
    transition: all 0.2s;
    color: #000000 !important; /* Texto en negro */
    background: none !important; /* Sin fondo */
    border: none !important; /* Sin borde */
    position: relative;
    border-radius: 0 !important; /* Sin bordes redondeados */
}

.language-selector .btn.active {
    color: #000000 !important; /* Texto en negro */
    background: none !important; /* Sin fondo */
    border: none !important; /* Sin borde */
    font-weight: 400; /* Peso de fuente normal */
}

.language-selector .btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 5px; /* Ajuste para que el subrayado no toque los bordes */
    right: 5px; /* Ajuste para que el subrayado no toque los bordes */
    height: 1px; /* Grosor del subrayado reducido a 1px */
    background-color: #000000; /* Color del subrayado */
}

.lang-btn {
    font-weight: 700;
    color: #6c757d;
    text-decoration: none;
    background: none;
    border: none;
    padding: 0 5px;
    cursor: pointer;
}

.lang-btn:hover, .lang-btn.active {
    color: #000;
}

/* Menú de navegación */
.nav-container {
    background-color: #f6e200; /* Color de fondo actualizado */
    padding: 10px 0;
    overflow-x: auto;
    white-space: nowrap;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.menu-nav {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    padding: 0;
    max-width: 100%;
    margin: 0 auto;
}

/* Estilos para los botones del menú de navegación */
.menu-btn {
    margin: 0 5px;
    font-weight: 400; /* Peso de fuente normal */
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    padding: 5px 10px !important; /* Aseguramos que el padding se mantenga */
    border: none !important; /* Eliminar borde */
    background: none !important; /* Eliminar fondo */
    transition: all 0.3s ease;
    color: #000000 !important; /* Color de texto */
    box-shadow: none !important; /* Eliminar sombras */
    outline: none !important; /* Eliminar outline */
    position: relative;
}

/* Eliminar estilos de hover por defecto de Bootstrap */
.menu-btn:hover, 
.menu-btn:focus, 
.menu-btn:active,
.menu-btn.active {
    background: transparent !important; /* Fondo transparente */
    color: #000000 !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Estilo para el botón activo */
.menu-btn.active {
    font-weight: 400; /* Mantener peso normal */
    position: relative;
}

/* Subrayado para el botón activo */
.menu-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background-color: #000000;
}

.menu-btn:hover, .menu-btn.active {
    background-color: transparent !important;
}

/* Contenedor principal */
#content-container {
    margin-top: 180px;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0 15px;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Visor de PDF */
#pdf-viewer-container {
    flex: 1;
    width: 100%;
    height: calc(100vh - 220px);
    min-height: 500px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

#pdf-embed {
    width: 100%;
    height: 100%;
    border: none;
}

/* Indicador de carga */
#loading-indicator {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 10;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Mensaje de error */
#error-message {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 20;
    padding: 20px;
}

.alert {
    max-width: 500px;
    text-align: center;
}

/* Estilos responsivos */
@media (max-width: 768px) {
    #content-container {
        margin-top: 200px;
        padding: 0 10px;
    }
    
    .menu-nav {
        justify-content: flex-start;
        padding: 0 10px;
    }
    
    .menu-btn {
        font-size: 0.8rem;
        padding: 5px 8px !important;
        margin: 0 3px;
    }
    
    #pdf-viewer-container {
        height: calc(100vh - 240px);
    }
}

@media (max-width: 576px) {
    .logo {
        max-height: 40px;
    }
    
    .menu-btn {
        font-size: 0.75rem;
        padding: 4px 6px !important;
        margin: 0 2px;
    }
    
    .lang-btn {
        font-size: 0.9rem;
    }
}

/* Estilos para la pagina de inicio */
html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px; /* Margin bottom by footer height */
}

.bg-black {
    background-color: #000;
}

.bg-macassar {
    background-color: #291f1d;
}

.bg-roomservice {
    background: url(img/bgelcielo.jpg) no-repeat fixed; 
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.img-responsive {
    max-width: 200px;
    max-height: auto;
    margin-bottom: 50px;
}

.vertical-center {
    min-height: 90%;  /* Fallback for browsers do NOT support vh unit */
    min-height: 90vh; /* These two lines are counted as one :-)       */
    display: flex;
    align-items: center;
}

.box {
    width: 100%;
    padding: 0 8%;
}

.boxbg {
    width: 100%;
    background-color: #291f1da8;
    padding: 12px 25px 5px 25px;
}

.colorbg-yellow {
    background-color: #feee00;
}

.icon-flag {
    width: 30px;
    margin-top: 2px;
    vertical-align: middle;
}

.icon-flag2 {
    width: 40px;
    margin-top: 0;
    margin-right: 25px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60px;
    line-height: 60px;
    background-color: #111;
}

@media (max-width: 991px) {
    #bodycont {
        width: 100%;
    }
}

/*Sofitel test*/
.btn-sofitel, .btn-sofitel:active, .btn-sofitel:focus, .btn-sofitel:hover {
    background-color: #997300;
    border-color: #997300;
    color: #fff;
    letter-spacing: 0.1em;
    font-size: 1rem;
}

.btn-sofitel2 {
    border-radius: 0;
    padding: 0.75rem;
}

.img-responsive.logosofitel {
    max-width: 160px;
    margin-bottom: 20px;
    margin-top: 10%;
}

body.sofitel {
    font-family: 'Lato', sans-serif;
}

body.sofitel footer {
    background-color: #000;
}

body.sofitel .btn-back {
    font-size: .7rem;
}

hr {
    border-top: 1px solid rgba(255,255,255);
    width: 50px;
}

/*Textos*/
.texts-bienvenida {
    font-size: 0.9rem;
    color: #211915;
    line-height: 1.5em;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
}

.texts-bienvenida1 {
    font-size: 1rem;
    color: #211915;
    line-height: 1.5em;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
}

.text-bold {
    font-weight: 700;
}

.text-lspacing {
    letter-spacing: 0.2em;
}

.btn-block {
    display:block;
    width: 100%;
}

.float-left {
    float: left!important
}