/* ------------------ Reset & Genel ------------------ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", Arial, sans-serif;
    background: linear-gradient(135deg, #f3f0ff, #e8f0ff, #fff0f6);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 80px; /* navbar yüksekliği kadar boşluk */
}

/* ------------------ Navbar Container ------------------ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 28px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px) saturate(180%);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    z-index: 1000;
    gap: 20px;
    flex-wrap: nowrap; /* hiç bir eleman alt satıra geçmesin */
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}
.logo img {
    height: 42px;
    width: auto;
    object-fit: contain;
}

/* Navigasyon Linkleri */
.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: nowrap; /* mobilde bile alt satıra düşmesin */
}
.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 15px;
    font-weight: 500;
    padding: 6px 10px;
    position: relative;
    transition: color 0.3s ease;
}
.nav-links a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background: linear-gradient(135deg, #6b21a8, #9333ea);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
.nav-links a:hover {
    color: #7a004b;
}
.nav-links a:hover::after {
    width: 80%;
}

/* Sağ Butonlar */
.right-buttons {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: nowrap; /* mobilde alt satıra geçmesin */
}
.lang-btn, .music-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(107,33,168,0.08);
    border: 1px solid rgba(107,33,168,0.15);
    cursor: pointer;
    font-size: 16px;
    color: #6b21a8;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.25s ease;
}
.lang-btn:hover, .music-btn:hover {
    background: #7a004b;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(107,33,168,0.3);
}

/* Login - Signup */
.login-btn, .signup-btn {
    padding: 8px 18px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.login-btn { background: #f3f4f6; color: #333; }
.login-btn:hover { background: #7a004b; color: white; }
.signup-btn { background: linear-gradient(135deg,#6b1fad); color: white;}
.signup-btn:hover { background: linear-gradient(135deg, #7a004b); transform: translateY(-2px); }

/* Profil */
.user-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 15px;
}
.profile-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #8e64dd;;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}
.profile-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ------------------ Responsive ------------------ */
@media (max-width: 992px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 20px;
        gap: 10px;
    }
    .logo img { height: 36px; margin-bottom: 8px; }
    .nav-links {
        width: 100%;
        justify-content: flex-start;
        order: 1;
        margin-bottom: 8px;
        flex-wrap: wrap;
        gap: 12px;
    }
    .right-buttons {
        width: 100%;
        justify-content: flex-end;
        order: 2;
    }
    .nav-links a { font-size: 14px; padding: 4px 6px; }
    .login-btn, .signup-btn { font-size: 14px; padding: 5px 12px; }
    .lang-btn, .music-btn { width: 32px; height: 32px; font-size: 14px; }
    .profile-circle { width: 32px; height: 32px; }
}

@media (max-width: 576px) {
    .navbar {
        padding: 8px 12px;
        gap: 6px;
    }
    .logo img { height: 28px; margin-bottom: 6px; }
    .nav-links {
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 6px;
    }
    .right-buttons {
        justify-content: flex-end;
    }
    .nav-links a { font-size: 12px; padding: 3px 4px; }
    .login-btn, .signup-btn { font-size: 12px; padding: 4px 10px; }
    .lang-btn, .music-btn { width: 28px; height: 28px; font-size: 12px; }
    .profile-circle { width: 28px; height: 28px; }
}
