/* Homepage specific styles */

/* Product grid */
.product-item {
    transition: all 0.3s ease;
}

.product-card {
    height: 100%;
    transition: all 0.3s ease;
}

/* 16:9 aspect ratio for product images */
.product-card .card-img-top {
    aspect-ratio: 16/9;
    object-fit: cover;
    width: 100%;
}

.product-card .card-img-top.bg-secondary {
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Category filters */
.category-filter {
    white-space: nowrap;
    transition: all 0.2s ease;
}

.category-filter:hover {
    transform: translateY(-2px);
}

/* Load more button */
#load-more-btn {
    transition: all 0.3s ease;
}

#load-more-btn:hover {
    transform: translateY(-2px);
}

#load-more-btn i {
    transition: transform 0.3s ease;
}

#load-more-btn:hover i {
    transform: rotate(180deg);
}

/* Slim hero section */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

/* Mobile optimizations */
@media (max-width: 767.98px) {
    .product-card .card-body {
        padding: 0.75rem;
    }
    
    .product-card .card-footer {
        padding: 0.75rem;
    }
    
    .product-card .card-title {
        font-size: 0.9rem;
    }
    
    .product-card .card-text {
        font-size: 1rem !important;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    .hero-section h1 {
        font-size: 1.5rem;
    }
    
    .hero-section .btn {
        padding: 0.375rem 0.75rem;
        font-size: 0.875rem;
    }
}

/* Feature cards */
.feature-card {
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
}

.feature-card .icon-container {
    transition: all 0.3s ease;
}

.feature-card:hover .icon-container {
    transform: scale(1.1);
}
