
/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.nav-container {
    width: 92%;
    max-width: 1500px;
    min-height: 92px;
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;
}


/* =========================================================
   HEADER BRAND
   ========================================================= */

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
}

.brand-logo {
    width: 160px;
    height: 70px;
    display: block;
    object-fit: contain;
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-main {
    display: block;
    font-size: 15px;
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--white);
}

.brand-sub {
    display: block;
    margin-top: 5px;
    font-size: 8px;
    line-height: 1;
    font-weight: 400;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.65);
}


/* =========================================================
   MAIN NAVIGATION
   ========================================================= */

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
}

.main-nav a {
    position: relative;
    padding: 36px 0;

    color: #eeeeee;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.4px;
}

.main-nav a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 0px;

    width: 0;
    height: 2px;

    background: var(--orange);

    transition: width 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--white);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}


/* =========================================================
   HEADER SOCIAL
   ========================================================= */

.header-social {
    display: flex;
    align-items: center;
    gap: 18px;
}

.linkedin-link {
    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;

    color: var(--white);

    font-size: 12px;
    font-weight: 700;

    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease;
}

.linkedin-link:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--white);
}

/* =========================================================
   MOBILE MENU
   ========================================================= */

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;

        position: absolute;
        top: 100%;
        left: 0;

        width: 100%;

        flex-direction: column;
        align-items: stretch;

        background: #111111;

        padding: 15px 25px;

        z-index: 1000;
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav a {
        display: block;

        padding: 14px 0;

        border-bottom: 1px solid rgba(255, 255, 255, 0.1);

        color: #ffffff;
    }

    .main-nav a:last-child {
        border-bottom: none;
    }
}



/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .section-container {
        width: 88%;
    }


    /* HEADER */

    .nav-container {
        min-height: 74px;
    }

    .brand {
        gap: 9px;
    }

    .brand-logo {
        width: 120px;
        height: 48px;
    }

    .brand-main {
        font-size: 12px;

        letter-spacing: 1.5px;
    }

    .brand-sub {
        margin-top: 4px;

        font-size: 6.5px;

        letter-spacing: 1px;
    }

    .header-social {
        gap: 10px;
    }

    .linkedin-link {
        width: 28px;
        height: 28px;

        font-size: 11px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 400px) {

    .brand-main {
        font-size: 10px;
    }

    .brand-sub {
        font-size: 5.5px;
    }
}

/* =========================================================
   TABLET / MOBILE NAV
   ========================================================= */

@media (max-width: 900px) {

    .main-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .nav-container {
        min-height: 78px;
    }
}