﻿
.navbar {
    background-color: hsl(var(--blue));
    padding: 10px;
    position: relative;
    z-index: 1000;
}

    .navbar > * {
        font-size: 16px;
        font-weight: 500;
    }

.navbar-container {
    width: 95%;
    margin: auto;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.navbar a {
    color: white;
    padding: 0.5em 1em;
    display: inline-block;
}

.navbar-container .logo, .navbar-container .logo a, .navbar-container img {
    height: 100%;
}

.mobile-menu-items {
    column-gap: 2rem;
    row-gap: 1rem;
    display: flex;
    list-style-type: none;
    align-items: center;
    text-align: center;
}

.dropdown-item .dropdown-content {
    display: none;
    position: absolute;
    flex-direction: column;
    padding: 1rem;
    background-color: white;
    box-shadow: 2px 2px 5px rgb(0 0 0 / 20%);
    z-index: 1;
}

.dropdown-item:hover .dropdown-content {
    display: flex;
}

.dropdown-item .dropdown-content a {
    color: black;
}

.dropdown-item img {
    width: 20px;
}

.dropdown-item a {
    display: flex;
    align-items: center;
    gap: 3px;
}

#hamburger {
    display: none;
}

    #hamburger img {
        height: 30px;
    }

#cotiza {
    border-radius: 100px;
    border: 2px solid white;
    white-space: nowrap;
    font-size: 18px;
}

    #cotiza:hover {
        background-color: white;
        color: black;
    }



@media only screen and (max-width: 992px) {
    .mobile-menu-items {
        flex-direction: column;
        justify-content: center;
        width: 100%;
    }

    .mobile-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: hsl(var(--blue));
        padding: 1rem;
    }

        .mobile-menu a, .dropdown-item {
            width: 100%;
            text-align: left;
        }

    .dropdown-item .dropdown-content {
        position: relative;
        box-shadow: none;
    }

    #hamburger {
        display: block;
    }

    #mobile-menu {
        display: none;
    }

        #mobile-menu.active {
            display: block;
        }
}


/**** FOOTER ****/
.footer {
    background-color: hsl(var(--gray));
}

    .footer > * {
        font-size: 18px;
    }

    .footer p {
        margin-bottom: 0;
        font-weight: normal;
    }

    .footer a {
        color: black;
    }

        .footer a:hover {
            color: hsl(var(--light-blue));
        }

.footer-container {
    display: flex;
    gap: 20px;
}

    .footer-container > div {
        flex: 1;
    }

.footer .logo {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer .logo div {
    flex: 1;
}

    .footer .logo img {
        width: 100%;
        min-width: 125px;
        max-width: 175px;
    }

.footer-container .servicios ul {
    display: flex;
    flex-direction: column;
    list-style-type: none;
    gap: 15px;
}

.footer .contact .contact-item {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

    .footer .contact .contact-item img {
        height: 30px;
    }

.footer-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
    flex-wrap: wrap-reverse;
    gap: 10px;
}

.footer-footer > * {
    color: darkgray;
}

.footer .social a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer .social img {
    height: 20px;
}

@media only screen and (max-width: 668px) {
    .navbar-container {
        width: 100%;
        height: 70px;
        gap: 0;
    }

    .footer-container {
        flex-direction: column;
    }

    .footer .logo {
        flex-wrap: nowrap;
        width: 100%;
    }

    .footer .servicios {
        display: none;
    }

    #cotiza {
        font-size: 16px;
    }
}


@media only screen and (max-width: 1280px) {
    .nav-hide {
        display: none !important;
    }

    .navbar a {
        font-size: 14px;
    }

    .mobile-menu-items {
        gap: 1rem;
    }
}