@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;600;800&display=swap');

/* --- 🎨 MARKA DEĞİŞKENLERİ --- */
:root {
    --accent: #c5a47e;
    --gold: #c5a47e;
    --glass-bg: rgba(10, 10, 10, 0.85);
    --glass-border: rgba(255, 255, 255, 0.08);
    --muted: #666;
    --noir: #030303;
    --gecis: 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

/* --- 💎 HEADER ENGINE --- */
.header-wrapper {
    position: fixed;
    top: 40px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    z-index: 10000;
    padding: 0 20px;
    transition: var(--gecis);
}

.header-wrapper.scrolled {
    top: 15px;
    transform: scale(0.96);
}

/* --- 🏝️ ISLAND SYSTEM (ADA YAPISI) --- */
.nav-island {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 100px;
    height: 58px;
    display: flex;
    align-items: center;
    padding: 0 25px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    transition: var(--gecis);
}

/* Logo Alanı */
.logo-img { width: 130px; filter: brightness(1.2); transition: 0.3s; }

/* Menü Listesi */
.menu-list { 
    display: flex; 
    gap: 8px; 
    padding-left: 25px; 
    border-left: 1px solid var(--glass-border); 
    margin-left: 5px; 
}

.menu-list a { 
    color: var(--muted); 
    text-decoration: none; 
    font-size: 11px; 
    font-weight: 800; 
    letter-spacing: 1.5px; 
    padding: 10px 18px; 
    border-radius: 50px; 
    transition: 0.3s; 
    text-transform: uppercase;
}

.menu-list a:hover { color: #fff; background: rgba(255,255,255,0.08); }

/* --- 🔍 ARAMA ADASI --- */
.search-island { 
    width: 58px; 
    cursor: pointer; 
    justify-content: center; 
    padding: 0; 
    overflow: hidden;
}

.search-island:hover { width: 280px; padding: 0 25px; border-color: var(--accent); }

.search-island input { 
    background: transparent; 
    border: none; 
    color: #fff; 
    width: 0; 
    outline: none; 
    font-size: 13px; 
    opacity: 0; 
    transition: 0.4s; 
}

.search-island:hover input { width: 100%; opacity: 1; margin-left: 15px; }
.search-island i { font-size: 20px; color: #fff; }

/* --- 🔔 BİLDİRİM VE PROFİL KONTEYNER --- */
.notif-container, .profile-container { position: relative; display: flex; align-items: center; }

/* Bildirim Modalı */
.notif-modal {
    position: absolute; top: 75px; right: -50px; width: 360px;
    background: rgba(5, 5, 5, 0.98); border: 1px solid var(--glass-border);
    backdrop-filter: blur(50px); border-radius: 30px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.8);
    display: none; transform-origin: top center;
    z-index: 10001;
}

.notif-modal.active { display: flex; flex-direction: column; animation: dropIn 0.5s cubic-bezier(0.23, 1, 0.32, 1) forwards; }

.notif-head { padding: 20px 25px; border-bottom: 1px solid var(--glass-border); display: flex; justify-content: space-between; align-items: center; }
.notif-title-box { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 11px; color: var(--accent); letter-spacing: 1px; }
.notif-head a { color: #fff; text-decoration: none; font-size: 10px; opacity: 0.5; transition: 0.3s; }

.notif-body { max-height: 400px; overflow-y: auto; }
.notif-item { display: flex; gap: 18px; padding: 20px 25px; border-bottom: 1px solid rgba(255,255,255,0.03); cursor: pointer; transition: 0.3s; }
.notif-item:hover { background: rgba(255,255,255,0.05); }
.notif-item.unread { border-left: 3px solid var(--accent); background: rgba(197, 164, 126, 0.05); }

.notif-icon-lux { width: 45px; height: 45px; background: rgba(197, 164, 126, 0.1); border-radius: 15px; display: flex; align-items: center; justify-content: center; color: var(--accent); }

.notif-info p { margin: 0; font-size: 12px; font-weight: 600; color: #fff; line-height: 1.4; }
.notif-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; font-size: 10px; color: var(--muted); }
.unread-badge { background: var(--accent); color: #000; font-weight: 900; padding: 2px 6px; border-radius: 4px; }

/* Boş Bildirim */
.empty-notif { padding: 50px 20px; text-align: center; opacity: 0.5; }
.empty-notif i { font-size: 40px; color: var(--accent); display: block; margin-bottom: 10px; }
.empty-notif p { font-size: 10px; font-weight: 800; letter-spacing: 2px; }

/* Bildirim Footer */
.notif-footer { padding: 15px; border-top: 1px solid var(--glass-border); }
.notif-footer button { width: 100%; padding: 12px; background: transparent; border: 1px solid var(--accent); color: var(--accent); border-radius: 15px; font-size: 10px; font-weight: 800; cursor: pointer; transition: 0.3s; }
.notif-footer button:hover { background: var(--accent); color: #000; }

/* --- 👤 PROFİL DROPDOWN --- */
.avatar-ring {
    width: 42px; height: 42px; border-radius: 50%; padding: 2px;
    background: linear-gradient(135deg, var(--accent), #444);
    display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.nav-avatar { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }

.dropdown-lux {
    position: absolute; top: 75px; right: 0; width: 260px;
    background: rgba(5, 5, 5, 0.98); border: 1px solid var(--glass-border);
    backdrop-filter: blur(50px); border-radius: 25px;
    padding: 15px; display: none; transform-origin: top right; z-index: 10002;
}
.dropdown-lux.active { display: block; animation: dropIn 0.4s forwards; }

.dropdown-info { padding: 10px 15px 15px; border-bottom: 1px solid var(--glass-border); margin-bottom: 10px; }
.dropdown-info span { color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: 2px; font-weight: 800; }
.dropdown-info strong { color: #fff; display: block; font-size: 15px; margin-top: 4px; }

.dropdown-lux a { 
    color: rgba(255,255,255,0.7); text-decoration: none; font-size: 11px; font-weight: 700; 
    padding: 12px 15px; border-radius: 12px; display: flex; align-items: center; gap: 12px; transition: 0.3s;
}
.dropdown-lux a:hover { background: rgba(255,255,255,0.05); color: #fff; transform: translateX(5px); }
.dropdown-lux a i { font-size: 18px; color: var(--accent); }
.logout-link { color: #ff4757 !important; }

/* --- 🔑 AUTH LINKS (GİRİŞ/KATIL) --- */
.auth-links { display: flex; align-items: center; gap: 15px; }
.btn-login-trigger, .btn-register-trigger {
    font-size: 11px; font-weight: 800; letter-spacing: 1px; text-decoration: none;
    padding: 10px 20px; border-radius: 50px; transition: 0.3s;
}
.btn-login-trigger { color: #fff; border: 1px solid rgba(255,255,255,0.1); }
.btn-login-trigger:hover { border-color: var(--accent); color: var(--accent); }
.btn-register-trigger { background: var(--accent); color: #000; }
.btn-register-trigger:hover { background: #fff; transform: translateY(-2px); }

/* --- 🛒 SEPET VE DİĞER İKONLAR --- */
.icon-btn { color: #fff; font-size: 22px; cursor: pointer; background: none; border: none; position: relative; transition: 0.3s; }
.icon-btn:hover { color: var(--accent); transform: scale(1.1); }
.notif-dot { position: absolute; top: 0; right: 0; width: 8px; height: 8px; background: var(--accent); border-radius: 50%; border: 2px solid #000; }

.cart-badge {
    position: absolute; top: -5px; right: -8px; background: #fff; color: #000;
    font-size: 9px; font-weight: 900; width: 18px; height: 18px;
    display: flex; align-items: center; justify-content: center; border-radius: 50%;
}

.divider { width: 1px; height: 20px; background: var(--glass-border); margin: 0 15px; }

/* --- 📱 MOBİL ENGINE --- */
.mobile-menu-overlay {
    position: fixed; inset: 0; background: rgba(3,3,3,0.98);
    z-index: 20000; display: none; flex-direction: column; align-items: center; justify-content: center;
    backdrop-filter: blur(20px);
}
.mobile-menu-overlay.active { display: flex; animation: fadeIn 0.4s forwards; }

.mobile-close { position: absolute; top: 30px; right: 30px; font-size: 35px; color: #fff; }
.mobile-menu-content { text-align: center; }
.mobile-menu-content a { 
    display: block; color: #fff; font-size: 32px; font-weight: 800; 
    text-decoration: none; margin: 25px 0; letter-spacing: 2px; transition: 0.3s; 
}
.mobile-menu-content a:hover { color: var(--accent); }

@media (max-width: 992px) {
    .desktop-nav, .search-island, .user-island .divider, .user-island .auth-links { display: none !important; }
    .mobile-trigger-island { display: flex !important; width: 58px; justify-content: center; padding: 0; font-size: 22px; color: #fff; }
    .header-wrapper { top: 20px; }
}

/* --- 📜 ANIMATIONS --- */
@keyframes dropIn { from { opacity: 0; transform: translateY(20px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.custom-scroll::-webkit-scrollbar { width: 4px; }
.custom-scroll::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 10px; }