/* =======================================================
   VIP PREMIUM E-TİCARET STİL DOSYASI - V3 (ULTRA MODERN & COLORFUL)
======================================================== */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&display=swap');

:root {
    /* Canlı ve Enerjik Gradient (Renk Geçişli) Palet */
    --gradient-primary: linear-gradient(135deg, #4f46e5, #3b82f6); /* Elektrik Mavisi */
    --gradient-action: linear-gradient(135deg, #f97316, #ea580c);  /* Ateş Turuncusu (Satın Alımlar İçin) */
    --gradient-profile: linear-gradient(135deg, #1e293b, #334155); /* Koyu Premium Zemin */
    --gradient-studio: radial-gradient(circle at center, #ffffff 0%, #f1f5f9 100%); /* Ürün Arkası Stüdyo Işığı */
    
    /* Solid Renkler */
    --primary: #4f46e5;
    --secondary: #ea580c;
    --dark: #0f172a;
    --text: #334155;
    --text-muted: #64748b;
    --bg-color: #f4f7fe; /* Çok tatlı, açık, buz mavisi/gri bir arka plan */
    --white: #ffffff;
    --border: #e2e8f0;
    
    /* Dolgun Gölgeler ve Köşeler */
    --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.04);
    --shadow-hover: 0 20px 40px rgba(15, 23, 42, 0.12);
    --shadow-glow: 0 8px 25px rgba(79, 70, 229, 0.25);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-pill: 50px;
}

/* --- 1. GENEL YAPI --- */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Nunito', sans-serif; }
body { background-color: var(--bg-color); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; }
.container { max-width: 1300px; margin: 0 auto; padding: 0 5%; }

@keyframes fadeInSlideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(79, 70, 229, 0); }
    100% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0); }
}

/* --- 2. ÜST BİLGİ BARI --- */
.top-bar {
    background: var(--dark);
    color: #cbd5e1;
    font-size: 0.85rem;
    padding: 0.8rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}
