/* === KUSURSUZ ANA SAYFA CSS - MOBİL & MASAÜSTÜ === */

/* === TEMA DEĞİŞKENLERİ - TUNUVA TARZI CANLI MOR === */
:root {
    --primary: #6D28D9; /* Daha canlı ve koyu mor */
    --primary-light: #8B5CF6;
    --primary-dark: #5B21B6; /* Çok koyu mor */
    --primary-darker: #4C1D95; /* En koyu mor */
    --primary-gradient: linear-gradient(135deg, #6D28D9 0%, #5B21B6 100%);
    --primary-gradient-hover: linear-gradient(135deg, #7C3AED 0%, #6D28D9 100%);
    
    --secondary: #A78BFA;
    --accent: #F59E0B;
    --accent-light: #FBBF24;
    
    --light: #F5F3FF;
    --light-2: #EDE9FE;
    --light-3: #DDD6FE;
    
    --dark: #1F2937;
    --dark-2: #374151;
    --dark-3: #4B5563;
    
    --white: #FFFFFF;
    --black: #000000;
    
    --shadow-soft: 0 2px 12px rgba(109, 40, 217, 0.12);
    --shadow-medium: 0 4px 20px rgba(109, 40, 217, 0.18);
    --shadow-large: 0 8px 32px rgba(109, 40, 217, 0.24);
    --shadow-glow: 0 0 20px rgba(109, 40, 217, 0.3);
    
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 20px;
    --border-radius-full: 50%;
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === GENEL STİLLER === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    line-height: 1.5;
    overflow-x: hidden;
    background: var(--white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 100px; /* HEADER BOŞLUĞU AZALTILDI: 140px -> 100px */
}

.header-premium {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.main-wrapper {
    flex: 1;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--primary-dark);
    font-weight: 600;
    opacity: 1;
    letter-spacing: 0.5px;
}

/* === YUVARLAK KATEGORİLER - BAŞLIKSIZ (TAMAMEN GÜNCELLENDİ) === */
.categories-section {
    padding: 15px 0 10px;
    background: var(--white);
    border-bottom: 1px solid var(--light-2);
    overflow: hidden;
    position: relative;
}

.categories-track {
    display: flex;
    gap: 15px;
    padding: 10px 5px;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    position: relative;
}

.categories-track::-webkit-scrollbar {
    display: none;
}

.categories-track.auto-scroll {
    overflow-x: hidden;
}

.categories-track.auto-scroll .category-item {
    flex-shrink: 0;
}

.category-item {
    flex: 0 0 auto;
    width: 90px; /* Sabit genişlik */
    text-align: center;
    text-decoration: none;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.category-circle {
    width: 70px;
    height: 70px;
    margin: 0 auto 8px;
    border-radius: var(--border-radius-full);
    overflow: hidden;
    border: 2px solid var(--white);
    box-shadow: var(--shadow-soft);
    background: var(--light);
    position: relative;
    transition: var(--transition-normal);
    flex-shrink: 0;
}

.category-item:hover .category-circle {
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--shadow-large);
    border-color: var(--primary-dark);
}

.category-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.category-item:hover .category-circle img {
    transform: scale(1.1);
}

/* KATEGORİ ADI - AKILLI ÇÖZÜM */
.category-name {
    font-size: 0.75rem; /* Başlangıç font boyutu */
    font-weight: 600;
    color: var(--dark);
    line-height: 1.3; /* Satır aralığı */
    transition: var(--transition-normal);
    white-space: normal; /* Çok satıra izin ver */
    text-align: center;
    width: 100%;
    min-height: 34px; /* Minimum yükseklik */
    height: auto; /* İçeriğe göre yükseklik */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    word-wrap: break-word; /* Taşan kelimeler için */
    overflow-wrap: break-word; /* Modern tarayıcılar için */
    word-break: keep-all; /* Kelimeleri bölme! */
    hyphens: manual; /* Otomatik tirelemeyi kapat */
    padding: 0 2px; /* Yanlardan biraz boşluk */
}

.category-item:hover .category-name {
    color: var(--primary-dark);
    font-weight: 700;
}

/* === STATİK SLİDER - TAM EKRAN GENİŞLİĞİ === */
.static-sliders {
    width: 100%;
    overflow: hidden;
    margin-top: 5px;
}

.static-slide {
    width: 100%;
    margin-bottom: 10px;
    position: relative;
}

.static-slide:last-child {
    margin-bottom: 0;
}

.slide-container {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow);
}

.static-slide:hover .slide-image {
    transform: scale(1.02);
}

/* === YENİ ÜRÜN LİSTESİ TASARIMI - 5 ALANLI TASARIM === */
.featured-products-section,
.new-products-section {
    padding: 30px 0;
    background: var(--white);
}

.popular-products-section {
    padding: 30px 0;
    background: var(--light);
}

.products-list-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}

/* Ürün Listesi Öğesi - 5 ALANLI YENİ TASARIM */
.product-list-item {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 16px;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: stretch;
    gap: 16px;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, var(--primary-light), var(--primary-dark)) border-box;
    min-height: 140px;
}

