/* Custom CSS for Ecom Poster */

/* General Styles */
body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #333;
}

/* Tailwind-like utility classes */
.bg-primary-light {
    background-color: #e6f2ff;
}

.text-primary {
    color: hsl(14, 100%, 50%);
}

.hover-shadow:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.3s ease-in-out;
}

/* Product Cards */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 0.5rem;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.product-img-container {
    position: relative;
    padding-top: 75%; /* 4:3 Aspect Ratio */
    overflow: hidden;
}

.product-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Banner Carousel */
.banner-carousel .carousel-item {
    height: 400px;
}

.banner-carousel .carousel-item img {
    object-fit: cover;
    height: 100%;
}

/* Categories Section */
.category-card {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    height: 200px;
}

.category-card img {
    transition: transform 0.5s ease;
    height: 100%;
    object-fit: cover;
}

.category-card:hover img {
    transform: scale(1.05);
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
    padding: 1rem;
}

/* Footer customization */
footer a.text-white {
    transition: opacity 0.3s ease;
}

footer a.text-white:hover {
    opacity: 0.8;
}

/* Custom button styles */
.btn-custom-primary {
    background-color: hsl(14, 100%, 50%);
    border-color: hsl(14, 100%, 50%);
    color: white;
    transition: all 0.3s ease;
}

.btn-custom-primary:hover {
    background-color: hsl(14, 100%, 50%);
    border-color: hsl(14, 100%, 50%);
    transform: translateY(-2px);
}

/* Product detail page */
.product-detail-img {
    max-height: 500px;
    object-fit: contain;
}

/* Cart styles */
.cart-item {
    transition: background-color 0.3s ease;
}

.cart-item:hover {
    background-color: #f8f9fa;
}

/* Custom form styling */
.form-control:focus {
    border-color: hsl(14, 100%, 50%);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.bg-primary-600{
    background-color: hsl(14, 100%, 50%)!important;
    border-color: hsl(14, 100%, 50%)!important;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
    border: none;
    cursor: pointer;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .banner-carousel .carousel-item {
        height: 300px;
    }
    
    .category-card {
        height: 150px;
    }
}

@media (max-width: 576px) {
    .banner-carousel .carousel-item {
        height: 200px;
    }
}
