/* ===== KATEGORİ SAYFALARI CSS ===== */

/* Category Hero Section */
.category-hero {
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 4px solid #2e7d32;
}

.category-hero-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
}

.category-hero-text {
    max-width: 600px;
}

.category-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 1rem;
}

.category-title {
    font-size: 3rem;
    font-weight: 700;
    color: #1b5e20;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.category-description {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.category-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.feature-tag {
    background: linear-gradient(135deg, #2e7d32, #4caf50);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(46, 125, 50, 0.3);
}

.category-hero-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid #e8f5e8;
    transition: all 0.3s ease;
    min-width: 120px;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.2);
    border-color: #2e7d32;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #2e7d32;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 600;
}

/* Category Products Section */
.category-products {
    padding: 4rem 0;
    background: white;
}

.products-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px solid #e9ecef;
}

.search-controls {
    flex: 1;
    min-width: 250px;
}

.search-input {
    width: 100%;
    padding: 0.8rem 1.2rem;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    background: white;
    font-size: 1rem;
    font-weight: 500;
    color: #666;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #2e7d32;
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

.search-input::placeholder {
    color: #999;
    font-style: italic;
}

.filter-controls {
    display: flex;
    gap: 1rem;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    border: 2px solid #e9ecef;
    background: white;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    color: #666;
}

.filter-btn:hover {
    border-color: #2e7d32;
    color: #2e7d32;
}

.filter-btn.active {
    background: linear-gradient(135deg, #2e7d32, #4caf50);
    color: white;
    border-color: #2e7d32;
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

.sort-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sort-select {
    padding: 0.8rem 1.2rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    background: white;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sort-select:hover,
.sort-select:focus {
    border-color: #2e7d32;
    outline: none;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(46, 125, 50, 0.2);
    border-color: #2e7d32;
}

.product-image {
    background: linear-gradient(135deg, #e8f5e8, #c8e6c9);
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.product-placeholder {
    font-size: 4rem;
    opacity: 0.7;
}

.product-info {
    padding: 1.5rem;
}

.product-info h4 {
    font-size: 1.3rem;
    color: #2e7d32;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.product-description {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.product-features {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.product-features span {
    font-size: 0.85rem;
    color: #2e7d32;
    font-weight: 500;
}

.product-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2e7d32;
    margin-bottom: 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, #e8f5e8, #c8e6c9);
    padding: 0.8rem;
    border-radius: 8px;
}

.product-actions {
    display: flex;
    gap: 0.8rem;
}

.product-btn {
    flex: 1;
    text-align: center;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.product-btn.primary {
    background: linear-gradient(135deg, #2e7d32, #4caf50);
    color: white;
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

.product-btn.primary:hover {
    background: linear-gradient(135deg, #1b5e20, #2e7d32);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
    color: white;
}

.product-btn.secondary {
    background: #25d366;
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.product-btn.secondary:hover {
    background: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    color: white;
}

/* Load More Button */
.load-more-container {
    text-align: center;
    margin-top: 3rem;
}

.load-more-btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #2e7d32, #4caf50);
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

.load-more-btn:hover {
    background: linear-gradient(135deg, #1b5e20, #2e7d32);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
}

/* Category CTA */
.category-cta {
    background: linear-gradient(135deg, #2e7d32 0%, #388e3c 50%, #4caf50 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.category-cta .cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.category-cta .cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.category-cta .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.category-cta .cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.category-cta .cta-btn.primary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.category-cta .cta-btn.primary:hover {
    background: white;
    color: #2e7d32;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.category-cta .cta-btn.secondary {
    background: #25d366;
    color: white;
}

.category-cta .cta-btn.secondary:hover {
    background: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    color: white;
}

/* No Products Message */
.no-products {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    padding: 3rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px dashed #e9ecef;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .category-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .category-hero-stats {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .products-controls {
        flex-direction: column;
        gap: 1.5rem;
        align-items: stretch;
    }
    
    .filter-controls {
        justify-content: center;
    }
    
    .sort-controls {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .category-title {
        font-size: 2.2rem;
    }
    
    .category-icon {
        font-size: 3rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .filter-controls {
        flex-wrap: wrap;
        gap: 0.8rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .category-cta .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .category-hero-stats {
        gap: 0.8rem;
    }
    
    .stat-card {
        padding: 1rem;
        min-width: 100px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .category-hero {
        padding: 2rem 0;
    }
    
    .category-title {
        font-size: 1.8rem;
    }
    
    .category-description {
        font-size: 1rem;
    }
    
    .products-controls {
        padding: 1rem;
    }
    
    .product-card {
        margin: 0 0.5rem;
    }
} 