/* 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 ==================== */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* logo sola, nav ortada, auth sağ */
    padding: 15px 40px;
    background-color: #171616;
    position: relative;
    flex-wrap: wrap;
    z-index: 1000;
}

/* Ortadaki nav */
.header-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    flex: 1;
}


/* Logo */
.logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    font-size: 20px;
}

.logo img {
    height: 80px;
}

/* 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;
}

/* Sağdaki auth buttons */
.auth_btns {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    /* En sağa yapışık */
}


/* Login Button (header sağ taraf) */
.auth_btns_style {
    padding: 8px 10px;
    font-size: 10px;
    font-weight: 300;
    cursor: pointer;
    border: none;
    border-radius: 12px;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    color: #fff;
    text-decoration: none;
}

.auth_btns_style.login {
    background: linear-gradient(135deg, #171616, #333333);
}

.auth_btns_style.login:hover {
    background: linear-gradient(135deg, #333333, #171616);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(23, 22, 22, 0.5);
}

.auth_btns_style.register {
    background: linear-gradient(135deg, #FFD700, #FFB800);
    color: #171616;
}

.auth_btns_style.register :hover {
    background: linear-gradient(135deg, #FFB800, #FFD700);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 204, 0, 0.5);
}

.auth_btns_style.account {
    background: linear-gradient(135deg, #FFD700, #FFB800);
    color: #171616;
}

.auth_btns_style.account :hover {
    background: linear-gradient(135deg, #FFB800, #FFD700);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 204, 0, 0.5);
}

/* 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 - Horizontal Modern Style */
.auth-buttons-row {
    display: flex;
    gap: 16px;
    align-items: center;
}

.auth-buttons-row .btn {
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    color: #fff;
}

/* Login Button */
.auth-buttons-row #btn-login {
    background: linear-gradient(135deg, #171616, #333333);
}

.auth-buttons-row #btn-login:hover {
    background: linear-gradient(135deg, #333333, #171616);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(23, 22, 22, 0.5);
}

/* Register Button */
.auth-buttons-row #btn-register {
    background: linear-gradient(135deg, #FFD700, #FFB800);
    color: #171616;
}

.auth-buttons-row #btn-register:hover {
    background: linear-gradient(135deg, #FFB800, #FFD700);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 204, 0, 0.5);
}

/* Register Button */
#account {
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    color: #fff;
    background: linear-gradient(135deg, #FFD700, #FFB800);
    color: #171616;
}

#account i {
    font-size: 22px;
}

#account:hover {
    background: linear-gradient(135deg, #FFB800, #FFD700);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 204, 0, 0.5);
}


/* Navigation (Desktop) */
.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.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;
}

/* Menü toggle (mobilde) */
.menu-toggle {
    display: none;
    width: 100%;
    text-align: center;
    font-size: 18px;
    color: #fff;
    margin-top: 10px;
    cursor: pointer;
    background-color: #0c0c0c;
    border-radius: 20px;
}

/* Toggle buton animasyonu */
.menu-toggle.open i {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1300px) {
    .header {
        flex-wrap: wrap;
        padding: 15px 20px;
    }

    /* Menü toggle her zaman görünsün */
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        max-height: 0;
        /* başlangıçta kapalı */
        overflow: hidden;
        opacity: 0;
        padding: 0 10px;
        background-color: #171616;
        border-top: 1px solid #333;
        transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.4s ease;
    }

    /* Toggle ile açıldığında */
    .nav-links.active {
        max-height: 900px;
        /* yeterince büyük olmalı */
        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;
    }

    .auth-buttons-row {
        display: none;
    }
}

@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: 70px;
        width: 200px;
    }

    .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;
}