.category-section {

    position: relative;
    background: #fff;
}

/* Kategori Başlık Stili */
.category-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.category-header h2 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #041b72;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-family: 'Oswald', sans-serif;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.category-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* Alt Kategori Grupları */
.subcategory-group {
    background: rgba(255,255,255,0.95);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(4,27,114,0.1);
    transition: all 0.3s ease;
}

.subcategory-group:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(4,27,114,0.1);
}

.subcategory-title {
    color: #041b72;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(4,27,114,0.1);
}

.subcategory-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Ürün Listesi İyileştirmeleri */
.subcategory-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(4,27,114,0.02);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(4,27,114,0.05);
    cursor: pointer;
}

.subcategory-item:hover {
    background: rgba(4,27,114,0.05);
    border-color: rgba(4,27,114,0.15);
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(4,27,114,0.05);
}

/* Özel İkon Stilleri */
.category-icon {
    width: 40px;
    height: 40px;
    margin-right: 15px;
    opacity: 0.7;
}

/* Kategori Görsel Galerisi */
.category-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
    filter: brightness(0.8);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, rgba(4, 27, 114, 0.8));
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-title {
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Lazy loading için iskelet ekranı */
.gallery-item.loading {
    background: linear-gradient(
        110deg,
        #ececec 8%,
        #f5f5f5 18%,
        #ececec 33%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s linear infinite;
}

@keyframes shimmer {
    to {
        background-position: -200% 0;
    }
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .category-header h2 {
        font-size: 1.9rem;
    }

    .subcategory-group {
        padding: 20px;
    }

    .subcategory-title {
        font-size: 1.5rem;
    }

    .subcategory-list {
        grid-template-columns: 1fr;
    }

    .category-gallery {
        grid-template-columns: 1fr;
    }

    .subcategory-item {
        padding: 15px;
    }
}