.top-bar-links a { color: #cbd5e1; text-decoration: none; margin-left: 1.5rem; transition: 0.3s; position: relative; }
.top-bar-links a:hover { color: var(--white); }

/* --- 3. ANA HEADER (BUZLU CAM EFEKTİ) --- */
.main-header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    padding: 1.5rem 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    position: sticky; top: 0; z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.logo { font-size: 2rem; font-weight: 900; color: var(--dark); text-decoration: none; letter-spacing: -1px; transition: 0.3s; }
.logo span { background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.logo:hover { transform: scale(1.05); }

/* --- 4. DOLGUN ARAMA KUTUSU --- */
.search-box {
    display: flex; flex: 0 1 550px; background: var(--white); border-radius: var(--radius-pill); overflow: hidden; border: 2px solid transparent; box-shadow: 0 4px 15px rgba(0,0,0,0.03); transition: all 0.4s ease;
}
.search-box:focus-within { border-color: #3b82f6; box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15); transform: translateY(-2px); }
.search-box input { flex: 1; border: none; padding: 1rem 1.5rem; background: transparent; outline: none; font-size: 1rem; color: var(--dark); font-weight: 600; }
.search-box button { background: var(--gradient-primary); color: var(--white); border: none; padding: 0 2.5rem; cursor: pointer; transition: 0.3s; font-size: 1.2rem; }
.search-box button:hover { opacity: 0.9; }

/* --- 5. İKONLU BUTONLAR --- */
.header-actions { display: flex; gap: 2rem; align-items: center; }
.action-item { display: flex; flex-direction: column; align-items: center; color: var(--text-muted); font-size: 0.85rem; font-weight: 700; transition: all 0.3s ease; position: relative; }
.action-item i { font-size: 1.5rem; margin-bottom: 0.4rem; color: var(--dark); transition: all 0.3s ease; }
.action-item:hover { color: var(--primary); transform: translateY(-3px); }
.action-item:hover i { color: var(--primary); transform: scale(1.1); }

/* --- 6. NAVİGASYON --- */
.navbar { background: var(--white); border-bottom: 1px solid var(--border); box-shadow: 0 10px 30px rgba(0,0,0,0.02); }
.nav-list { display: flex; justify-content: center; list-style: none; max-width: 1300px; margin: 0 auto; padding: 0 5%; gap: 1rem; }
.nav-list li a { display: block; padding: 1.2rem 1rem; color: var(--text); text-decoration: none; font-weight: 700; font-size: 1rem; position: relative; transition: 0.3s; }
.nav-list li a::after { content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 3px; background: var(--gradient-primary); transition: all 0.3s ease; transform: translateX(-50%); border-radius: 3px 3px 0 0; }
.nav-list li a:hover { color: var(--primary); }
.nav-list li a:hover::after, .nav-list li a.active::after { width: 100%; }

/* --- 7. GÜVEN BANNERI --- */
@keyframes floatY { 0% { transform: translateY(0px); } 50% { transform: translateY(-8px); } 100% { transform: translateY(0px); } }
.trust-banner { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; background: var(--white); max-width: 1300px; margin: 4rem auto; padding: 3rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); animation: fadeInSlideUp 0.8s ease-out; border: 1px solid var(--border); }
.trust-item { display: flex; align-items: center; gap: 1.5rem; justify-content: center; }
.trust-item i { font-size: 3.5rem; background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; animation: floatY 4s ease-in-out infinite; }
.trust-item h4 { color: var(--dark); font-size: 1.3rem; margin-bottom: 0.2rem; font-weight: 800; }
.trust-item p { color: var(--text-muted); font-size: 0.95rem; font-weight: 600; }

/* --- 8. VİTRİN VE ÜRÜN KARTLARI --- */
.section-title { margin-top: 5rem; margin-bottom: 3rem; display: flex; justify-content: space-between; align-items: flex-end; }
.section-title h3 { font-size: 2.2rem; color: var(--dark); font-weight: 900; letter-spacing: -1px; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2.5rem; margin-bottom: 5rem; }
.product-card { background: var(--white); border-radius: var(--radius-lg); padding: 2rem; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); position: relative; display: flex; flex-direction: column; box-shadow: var(--shadow-soft); border: 1px solid rgba(255,255,255,0.5); animation: fadeInSlideUp 0.8s ease-out backwards; }
.product-card:hover { transform: translateY(-12px); box-shadow: var(--shadow-hover); }

/* Renkli Stüdyo Arka Planı (Ürün Resminin Arkası) */
.product-card .img-wrapper { 
    height: 220px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; overflow: hidden; 
    background: var(--gradient-studio); /* Hafif gri/beyaz merkezli ışık */
    border-radius: var(--radius-md);
    padding: 1.5rem;
}
.product-card .img-wrapper img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform 0.6s ease; filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1)); }
.product-card:hover .img-wrapper img { transform: scale(1.12); }

.badge-condition { position: absolute; top: 1.5rem; left: 1.5rem; color: white; padding: 0.4rem 1rem; border-radius: var(--radius-pill); font-size: 0.85rem; font-weight: 800; z-index: 2; box-shadow: 0 4px 10px rgba(0,0,0,0.15); }
.product-card p { font-size: 0.85rem; color: var(--primary); font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.5rem; }
.product-card h3 { font-size: 1.2rem; color: var(--dark); font-weight: 800; margin-bottom: 1rem; height: 3rem; overflow: hidden; line-height: 1.3; }
.product-card .price { font-size: 1.8rem; font-weight: 900; color: var(--dark); margin-bottom: 1.5rem; }

/* --- 9. BUTONLAR --- */
.product-card a.btn-buy-card { display: block; background: var(--gradient-action); color: white; padding: 1rem; border-radius: var(--radius-md); font-weight: 800; text-align: center; transition: all 0.3s ease; text-decoration: none; box-shadow: 0 8px 20px rgba(234, 88, 12, 0.25); }
.product-card a.btn-buy-card:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 12px 25px rgba(234, 88, 12, 0.4); }
.btn { background: var(--gradient-primary); color: white; padding: 1rem 2rem; border: none; border-radius: var(--radius-pill); font-weight: 800; cursor: pointer; transition: all 0.3s ease; box-shadow: var(--shadow-glow); display: inline-block; text-align: center; text-decoration: none; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 12px 25px rgba(79, 70, 229, 0.4); }

/* --- 10. ÖZEL KART VE PROFİL TASARIMLARI (YENİ VE RENKLİ) --- */

