/* Genel Header */
body {
    user-select: none;
    /* Yazı seçmeyi engeller */
    -webkit-user-select: none;
    /* Safari, Chrome */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* IE/Edge */
}


img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;

    pointer-events: none;
}

.header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: #171616;
    padding: 15px 40px;
    color: #fff;
    font-family: Arial, sans-serif;
    position: relative;
    z-index: 1000;
}

/* Logo */
.logo {
    min-width: 100px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    font-size: 20px;
}

.logo img {
    height: 80px;
    width: 230px;
}

/* Login Button (header sağ taraf) */
.login-btn {
    display: flex;
    /* tablet/desktop için görünür olacak */
    align-items: center;
    cursor: pointer;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 8px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    font-weight: 500;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    text-decoration: none;
}

.auth_btns {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

/* Login Button (header sağ taraf) */
.auth_btns_style {
    display: none;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    appearance: none;
    border: 1px solid rgba(255, 255, 255, .08);
    color: var(--text);
    background: #e0920044;
    padding: 8px 12px;
    border-radius: 10px;
    cursor: pointer;
    outline: 1px solid rgba(255, 102, 0, 1);
    transition: all 0.3s ease;
}

.auth_btns_style.login {
    background: #1b1b1a44;
    outline: 1px solid rgb(157, 255, 0);
    color: rgb(157, 255, 0);
}

.auth_btns_style.register {
    background: #1b1b1a44;
    outline: 1px solid rgb(255, 187, 0);
    color: rgb(255, 187, 0);
}

.auth_btns_style.account {
    background: #1b1b1a44;
    outline: 1px solid rgb(183, 0, 255);
    color: rgb(183, 0, 255);
}

/* Hover efekti */
.auth_btns_style:hover {
    border-color: rgba(255, 255, 255, .18);
    background: #e0920066;
}

/* Primary görünüm istenirse */
.auth_btns_style.primary {
    background: linear-gradient(180deg, #17bfff, #3a86ff);
    border: none;
    color: #fff;
}

.auth_btns_style i {
    font-size: 18px;
}

.auth_btns_style .login-text {
    font-size: 16px;
    font-weight: 500;
}

/* Auth Buttons */
.auth-buttons {
    display: flex;
    flex-direction: column;
}

.auth-buttons .btn {
    border: none;
    width: 130px;
    height: 65px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    transition: transform 0.2s ease, background-color 0.3s ease;
}

.auth-buttons #btn-login:hover {
    background-color: #3B3CE3;
    color: white;
    box-shadow: 10px 0 10px #3b3be39a;
}

.auth-buttons #btn-register:hover {
    background-color: #ff5e00;
    color: white;
    box-shadow: -10px 0 10px #ff5e008e;
}

.auth-buttons #btn-login {
    background-color: #171616;
    border-radius: 100px 100px 0px 0px;
    border: white solid 3px;
    color: #fff;
}

.auth-buttons #btn-register {
    background-color: white;
    border-radius: 0px 0px 100px 100px;
    border: white solid 3px;
    color: #171616;
}


/* Navigation (Desktop) */
.nav-links {
    display: flex;
    gap: 45px;
    justify-content: space-between;
    align-items: center;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}

.nav-links a {
    text-decoration: none;
    color: #9B9B9B;
    font-size: 19px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s ease, color 0.3s ease;
}

.nav-links a:hover {
    color: #ff9100;
}

/* Auth Buttons */
.auth-buttons {
    display: flex;
    flex-direction: column;
}

/* Account Button */
.accountButton {
    border: white solid 2px;
    min-width: 64px;
    max-width: 65px;
    min-height: 64px;
    max-height: 65px;
    background-color: #171616;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.accountButton i {
    font-size: 32px;
    color: #fff;
    text-align: center;
}

.accountButton:hover {
    background-color: #3B3CE3;
    box-shadow: 0 0 10px #3b3be39a;
}

/* Menü Toggle Butonu (Mobilde) */
.menu-toggle {
    display: none;
    background: #0a0a0a;
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 18px;
    color: #fff;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1600px) {
    .header {
        flex-wrap: wrap;
        padding: 15px 20px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        flex-direction: row;
        align-items: center;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        background-color: #171616;
        padding-left: 10px;
        border-top: 1px solid #333;
    }

    .nav-links.active {
        max-height: 900px;
        opacity: 1;
        padding: 15px 10px;
    }

    .nav-links a {
        width: 100%;
        padding: 10px 0;
        font-size: 18px;
    }

    .auth_btns_style {
        display: flex;
    }

    /* Tablet: login yazısı gözüksün */
    .auth_btns_style .login-text {
        display: inline;
    }

    /* Tablet: account ve auth gizli */
    .accountButton,
    .auth-buttons {
        display: none !important;
    }
}

@media (max-width: 1200px) {
    .nav-links {
        flex-direction: column;
        align-items: flex-start;
    }

    .logo img {
        height: 80px;
        width: 230px;
    }
}

@media (max-width: 490px) {
    .nav-links {
        flex-direction: column;
        align-items: flex-start;
    }

    .logo img {
        height: 80px;
        width: 230px;
    }

    .auth_btns_style .login-text {
        display: none;
    }
}

@media (max-width: 350px) {

    .logo img {
        height: 60px;
        width: 170px;
    }
}

/* Toggle buton animasyonu */
.menu-toggle.open i {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}