#header {
    width: 100%;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
    color: #ffffff;
    height: 72px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999999;
    padding: 0px 50px;
    box-sizing: border-box;
    box-shadow: 0 2px 20px rgba(15, 23, 42, 0.25);
    transition: transform 0.4s ease;
}

#header-overlay {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

#header-brand {
    width: fit-content;
    height: fit-content;
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: #ffffff;
}

#header-brand img {
    width: 55px;
    height: 55px;
    filter: brightness(0) invert(1);
}

#header-brand span {
    font-family: Inter-SemiBold;
    font-size: 18px;
    color: #ffffff;
}

#header-right-side {
    margin-left: auto;
    display: flex;
    align-items: center;
}

#header-right-side .fsm-dropdown-button {
    color: rgba(255, 255, 255, 0.8);
}

#header-right-side .fsm-dropdown-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

#header-navbar ul {
    margin: 0;
}

#header-navbar ul li {
    display: inline-block;
    margin-right: 25px;
}

#header-navbar ul li a {
    color: rgba(255, 255, 255, 0.8);
    font-family: Inter-Medium;
    text-decoration: none;
    font-size: 16px;
    position: relative;
    padding-bottom: 4px;
    transition: color 0.2s ease;
}

#header-navbar ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: width 0.25s ease;
}

#header-navbar ul li a:hover,
#header-navbar ul li a.active {
    color: #ffffff;
}

#header-navbar ul li a:hover::after,
#header-navbar ul li a.active::after {
    width: 100%;
}

.header-dropdown {
    outline: none;
    border: none;
    border-radius: 25px;
    color: var(--text-color);
    padding: 10px 15px;
    margin: 0;
    background: transparent;
    font-family: Inter-Regular;
    font-size: 18px;
    cursor: pointer;
    margin-right: 15px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.header-dropdown:hover {
    background-color: rgba(0, 0, 0, 0.15);
}

.header-dropdown span {
    width: 32px;
    height: 24px;
}

.header-dropdown > select {
    outline: none;
    border: none;
    background-color: transparent;
    cursor: pointer;
} 

.header-dropdown > select option {
    background-color: var(--bg-color);
    color: var(--text-color);
    padding: 5px 10px;
    font-family: Inter-Regular;
    font-size: 20px;
}

#header-mobile-button {
    outline: none;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: transparent;
    color: #ffffff;
    width: 42px;
    height: 38px;
    border-radius: 8px;
    font-size: 18px;
    display: none;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

#header-mobile-button:hover {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Mobile overlay */
#header-mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(5, 12, 30, 0.65);
    backdrop-filter: blur(3px);
    z-index: 9999999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
}
#header-mobile-menu-overlay.open {
    opacity: 1;
    pointer-events: all;
}

/* Mobile drawer */
#header-mobile-menu {
    display: flex;
    width: 75%;
    max-width: 320px;
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(160deg, #0a1628 0%, #0f2248 100%);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 99999999;
    flex-direction: column;
    padding: 32px 28px;
    box-sizing: border-box;
    transform: translateX(100%);
    transition: transform 0.28s ease;
}
#header-mobile-menu.open {
    transform: translateX(0);
}

/* Mobile dil seçimi */
#header-mobile-lang {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
#header-mobile-lang > span {
    font-family: Inter-Regular;
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.08em;
    display: block;
    margin-bottom: 10px;
}
#header-mobile-lang-btns {
    display: flex;
    gap: 8px;
}
#header-mobile-lang-btns button {
    flex: 1;
    padding: 9px 0;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.15);
    background: transparent;
    color: rgba(255,255,255,0.7);
    font-family: Inter-SemiBold;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}
#header-mobile-lang-btns button:hover {
    background: rgba(255,255,255,0.08);
    color: #ffffff;
}
#header-mobile-lang-btns button.mobile-lang-active {
    background: rgba(255,255,255,0.12);
    color: #ffffff;
    border-color: rgba(255,255,255,0.3);
    cursor: default;
}

#header-mobile-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #ffffff;
    margin-bottom: 40px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#header-mobile-brand img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

#header-mobile-brand span {
    font-family: Inter-SemiBold;
    font-size: 16px;
    color: #ffffff;
}

#header-mobile-menu-nav {
    width: 100%;
    flex: 1;
}

#header-mobile-menu-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

#header-mobile-menu-nav ul li {
    display: block;
    background: transparent;
    border-radius: 8px;
    transition: background 0.2s ease;
}

#header-mobile-menu-nav ul li a {
    font-family: Inter-Medium;
    text-decoration: none;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.78);
    display: block;
    padding: 12px 14px;
    border-radius: 8px;
    transition: color 0.2s ease, background 0.2s ease;
}

#header-mobile-menu-nav ul li a:hover,
#header-mobile-menu-nav ul li a.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

/*---------- RESPONSIVE --------*/

/* Mobile */
@media (max-width: 576px) {
    #header {
        padding: 0px 10px !important;
    }
    #header-navbar {
        display: none !important;
    }
    #header-right-side .fsm-dropdown {
        display: none !important;
    }
    #header-mobile-button {
        display: block !important;
    }
    #header-brand span {
        display: none !important;
    }
    #header-mobile-menu {
        width: 90% !important;
        padding: 28px 20px !important;
    }
}

/* Tablet */
@media (min-width: 577px) and (max-width: 768px) {
    #header-navbar { display: none !important; }
    #header-right-side .fsm-dropdown { display: none !important; }
    #header-mobile-button { display: block !important; }
}

/* Laptops */
@media (min-width: 769px) and (max-width: 992px) {
    #header-navbar { display: none !important; }
    #header-right-side .fsm-dropdown { display: none !important; }
    #header-mobile-button { display: block !important; }
}

/* Desktop */
@media (min-width: 993px) and (max-width: 1200px) {
    #header-navbar { display: none !important; }
    #header-right-side .fsm-dropdown { display: none !important; }
    #header-mobile-button { display: block !important; }
}

/* Extra Large Screens */
@media (min-width: 1201px) {

}