/* Home Page Specific Styles */
.home-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    background-size: cover;
    background-position: center;
    /* Performance optimization */
    will-change: opacity;
    transform: translateZ(0);
    /* Immediate loading optimization */
    background-color: #f0f0f0;
}

.slide.active {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 100px 20px;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Hot Deal Section */
.hot-deal-section {
    padding: 80px 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #ff6b35;
}


/* Content Section - Moved to component */

/* Removed duplicate content-image styles to avoid conflicts */

.content-text {
    padding: 30px;
}

.content-text h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.4;
}

.content-text p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}





/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        gap: 40px;
        padding: 0 30px;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .content-grid {
        gap: 40px;
    }


}

@media (max-width: 768px) {
    .hero-section {
        height: 400px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
        padding: 0 20px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .content-item,
    .content-item-reverse {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .content-item-reverse .content-image,
    .content-item-reverse .content-text {
        order: unset;
    }

    .content-item .content-image {
        min-height: 200px;
    }

    .slider-controls {
        bottom: 15px;
        gap: 15px;
    }

    .slider-btn {
        width: 35px;
        height: 35px;
    }

    .content-item .content-text {
        padding: 30px;
    }

    .tech-item {
        padding: 15px;
        margin-bottom: 20px;
    }

    .tech-item h4 {
        font-size: 1rem;
        gap: 8px;
    }

    .tech-item h4 i {
        font-size: 1.1rem;
        width: 18px;
    }

    .tech-item p {
        font-size: 0.95rem;
    }

    .tech-section h4 {
        font-size: 1.1rem;
        gap: 8px;
    }

    .tech-section h4 i {
        font-size: 1.2rem;
    }

    .tech-item h5 {
        font-size: 0.95rem;
        gap: 6px;
    }

    .tech-item h5 i {
        font-size: 1rem;
        width: 14px;
    }

    .toggle-btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }



    .section-title {
        font-size: 2rem;
    }

    .hot-deal-section,
    .content-section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {

    .hero-section {
        height: 300px;
    }

    .home-container {
        padding: 0 15px;
    }

    .hero-container {
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .shop-now-btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }

    /*.product-image img {*/
    /*    height: 150px;*/
    /*}*/

    .content-item,
    .content-item-reverse {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .content-item-reverse .content-image,
    .content-item-reverse .content-text {
        order: unset;
    }

    .content-item .content-image {
        min-height: 180px;
    }

    .slider-controls {
        bottom: 10px;
        gap: 10px;
    }

    .slider-btn {
        width: 30px;
        height: 30px;
    }

    .slider-btn i {
        font-size: 12px;
    }

    .slider-dots .dot {
        width: 10px;
        height: 10px;
    }

    .content-item .content-text {
        padding: 20px;
    }

    .tech-item {
        padding: 12px;
        margin-bottom: 15px;
    }

    .tech-item h4 {
        font-size: 0.95rem;
        gap: 6px;
    }

    .tech-item h4 i {
        font-size: 1rem;
        width: 16px;
    }

    .tech-item p {
        font-size: 0.9rem;
    }

    .tech-section h4 {
        font-size: 1rem;
        gap: 6px;
    }

    .tech-section h4 i {
        font-size: 1.1rem;
    }

    .tech-item h5 {
        font-size: 0.9rem;
        gap: 5px;
    }

    .tech-item h5 i {
        font-size: 0.95rem;
        width: 12px;
    }

    .toggle-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
        gap: 6px;
    }

    .tech-summary p {
        font-size: 1rem;
    }

    .content-item .content-text h3 {
        font-size: 1.1rem;
    }

    .content-item .content-text p {
        font-size: 1rem;
    }



    .section-title {
        font-size: 1.8rem;
    }

    .hot-deal-section,
    .content-section {
        padding: 40px 0;
    }
}

/* Animation for dots */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.dot {
    animation: fadeIn 0.3s ease;
}

/* Home Footer */
.home-footer {
    background: #1a1a1a;
    color: white;
    text-align: center;
    padding: 20px 0;
}

.home-footer p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Hover effects */
.hot-deal-card:hover .product-image img {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}


