:root {
    --flash-orange: #e67e22;
    --flash-blue: #2980b9;
    --dark: #2c3e50;
    --light: #ecf0f1;
}

body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    background-color: #f9f9f9;
    color: var(--dark);
}

/* Header & Nav */
header {
    background: white;
    padding: 20px 10%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--dark);
    margin-right: 20px;
    font-weight: 500;
    transition: 0.3s;
}

nav a:hover { color: var(--flash-orange); }

/* Product Grid */
.container { padding: 40px 10%; }

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.product-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.product-card:hover { transform: translateY(-5px); }

.product-card img {
    max-width: 100%;
    height: 150px;
    object-fit: contain;
}

.price {
    color: var(--flash-orange);
    font-size: 1.2rem;
    font-weight: bold;
}

.btn-buy {
    background: var(--flash-orange);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}
/* ✅ ANIMATION CSS POUR LE DIAPORAMA D'IMAGES D'ARRIÈRE-PLAN ✅ */
@keyframes slideAnimation {
    0% {
        opacity: 0;
        transform: scale(1.1); /* Petit zoom arrière initial */
    }
    5% {
        opacity: 1;
        transform: scale(1); /* Zoom arrière progressif */
    }
    25% {
        opacity: 1;
        transform: scale(1);
    }
    30% {
        opacity: 0;
        transform: scale(1.1); /* Petit zoom arrière final avant disparition */
    }
    100% {
        opacity: 0;
        transform: scale(1.1);
    }
}