/* --- KONSEPT 3: MODERN SAAS (TEKİNCRAFT PAZAR YERİ) --- */
        
:root {
    --bg-color: #F9FAFB; /* Kırık Beyaz / Krem Zemin */
    --text-main: #111827; /* Koyu Gece Mavisi Metin */
    --text-muted: #6B7280; /* Gri Alt Metinler */
    --card-bg: #FFFFFF; /* Bembeyaz Kartlar */
    --primary-gradient: linear-gradient(135deg, #4F46E5 0%, #06B6D4 100%); /* Elektrik Moru -> Turkuaz Geçişi */
    --hover-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
}

/* --- YENİ CANLI HEADER (ÜST MENÜ) --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 8%; /* Sağdan ve soldan boşluğu artırdık (5% -> 8%), logo içeri girdi. Üst/alt boşluğu (10px) koruduk. */
    background: linear-gradient(90deg, #EEF2FF 0%, #E0E7FF 100%);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.08);
    border-bottom: 1px solid #C7D2FE;
    position: sticky;
    top: 0;
    z-index: 100;
}

/* --- KESİN LOGO HİZALAMASI VE BÜYÜTME --- */
.logo {
    display: flex;
    align-items: center;
    /* Menü ortalanırken logonun solda sabit kalması için genişlik (flex-basis) veriyoruz */
    flex: 0 0 200px; /* Logonun duracağı alanın genişliği */
    transition: transform 0.3s ease;
}

.logo img {
    height: 70px !important; /* DİKKAT: Logoyu iyice büyüttük (70px) */
    width: auto;
    filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.1));
}

.logo:hover {
    transform: scale(1.05);
}

/* Mobil Uyumluluk Güncellemesi */
@media (max-width: 900px) {
    header { 
        padding: 15px 5%; 
        flex-direction: column; 
        gap: 15px;
    }
    .nav-links { 
        display: flex; 
        flex-wrap: wrap; 
        justify-content: center;
        gap: 15px;
    }
    .product-detail-section {
        flex-direction: column;
        margin: 30px auto;
    }
    .detail-title { font-size: 28px; }
}

/* --- HERO (KARŞILAMA) ALANI --- */
.hero {
    text-align: center;
    padding: 100px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* --- PAZAR YERİ VİTRİNİ (ÜRÜN KARTLARI) --- */
.marketplace {
    padding: 0 5% 100px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.filter-tags {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.tag {
    background-color: white;
    border: 1px solid #E5E7EB;
    padding: 8px 20px;
    border-radius: 20px;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tag.active, .tag:hover {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
}

/* Ürün Izgarası (Grid Sistemi) */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* Bireysel Ürün Kartı */
.product-card {
    background-color: var(--card-bg);
    border-radius: 16px; 
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03); 
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #F3F4F6;
}

.product-card:hover {
    transform: translateY(-10px); 
    box-shadow: var(--hover-shadow);
}

.product-image {
    width: 100%;
    height: 200px;
    background-color: #E5E7EB;
    object-fit: cover;
}

.product-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-category {
    font-size: 12px;
    font-weight: 700;
    color: #4F46E5;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.product-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-main);
}

.product-desc {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 24px;
    flex-grow: 1;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #F3F4F6;
    padding-top: 20px;
}

.price {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-main);
}

.buy-btn {
    background-color: var(--bg-color);
    color: var(--text-main);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid #E5E7EB;
}

.buy-btn:hover {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
}

/* --- MOBİL UYUMLULUK --- */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 36px; }
    header { padding: 15px 5%; }
}
/* --- ÜRÜN DETAY SAYFASI TASARIMI --- */

.product-detail-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 5%;
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.product-gallery {
    flex: 1;
    background: var(--card-bg);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid #F3F4F6;
}

.product-gallery img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
}

.product-sales-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.breadcrumbs {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.breadcrumbs a {
    color: #4F46E5;
    text-decoration: none;
    font-weight: 600;
}

.detail-title {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px;
    color: var(--text-main);
}

.detail-price {
    font-size: 32px;
    font-weight: 800;
    color: #4F46E5;
    margin-bottom: 25px;
}

.tax-info {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 400;
}

.detail-description {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    margin-bottom: 40px;
}

.feature-list li {
    font-size: 16px;
    margin-bottom: 12px;
    color: var(--text-main);
    font-weight: 600;
}

.mega-btn {
    font-size: 18px !important;
    padding: 18px 24px !important;
    text-align: center;
    background: var(--primary-gradient);
    color: white !important;
    border: none !important;
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.3);
}

