/* =========================================
   ASSETS/CSS/STYLE.CSS - FİNAL SÜRÜM
   ========================================= */

/* 1. TEMEL AYARLAR */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #004e92;       /* Ana Renk: Okyanus Mavisi */
    --primary-dark: #002d55;        /* Koyu Ton */
    --accent-color: #3498db;        /* Açık Ton */
    --whatsapp-color: #25D366;      /* WhatsApp Yeşili */
    --text-dark: #1a1a1a;           /* Koyu Yazı */
    --text-muted: #6c757d;          /* Gri Yazı */
    --bg-light: #f8f9fa;            /* Açık Arkaplan */
    --font-main: 'Inter', sans-serif;
}

body {
    font-family: var(--font-main);
    background-color: #ffffff;
    color: var(--text-dark);
    overflow-x: hidden; /* Yatay taşmayı engelle */
    line-height: 1.6;
}

a { text-decoration: none !important; }

/* 2. NAVBAR & LOGO */
.navbar {
    padding-top: 1rem;
    padding-bottom: 1rem;
    background: white;
    box-shadow: 0 2px 15px rgba(0,0,0,0.03);
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    line-height: 1.2;
    color: var(--primary-color);
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    margin: 0 5px;
    transition: color 0.3s;
}

.nav-link:hover { color: var(--primary-color) !important; }

.btn-whatsapp-nav {
    background-color: var(--whatsapp-color);
    color: white !important;
    border-radius: 50px;
    padding: 8px 24px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.2);
    transition: transform 0.3s;
}
.btn-whatsapp-nav:hover {
    transform: translateY(-2px);
    background-color: #1ebc57;
}

/* 3. HERO SECTION (ANASAYFA MANŞET) */
.hero-section {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    /* Resim yoksa bu renk görünür */
    background-color: var(--primary-color); 
    overflow: hidden;
    color: white;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    /* Resim ve Gradyan Katmanı */
    background: linear-gradient(135deg, rgba(0, 78, 146, 0.9) 0%, rgba(0, 4, 40, 0.7) 100%), 
                url('../images/hero-bg.jpg') center/cover no-repeat;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* 4. KART TASARIMLARI (MODERN) */
.custom-card {
    background: white;
    border-radius: 16px;
    border: 1px solid #f0f0f0;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.custom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: transparent;
}

/* Kategori Kartı (Anasayfa) */
.cat-card-body {
    padding: 2rem;
    text-align: center;
}
.cat-icon {
    width: 70px; height: 70px;
    background: rgba(0, 78, 146, 0.05);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.5rem auto;
    font-size: 1.8rem;
    transition: all 0.3s;
}
.custom-card:hover .cat-icon {
    background: var(--primary-color);
    color: white;
}

/* 5. ÜRÜNLER SAYFASI (YATAY MENÜ) */
.sticky-nav-wrapper {
    position: sticky;
    top: 76px; /* Navbar yüksekliği kadar */
    z-index: 900;
    background: white;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    box-shadow: 0 5px 10px rgba(0,0,0,0.02);
}

.scroll-container {
    display: flex;
    align-items: center;
    position: relative;
}

.category-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    padding: 0 5px;
    width: 100%;
}
.category-scroll::-webkit-scrollbar { display: none; }

.filter-btn {
    white-space: nowrap;
    padding: 8px 20px;
    border-radius: 30px;
    border: 1px solid #e0e0e0;
    background: #f8f9fa;
    color: var(--text-dark);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
}

.filter-btn:hover { background: #e9ecef; }

.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Kaydırma Okları */
.nav-arrow {
    width: 35px; height: 35px;
    border-radius: 50%;
    background: white;
    border: 1px solid #ddd;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    color: var(--text-dark);
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.nav-arrow:hover { background: #f1f1f1; }
.arrow-left { margin-right: 10px; display: none; }
.arrow-right { margin-left: 10px; }

/* Mobil Gizleme */
@media (max-width: 768px) {
    .nav-arrow { display: none !important; }
}

/* 6. ÜRÜN KARTLARI */
.product-img-wrapper {
    height: 220px;
    background: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
}
.product-img-wrapper img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    mix-blend-mode: multiply; /* Beyaz arkaplanı şeffaflaştırır */
}
/* --- ÜRÜN DETAY SAYFASI --- */
.detail-image-wrapper {
    background: white;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    max-height: 500px;
    overflow: hidden;
}

.detail-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

/* Mouse ile üzerine gelince hafif büyüme efekti */
.detail-image-wrapper:hover img {
    transform: scale(1.05);
}

.btn-whatsapp-detail {
    background-color: #25D366;
    color: white;
    font-weight: 700;
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s;
}

.btn-whatsapp-detail:hover {
    background-color: #1ebc57;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

.breadcrumb-item a { text-decoration: none; }
.breadcrumb-item a:hover { color: var(--primary-color) !important; }