/* Gallery Hero Section */
.gallery-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/hero/gallary-hero.jpg');
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 0 20px;
    margin-bottom: 3rem;
}

.gallery-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: #fff;
    font-weight: 600;
}

.gallery-hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    color: #f5f5f5;
}

/* Featured Products Section */
.featured-products {
    padding: 4rem 0;
    background-color: #f9f9f9;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 2rem;
}

/* Slider Styles */
.slider-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 0 auto 3rem;
    max-width: 1000px;
    background-color: #fff;
}

.slider-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.slide {
    min-width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    padding: 30px;
}

.slide img {
    max-width: 100%;
    height: 400px;
    width: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    color: #fff;
    z-index: 2;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.slide-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.slide-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.slide-content .buy-button {
    display: inline-block;
    padding: 8px 20px;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.slide-content .buy-button:hover {
    background-color: #45a049;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.slider-nav:hover {
    background: #fff;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.slider-nav.prev {
    left: 20px;
}

.slider-nav.next {
    right: 20px;
}

.slider-nav i {
    color: #333;
    font-size: 1.2rem;
}

.slider-nav:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Product Gallery Grid */
.product-gallery {
    padding: 4rem 0;
    background-color: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 1;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item-content {
    opacity: 1;
}

.gallery-item-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.gallery-item-content p {
    font-size: 1rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.gallery-item-content .buy-button {
    display: inline-block;
    padding: 8px 20px;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.gallery-item-content .buy-button:hover {
    background-color: #45a049;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .gallery-hero h1 {
        font-size: 3rem;
    }

    .slide-content h3 {
        font-size: 1.6rem;
    }

    .slide img {
        height: 350px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .gallery-hero {
        height: 50vh;
    }

    .gallery-hero h1 {
        font-size: 2.5rem;
    }

    .gallery-hero p {
        font-size: 1.1rem;
    }

    .slide-content h3 {
        font-size: 1.4rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .slider-nav {
        width: 40px;
        height: 40px;
    }

    .slide img {
        height: 300px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }

    .gallery-item-content {
        opacity: 1;
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    }
}

@media (max-width: 480px) {
    .gallery-hero {
        height: 40vh;
    }

    .gallery-hero h1 {
        font-size: 2rem;
    }

    .slider-nav {
        width: 35px;
        height: 35px;
    }

    .slider-nav i {
        font-size: 1rem;
    }

    .slide img {
        height: 250px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .slide-content {
        padding: 15px;
    }

    .slide-content h3 {
        font-size: 1.2rem;
    }

    .slide-content p {
        font-size: 0.9rem;
    }

    .gallery-item-content h3 {
        font-size: 1.2rem;
    }

    .gallery-item-content p {
        font-size: 0.9rem;
    }
} 