/* --- TEMEL AYARLAR VE YENİ RENK PALETİ (FİLDİŞİ & ALTIN) --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #FAF9F6; /* Fildişi / Krem Ana Arka Plan */
    color: #2C241B; /* Koyu Kahve/Antrasit Yazı Rengi */
    overflow-x: hidden;
}

/* --- YAPIŞKAN (STICKY) HEADER --- */
#main-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(250, 249, 246, 0.95);
    border-bottom: 1px solid #EADDCD;
    z-index: 1000;
    padding: 15px 0;
    backdrop-filter: blur(10px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo h2 {
    background: linear-gradient(45deg, #D4AF37, #FFB6C1); /* Altın ve Pembe Geçişli */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.main-nav a {
    color: #4A3B2C;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #D4AF37;
}

/* Arama Çubuğu */
.search-bar input {
    padding: 8px 15px;
    border-radius: 20px 0 0 20px;
    border: 1px solid #EADDCD;
    background: #fff;
    color: #2C241B;
    outline: none;
}

.search-bar button {
    padding: 8px 20px;
    border-radius: 0 20px 20px 0;
    background: #D4AF37;
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

/* Kullanıcı Butonları */
.user-actions a {
    margin-left: 10px;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s;
}

.cart-btn {
    border: 1px solid #4A3B2C;
    color: #4A3B2C;
}

.login-btn {
    border: 1px solid #D4AF37;
    color: #D4AF37;
}

.register-btn {
    background: linear-gradient(45deg, #D4AF37, #FFB6C1);
    color: #fff;
    border: none;
}

.account-btn {
    background: #4A3B2C;
    color: #fff;
}

/* --- EVRENSEL PIRILTILAR (ARKAPLAN ANİMASYONU) --- */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #D4AF37, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 40px 70px, #FFB6C1, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 50px 160px, #D4AF37, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 90px 40px, #FFB6C1, rgba(0,0,0,0));
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: sparkle 4s linear infinite;
    opacity: 0.6;
}

@keyframes sparkle {
    0% { transform: translateY(0); }
    100% { transform: translateY(-200px); }
}

/* --- ANA YAPI VE İÇERİK --- */
.main-layout {
    display: flex;
    max-width: 1400px;
    margin: 100px auto 0;
    padding: 0 20px;
    gap: 30px;
}

.sidebar {
    width: 250px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    height: calc(100vh - 120px);
    position: sticky;
    top: 100px;
    border: 1px solid #EADDCD;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.category-list { list-style: none; margin-top: 15px; }
.category-list > li {
    padding: 10px 0;
    border-bottom: 1px solid #EADDCD;
    cursor: pointer;
    position: relative;
    color: #4A3B2C;
}
.submenu { display: none; list-style: none; padding-left: 15px; margin-top: 10px; }
.has-submenu:hover .submenu { display: block; }

.content-area { flex: 1; }

.banner-slider {
    width: 100%;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.15);
    background: linear-gradient(45deg, #FAF9F6, #FFF5F5);
    border: 1px solid #D4AF37;
}

.slide-content h1 { color: #D4AF37; margin-bottom: 10px; }
.slide-content p { color: #4A3B2C; }

/* --- ÜRÜN (TEZAHÜR) KARTLARI --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #EADDCD;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 182, 193, 0.4);
}

.product-image {
    height: 200px;
    background-color: #F5F5F5;
    background-size: cover;
    background-position: center;
}

.product-info { padding: 15px; text-align: center; }
.price { color: #D4AF37; font-size: 1.2rem; margin: 10px 0; font-weight: bold; }

.add-to-cart {
    width: 100%;
    padding: 10px;
    background: transparent;
    color: #4A3B2C;
    border: 1px solid #D4AF37;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-to-cart:hover {
    background: linear-gradient(45deg, #D4AF37, #FFB6C1);
    color: #fff;
    border: none;
}

/* --- KART SEÇİM POP-UP --- */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(44, 36, 27, 0.6);
    backdrop-filter: blur(5px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.popup-content {
    background: #FAF9F6;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 800px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
    border: 2px solid #D4AF37;
}

.card-options { display: flex; gap: 20px; margin-top: 30px; justify-content: center; }
.manifest-card-option {
    flex: 1; height: 180px; border-radius: 15px; cursor: pointer; display: flex;
    flex-direction: column; align-items: center; justify-content: center; color: #fff;
    transition: transform 0.3s, box-shadow 0.3s;
}
.manifest-card-option:hover { transform: translateY(-10px); }
.card-platinum { background: linear-gradient(135deg, #E5E4E2, #B0B0B0); color: #333; }
.card-premium { background: linear-gradient(135deg, #FFB6C1, #FF69B4); }
.card-diamond { background: linear-gradient(135deg, #D4AF37, #AA8000); }