.product-list-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-large);
    border-color: var(--primary);
}

/* SOL TARAF: 2 Alan (Görsel + Başlık) - 50% */
.product-list-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0; /* Taşmayı önler */
}

/* Görsel Alanı - SOL ÜST */
.product-list-image {
    width: 100%;
    height: 100px;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    position: relative;
    background: var(--light);
    flex-shrink: 0;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain; /* TAM GÖRSEL GÖSTERİLECEK */
    padding: 5px;
    transition: transform var(--transition-slow);
}

.product-list-item:hover .product-image {
    transform: scale(1.05);
}

/* Başlık Alanı - SOL ALT */
.product-title-container {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: 40px;
    padding: 0 2px;
}

.product-title {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
    text-align: center;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.product-title a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-normal);
}

.product-title a:hover {
    color: var(--primary-dark);
}

/* SAĞ TARAF: 3 Alan (Etiket + 2 Buton) - 50% */
.product-list-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0; /* Taşmayı önler */
}

/* Kategori Etiketi - SAĞ ÜST */
.product-category-tag {
    background: linear-gradient(135deg, var(--light), var(--light-2));
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.75rem; /* KÜÇÜK FONT BOYUTU */
    padding: 8px 10px;
    border-radius: var(--border-radius-sm);
    text-align: center;
    border: 2px solid var(--primary-light);
    transition: var(--transition-normal);
    text-decoration: none;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 36px; /* SABİT YÜKSEKLİK */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.product-category-tag:hover {
    background: var(--primary-gradient);
    color: var(--white);
    transform: translateY(-2px);
}

/* Butonlar - SAĞ ORTA ve ALT */
.product-list-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    flex: 1;
    min-height: 0;
}

.btn-detail,
.btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 12px;
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    transition: var(--transition-normal);
    width: 100%;
    border: 2px solid transparent;
    text-align: center;
    flex: 1;
    min-height: 44px;
    max-height: 44px;
}

.btn-detail {
    background: transparent;
    color: var(--primary-dark);
    border: 2px solid var(--primary-dark);
}

.btn-detail:hover {
    background: var(--primary-gradient);
    color: var(--white);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--white);
    border: none;
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}

/* === POPÜLER ÜRÜNLER GRİD === */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

.product-grid-item {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 16px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-normal);
    border: 1px solid var(--light-2);
    display: flex;
    flex-direction: column;
}

.product-grid-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.product-grid-image {
    width: 100%;
    height: 140px;
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    margin-bottom: 12px;
}

.delivery-badge-grid {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(59, 130, 246, 0.95);
    color: var(--white);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    z-index: 2;
    border: 2px solid var(--white);
}

.product-badge-grid {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    z-index: 2;
    border: 2px solid var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.product-badge-grid.popular {
    background: var(--accent);
}

.product-badge-grid i {
    color: var(--white);
}

.product-grid-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-grid-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.btn-grid-detail,
.btn-grid-whatsapp {
    flex: 1;
    padding: 8px 12px;
    border-radius: var(--border-radius-md);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    transition: var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.btn-grid-detail {
    background: transparent;
    color: var(--primary-dark);
    border: 2px solid var(--primary-dark);
    font-weight: 700;
}

.btn-grid-detail:hover {
    background: var(--primary-gradient);
    color: var(--white);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-grid-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--white);
    border: none;
}

.btn-grid-whatsapp:hover {
    transform: translateY(-2px);
}

/* === BLOG BÖLÜMÜ === */
.blog-section {
    padding: 40px 0;
    background: var(--white);
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.blog-card {
    background: var(--light);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-normal);
    border: 1px solid var(--light-2);
}

.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.blog-image {
    height: 180px;
    position: relative;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 20px;
}

.blog-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.blog-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
    line-height: 1.3;
    height: 56px;
    overflow: hidden;
}

