/* 
 * Enhanced Design Elements - Priority 2 & 3 Improvements
 * Additional CSS for animations, decorative elements, and enhanced styling
 */

/* Fade In Animation for Sections */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Product Cards - Enhanced Hover Effects */
.products-grid {
    animation: fadeIn 0.6s ease-out;
}

.product-card {
    animation: fadeInUp 0.5s ease-out backwards;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }

/* Enhanced Button Styles */
.btn-section-cta {
    position: relative;
    overflow: hidden;
}

.btn-section-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-section-cta:hover::before {
    width: 300px;
    height: 300px;
}

.btn-section-cta span {
    position: relative;
    z-index: 1;
}

/* Decorative Shapes */
.decorative-shape {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.shape-circle {
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.1) 0%, transparent 70%);
}

.shape-triangle {
    width: 0;
    height: 0;
    border-style: solid;
}

/* Enhanced Section Transitions */
.homepage-section {
    animation: fadeIn 0.8s ease-out;
}

/* Scroll Reveal Animation */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Skeleton for Products */
.product-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s ease-in-out infinite;
}

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

/* Enhanced Brand Cards */
.brand-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.brand-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 193, 7, 0.1), transparent);
    transition: left 0.6s ease;
}

.brand-card:hover::before {
    left: 100%;
}

.brand-card:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

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

/* Enhanced Focus States */
*:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Performance Optimizations */
.product-image,
.brand-logo {
    will-change: transform;
}

/* Print Styles */
@media print {
    .homepage-hero,
    .section-hero,
    .homepage-statistics {
        background: #ffffff !important;
        color: #000000 !important;
    }
}

