/* Hero Section Styles */
.hero-section {
    background-image: url('img/IMG_2247.JPG');
    background-size: cover;
    background-position: center top;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-bottom: 3rem;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    color: #373134;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.hero-btn {
    background-color: #fff;
    color: #333;
    padding: 1rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.hero-btn:hover {
    background-color: #f8f8f8;
    transform: translateY(-2px);
}

/* Add to Cart Button Styles */
.add-to-cart {
    background-color: #333;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 1rem;
    width: 100%;
    transition: all 0.3s ease;
}

.add-to-cart:hover {
    background-color: #555;
    transform: translateY(-2px);
}

/* Nouveautés Section Styles */
.products-section {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 1rem;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 2rem;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

/* Collection Styles */
.collection {
    margin-bottom: 3rem;
    padding: 0 2rem;
}

.collection-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
    padding-left: 1rem;
}

.products-carousel {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    overflow-x: auto;
    gap: 1.5rem;
    padding: 1rem;
    scrollbar-width: none; /* Firefox */
    scroll-behavior: smooth;
}

.products-carousel::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.product-card {
    flex: 0 0 auto;
    width: 250px;
    scroll-snap-align: start;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.carousel-nav button {
    background: #f8f8f8;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
}

.product-card {
    position: relative;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    margin-bottom: 1rem;
}

.product-title {
    font-size: 0.9rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: #333;
    text-decoration: none;
}

.product-price {
    font-size: 0.9rem;
    color: #333;
}

.view-all {
    display: block;
    text-align: center;
    text-decoration: none;
    color: #333;
    font-size: 0.9rem;
    margin: 2rem auto;
    transition: color 0.2s ease;
}

.view-all:hover {
    color: #666;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .products-carousel {
        grid-template-columns: repeat(2, 1fr) !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .product-card {
        min-width: 52% !important;
        margin-left: 0.5% !important;
        margin-right: 0.5% !important;
        display: inline-block !important;
    }

    .products-section {
        margin: 2rem auto !important;
    }
}
