/* Categories Sayfası Stilleri */

.categories-page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

.categories-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.categories-page-header .section-container {
    position: relative;
    z-index: 2;
}

.categories-page-header h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.categories-page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 500px;
    margin: 0 auto;
}

.categories-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.category-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-item:hover {
    transform: translateY(-8px);
}

.category-card {
    background: white;
    border-radius: 15px;
    padding: 0;
    text-decoration: none;
    color: inherit;
    display: block;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
}

.category-card:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    text-decoration: none;
    color: inherit;
}

.category-image {
    height: 180px;
    overflow: hidden;
    position: relative;
    width: auto;
    border-radius: 0;
}

.category-overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    backdrop-filter: blur(10px);
    z-index: 2;
    transition: all 0.3s ease;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.05);
}

.category-card:hover .category-overlay-text {
    background: rgba(0, 0, 0, 0.8);
    transform: translate(-50%, -50%) scale(1.05);
}

.category-image div {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.category-card h5 {
    padding: 20px 20px 8px 20px;
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.category-card p {
    padding: 0 20px;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0 0 15px 0;
}

.category-stats {
    padding: 0 20px 20px 20px;
    border-top: 1px solid #f0f0f0;
    margin-top: 12px;
    padding-top: 12px;
}

.product-count {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-block;
}

/* Responsive - Tablet */
@media (max-width: 992px) {
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .categories-section {
        padding: 50px 0;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .categories-page-header {
        padding: 40px 0;
    }
    
    .categories-page-header h1 {
        font-size: 2.2rem;
    }
    
    .categories-page-header p {
        font-size: 1rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .categories-section {
        padding: 40px 0;
    }
    
    .category-image {
        height: 160px;
    }
    
    .category-card h5 {
        font-size: 1.2rem;
        padding: 15px 15px 5px 15px;
    }
    
    .category-card p {
        font-size: 0.9rem;
        padding: 0 15px;
        margin-bottom: 12px;
    }
    
 
}

/* Animasyon */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.category-item {
    animation: fadeInUp 0.5s ease forwards;
}

.category-item:nth-child(1) { animation-delay: 0.1s; }
.category-item:nth-child(2) { animation-delay: 0.2s; }
.category-item:nth-child(3) { animation-delay: 0.3s; }
.category-item:nth-child(4) { animation-delay: 0.4s; }
.category-item:nth-child(5) { animation-delay: 0.5s; }
.category-item:nth-child(6) { animation-delay: 0.6s; }
.category-item:nth-child(7) { animation-delay: 0.7s; }
.category-item:nth-child(8) { animation-delay: 0.8s; }
