/* Sarson Family Shop - Enhanced Styling */

/* Category Card Hover Effects */
.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15) !important;
    border-color: #f5a623 !important;
}

/* Product Card Hover Effects */
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15) !important;
}

.product-card:hover .quick-view-overlay {
    opacity: 1 !important;
}

/* Featured Product Card Hover */
.featured-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2) !important;
}

/* Button Styles */
.btn-warning {
    background: linear-gradient(135deg, #f5a623 0%, #d4850f 100%);
    border: none;
    transition: all 0.3s ease;
}

.btn-warning:hover {
    background: linear-gradient(135deg, #d4850f 0%, #c27a0e 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 166, 35, 0.4);
}

/* Hero Section Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

/* Product Image Zoom on Hover */
.product-card:hover img,
.featured-product-card:hover img {
    transform: scale(1.05);
    transition: transform 0.5s ease;
}

.product-card img,
.featured-product-card img {
    transition: transform 0.5s ease;
}

/* Badge Styling */
.badge {
    font-weight: 600;
    padding: 0.35em 0.65em;
    border-radius: 0.25rem;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem !important;
    }

    .hero-content p {
        font-size: 1.2rem !important;
    }

    .category-card {
        margin-bottom: 1rem;
    }
}

/* Loading Animation for Images */
.card-img-top {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Trust Badges Animation */
.trust-badge {
    transition: transform 0.3s ease;
}

.trust-badge:hover {
    transform: scale(1.1);
}

/* Footer Styling */
footer a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #9a5f08;
}

/* Quick View Button */
.quick-view-overlay {
    pointer-events: none;
}

.product-card:hover .quick-view-overlay {
    pointer-events: auto;
}

/* Price Highlight */
.price-tag {
    position: relative;
    display: inline-block;
}

.price-tag::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #f5a623;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.product-card:hover .price-tag::after,
.featured-product-card:hover .price-tag::after {
    transform: scaleX(1);
}

/* Section Spacing */
.section-spacing {
    padding: 4rem 0;
}

/* Category Icon Animation */
.category-icon {
    transition: transform 0.3s ease;
}

.category-card:hover .category-icon {
    transform: rotate(10deg) scale(1.1);
}
