/* ===================================
   Phase 3: Hero & Featured Sections
   Modern Minimalist Design
   =================================== */

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: var(--container-md);
    padding: var(--space-8);
}

.hero h1 {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: var(--font-bold);
    line-height: var(--leading-tight);
    margin-bottom: var(--space-4);
    color: var(--white);
}

.hero p {
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-6);
    color: var(--gray-100);
}

.hero-cta {
    display: inline-block;
    padding: var(--space-4) var(--space-8);
    background: var(--accent);
    color: var(--white);
    border-radius: var(--radius-full);
    font-weight: var(--font-semibold);
    text-decoration: none;
    transition: var(--transition-base);
    box-shadow: var(--shadow-lg);
}

.hero-cta:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--shadow-accent);
}

/* Hero Slider */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity var(--duration-slow) var(--ease-in-out);
    background-size: cover;
    background-position: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-nav {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: var(--space-2);
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: var(--transition-base);
}

.hero-dot:hover,
.hero-dot.active {
    background: var(--white);
    transform: scale(1.2);
}

/* Featured Products Section */
.featured-products {
    padding: var(--space-16) var(--space-4);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-12);
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--gray-900);
    margin-bottom: var(--space-4);
}

.section-header p {
    font-size: var(--text-base);
    color: var(--gray-600);
}

/* Filter & Sort Bar */
.filter-sort-bar {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    justify-content: center;
    margin-bottom: var(--space-8);
    padding: 0 var(--space-4);
}

.filter-btn {
    padding: var(--space-2) var(--space-6);
    border: 1px solid var(--gray-300);
    background: var(--white);
    color: var(--gray-700);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    cursor: pointer;
    transition: var(--transition-base);
}

.filter-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-1px);
}

.filter-btn.active {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: 0 var(--space-4);
}

/* About Section Enhancement */
.about-section {
    padding: var(--space-16) var(--space-4);
    background: var(--gray-50);
}

.about-content {
    max-width: var(--container-md);
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--gray-900);
    margin-bottom: var(--space-4);
}

.about-content p {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--gray-600);
    margin-bottom: var(--space-4);
}

/* Responsive Design */
@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-4);
    }
    
    .hero {
        height: 500px;
    }
    
    .hero h1 {
        font-size: var(--text-3xl);
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
    }
    
    .hero {
        height: 400px;
    }
    
    .hero h1 {
        font-size: var(--text-2xl);
    }
    
    .hero p {
        font-size: var(--text-base);
    }
    
    .filter-sort-bar {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: var(--space-2);
    }
    
    .filter-btn {
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        padding: var(--space-4);
    }
}

/* Animation on Load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp var(--duration-base) var(--ease-out);
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .hero-cta:hover {
        transform: none;
    }
    
    .hero-slide {
        transition: none;
    }
    
    .hero-content {
        animation: none;
    }
}
