/* Hero Slider */
.hero-slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
    margin-top: 0;
}

.slides-container {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    z-index: 2;
}

.slide-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 3;
}

.slider-controls button {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.slider-controls button:hover {
    background: var(--primary);
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--white);
    transform: scale(1.2);
}

/* Video Section */
.video-section {
    background: var(--light);
}

.video-container {
    max-width: 1200px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    padding: 20px;
}

.youtube-thumbnails {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.youtube-thumbnail {
    position: relative;
    min-width: 200px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.youtube-thumbnail:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.youtube-thumbnail.active {
    border: 3px solid var(--accent);
}

.youtube-thumbnail img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    transition: all 0.3s ease;
}

.youtube-thumbnail:hover .play-button {
    background: var(--accent);
}

.video-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px;
    font-size: 0.9rem;
    text-align: center;
}

.youtube-player-container {
    width: 100%;
}

.youtube-player {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.youtube-player iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-controls {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.video-controls button {
  background: #f4d03f;
  border: none;
  color: #000;
  padding: 10px 20px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.video-controls button:hover {
  background: #000;
  color: #f4d03f;
}

/* Responsive Design */
@media (max-width: 768px) {
    .youtube-thumbnails {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .youtube-thumbnail {
        min-width: 150px;
    }
    
    .youtube-player {
        height: 300px;
    }
}

/* About Preview */
.about-preview {
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.7;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 5px;
}

.stat p {
    color: var(--gray);
    font-weight: 500;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

/* Premium Products */
.premium-products {
    background: var(--light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    cursor: pointer;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}


.product-card:hover .product-image img {
    transform: scale(1.05);
}

.zoom-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.product-image:hover .zoom-icon {
    opacity: 1;
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.product-info p {
    color: var(--gray);
    margin-bottom: 15px;
}

.product-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.product-features span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray);
    font-size: 0.9rem;
}

.product-features i {
    color: var(--accent);
    font-size: 0.8rem;
}

/* Image Modal */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.image-modal.active {
    display: flex;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.modal-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 10px;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: -40px;
    color: var(--white);
    font-size: 30px;
    cursor: pointer;
    background: none;
    border: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-slider {
        height: 70vh;
        margin-top: 0
    }
    
    .slide-content h1 {
        font-size: 2.5rem;
    }
    
    .slide-content p {
        font-size: 1.1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .stat h3 {
        font-size: 2rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    #mainVideo {
        height: 300px;
    }
    
    .video-thumbnails {
        flex-direction: column;
    }
    
    .close-modal {
        top: -30px;
        right: 0;
    }
}