/* =========================================================
   HighPassCV - Header Only Styles
   این فایل فقط مربوط به هدر سایت است
   ========================================================= */


/* =========================
   Main Header
   ========================= */

.header {
    --header-primary: #002D62;
    --header-accent: #C5A059;
    --header-accent-hover: #D4B982;
    --header-text: #666666;
    --header-white: #FFFFFF;

    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;

    width: 100%;
    padding: 15px 0;

    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}


/* فقط کانتینری که داخل هدر است */

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    max-width: 1200px;

    margin: 0 auto;
    padding: 0 20px;
}


/* =========================
   Logo
   ========================= */

.header .logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;

    color: var(--header-primary);
    text-decoration: none;
}

.header .brand-logo {
    display: block;

    width: auto;
    height: 45px;

    margin-right: 12px;

    object-fit: contain;

    transition: transform 0.3s ease;
}

.header .logo:hover .brand-logo {
    transform: scale(1.05);
}

.header .brand-name {
    color: var(--header-primary);

    font-family: "Poppins", sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;

    white-space: nowrap;
}


/* =========================
   Navigation
   ========================= */

.header .nav ul {
    display: flex;
    align-items: center;

    gap: 30px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.header .nav li {
    margin: 0;
    padding: 0;
}

.header .nav a {
    position: relative;

    display: inline-block;

    color: var(--header-text);

    font-family: "Inter", sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;

    text-decoration: none;

    transition: color 0.3s ease;
}


/* خط طلایی زیر لینک‌های منو */

.header .nav a::after {
    content: "";

    position: absolute;
    bottom: -4px;
    left: 0;

    width: 0;
    height: 2px;

    background-color: var(--header-accent);

    transition: width 0.3s ease;
}

.header .nav a:hover,
.header .nav a:focus-visible {
    color: var(--header-primary);
}

.header .nav a:hover::after,
.header .nav a:focus-visible::after {
    width: 100%;
}


/* =========================
   Header Buttons
   ========================= */

.header .header-btns {
    display: flex;
    align-items: center;

    gap: 10px;

    flex-shrink: 0;
}

.header .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 12px 24px;

    border: none;
    border-radius: 30px;

    font-family: "Inter", sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;

    text-align: center;
    text-decoration: none;

    cursor: pointer;

    transition:
        color 0.3s ease,
        background-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}


/* دکمه Log In */

.header .btn-text {
    color: var(--header-primary);
    background-color: transparent;
}

.header .btn-text:hover,
.header .btn-text:focus-visible {
    color: var(--header-accent);
}


/* دکمه Get Started Free */

.header .btn-primary {
    color: var(--header-primary);
    background-color: var(--header-accent);
}

.header .btn-primary:hover,
.header .btn-primary:focus-visible {
    color: var(--header-primary);

    background-color: var(--header-accent-hover);

    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.3);

    transform: translateY(-3px);
}


/* کادر هنگام انتخاب لینک با کیبورد */

.header a:focus-visible {
    outline: 3px solid rgba(197, 160, 89, 0.45);
    outline-offset: 4px;
}


/* =========================
   Tablet
   ========================= */

@media (max-width: 900px) {

    .header .container {
        flex-wrap: wrap;
        row-gap: 12px;
    }

    .header .nav {
        order: 3;
        width: 100%;
    }

    .header .nav ul {
        justify-content: center;
        gap: 24px;
    }

}


/* =========================
   Mobile
   ========================= */

@media (max-width: 600px) {

    .header {
        padding: 10px 0;
    }

    .header .container {
        flex-direction: column;
        gap: 10px;
    }

    .header .nav {
        order: initial;
        width: 100%;
    }

    .header .nav ul {
        flex-wrap: wrap;
        justify-content: center;

        gap: 8px 16px;
    }

    .header .nav a {
        font-size: 14px;
    }

    .header .header-btns {
        justify-content: center;
        width: 100%;
    }

    .header .btn {
        padding: 10px 18px;
        font-size: 14px;
    }

}


/* =========================
   Small Mobile
   ========================= */

@media (max-width: 380px) {

    .header .brand-logo {
        height: 35px;
        margin-right: 8px;
    }

    .header .brand-name {
        font-size: 20px;
    }

    .header .nav ul {
        gap: 6px 12px;
    }

    .header .btn {
        padding: 9px 14px;
        font-size: 13px;
    }

}