* {
    margin: 0%;
    scroll-behavior: smooth;
    font-family: "Segoe UI";
}

:root {
    --bg-color:#F3E6D3;
    --bg2-color:#616F5F;
    --all-color:#fff; 
    --opac-color:#F3E6D388;
}

.logo {
    width: 100px;
}

.navbar {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 0px;
    background-color: var(--bg-color);
}

.lista-links {
    display: flex;
    list-style-type: none;
    justify-content: space-between;
    text-decoration: none;
    gap: 15px;
    padding: .2px;
}

.link-nav {
    text-decoration: none;
    color: brown;
    font-size: 1em;
    padding: 0;
}

.link-nav:hover {
    text-decoration: underline;
}

/*HEADER SECTION*/


.menu-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    background-color: var(--opac-color);
}

.menu-header h1 {
    font-size: 3em;
    margin-bottom: 10px;
}

.menu-descripcion, .menu-subtitulo {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 15px;
}

.menu-secciones {
    padding: 20px;
}

.seccion-item {
    margin: 10px 10px; 
    padding: 20px;
}

.seccion-titulo {
    font-size: 1.8em;
    text-align: left;
    margin-bottom: 20px;
    padding-left: 15px; 
}

.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 0 10px;
    list-style-type: none; 
    margin: 0; 
}

.producto-card {
    border: 1px solid #ccc;
    padding: 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.producto-nombre {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 5px;
}

.producto-descripcion {
    font-size: 0.9em;
    color: #888;
    margin-bottom: 10px;
}

.producto-precio {
    font-weight: bold;
    color: var(--bg2-color); 
}

/*FOOTER SECTION*/

.footer {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-direction: row;
    text-align: center;
    background-color: var(--bg2-color);
    padding: 35px;
    color: #fff;
    box-sizing: border-box;
    gap: 2px;
}

.contacto-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 10px;
    text-align: center;
    max-width: 50%;
    width: 50%;
}

.red {
    font-size: 1.7em;
}

.informativo {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 10px;
}

.link-familia {
    text-align: center;
    color: #fff;
    font-size: 1.2em;
}

.redes {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-size: 2.4em;
    gap: 20px;
}

.link-red {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.link-red:hover {
    text-decoration: underline;
}

.footer-derechos {
    padding: 20px;
    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 */
}

/*SCROLL SECTION*/

/* Barra general (define su tamaño) */
::-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 Query para móvil */
@media (max-width: 768px) {
    .logo {
        display: none;
    }

    .navbar {
        padding: 20px;
    }

    .menu-descripcion {
        font-size: 1.1em;
    }

    .productos-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }

    .footer {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    .contacto-container {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 20px;
    }
}
