:root {
    --nav-height: 100px;
    --normal-link-color: #bbba;
    --side-normal-link-color: #777;
}

/* Header Sınıfları */
header {
    height: var(--nav-height);
    position: sticky;
    top: 0;
    z-index: 9999;
    transition: background-color .3s ease;
    padding: 0 10px;
    box-sizing: border-box;
}

.header-smooth-slide {
    transition: background-color .3s ease,
                top .5s ease;
}

header:hover, .opaque-header {
    background-color: var(--page-background-lighter);
    box-shadow: 0 0 15px -5px #000;
}

/* Nav Menüsünün İki Yanında Bulunan Kapsayıcılar */
.nav-side-container {
    height: 100%;
    max-width: 135px;
    flex-grow: 1;
    flex-shrink: 0;
}

/* Nav Bar Yönlendirme Link ve Buton Sınıfları */
.nav-button {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    border-style: none;
    padding: 0;
}

.desktop-nav-button {
    width: 3rem;
    font-size: 1.6rem;
}

.mobile-nav-button {
    font-size: 2rem;
    height: 100%;
    aspect-ratio: 1;
}

.nav-link a {
    text-decoration: none;
}

#desktop-links .nav-link a {
    height: 100%;
    display: flex;
    align-items: center;
}

#mobile-links .nav-link a {
    display: block;
}

.nav-link span {
    position: relative;
    font-size: 1.2rem;
    font-weight: 500;
}

.nav-link span::after {
    content: "";
    position: absolute;
    bottom: -10px; left: 50%;
    width: 0; height: 3px;
    transform: translateX(-50%);
    border-radius: 5px;
    background-color: var(--primary-color);
    transition: width .3s ease-out;
}

.nav-link:hover span::after {
    width: 100%;
}

#desktop-links .nav-link span, .desktop-nav-button {
    color: var(--normal-link-color);
    font-family: var(--primary-text-font);
    transition: color .3s ease-in;
}

#mobile-links .nav-link span, .mobile-nav-button {
    color: var(--side-normal-link-color);
    font-family: var(--primary-text-font);
    transition: color .3s ease-in;
}

#desktop-links .nav-link:hover span,
.desktop-nav-button:hover,
#mobile-links .nav-link:hover span,
.mobile-nav-button:hover {
    color: var(--primary-color);
}

.nav-link i {
    font-size: 1.4rem;
}

/* Mobil İçin Yan Menü Sınıfları */
.side-menu {
    position: fixed;
    width: calc(100vw);
    height: 100vh;
    left: 100vw; top: 0;
    box-shadow: 0 0 15px -5px #000;
    background-color: var(--page-background-lighter);
    transition: transform .5s ease-out;
    /* border-radius: 20px 0px 0px 20px; */
    overflow: hidden;
    padding-top: 10px;
}

.side-menu::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 10px;
    background-image: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.opened-side-menu {
    transform: translateX(-100%);
}

.side-menu .close-button {
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: flex-end;
    color: var(--primary-color);
    width: 3.5rem;
    margin: 15px;
    aspect-ratio: 1;
    font-size: 1.5rem;
    border-style: none;
    border-radius: 100%;
    background-color: rgba(var(--primary-color-values), .3);
}

/* Language Dropdown Menu */
#lang-dropdown {
    display: none;
    position: absolute;
    width: 200px;
    background-color: var(--page-background-lighter);
    top: 100%; right: 0;
    border-radius: 0 0 5px 5px;
    overflow: hidden;
}

#lang-dropdown::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 5px;
    background-color: var(--primary-color);
}

#desktop-lang-button {
    position: relative;
}

#desktop-lang-button:hover #lang-dropdown {
    display: block;
}

.lang-list {
    list-style-type: none;
    display: flex;
    flex-direction: column;
    margin: 0;
    gap: 10px;
    padding: 10px 20px 20px;
    gap: 10px;
}

.lang-link a {
    display: flex;
    justify-content: flex-start;
    text-decoration: none;
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
}

.lang-link a:hover {
    color: var(--primary-color);
}

.sm-lang-list .lang-link a {
    /* Side Menu Dil Listesi */
    font-size: 1.8rem;
    justify-content: center;
    align-items: center;
}