.blog-title a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-normal);
}

.blog-title a:hover {
    color: var(--primary);
}

.blog-excerpt {
    color: var(--dark-3);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 16px;
    height: 66px;
    overflow: hidden;
}

.read-more {
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-normal);
    letter-spacing: 0.3px;
}

.read-more:hover {
    gap: 12px;
    color: var(--primary);
    transform: translateX(3px);
}

/* === TÜM ÜRÜNLERE GİT BUTONU === */
.view-all-products {
    text-align: center;
    margin-top: 20px;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--primary-gradient);
    color: var(--white);
    border-radius: var(--border-radius-lg);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-medium);
    letter-spacing: 0.5px;
    border: 2px solid transparent;
}

.btn-view-all:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
    background: var(--primary-gradient-hover);
}

/* === CTA BANNER === */
.cta-banner {
    padding: 50px 0;
    background: var(--primary-gradient);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.cta-text {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta {
    padding: 14px 32px;
    background: var(--white);
    color: var(--primary-dark);
    border-radius: var(--border-radius-lg);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.btn-cta:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.btn-cta-whatsapp {
    background: #25D366;
    color: var(--white);
}

.btn-cta-whatsapp:hover {
    background: #128C7E;
    border-color: #25D366;
}

/* === WHATSAPP & BACK TO TOP === */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--white);
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: float 3s ease-in-out infinite;
    border: 3px solid var(--white);
}

.whatsapp-float:hover,
.whatsapp-float:active {
    transform: scale(1.15) rotate(10deg);
    animation: none;
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    box-shadow: var(--shadow-medium);
    border: 2px solid var(--white);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.back-to-top:active {
    transform: translateY(-2px) scale(0.95);
}

/* === BOŞ DURUM STİLLERİ === */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
    grid-column: 1 / -1;
}

.empty-state-icon {
    font-size: 48px;
    color: var(--primary-light);
    margin-bottom: 15px;
    opacity: 0.7;
}

.empty-state-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 10px;
}

.empty-state-text {
    color: var(--dark-3);
    max-width: 400px;
    margin: 0 auto;
    font-size: 1rem;
}

.empty-state-small {
    text-align: center;
    padding: 20px;
    color: var(--dark-3);
    width: 100%;
}

