/* Import de la police Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #121212;
    color: #f5f5f5;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header */
header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 2rem 0;
    text-align: center;
    border-bottom: 3px solid #ff4b2b;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ff4b2b" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%232196f3" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #ff4b2b, #2196f3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
    text-shadow: 0 0 30px rgba(255, 75, 43, 0.3);
}

header p {
    font-size: 1.2rem;
    font-weight: 300;
    color: #b0b0b0;
    position: relative;
    z-index: 1;
}

/* Sections */
section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

section h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(45deg, #ff4b2b, #2196f3);
    border-radius: 2px;
}

/* Section Filtres */
#filtres {
    background: linear-gradient(135deg, #1e1e1e 0%, #2a2a2a 100%);
    border-radius: 20px;
    margin: 2rem auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

#filtres > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: end;
    margin-bottom: 2rem;
}

#filtres > div > div:last-child {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #e0e0e0;
    font-size: 1.1rem;
}

select {
    width: 100%;
    padding: 1rem;
    background: #2d2d2d;
    border: 2px solid #404040;
    border-radius: 12px;
    color: #f5f5f5;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    cursor: pointer;
}

select:focus {
    outline: none;
    border-color: #ff4b2b;
    box-shadow: 0 0 0 3px rgba(255, 75, 43, 0.2);
    transform: translateY(-2px);
}

select:hover {
    border-color: #2196f3;
    transform: translateY(-1px);
}

/* Boutons */
button {
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

button:hover::before {
    left: 100%;
}

#tout-afficher {
    background: linear-gradient(45deg, #2196f3, #21cbf3);
    color: white;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

#tout-afficher:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.4);
}

#surprends-moi {
    background: linear-gradient(45deg, #ff4b2b, #ff6b4a);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 75, 43, 0.3);
}

#surprends-moi:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 75, 43, 0.4);
}

/* Section Galerie */
#galerie {
    background: #0f0f0f;
    border-radius: 20px;
    margin: 2rem auto;
}

#grille-sneakers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

/* Placeholder pour les images (sera remplacé par Ajax) */
#grille-sneakers::before {
    content: 'Galerie vide - Contenu chargé dynamiquement avec Ajax';
    grid-column: 1 / -1;
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 4rem;
    background: #1a1a1a;
    border-radius: 12px;
    border: 2px dashed #404040;
}

/* Styles pour les futures images de sneakers */
.sneaker-card {
    background: #1a1a1a;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.sneaker-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: #ff4b2b;
}

.sneaker-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.sneaker-card:hover .sneaker-image {
    transform: scale(1.1);
}

.sneaker-info {
    padding: 1.5rem;
}

.sneaker-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #f5f5f5;
}

.sneaker-style {
    color: #ff4b2b;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Section À propos */
#a-propos {
    background: linear-gradient(135deg, #1e1e1e 0%, #2a2a2a 100%);
    border-radius: 20px;
    margin: 2rem auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

#a-propos p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-align: justify;
    color: #d0d0d0;
    line-height: 1.8;
}

#a-propos p:last-child {
    margin-bottom: 0;
    font-weight: 500;
    color: #ff4b2b;
}

/* Footer */
footer {
    background: #0a0a0a;
    padding: 3rem 2rem 2rem;
    text-align: center;
    border-top: 3px solid #2196f3;
    margin-top: 4rem;
}

footer p {
    margin-bottom: 0.5rem;
    color: #888;
}

footer p:first-child {
    font-weight: 600;
    color: #f5f5f5;
    font-size: 1.1rem;
}

footer p:last-child {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.5rem;
    }
    
    section {
        padding: 2rem 1rem;
    }
    
    section h2 {
        font-size: 2rem;
    }
    
    #filtres > div {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    #filtres > div > div:last-child {
        flex-direction: column;
        align-items: center;
    }
    
    button {
        width: 100%;
        max-width: 300px;
    }
    
    #grille-sneakers {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 2rem;
    }
    
    header p {
        font-size: 1rem;
    }
    
    #grille-sneakers {
        grid-template-columns: 1fr;
    }
    
    .sneaker-image {
        height: 200px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    animation: fadeInUp 0.6s ease-out;
}

/* Scrollbar personnalisée */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #ff4b2b, #2196f3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #ff6b4a, #21cbf3);
}
