/* CSS Document
1. Gris oscuro (texto "PRO", "AC" y "PUERTAS Y MAMPARAS")
Hex: #666666

RGB: 102, 102, 102

Nombre aproximado: Gris medio oscuro

2. Azul brillante (puertas y subrayado)
Hex: #00A6DE

RGB: 0, 166, 222

Nombre aproximado: Azul celeste / Cyan profundo

3. Gris claro (bisel en letras o separaciones)
Hex: #B3B3B3 (opcional si lo consideras relevante para fondos o sombras)

RGB: 179, 179, 179

Nombre aproximado: Gris claro metálico

// <weight>: Use a value from 100 to 900
// <uniquifier>: Use a unique and descriptive class name

.roboto-<uniquifier> {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

 */

/* Contenedor general */
.navbar-container {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
}

/* Parte superior */
.navbar-top {
    background-color: #fff;
    color: white;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

.img-rss {
    width: auto;
    height: 35px;
    border-radius: 50%;
    margin-top: 10px;
}

.logo {
    height: 60px;
    width: auto;
}

.nav-buttons {
    display: flex;
    gap: 15px;
}


.nav-buttons.active {
    display: flex;
    animation: slideDown 0.3s ease forwards;
}
.call-button{
    background-color: #2f2f2f;
}
.nav-buttons a {
    color: #2f2f2f;
    text-decoration: none;
    padding: 15px 15px;
    font-weight: 600;
    align-content: center;
    border-radius: 3px;
    font-size: 0.7rem;
    letter-spacing: 1px;
    line-height: 15px;
    text-align: center;
    transition: background-color 0.3s ease;
}

.nav-buttons .active {
    background-color: #2f2f2f;
    width: 100%;
    /* Color diferente al desplegar */
}

.nav-buttons a:hover {
    color: #fff;
    background-color: #00A6DE;
}

/* Menú hamburguesa */
.menu-toggle {
    display: none;
    font-size: 40px;
    cursor: pointer;
    border-radius: 5px;
    background-color: #00A6DE;
    border: none;
    color: #fff;
}


/* Parte inferior */
.navbar-bottom {
    background-color: #00A6DE;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding-bottom: 5px;
    padding-top: 5px;
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.promo-banner {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: center;
}

.promo-banner p {
    color: #fff;
    font-weight: 600;
    font-size: 0.8rem;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.promo-btn {
    background-color: #2f2f2f;
    border: none;
    color: #fff;
    padding: 7px 20px 7px 20px;
    font-weight: 700;
    font-size: 0.7rem;
    cursor: pointer;
    border-radius: 3px;
    letter-spacing: 1px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    line-height: 1;
}

.promo-btn:hover {
    background-color: #f2f2f2;
    transform: scale(1.03);
    color: #2f2f2f;
}

/* Responsive */

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1030px) {

    .nav-buttons {
        position: absolute;
        top: 125px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: #00A6DE;
        display: none;
    }

    .nav-buttons a {
        padding: 10px;
        color: #f2f2f2;
        align-content: center;
        text-align: center;
        font-size: 20px;
        height: 40px;
        border-top: 1px solid #f2f2f2;
        border-radius: 0px;
    }

    .nav-buttons.active {
        display: flex;
    }

    .menu-toggle {
        display: block;

    }

    .navbar-container .img-rss {
        width: 45px;
        height: 45px;
        border-radius: 50%;
        margin-left: 50%;
    }

}

@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
    .navbar-top {
        height: 120px;
    }

    .logo {
        height: 50px;
        width: auto;
    }

    .menu-toggle {
        display: block;
        font-size: 40px;
        border: none;
    }

    .nav-buttons {
        margin-top: 20px;
    }

    .nav-buttons a {
        padding: 10px;
        align-content: center;
        text-align: center;
        font-size: 1.2rem;
        height: 30px;

    }

    .navbar-bottom {
        height: auto;
        padding-right: 20px;
        color: #FFF;

    }

    .navbar-bottom p {
        font-size: 1rem;
        width: 100%;
        margin: 0;
    }

    .promo-banner p {
        text-align: center;
        font-size: 0.8rem;
    }

}