/* =====================================================
   NAVBAR
===================================================== */

.navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;

    background: rgba(7, 7, 7, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}


.nav-container {
    min-height: 72px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


/* =====================================================
   LOGO
===================================================== */

.logo {
    display: inline-flex;
    align-items: center;

    gap: 9px;

    text-decoration: none;

    flex-shrink: 0;
}


.site-logo {
    width: auto;
    height: 34px;

    max-width: 130px;

    object-fit: contain;

    display: block;

    background: transparent;
}


.brand-name {
    color: #ffffff;

    font-size: 18px;
    font-weight: 700;

    letter-spacing: -0.3px;

    white-space: nowrap;
}


/* =====================================================
   NAV MENU
===================================================== */

.nav-menu {
    display: flex;
    align-items: center;

    gap: 6px;

    margin-left: auto;
}


.nav-link {
    position: relative;

    display: inline-flex;
    align-items: center;

    min-height: 42px;

    padding: 0 14px;

    color: rgba(255, 255, 255, 0.72);

    text-decoration: none;

    font-size: 14px;
    font-weight: 500;

    border-radius: 8px;

    transition:
        color 0.25s ease,
        background 0.25s ease;
}


.nav-link:hover {
    color: #ffffff;

    background: rgba(255, 255, 255, 0.06);
}


.nav-link.active {
    color: #ffffff;
}


.nav-link.active::after {
    content: "";

    position: absolute;

    left: 14px;
    right: 14px;
    bottom: 3px;

    height: 2px;

    background: #e53935;

    border-radius: 10px;
}


/* =====================================================
   DROPDOWN
===================================================== */

.nav-dropdown {
    position: relative;
}


.nav-dropdown-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    min-height: 42px;

    padding: 0 14px;

    border: 0;
    outline: 0;

    background: transparent;

    color: rgba(255, 255, 255, 0.72);

    font-family: inherit;
    font-size: 14px;
    font-weight: 500;

    cursor: pointer;

    border-radius: 8px;

    transition:
        color 0.25s ease,
        background 0.25s ease;
}


.nav-dropdown-btn:hover {
    color: #ffffff;

    background: rgba(255, 255, 255, 0.06);
}


.dropdown-arrow {
    font-size: 13px;

    transition:
        transform 0.25s ease;
}


.nav-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}


/* Dropdown box */

.nav-dropdown-menu {
    position: absolute;

    top: calc(100% + 12px);
    left: 50%;

    width: 340px;

    transform:
        translateX(-50%)
        translateY(-8px);

    opacity: 0;
    visibility: hidden;

    padding: 10px;

    background: #111111;

    border: 1px solid rgba(255, 255, 255, 0.1);

    border-radius: 14px;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.55);

    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        visibility 0.2s ease;
}


.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;

    transform:
        translateX(-50%)
        translateY(0);
}


/* Dropdown item */

.nav-dropdown-menu a {
    display: grid;

    grid-template-columns: 38px 1fr 25px;

    align-items: center;

    gap: 12px;

    padding: 14px;

    color: #ffffff;

    text-decoration: none;

    border-radius: 10px;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.nav-dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.06);

    transform: translateX(3px);
}


.dropdown-number {
    color: #e53935;

    font-size: 12px;
    font-weight: 700;
}


.dropdown-content {
    display: flex;
    flex-direction: column;

    gap: 4px;
}


.dropdown-content strong {
    font-size: 14px;

    color: #ffffff;
}


.dropdown-content small {
    font-size: 12px;

    color: rgba(255, 255, 255, 0.48);
}


.dropdown-icon {
    color: #e53935;

    font-size: 18px;

    text-align: right;
}


/* =====================================================
   GET A QUOTE
===================================================== */

.nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 40px;

    padding: 0 18px;

    margin-left: 6px;

    color: #ffffff;

    background: #d71920;

    border: 1px solid #d71920;

    border-radius: 8px;

    text-decoration: none;

    font-size: 13px;
    font-weight: 600;

    transition:
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.nav-btn:hover {
    background: #ef2b32;

    transform: translateY(-1px);

    box-shadow:
        0 8px 25px rgba(215, 25, 32, 0.25);
}


/* =====================================================
   MOBILE BUTTON
===================================================== */