/* Profil Sol Menü Karşılama Kartı */
.user-greeting {
    background: var(--gradient-primary) !important;
    border-radius: var(--radius-md);
    padding: 1.5rem !important;
    color: var(--white) !important;
    box-shadow: var(--shadow-glow);
    margin-top: -1rem; /* Hafif yukarı taşır */
    margin-bottom: 2rem !important;
    border-bottom: none !important;
}
.user-greeting strong, .user-greeting span { color: var(--white) !important; }

/* Profil Avatarı */
.user-avatar-box {
    border-color: rgba(255,255,255,0.5) !important;
    background: rgba(255,255,255,0.2) !important;
    color: var(--white) !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.user-avatar-box img { border: 2px solid var(--white); }
.user-avatar-box:hover { animation: pulseGlow 1.5s infinite; } /* Üzerine gelince atar */

/* Profil Sayfası İç Kartlar (Siparişler, Adres) */
.profile-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}
.profile-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); border-color: #cbd5e1; }
.profile-card .card-header {
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 1rem; margin-bottom: 1.5rem;
    color: var(--dark);
}

/* Bilgi Sayfaları (Sözleşme, Gizlilik) Renkli Hover Efekti */
.info-card {
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2.5rem 1.5rem; text-align: center; text-decoration: none; transition: all 0.4s ease; box-shadow: var(--shadow-soft); display: block; overflow: hidden; position: relative; z-index: 1;
}
.info-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: var(--gradient-primary); z-index: -1; transition: opacity 0.4s ease; opacity: 0;
}
.info-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-glow); border-color: transparent; }
.info-card:hover::before { opacity: 1; }
.info-card:hover h3, .info-card:hover p, .info-card:hover span { color: var(--white); }
.info-card:hover .info-icon { background: var(--white); color: var(--primary); transform: scale(1.1); }
.info-card .info-icon { transition: all 0.4s ease; }

/* Sepet ve Checkout Özet Kartları Renklendirmesi */
.cart-summary, .summary-box {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid var(--border);
    border-top: 4px solid var(--primary);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

/* --- 11. PREMIUM FOOTER TASARIMI --- */
.main-footer { background: var(--dark); color: var(--white); padding: 5rem 5% 2rem 5%; margin-top: 5rem; position: relative; overflow: hidden; }
.main-footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--gradient-primary); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 3rem; max-width: 1300px; margin: 0 auto 4rem auto; }
.footer-logo { font-size: 2rem; font-weight: 900; color: var(--white); text-decoration: none; margin-bottom: 1.5rem; display: inline-block; letter-spacing: -1px; }
.footer-logo span { background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.footer-about { color: #94a3b8; font-size: 0.95rem; line-height: 1.8; font-weight: 600; padding-right: 2rem; }
.footer-title { font-size: 1.2rem; font-weight: 800; margin-bottom: 1.8rem; color: var(--white); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 1rem; }
.footer-links a { color: #94a3b8; text-decoration: none; font-size: 0.95rem; font-weight: 700; transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 0.5rem; }
.footer-links a i { font-size: 0.75rem; transition: 0.3s; opacity: 0; transform: translateX(-10px); color: #3b82f6; }
.footer-links a:hover { color: var(--white); transform: translateX(5px); }
.footer-links a:hover i { opacity: 1; transform: translateX(0); }
.footer-contact li { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.2rem; color: #94a3b8; font-size: 0.95rem; font-weight: 600; line-height: 1.5; }
.footer-contact li i { color: #3b82f6; font-size: 1.2rem; margin-top: 0.1rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; max-width: 1300px; margin: 0 auto; color: #64748b; font-size: 0.9rem; font-weight: 700; }
.footer-payments { display: flex; gap: 1rem; font-size: 1.8rem; color: #94a3b8; }

/* MOBİL UYUM */
@media (max-width: 992px) { .search-box { flex: 0 1 350px; } }
@media (max-width: 768px) {
    .main-header { flex-wrap: wrap; gap: 1rem; padding: 1rem 5%; }
    .search-box { order: 3; flex: 1 1 100%; margin-top: 0.5rem; }
    .nav-list { overflow-x: auto; justify-content: flex-start; gap: 0.5rem; }
    .nav-list li a { padding: 1rem; white-space: nowrap; }
    .trust-banner { grid-template-columns: 1fr; padding: 2rem; }
    .product-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
    .footer-bottom { flex-direction: column; gap: 1.5rem; text-align: center; } 
    .footer-about { padding-right: 0; }
}