/* =====================================
   HEADER
===================================== */

#header {

    position: fixed;

    width: 100%;

    top: 0;

    left: 0;

    z-index: 9999;

    transition: .3s ease;
}

#header.scrolled {

    background: rgba(28,37,50,.95);

    backdrop-filter: blur(10px);

    box-shadow: 0 5px 20px rgba(0,0,0,.15);
}

.navbar-custom {

    padding: 20px 0;
}

.nav-wrapper {

    display: flex;

    justify-content: space-between;

    align-items: center;
}

.site-logo {

    width: 220px;
}

/* =====================================
   DESKTOP MENU
===================================== */

.desktop-menu {

    list-style: none;

    display: flex;

    margin: 0;

    padding: 0;
}

.desktop-menu li {

    margin-left: 35px;
}

.desktop-menu a {

    color: white;

    text-decoration: none;

    font-weight: 600;
}

.desktop-menu a:hover {

    color: var(--color-accent);
}

/* =====================================
   HAMBURGER
===================================== */

.menu-toggle {

    display: none;

    background: transparent;

    border: 0;

    cursor: pointer;
}

.menu-toggle span {

    display: block;

    width: 28px;

    height: 3px;

    margin: 5px 0;

    background: white;

    transition: .3s ease;
}

/* =====================================
   MOBILE MENU
===================================== */

#mobile-menu {

    position: fixed;

    top: 0;

    right: -100%;

    width: 280px;

    height: 100vh;

    background: var(--color-primary-dark);

    z-index: 9998;

    transition: .35s ease;

    display: flex;

    flex-direction: column;

    justify-content: center;

    padding: 40px;
}

#mobile-menu.active {

    right: 0;
}

#mobile-menu a {

    color: white;

    font-size: 1.2rem;

    text-decoration: none;

    margin: 15px 0;
}

/* =====================================
   TABLET + MOBILE
===================================== */

@media(max-width:992px){

    .desktop-menu {

        display: none;
    }

    .menu-toggle {

        display: block;
    }

    .site-logo {

        width: 180px;
    }
}

@media(max-width:768px){

    .site-logo {

        width: 140px;
    }
}