.mobile-menu-btn {
    display: none;

    width: 42px;
    height: 42px;

    border: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: 8px;

    background: rgba(255, 255, 255, 0.04);

    color: #ffffff;

    font-size: 21px;

    cursor: pointer;
}


/* =====================================================
   FOOTER
===================================================== */

.site-footer {
    margin-top: 80px;

    background: #080808;

    border-top: 1px solid rgba(255, 255, 255, 0.08);
}


.footer-grid {
    display: grid;

    grid-template-columns:
        2fr
        1fr
        1fr
        1fr;

    gap: 50px;

    padding-top: 70px;
    padding-bottom: 60px;
}


.footer-company {
    max-width: 420px;
}


.footer-logo {
    display: inline-flex;
    align-items: center;

    gap: 9px;

    text-decoration: none;

    margin-bottom: 20px;
}


.footer-logo img {
    width: auto;
    height: 30px;

    max-width: 115px;

    object-fit: contain;
}


.footer-logo span {
    color: #ffffff;

    font-size: 17px;
    font-weight: 700;
}


.footer-company p {
    margin: 0;

    color: rgba(255, 255, 255, 0.52);

    font-size: 14px;

    line-height: 1.8;
}


.footer-column {
    display: flex;
    flex-direction: column;

    gap: 12px;
}


.footer-column h4 {
    margin: 0 0 8px;

    color: #ffffff;

    font-size: 14px;
}


.footer-column a {
    color: rgba(255, 255, 255, 0.52);

    text-decoration: none;

    font-size: 13px;

    transition: color 0.2s ease;
}


.footer-column a:hover {
    color: #ffffff;
}


.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}


.footer-bottom .container {
    min-height: 65px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}


.footer-bottom p {
    margin: 0;

    color: rgba(255, 255, 255, 0.4);

    font-size: 12px;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1100px) {

    .nav-link {
        padding-left: 9px;
        padding-right: 9px;
    }

    .nav-dropdown-btn {
        padding-left: 9px;
        padding-right: 9px;
    }

    .nav-btn {
        padding-left: 14px;
        padding-right: 14px;
    }

    .brand-name {
        font-size: 16px;
    }

}


@media (max-width: 900px) {

    .nav-container {
        min-height: 68px;
    }

    .mobile-menu-btn {
        display: inline-flex;

        align-items: center;
        justify-content: center;
    }


    .nav-menu {
        position: absolute;

        top: 100%;
        left: 0;
        right: 0;

        display: none;

        flex-direction: column;
        align-items: stretch;

        gap: 4px;

        padding: 15px;

        background: #0c0c0c;

        border-bottom: 1px solid rgba(255, 255, 255, 0.08);

        box-shadow:
            0 20px 40px rgba(0, 0, 0, 0.4);
    }


    .nav-menu.mobile-active {
        display: flex;
    }


    .nav-link {
        width: 100%;

        min-height: 45px;

        padding: 0 14px;
    }


    .nav-link.active::after {
        left: 14px;
        right: auto;

        width: 25px;
    }


    .nav-dropdown {
        width: 100%;
    }


    .nav-dropdown-btn {
        width: 100%;

        justify-content: space-between;

        min-height: 45px;

        padding: 0 14px;
    }


    .nav-dropdown-menu {
        position: static;

        width: 100%;

        display: none;

        transform: none;

        opacity: 1;
        visibility: visible;

        margin-top: 4px;

        box-shadow: none;

        border-radius: 10px;
    }


    .nav-dropdown.open .nav-dropdown-menu {
        display: block;

        transform: none;
    }


    .nav-btn {
        width: 100%;

        margin: 5px 0 0;

        min-height: 44px;
    }


    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

}


@media (max-width: 600px) {

    .site-logo {
        height: 30px;
        max-width: 105px;
    }


    .brand-name {
        font-size: 15px;
    }


    .logo {
        gap: 7px;
    }


    .footer-grid {
        grid-template-columns: 1fr;

        gap: 35px;

        padding-top: 50px;
        padding-bottom: 40px;
    }


    .footer-bottom .container {
        min-height: auto;

        padding-top: 20px;
        padding-bottom: 20px;

        flex-direction: column;

        align-items: flex-start;
    }

}