/* === MASAÜSTÜ TASARIM === */
@media (min-width: 768px) {
    body {
        padding-top: 110px;
    }
    
    .section-container {
        padding: 0 24px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    /* Kategoriler - Masaüstü */
    .categories-track {
        gap: 20px;
        justify-content: center;
    }
    
    .category-item {
        width: 100px;
    }
    
    .category-circle {
        width: 85px;
        height: 85px;
    }
    
    /* Masaüstü için kategori adı - AKILLI */
    .category-name {
        font-size: 0.8rem;
        max-width: 100px;
        min-height: 36px;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
        word-break: keep-all; /* Kelimeleri bölme! */
        hyphens: manual; /* Otomatik tirelemeyi kapat */
        padding: 0 3px;
    }
    
    /* Slider */
    .slide-container {
        height: 250px;
        border-radius: var(--border-radius-lg);
        overflow: hidden;
    }
    
    /* Ürün Listesi - Masaüstü */
    .featured-products-section,
    .new-products-section,
    .popular-products-section {
        padding: 50px 0;
    }
    
    .product-list-item {
        padding: 20px;
        gap: 20px;
        min-height: 160px;
    }
    
    .product-list-image {
        height: 120px;
    }
    
    .product-title {
        font-size: 1rem;
    }
    
    .product-category-tag {
        font-size: 0.8rem;
        padding: 10px 12px;
        height: 40px;
    }
    
    .btn-detail,
    .btn-whatsapp {
        padding: 12px 14px;
        font-size: 0.9rem;
        min-height: 48px;
        max-height: 48px;
    }
    
    /* Grid Ürünler */
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .product-grid-image {
        height: 160px;
    }
    
    /* Blog */
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
    
    .blog-image {
        height: 200px;
    }
    
    /* CTA */
    .cta-banner {
        padding: 70px 0;
    }
    
    .cta-title {
        font-size: 2.5rem;
    }
    
    /* Butonlar */
    .whatsapp-float {
        width: 70px;
        height: 70px;
        font-size: 34px;
        bottom: 30px;
        left: 30px;
        border-width: 4px;
    }
    
    .back-to-top {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
        bottom: 30px;
        right: 30px;
        border-width: 3px;
    }
}

@media (min-width: 992px) {
    body {
        padding-top: 115px;
    }
    
    /* Kategoriler */
    .category-item {
        width: 110px;
    }
    
    .category-circle {
        width: 90px;
        height: 90px;
    }
    
    .category-name {
        font-size: 0.85rem;
        max-width: 110px;
        min-height: 38px;
        padding: 0 4px;
    }
    
    /* Slider */
    .slide-container {
        height: 300px;
    }
    
    /* Ürün Listesi - Büyük Ekran */
    .product-list-item {
        padding: 24px;
        gap: 24px;
        min-height: 180px;
    }
    
    .product-list-image {
        height: 140px;
    }
    
    .product-title {
        font-size: 1.05rem;
    }
    
    /* Grid Ürünler */
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
    
    /* Blog */
    .blog-image {
        height: 220px;
    }
}

/* === MOBİL OPTİMİZASYON === */
@media (max-width: 767px) {
    body {
        padding-top: 95px;
        background: linear-gradient(180deg, #FAFAFA 0%, #FFFFFF 100%);
    }
    
    .section-title {
        font-size: 1.8rem;
        font-weight: 800;
        letter-spacing: -0.5px;
        background: linear-gradient(135deg, var(--primary-dark), var(--primary));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
        font-weight: 700;
        color: var(--primary-dark);
    }
    
    .categories-track {
        gap: 12px;
        overflow-x: hidden;
    }
    
    .categories-track.auto-scroll {
        overflow-x: hidden;
    }
    
    .category-item {
        width: 80px;
    }
    
    .category-circle {
        width: 70px;
        height: 70px;
        margin-bottom: 8px;
        border-width: 3px;
        box-shadow: 0 4px 12px rgba(109, 40, 217, 0.2);
    }
    
    .category-circle:active {
        transform: scale(0.95);
    }
    
    /* Mobil için kategori adı */
    .category-name {
        font-size: 0.7rem;
        max-width: 80px;
        min-height: 32px;
        padding: 0 2px;
        line-height: 1.2;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
        word-break: keep-all;
        hyphens: manual;
    }
    
    /* Slider mobil */
    .slide-container {
        height: 160px;
    }
    
    /* Ürün Listesi Mobil */
    .product-list-item {
        flex-direction: row;
        padding: 14px;
        gap: 12px;
        border-radius: 16px;
        background: var(--white);
        box-shadow: 0 4px 16px rgba(109, 40, 217, 0.1);
        border: 2px solid var(--light-2);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        min-height: 130px;
    }
    
    .product-list-item:active {
        transform: scale(0.98);
    }
    
    .product-list-left,
    .product-list-right {
        gap: 6px;
    }
    
    .product-list-image {
        height: 90px;
        border-radius: 12px;
        overflow: hidden;
        background: var(--light);
    }
    
    .product-title {
        font-size: 0.85rem;
        line-height: 1.2;
        -webkit-line-clamp: 2;
    }
    
    .product-category-tag {
        font-size: 0.7rem;
        padding: 7px 8px;
        height: 32px;
        border-radius: 10px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .product-list-actions {
        gap: 6px;
    }
    
    .btn-detail,
    .btn-whatsapp {
        padding: 9px 10px;
        font-size: 0.8rem;
        border-radius: 10px;
        font-weight: 700;
        min-height: 40px;
        max-height: 40px;
    }
    
    /* Grid ürünler mobil */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    
    .product-grid-item {
        padding: 14px;
        border-radius: 16px;
        background: var(--white);
        box-shadow: 0 4px 16px rgba(109, 40, 217, 0.1);
        border: 2px solid var(--light-2);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .product-grid-item:active {
        transform: scale(0.97);
    }
    
    .product-grid-image {
        height: 130px;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    
    .btn-grid-detail,
    .btn-grid-whatsapp {
        padding: 9px 12px;
        font-size: 0.8rem;
        font-weight: 700;
        border-radius: 10px;
    }
    
    /* Blog mobil */
    .blog-grid {
        gap: 18px;
    }
    
    .blog-card {
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 4px 16px rgba(109, 40, 217, 0.1);
        border: 2px solid var(--light-2);
    }
    
    .blog-image {
        height: 170px;
    }
    
    .blog-title {
        font-size: 1.15rem;
        height: 52px;
        font-weight: 700;
    }
    
    .blog-date {
        color: var(--primary-dark);
        font-weight: 700;
    }
    
    /* CTA mobil */
    .cta-banner {
        border-radius: 0;
        padding: 50px 20px;
        background: var(--primary-gradient);
        position: relative;
        overflow: hidden;
    }
    
    .cta-banner::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
        pointer-events: none;
    }
    
    .cta-title {
        font-size: 1.9rem;
        font-weight: 800;
        letter-spacing: -0.5px;
        text-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    
    .cta-text {
        font-size: 1.05rem;
        opacity: 0.95;
        line-height: 1.6;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }
    
    .btn-cta {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        padding: 16px 32px;
        font-weight: 700;
        font-size: 1.05rem;
        border-radius: 14px;
        letter-spacing: 0.3px;
        box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    }
    
    .btn-cta:active {
        transform: scale(0.98);
    }
    
    /* WhatsApp Float Mobil */
    .whatsapp-float {
        width: 60px;
        height: 60px;
        font-size: 28px;
        bottom: 20px;
        left: 20px;
        border-width: 3px;
    }
    
    .back-to-top {
        width: 48px;
        height: 48px;
        font-size: 1rem;
        bottom: 20px;
        right: 20px;
        border-width: 2px;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 90px;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .category-item {
        width: 75px;
    }
    
    .category-circle {
        width: 65px;
        height: 65px;
        border-width: 2.5px;
    }
    
    .category-circle:active {
        transform: scale(0.95);
    }
    
    /* Çok küçük ekranlar için kategori adı */
    .category-name {
        font-size: 0.65rem;
        max-width: 75px;
        min-height: 28px;
        padding: 0 1px;
        line-height: 1.1;
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
        word-break: keep-all;
        hyphens: manual;
    }
    
    .slide-container {
        height: 150px;
        border-radius: 14px;
    }
    
    /* Ürün Listesi Çok Küçük Ekranlar */
    .product-list-item {
        padding: 12px;
        gap: 10px;
        min-height: 120px;
    }
    
    .product-list-left,
    .product-list-right {
        gap: 5px;
    }
    
    .product-list-image {
        height: 80px;
    }
    
    .product-title {
        font-size: 0.8rem;
        line-height: 1.1;
        -webkit-line-clamp: 2;
    }
    
    .product-category-tag {
        font-size: 0.65rem;
        padding: 6px 6px;
        height: 30px;
    }
    
    .btn-detail,
    .btn-whatsapp {
        padding: 8px 8px;
        font-size: 0.75rem;
        min-height: 36px;
        max-height: 36px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    
    .product-grid-image {
        height: 140px;
    }
}

/* === ANİMASYON === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

[data-aos="fade-up"] {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Kategori Görselleri için Stiller */
.category-icon {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    background: var(--primary-gradient);
}

.category-circle {
    position: relative;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--primary-gradient);
    border: 3px solid white;
    box-shadow: 0 4px 16px rgba(109, 40, 217, 0.2);
    margin: 0 auto;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-circle:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 24px rgba(109, 40, 217, 0.3);
    border-color: var(--primary-light);
}

.category-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-circle .category-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ürün Görseli İkonları Kaldırma */
.product-list-image .delivery-badge,
.product-list-image .product-badge,
.product-grid-image .delivery-badge-grid,
.product-grid-image .product-badge-grid {
    display: none !important;
}

/* KATEGORİ ADI İÇİN EK AKILLI STİLLER */
.category-name {
    /* Kelimeleri BÖLMEYEN özellikler */
    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
    hyphens: none;
    
    /* Sadece boşluklardan böl */
    word-break: normal;
    overflow-wrap: normal;
    
    /* Minimum font boyutu */
    font-size-adjust: 0.5;
    
    /* Düzgün satır sonları */
    line-break: strict;
}

/* Hover durumunda tam metni gösteren tooltip */
.category-item:hover::after {
    content: attr(data-title);
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark);
    color: var(--white);
    padding: 5px 10px;
    border-radius: var(--border-radius-sm);
    font-size: 0.7rem;
    white-space: nowrap;
    z-index: 1000;
    pointer-events: none;
    opacity: 0.9;
    box-shadow: var(--shadow-medium);
}

/* Tooltip ok işareti */
.category-item:hover::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-bottom-color: var(--dark);
    z-index: 1001;
    pointer-events: none;
}