body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4ecd0; /* Nuevo color de fondo */
}

.header {
    background-color: #a0522d;
    color: #333; /* Color de texto más oscuro */
    padding: 10px 0;
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container {
    position: relative;
    display: inline-block;
    text-align: center;
    margin: 0 20px; /* Espacio entre el logo y los textos */
}

.logo-container img {
    position: relative;
    z-index: 2;
}

.header::before {
    content: "";
    background: url('imagenes/fondologo.jpeg') no-repeat center center;
    background-size: cover;
    opacity: 0.5;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.reservations {
    background-color: rgba(255, 255, 255, 0.5); /* Fondo transparente */
    padding: 10px;
    border-radius: 5px;
    text-align: left;
    position: relative;
    z-index: 2;
    color: #333; /* Color de texto más oscuro */
}

.slogan {
    background-color: rgba(255, 255, 255, 0.5); /* Fondo transparente */
    padding: 10px;
    border-radius: 5px;
    text-align: right;
    position: relative;
    z-index: 2;
    margin-left: 20px; /* Espacio entre el logo y la frase */
    flex-grow: 1; /* Para tomar el espacio restante */
    color: #333; /* Color de texto más oscuro */
}

.nav {
    display: flex;
    justify-content: center;
    background-color: #d74b2d;  /* Nuevo color de fondo */
    position: relative;
}

.nav.fixed {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 3;
}

.menu-btn {
    display: none;
    background-color: #d74b2d;
    color: white;
    border: none;
    padding: 14px 20px;
    cursor: pointer;
    font-size: 18px;
}

.menu-btn:hover {
    background-color: #b35900;
}

.nav-links {
    display: flex;
    justify-content: center;
    width: 100%;
}

.nav a {
    color: white;
    padding: 14px 20px;
    text-decoration: none;
    text-align: center;
}

.nav a:hover {
    background-color: #b35900;  /* Nuevo color de fondo */
}

.rooms {
    display: flex;
    justify-content: space-around;
    padding: 20px;
    flex-wrap: wrap;
    margin-top: 20px;  /* Añadido para evitar solapamiento con la barra de navegación fija */
}

.room {
    text-align: center;
    width: 22%;
}

.room img {
    width: 100%;
    max-width: 800px;  /* Máximo ancho */
    height: auto;
    max-height: 600px;  /* Máxima altura */
}

.room-title {
    background-color: #a0522d;  /* Color de fondo para el texto de las habitaciones */
    color: white;
    padding: 10px;
    margin: 0;
}

.footer {
    background-color: #a0522d;
    color: white;
    text-align: center;
    padding: 10px 0;
}

.social-links {
    margin-top: 10px;
}

.social-icon {
    width: 24px;
    height: 24px;
    margin: 0 10px;
    vertical-align: middle;
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        align-items: center;
    }

    .reservations {
        position: static;
        margin-bottom: 10px;
        text-align: center;
    }

    .slogan {
        position: static;
        margin-bottom: 10px;
        text-align: center;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    .nav-links.show {
        display: flex;
    }

    .menu-btn {
        display: block;
    }

    .rooms {
        flex-direction: column;
        align-items: center;
    }

    .room {
        width: 80%;  /* Ajusta el ancho al 80% para pantallas pequeñas */
        margin-bottom: 20px;
    }
}
