/* Shop by Category Section Styles */
.category-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.category-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.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-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-card:hover .category-overlay {
    opacity: 1;
}

.category-content {
    color: white;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.category-card:hover .category-content {
    transform: translateY(0);
}

.category-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.category-content p {
    font-size: 0.9rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.category-content .btn {
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.category-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.category-info p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
    flex: 1;
}

.category-stats {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.category-stats .badge {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 4px 8px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .category-image {
        height: 150px;
    }
    
    .category-content h3 {
        font-size: 1.1rem;
    }
    
    .category-content p {
        font-size: 0.8rem;
    }
    
    .category-info {
        padding: 15px;
    }
    
    .category-info h4 {
        font-size: 1rem;
    }
    
    .category-info p {
        font-size: 0.85rem;
    }
}

/* Section title styling */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #1976d2, #28a745);
    border-radius: 2px;
}

/* Category section background */
.py-5:nth-child(even) {
    background: #f8f9fa;
}
