* {
    margin: 0%;
    font-family: "Segoe UI";
    box-sizing: border-box;
}

:root {
    --bg-color:#F3E6D3;
    --bg2-color:#616F5F;
    --all-color:#fff; 
}

/*NAVBAR SECTION*/

.navbar {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    background-color: var(--bg-color);
    padding: 0;
}

.logo {
    width: 110px;
}

.lista-links {
    list-style-type: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 20px;
    text-decoration: none;
}

.link {
    color: brown;
    font-size: 1.2em;
    text-decoration: none;
    padding: 10px;
}

.link:hover {
    text-decoration: underline;
    background-color: #F3E6D355;
}

/*HEADER SECTION*/

.header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: #F3E6D388;
    padding: 30px;
    height: 50vh;
    gap: 20px;
}

.titulo-principal {
    font-size: 4em;
    font-weight: 300;
}

.subtitulo-principal {
    font-size: 1.5em;
    text-align: center;
    font-weight: 100;
}

/*MAIN SECTION*/

.main {
    width: 100%;
    max-width: 1200px; 
    margin: 0 auto; 
}

.primer-apartado, .apartado {
    display: flex;
    align-items: stretch; 
    width: 100%; 
    padding:0;
    box-sizing: border-box;
}

.section-contenido {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: stretch;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    width: 100%; 
}

.img-comer {
    width: 50%;
    height: 100%;
}

.texto-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 30px;
    text-align: left;
    padding: 30px;
}

.titulo-secundario {
    font-size: 3.5em;
    font-weight: 300;
}

.titulo-secundario, .subtitulo-secundario {
    margin-left: 20px;
}

.subtitulo-secundario {
    font-weight: 100;
    font-size: 1.2em;
}

/*SEPARATOR*/

.separador {
    background-color: var(--bg2-color);
    padding: 20px;
    color: var(--all-color);
    text-align: center;
}

h3 {
    font-weight: 300;
    font-size: 1.5em;
}

.img-beber {
    width: 50%;
}

/*MAIN SECTION COME BACK*/

.contacto {
    background-color: var(--bg2-color);
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-direction: row;
    text-align: center;
    gap: 20px;
    color: var(--all-color);
    padding: 35px;
    box-sizing: border-box;
}

.red {
    font-size: 1.8em;
}

.descripcion-informativa {
    font-size: 1.1em;
}

.link-familia {
    color: var(--all-color);
    font-size: 1.09em;
}

.redes {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    font-size: 2.5em;
    font-weight: 700;
}

.link-red {
    color: var(--all-color);
    text-decoration: none;
}

.link-red:hover {
    text-decoration: underline;
}

/*FOOTER SECTION*/

.footer {
    padding: 20px;
    background-color: #fff;
    text-align: center;
}

.nota-link {
    color: #25D366; /* El verde oficial de WhatsApp, es más vibrante y moderno */
    text-decoration: underline; 
    font-weight: 900;
    font-size: 0.9rem;
    transition: all 0.3s ease; /* Para que el cambio de color sea suave */
    display: inline-block;
    margin-top: 10px;
}

.nota-link:hover {
    color: #128C7E; /* Un verde más oscuro cuando pasas el mouse */
    transform: scale(1.05); /* Crece un poquito, dando sensación de interactividad */
}

::-webkit-scrollbar {
    width: 8px; /* Hazla más delgada */
    height: 8px;
}

/* Pista (fondo) - Casi transparente o muy claro */
::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1); /* Un gris muy tenue y transparente */
    border-radius: 10px;
}

/* Pulgar - Con poca opacidad */
::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.3); /* Un gris más oscuro pero con transparencia */
    border-radius: 10px;
    border: 2px solid rgba(0, 0, 0, 0.0); /* Borde totalmente transparente */
}

/* Pulgar al pasar el ratón (se hace un poco más visible) */
::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.5); /* Se vuelve más visible al hacer hover */
}

/* Esquina */
::-webkit-scrollbar-corner {
    background: transparent;
}

@media screen and (max-width:768px) {
    .logo {
        display: none;
    }

    .header {
        height: 35vh;
    }

    .ciudad {
        background-image: url("./Imagenes/pexels-photo-13119652.webp");
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        color: var(--all-color);
        z-index: 1;
        position: relative;
        border-bottom: 4px solid #616F5F66;
    }

    .ciudad::before {
        content: " ";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.4); /* Color negro con 50% de opacidad */
        z-index: -1; /* Envía el overlay detrás del contenido pero encima del fondo */
    }

    .plato {
        background-image: url("./Imagenes/plato.jpg");
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        color: var(--all-color);
        z-index: 1;
        position: relative;
    }

    .plato::before {
        content: " ";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.4); /* Color negro con 50% de opacidad */
        z-index: -1; /* Envía el overlay detrás del contenido pero encima del fondo */
    }

    .navbar {
        padding: 20px;
    }

    .titulo-principal {
        font-size: 2.5em;
    }

    .subtitulo-principal {
        font-size: 1.3em;
    }

    .subtitulo-secundario {
        font-size: 1.3em;
    }

    .canal {
        font-size: 1.5em;
    }

    .link {
        font-size: 1em;
    }

    .apartado {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .img{
        display: none;
    }

    .contacto {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .titulo-secundario {
        font-size: 2em;
        font-weight: 500;
        text-align: center;
    }

    .subtitulo-secundario {
        text-align: center;
    }

    .separador {
        display: none;
    }
}