/* Hero Section Slider Styles */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    background: #000;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: slideInUp 1s ease-out;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    animation: slideInUp 1s ease-out 0.2s both;
}

.cta-btn {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(238, 90, 36, 0.3);
    animation: slideInUp 1s ease-out 0.4s both;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(238, 90, 36, 0.4);
    background: linear-gradient(135deg, #ee5a24, #ff6b6b);
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 3;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot.active {
    background: white;
    transform: scale(1.2);
}

.nav-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Slider Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    z-index: 3;
    backdrop-filter: blur(10px);
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev {
    left: 30px;
}

.slider-arrow.next {
    right: 30px;
}

/* Slide Content Variations */
.hero-slide.slide-1 {
    background-image: linear-gradient(135deg, rgba(238, 90, 36, 0.8), rgba(255, 107, 107, 0.6)), 
                      url('https://images.unsplash.com/photo-1441986300917-64674bd600d8?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
}

.hero-slide.slide-2 {
    background-image: linear-gradient(135deg, rgba(45, 52, 54, 0.8), rgba(99, 110, 114, 0.6)), 
                      url('https://images.unsplash.com/photo-1445205170230-053b83016050?ixlib=rb-4.0.3&auto=format&fit=crop&w=2071&q=80');
}

.hero-slide.slide-3 {
    background-image: linear-gradient(135deg, rgba(116, 185, 255, 0.8), rgba(162, 155, 254, 0.6)), 
                      url('https://images.unsplash.com/photo-1483985988355-763728e1935b?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Auto-play progress indicator */
.slide-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #ee5a24);
    z-index: 3;
    animation: slideProgress 5s linear infinite;
}

@keyframes slideProgress {
    from {
        width: 0%;
    }
    to {
        width: 100%;
    }
}

/* ===================================================================
   CATEGORY SHOWCASE SECTION - MATCHES SCREENSHOT DESIGN
   ================================================================= */

/* Category Showcase Section */
.category-showcase-section {
    background: white;
    padding: 60px 0 80px 0;
    margin-bottom: 0;
    position: relative;
}

.category-showcase-header {
    text-align: center;
    margin-bottom: 50px;
}

.category-showcase-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3436;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.category-showcase-subtitle {
    font-size: 1.1rem;
    color: #636e72;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Three-row grid layout with 7 columns */
.category-showcase-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.category-showcase-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-showcase-item:hover {
    transform: translateY(-8px);
}

.category-image-container {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.category-showcase-item:hover .category-image-container {
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    transform: scale(1.05);
}

.category-showcase-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-showcase-item:hover .category-showcase-image {
    transform: scale(1.1);
}

.category-showcase-label {
    font-size: 16px;
    font-weight: 600;
    color: #2d3436;
    text-align: center;
    transition: color 0.3s ease;
    text-transform: capitalize;
}

.category-showcase-item:hover .category-showcase-label {
    color: #ff6b6b;
}

/* Responsive breakpoints for 3x7 grid */
@media (max-width: 1400px) {
    .category-showcase-grid {
        max-width: 1200px;
        gap: 25px;
    }
    
    .category-image-container {
        width: 110px;
        height: 110px;
    }
}

@media (max-width: 1200px) {
    .category-showcase-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 25px;
    }
    
    .category-image-container {
        width: 100px;
        height: 100px;
    }
    
    .category-showcase-label {
        font-size: 14px;
    }
}

@media (max-width: 900px) {
    .category-showcase-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
    
    .category-image-container {
        width: 90px;
        height: 90px;
        margin-bottom: 15px;
    }
    
    .category-showcase-label {
        font-size: 13px;
    }
    
    .category-showcase-section {
        padding: 50px 0 60px 0;
    }
}

@media (max-width: 600px) {
    .category-showcase-section {
        padding: 40px 0 50px 0;
    }
    
    .category-showcase-title {
        font-size: 2rem;
    }
    
    .category-showcase-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        padding: 0 15px;
    }
    
    .category-image-container {
        width: 80px;
        height: 80px;
        margin-bottom: 12px;
    }
    
    .category-showcase-label {
        font-size: 12px;
    }
}

@media (max-width: 400px) {
    .category-showcase-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .category-image-container {
        width: 100px;
        height: 100px;
        margin-bottom: 15px;
    }
    
    .category-showcase-label {
        font-size: 14px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        height: 70vh;
        min-height: 500px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .cta-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .slider-arrow {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .slider-arrow.prev {
        left: 15px;
    }
    
    .slider-arrow.next {
        right: 15px;
    }
    
    .slider-nav {
        bottom: 20px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-content {
        padding: 0 15px;
    }
}

/* Additional Sections Styling */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-top: 5rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3436;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #636e72;
    max-width: 600px;
    margin: 0 auto;
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
}

.category-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.category-card:hover::before {
    left: 100%;
}

.category-name {
    font-size: 1.5rem;
    font-weight: 600;
    z-index: 2;
    position: relative;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.product-image-container {
    position: relative;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
}

.product-badge {
    background: #ff6b6b;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-actions {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-actions {
    opacity: 1;
}

.product-action-btn {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-action-btn:hover {
    background: #ff6b6b;
    color: white;
    transform: scale(1.1);
}

.product-info {
    padding: 1.5rem;
}

.product-brand {
    color: #636e72;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3436;
    margin-bottom: 1rem;
}

.product-price {
    margin-bottom: 1rem;
}

.current-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ff6b6b;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.rating-stars {
    color: #ffc107;
}

.rating-count {
    color: #636e72;
    font-size: 0.9rem;
}

.add-to-cart-btn {
    width: 100%;
    padding: 12px;
    background: #2d3436;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.add-to-cart-btn:hover {
    background: #ff6b6b;
    transform: translateY(-2px);
}

/* Features Section */
.features-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 5rem 0;
    margin-top: 5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d3436;
    margin-bottom: 1rem;
}

.feature-description {
    color: #636e72;
    line-height: 1.6;
}

.text-center {
    text-align: center;
}