:root {
    --primary: #0f3460;
    --secondary: #1a5c8f;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

.product-card h3, .product-card p {
    text-decoration: none !important;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f5f5;
    color: #333;
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 15px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 60px;
    width: auto;
}

.logo-text h1 {
    font-size: 28px;
    font-weight: bold;
    margin: 0;
}

.tagline {
    font-size: 12px;
    font-style: italic;
    color: #e0e0e0;
    margin: 0;
}

.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.cart-btn, .btn-login, .btn-register {
    background: rgba(255,255,255,0.2);
    border: 1px solid white;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
}

.cart-btn:hover, .btn-login:hover, .btn-register:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.05);
}

.user-menu {
    display: flex;
    gap: 15px;
    align-items: center;
}

.user-menu a {
    color: white;
    text-decoration: none;
    font-size: 12px;
}

/* Offers Section */
.offers-section {
    position: relative;
    margin-bottom: 40px;
}

.offers-carousel {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 520px;
    background-size: cover;
    background-position: top center;
}

.offer-slide {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: fadeIn 0.5s ease-in;
    background-size: cover;
    background-position: top center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.offer-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.15); /* ← RÉDUIT DE 0.3 À 0.15 POUR PLUS DE TRANSPARENCE */
    z-index: 1;
}

.offer-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    width: 100%;
    max-width: 600px;
}

.offer-content h2 {
    font-size: 48px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.offer-content p {
    font-size: 20px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.offer-link {
    display: inline-block;
    text-decoration: none;
    color: white;
}

.offer-link img {
    max-width: 200px;
    height: auto;
    margin-bottom: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.offer-link span {
    display: block;
    font-size: 24px;
    font-weight: bold;
    background: rgba(0,0,0,0.3);
    padding: 15px 30px;
    border-radius: 5px;
}

.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.3);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s;
    z-index: 10;
}

.carousel-prev:hover, .carousel-next:hover {
    background: rgba(255,255,255,0.5);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

/* Championnats */
.championships {
    padding: 60px 20px;
    background: white;
}

.championships h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    color: var(--primary);
}

.championships-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.championship-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.championship-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.championship-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.championship-logo {
    max-width: 150px;
    max-height: 150px;
    object-fit: contain;
    transition: transform 0.3s;
}

.championship-card:hover .championship-logo {
    transform: scale(1.1);
}

.btn-explore {
    background: white;
    color: var(--primary);
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 15px;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-explore:hover {
    transform: scale(1.05);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Footer */
.footer {
    background: var(--primary);
    color: white;
    text-align: center;
    padding: 30px 20px;
    margin-top: 50px;
}

/* Responsive */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 15px;
    }

    .logo {
        flex-direction: column;
        text-align: center;
    }

    .offer-content h2 {
        font-size: 32px;
    }

    .offer-slide {
        height: 300px;
    }

    .championships-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}