.mega-btn:hover {
    transform: translateY(-3px);
}

.trust-badges {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
}

/* Mobil Uyumluluk */
@media (max-width: 900px) {
    .product-detail-section {
        flex-direction: column;
        margin: 30px auto;
    }
    .detail-title { font-size: 28px; }
}
/* --- YENİ SAYFALARIN (HAKKIMIZDA, İLETİŞİM, ÜRÜNLER) TASARIMI --- */

/* Hakkımızda & İletişim Ortak Layout */
.about-section, .contact-section {
    max-width: 900px;
    margin: 80px auto;
    padding: 0 5%;
    text-align: center;
}

.about-header h1, .contact-section h1 {
    font-size: 42px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 20px;
}

.about-header p, .contact-section p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 50px;
}

/* Hakkımızda Kutuları */
.about-content {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.about-box, .contact-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid #F3F4F6;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    flex: 1;
    text-align: left;
}

.about-box h3, .contact-card h3 {
    font-size: 20px;
    color: #4F46E5;
    margin-bottom: 15px;
}

/* Tüm Ürünler Sayfası Layout */
.products-page {
    display: flex;
    max-width: 1400px;
    margin: 50px auto;
    padding: 0 5%;
    gap: 50px;
    align-items: flex-start;
}

/* Sol Kategori Menüsü */
.sidebar-menu {
    width: 250px;
    background: var(--card-bg);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #F3F4F6;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 100px; /* Aşağı kayarken menü sabit kalsın */
}

.sidebar-menu h3 {
    font-size: 18px;
    color: var(--text-main);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #E5E7EB;
}

.sidebar-menu ul {
    list-style: none;
}

.sidebar-menu li {
    margin-bottom: 15px;
}

.sidebar-menu a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    transition: color 0.3s;
}

.sidebar-menu a:hover, .sidebar-menu a.active {
    color: #4F46E5;
}

/* Sağ Taraf Ürün Listesi */
.products-list {
    flex: 1;
}

.products-list h2 {
    font-size: 32px;
    color: var(--text-main);
    margin-bottom: 30px;
}

/* Mobil Uyumluluk */
@media (max-width: 900px) {
    .about-content { flex-direction: column; }
    .products-page { flex-direction: column; }
    .sidebar-menu { width: 100%; position: relative; top: 0; }
}
/* --- MERKEZ MENÜ (NAV-LINKS) KESİN ORTALAMA --- */
.nav-links {
    list-style: none !important;
    display: flex !important;
    gap: 40px !important; /* Yazılar arası boşluğu biraz açtık */
    margin: 0;
    padding: 0;
    align-items: center;
    /* Sağ taraftaki boşluğu dengelemek için margin veriyoruz */
    margin-right: auto;
    margin-left: 5%; /* Menüyü logodan biraz uzaklaştırır */
}

.nav-links a {
    text-decoration: none !important;
    color: #475569 !important;
    font-weight: 600 !important;
    font-size: 16px; /* Font boyutunu tüm sayfalarda eşitliyoruz */
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #4F46E5 !important;
}

/* --- GİRİŞ YAP BUTONU (CART-BTN) MAKYAJI --- */
.cart-btn {
    text-decoration: none !important;
    font-weight: 700 !important;
    color: #4F46E5 !important; /* İndigo Mavi Yazı */
    background-color: rgba(79, 70, 229, 0.1) !important; /* Çok hafif, transparan mavi arka plan */
    padding: 10px 24px;
    border-radius: 8px; /* Soft köşeler */
    transition: all 0.3s ease;
}

.cart-btn:hover {
    background-color: #4F46E5 !important;
    color: #FFFFFF !important; /* Fare gelince arka plan mavi, yazı beyaz olur */
    transform: translateY(-2px); /* Hafifçe yukarı kalkma hissi */
}
