/* --- Hero Slider & Static Hero --- */
.hero-slider, .laptop-hero {
    position: relative;
    width: 100%;
    height: 90vh;
    overflow: hidden;
}

/* Style for the static laptop hero background */
.laptop-hero {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

/* --- ADDED RULE --- */
.laptop-hero .container {
    max-width: 100%;
}


.hero-slider .slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
}

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

.hero-content {
    color: var(--color-white);
    text-align: left;
    max-width: 600px;
}

.hero-content h1, .hero-content p, .hero-content .btn {
    opacity: 0;
    transform: translateY(20px);
}

.slide.active .hero-content h1, .laptop-hero .hero-content h1 { animation: slideUp 0.8s 0.2s forwards; }
.slide.active .hero-content p, .laptop-hero .hero-content p { animation: slideUp 0.8s 0.4s forwards; }
.slide.active .hero-content .btn, .laptop-hero .hero-content .btn { animation: slideUp 0.8s 0.6s forwards; }


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

/* --- Featured Products --- */
.featured-products {
    padding: 4rem 0;
    background-color: var(--color-black);
}

.featured-products h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

/* --- Mobile & Tablet Carousel Styles --- */
.carousel-container {
    position: relative;
}

.product-carousel {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;  
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; 
}
.product-carousel::-webkit-scrollbar {
    display: none; 
}

.product-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 1.5rem;
    padding: 0 1rem; 
}

.product-card {
    background: var(--color-gray);
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    flex: 0 0 280px; 
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.6);
}

.product-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.product-card:hover img {
    transform: scale(1.05);
}

.product-info { padding: 1.5rem; }
.product-info h3 { font-size: 1.2rem; margin-bottom: 0.5rem; color: var(--color-white)}
.product-info .price { color: var(--color-blue-light); font-weight: bold; }

/* Carousel Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(40, 40, 40, 0.8);
    border: none;
    color: var(--color-white);
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: background-color 0.3s;
}
.carousel-btn:hover {
    background-color: var(--color-blue);
}
.prev-btn {
    left: 5px;
}
.next-btn {
    right: 5px;
}

/* --- Desktop Carousel Styles --- */
@media (min-width: 1024px) {
    .product-carousel {
        overflow-x: hidden;
    }

    .product-grid {
        display: flex;
        flex-wrap: nowrap;
        gap: 1.5rem;
        padding: 0;
    }

    .product-card {
        flex: 0 0 calc(25% - 1.125rem);
    }

    .carousel-btn {
        display: block;
    }
}


/* --- GIF Section --- */
.gif-section {
    padding: 4rem 0;
    text-align: center;
}
.gif-section .gif-mobile {
    display: none;
}
.gif-section .gif-desktop {
    display: block;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Static Hero --- */
.hero-static {
    height: 60vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* --- Video Section --- */
.video-section {
    padding: 4rem 0;
}
.video-section .container {
    max-width: 900px;
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
}

/* --- Responsive Rules --- */
.mobile-only {
    display: none; /* Hidden by default */
}

@media (max-width: 768px) {
    .gif-section .gif-desktop { display: none; }
    .gif-section .gif-mobile { display: block; margin: 0 auto; width: 100%; }

    .laptop-hero { display: none; } /* Hide static hero on mobile */
    .mobile-only { display: block; } /* Show mobile slider */
}

@media (min-width: 769px) {
    .laptop-hero { display: flex; } /* Show static hero on desktop */
    .mobile-only { display: none; } /* Hide mobile slider on desktop */
}


@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
}
@media (max-width: 768px) {
    .hero-static {
        display: none;
    }
}