/* Variables de couleurs */
:root {
    --color-black: #1a1a1a;
    --color-dark-green: #2c3e2d;
    --color-light-orange: #ffa45c;
    --color-white: #ffffff;
    --color-light-gray: #f5f5f5;
    --color-medium-gray: #e0e0e0;
    --color-dark-gray: #555555;
    --color-error: #e74c3c;
    --color-success: #27ae60;
    
    --font-primary: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --transition-speed: 0.3s;
    --border-radius: 4px;
    --section-radius: 12px;
    --card-radius: 8px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --section-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/* Réinitialisation et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--color-black);
    background-color: var(--color-light-gray);
}

a {
    text-decoration: none;
    color: var(--color-dark-green);
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--color-light-orange);
}

img {
    max-width: 100%;
    height: auto;
}

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

/* Boutons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    border: none;
}

.btn-primary {
    background-color: var(--color-dark-green);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-black);
    color: var(--color-white);
}

.btn-add-cart {
    background-color: var(--color-light-orange);
    color: var(--color-black);
    padding: 8px 15px;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    font-weight: 600;
}

.btn-add-cart:hover {
    background-color: var(--color-black);
    color: var(--color-white);
}

/* En-tête */
.site-header {
    background-color: var(--color-white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    padding-bottom: 20px;
}

.header-top {
    padding: 20px 0;
    position: relative;
}

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

.logo img {
    max-height: 65px;
    transition: transform 0.3s ease;
}

.logo a:hover img {
    transform: scale(1.03);
}

.search-bar {
    flex-grow: 1;
    max-width: 500px;
    margin: 0 30px;
    position: relative;
}

.search-bar form {
    display: flex;
    position: relative;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.search-bar form:focus-within {
    box-shadow: 0 5px 15px rgba(44, 62, 45, 0.1);
    transform: translateY(-2px);
}

.search-bar input {
    flex-grow: 1;
    padding: 14px 20px;
    border: 1px solid var(--color-medium-gray);
    border-radius: 50px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: var(--color-white);
    width: 100%;
}

.search-bar input:focus {
    border-color: var(--color-dark-green);
    outline: none;
    background-color: var(--color-white);
}

.search-bar button {
    background-color: var(--color-dark-green);
    color: var(--color-white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    position: absolute;
    right: 0;
    top: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 8px rgba(44, 62, 45, 0.2);
}

.search-bar button:hover {
    background-color: var(--color-light-orange);
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(44, 62, 45, 0.25);
}

.search-bar button i {
    font-size: 1rem;
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: flex-end;
}

.user-actions a,
.user-actions .user-menu > a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--color-dark-green);
    font-weight: 500;
    padding: 10px 14px;
    border-radius: 50px;
    transition: all 0.3s ease;
    background-color: rgba(44, 62, 45, 0.03);
    border: 1px solid transparent;
}

.user-actions a:hover,
.user-actions .user-menu > a:hover {
    background-color: rgba(44, 62, 45, 0.07);
    transform: translateY(-2px);
    border-color: rgba(44, 62, 45, 0.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.user-actions a i,
.user-actions .user-menu > a i {
    font-size: 1.1rem;
    margin-right: 10px;
    color: var(--color-light-orange);
    transition: all 0.3s ease;
}

.user-actions a span,
.user-actions .user-menu > a span {
    font-size: 0.95rem;
    font-weight: 600;
}

.cart {
    position: relative;
    padding: 10px 16px !important;
    border: 1px solid rgba(44, 62, 45, 0.1) !important;
    border-radius: 50px !important;
    display: flex;
    align-items: center;
    background-color: rgba(255, 164, 92, 0.07) !important;
}

.cart:hover {
    border-color: var(--color-light-orange) !important;
    box-shadow: 0 6px 12px rgba(255, 164, 92, 0.1) !important;
    background-color: rgba(255, 164, 92, 0.12) !important;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--color-light-orange);
    color: white;
    font-size: 0.75rem;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border: 2px solid white;
}

/* Navigation principale */
.main-nav {
    background: linear-gradient(to right, var(--color-dark-green), #263c2a);
    position: relative;
    overflow: hidden;
    border-radius: var(--section-radius);
    margin: 0 15px 15px;
}

.main-nav::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 30%;
    background: linear-gradient(to left, rgba(255, 164, 92, 0.08), transparent);
    z-index: 1;
    pointer-events: none;
}

.main-nav .container {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.nav-menu {
    display: flex;
    list-style: none;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-menu li {
    position: relative;
}

.nav-menu li a {
    display: flex;
    align-items: center;
    padding: 20px 25px;
    color: var(--color-white);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: var(--color-light-orange);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 3px 3px 0 0;
}

.nav-menu li a:hover::after {
    width: 70%;
}

.nav-menu li a i {
    margin-right: 10px;
    font-size: 1rem;
    color: var(--color-light-orange);
    transition: all 0.3s ease;
}

.nav-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--color-light-orange);
}

.nav-menu li a:hover i {
    transform: translateY(-2px);
}

.nav-menu li.active a {
    color: var(--color-light-orange);
    background-color: rgba(255, 255, 255, 0.08);
}

.nav-menu li.active a::after {
    width: 70%;
}

.nav-menu li.active a i {
    transform: translateY(-2px);
}

.dropdown-icon {
    margin-left: 6px;
    font-size: 0.7rem;
    opacity: 0.7;
}

.dropdown:hover .submenu {
    display: block;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-white);
    min-width: 200px;
    box-shadow: var(--box-shadow);
    z-index: 100;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    list-style: none;
}

.submenu li a {
    color: var(--color-black);
    padding: 10px 15px;
}

.submenu li a:hover {
    background-color: var(--color-light-gray);
    color: var(--color-dark-green);
}

/* User menu styles améliorés */
.user-menu {
    position: relative;
}

.user-menu .submenu {
    position: absolute;
    top: calc(100% + 2px);
    right: 0;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 0px 0;
    min-width: 220px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.4s ease;
    pointer-events: none;
}

.user-menu > a::after {
    content: "\f107"; /* Icône flèche bas FontAwesome */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: 5px;
    font-size: 0.8rem;
    opacity: 0.7;
    transition: transform 0.3s;
}

.user-menu:hover > a::after {
    transform: rotate(180deg);
}

/* Ajout d'une zone tampon invisible pour faciliter le passage de la souris */
.user-menu::after {
    content: "";
    position: absolute;
    height: 20px; /* Zone tampon sous le menu principal */
    width: 100%;
    bottom: -20px;
    left: 0;
}

.user-menu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto; /* Réactiver les événements de pointeur quand visible */
}

/* Ajouter une marge inférieure au dernier élément pour éviter que le menu ne disparaisse */
.user-menu .submenu::after {
    content: "";
    display: block;
    height: 10px;
}

.user-menu .submenu li {
    list-style: none;
}

.user-menu .submenu li a {
    display: flex;
    align-items: center;
    padding: 12px 15px; /* Augmenter la hauteur des éléments pour faciliter le clic */
    color: var(--color-black) !important;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    position: relative;
    background-color: var(--color-white) !important;
    white-space: nowrap; /* Empêcher le texte de se couper */
    border-radius: 0 !important;
}

.user-menu .submenu li a:hover {
    background-color: rgba(44, 62, 45, 0.05);
    color: var(--color-dark-green) !important;
}

.user-menu .submenu li a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
    color: var(--color-dark-green) !important;
}

/* Messages flash */
.flash-message {
    padding: 12px 0;
    color: var(--color-white);
    position: relative;
}

.flash-message.success {
    background-color: var(--color-success);
}

.flash-message.error {
    background-color: var(--color-error);
}

.flash-message.info {
    background-color: var(--color-dark-green);
}

.flash-message .close-btn {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 1.2rem;
    cursor: pointer;
}

/* Bannière principale améliorée */
.hero-banner-enhanced {
    position: relative;
    height: 680px;
    margin: 30px auto 50px;
    width: 100%;
    max-width: 1560px;
    border-radius: var(--section-radius);
    overflow: hidden;
    display: flex;
    align-items: center;
    background: url('assets/img/bg.jpg') no-repeat center center;
    background-size: cover;
    box-shadow: var(--section-shadow);
    z-index: 1;
}

.hero-content {
    max-width: 600px;
    padding: 40px;
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    border-radius: 8px;
    margin-left: 60px;
    border-left: 4px solid var(--color-light-orange);
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    opacity: 0.9;
    font-weight: 300;
    line-height: 1.6;
}

.hero-content .btn {
    padding: 14px 28px;
    font-size: 1.1rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-content .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.hero-content .btn i {
    font-size: 1.2rem;
}

/* Style pour la section de présentation */
.presentation-section {
    background-color: var(--color-white);
    padding: 60px 40px;
    margin-bottom: 50px;
    text-align: center;
    border-radius: var(--section-radius);
    box-shadow: var(--section-shadow);
}

/* Sections communes */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--color-light-orange);
}

.view-all {
    font-weight: 600;
    color: var(--color-dark-green);
    display: flex;
    align-items: center;
}

.view-all:hover {
    color: var(--color-light-orange);
}

.view-all::after {
    content: '\f054';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: 5px;
    font-size: 0.75rem;
}

/* Grille des catégories */
.categories-section {
    margin-bottom: 50px;
    background-color: var(--color-white);
    padding: 40px 30px;
    border-radius: var(--section-radius);
    box-shadow: var(--section-shadow);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.category-card {
    display: block;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    background-color: var(--color-white);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.category-image {
    height: 220px;
    overflow: hidden;
    position: relative;
    transform: none;
    transform: scale(1.05);
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.08);
}

.category-card h3 {
    padding: 15px;
    text-align: center;
    color: var(--color-black);
    font-weight: 600;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Grille des produits */
.featured-products {
    margin-bottom: 50px;
    background-color: var(--color-white);
    padding: 40px 30px;
    border-radius: var(--section-radius);
    box-shadow: var(--section-shadow);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.product-card {
    background-color: var(--color-white);
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.product-image {
    height: 240px;
    overflow: hidden;
    position: relative;
    background-color: #f8f8f8;
}

.product-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.5s ease;
    padding: 10px;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.product-info-top {
    margin-bottom: 15px;
}

.product-category {
    display: block;
    color: var(--color-dark-gray);
    font-size: 0.85rem;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-info h3 {
    margin-bottom: 8px;
}

.product-info h3 a {
    color: var(--color-black);
    font-size: 1.1rem;
    transition: color var(--transition-speed) ease;
}

.product-info h3 a:hover {
    color: var(--color-dark-green);
}

.product-price {
    display: block;
    font-weight: 700;
    color: var(--color-dark-green);
    font-size: 1.2rem;
}

/* Section des clubs partenaires - Design amélioré */
.teams-section {
    margin-bottom: 50px;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.98) 0%, rgba(44, 62, 45, 0.95) 100%);
    padding: 70px 40px;
    color: var(--color-white);
    position: relative;
    border-radius: var(--section-radius);
    box-shadow: var(--section-shadow);
    overflow: hidden;
}

.teams-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCI+CjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0iIzJjM2UyZCI+PC9yZWN0Pgo8Y2lyY2xlIGN4PSIzLjUiIGN5PSIzLjUiIHI9IjEuNSIgZmlsbD0iIzMxNDUzMyI+PC9jaXJjbGU+Cjwvc3ZnPg==');
    opacity: 0.05;
    z-index: 0;
}

.teams-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--color-light-orange);
    z-index: 1;
}

.teams-section .container {
    position: relative;
    z-index: 2;
}

.teams-section .section-header {
    margin-bottom: 40px;
    position: relative;
}

.teams-section .section-header h2 {
    color: var(--color-white);
    font-size: 2.2rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.teams-section .section-header h2::after {
    background-color: var(--color-light-orange);
    width: 70px;
    height: 3px;
    left: 0;
}

.teams-section .view-all {
    color: var(--color-light-orange);
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 30px;
    border: 1px solid rgba(255, 164, 92, 0.3);
    transition: all 0.3s ease;
}

.teams-section .view-all:hover {
    color: var(--color-white);
    background-color: rgba(255, 164, 92, 0.2);
    border-color: var(--color-light-orange);
    transform: translateY(-2px);
}

.teams-intro {
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.15rem;
    line-height: 1.7;
    font-weight: 300;
}

.clubs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

/* Style des cartes de club sur la page d'accueil */
.club-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--card-radius);
    overflow: hidden;
    transition: all 0.4s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

.club-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--color-light-orange), transparent);
    opacity: 0;
    transition: all 0.4s ease;
}

.club-item:hover {
    transform: translateY(-8px);
    background-color: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.club-item:hover::before {
    opacity: 1;
}

.club-header {
    padding: 30px 20px 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.club-logo {
    width: 110px;
    height: 110px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-white);
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    margin-left: auto;
    margin-right: auto;
    border: 2px solid var(--color-light-orange);
    overflow: hidden;
    position: relative;
    transition: all 0.4s ease;
}

.club-item:hover .club-logo {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 164, 92, 0.2);
}

.club-logo img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    border-radius: 50%;
    transition: all 0.4s ease;
}

.club-item:hover .club-logo img {
    transform: scale(1.1);
}

.club-name {
    color: var(--color-white);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.club-item:hover .club-name {
    color: var(--color-light-orange);
}

.club-footer {
    padding: 5px 20px 30px;
}

.club-link {
    display: inline-block;
    background-color: var(--color-light-orange);
    color: var(--color-black);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 164, 92, 0.15);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.club-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    z-index: -1;
}

.club-link:hover {
    background-color: var(--color-white);
    color: var(--color-black);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 164, 92, 0.25);
}

.club-link:hover::before {
    left: 100%;
}

.club-link i {
    margin-right: 8px;
    transition: all 0.3s ease;
}

.club-link:hover i {
    transform: translateX(-3px);
}

@media (max-width: 768px) {
    .teams-section {
        padding: 50px 20px;
    }
    
    .clubs-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 20px;
    }
    
    .club-logo {
        width: 90px;
        height: 90px;
    }
    
    .club-name {
        font-size: 1.1rem;
    }
    
    .club-link {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
}

/* Pied de page */
.site-footer {
    background-color: var(--color-black);
    color: rgba(255, 255, 255, 0.7);
    margin-top: 50px;
}

.footer-top {
    padding: 60px 0;
}

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

.footer-column h3 {
    color: var(--color-white);
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color-light-orange);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-speed) ease;
}

.footer-links a:hover {
    color: var(--color-light-orange);
}

address p {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

address p i {
    margin-right: 10px;
    color: var(--color-light-orange);
}

.social-links {
    margin-top: 20px;
    display: flex;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    border-radius: 50%;
    margin-right: 10px;
    transition: background-color var(--transition-speed) ease;
}

.social-links a:hover {
    background-color: var(--color-light-orange);
    color: var(--color-black);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 20px 0;
}

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

.footer-legal {
    list-style: none;
    display: flex;
}

.footer-legal li {
    margin-left: 20px;
    position: relative;
}

.footer-legal li:not(:last-child):after {
    content: '•';
    position: absolute;
    right: -15px;
    color: rgba(255, 255, 255, 0.3);
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-legal a:hover {
    color: var(--color-light-orange);
}

/* Auth forms styles */
.auth-container {
    max-width: 500px;
    margin: 50px auto;
    padding: 30px;
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--color-black);
}

.auth-header p {
    color: var(--color-dark-gray);
}

.auth-form {
    margin-top: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--color-black);
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--color-medium-gray);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: border-color var(--transition-speed) ease;
}

.form-group input:focus {
    border-color: var(--color-dark-green);
    outline: none;
}

.form-group .help-block {
    color: var(--color-error);
    font-size: 0.9rem;
    margin-top: 5px;
}

.auth-submit-btn {
    background-color: var(--color-dark-green);
    color: var(--color-white);
    border: none;
    padding: 12px 0;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color var(--transition-speed) ease;
    width: 100%;
    margin-top: 10px;
}

.auth-submit-btn:hover {
    background-color: var(--color-black);
}

.auth-links {
    margin-top: 20px;
    text-align: center;
}

.auth-links a {
    color: var(--color-dark-green);
    text-decoration: underline;
}

.auth-links a:hover {
    color: var(--color-light-orange);
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 30px 0;
    color: var(--color-dark-gray);
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex-grow: 1;
    height: 1px;
    background-color: var(--color-medium-gray);
}

.auth-divider span {
    padding: 0 15px;
}

/* Alerts */
.alert {
    padding: 12px 15px;
    margin-bottom: 20px;
    border-radius: var(--border-radius);
    color: var(--color-white);
    font-weight: 600;
}

.alert-danger {
    background-color: var(--color-error);
}

.alert-success {
    background-color: var(--color-success);
}

.alert-info {
    background-color: var(--color-dark-green);
}

.success-message {
    padding: 15px;
    background-color: rgba(39, 174, 96, 0.1);
    color: var(--color-success);
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    font-weight: 600;
}

/* Media Queries pour Responsive */
@media (max-width: 992px) {
    .header-top .container {
        flex-wrap: wrap;
    }
    
    .search-bar {
        order: 3;
        width: 100%;
        max-width: 100%;
        margin: 15px 0 0;
    }
    
    .hero-banner-enhanced {
        height: 500px;
        margin: 20px 15px 50px;
    }
    
    .hero-content {
        margin-left: 30px;
        max-width: 500px;
        padding: 30px;
    }
    
    .hero-content h1 {
        font-size: 2.4rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: linear-gradient(to right, #1a1a1a, #272727);
        z-index: 1000;
        transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        padding-top: 60px;
        overflow-y: auto;
        box-shadow: 5px 0 25px rgba(0, 0, 0, 0.3);
        border: none;
    }
    
    .main-nav::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 5px;
        height: 100%;
        background: linear-gradient(to bottom, var(--color-light-orange), var(--color-dark-green));
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .main-nav .container {
        padding: 0;
        width: 100%;
        max-width: none;
        flex-direction: column;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu li a {
        padding: 15px 20px;
        width: 100%;
        justify-content: flex-start;
    }

    .nav-menu li a::after {
        display: none;
    }
    
    .nav-menu li a:hover {
        background-color: var(--color-dark-green);
        color: var(--color-white);
        padding-left: 25px;
    }

    .submenu {
        position: static;
        width: 100%;
        box-shadow: none;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding-left: 20px;
        background-color: rgba(255, 255, 255, 0.05);
        border-radius: 0;
    }
    
    .submenu li a {
        color: var(--color-white);
        opacity: 0.8;
        padding: 12px 20px;
    }
    
    .dropdown:hover .submenu {
        display: none;
    }
    
    .dropdown.open .submenu {
        display: block;
        animation: fadeIn 0.3s ease forwards;
    }
    
    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .hero-banner-enhanced {
        height: auto;
        padding: 60px 0;
    }
    
    .hero-content {
        margin: 0 auto;
        width: 90%;
    }
    
    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        margin-top: 15px;
        justify-content: center;
    }
    
    .footer-legal li:first-child {
        margin-left: 0;
    }
    
    .user-actions {
        gap: 10px;
    }
    
    .user-actions a span,
    .user-actions .user-menu > a span {
        display: none;
    }
    
    .user-actions a i,
    .user-actions .user-menu > a i {
        margin-right: 0;
        font-size: 1.3rem;
    }
    
    /* Masquer complètement le sous-menu sur mobile */
    .user-menu .submenu {
        display: none !important;
    }
    
    /* Ajuster le style du bouton compte sur mobile */
    .user-actions .user-menu > a {
        padding: 10px;
        border-radius: 50%;
        background-color: rgba(44, 62, 45, 0.03);
        border: 1px solid rgba(44, 62, 45, 0.1);
    }
    
    .user-actions .user-menu > a:hover {
        background-color: rgba(44, 62, 45, 0.07);
        transform: translateY(-2px);
    }
    
    /* Supprimer la flèche du menu sur mobile */
    .user-menu > a::after {
        display: none;
    }
}

/* Styles spécifiques pour les très petits écrans */
@media (max-width: 360px) {
    .user-menu .submenu {
        right: -20px; /* Décalage supplémentaire pour éviter la coupure */
        max-width: 250px;
    }
}

/* Menu mobile */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-dark-gray);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    margin-left: 15px;
    transition: color 0.2s ease;
    position: relative;
    z-index: 1001;
}

.mobile-menu-toggle:hover, 
.mobile-menu-toggle.active {
    color: var(--color-dark-green);
}

/* Section des chiffres clés */
.key-figures-section {
    margin: 50px 0;
    position: relative;
}

.key-figures-container {
    background-color: var(--color-dark-green);
    color: var(--color-white);
    border-radius: var(--section-radius);
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--section-shadow);
}

.key-figures-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 6px;
    background-color: var(--color-light-orange);
}

.key-figures-header {
    margin-bottom: 30px;
    text-align: center;
}

.key-figures-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.key-figures-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--color-light-orange);
}

.key-figures-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.key-figures-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.key-figures-text + .key-figures-text {
    position: relative;
}

.key-figures-text + .key-figures-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: -20px;
    height: 100%;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.2);
}

.key-figures-counter {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    flex-wrap: wrap;
    gap: 40px;
}

.counter-item {
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.counter-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-light-orange);
    line-height: 1;
    margin-bottom: 10px;
}

.counter-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 992px) {
    .key-figures-counter {
        gap: 30px;
    }
    
    .counter-item {
        min-width: 130px;
    }
    
    .counter-value {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .key-figures-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .key-figures-text + .key-figures-text::before {
        display: none;
    }
    
    .key-figures-counter {
        gap: 20px;
    }
    
    .counter-item {
        flex-basis: calc(50% - 20px);
    }
}

@media (max-width: 576px) {
    .key-figures-container {
        padding: 40px 20px;
    }
    
    .key-figures-title {
        font-size: 1.8rem;
    }
    
    .key-figures-text {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .counter-value {
        font-size: 2.2rem;
    }
}

/* Styles pour la section Showroom */
.showroom-section {
    background-color: var(--color-white);
    padding: 70px 40px;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
    border-radius: var(--section-radius);
    box-shadow: var(--section-shadow);
}

/* Styles pour la section de témoignages */
.testimonials-section {
    background-color: var(--color-dark-green);
    padding: 80px 40px;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
    color: var(--color-white);
    border-radius: var(--section-radius);
    box-shadow: var(--section-shadow);
}

/* Style pour l'état vide */
.empty-state {
    text-align: center;
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--card-radius);
    margin: 30px auto;
    max-width: 800px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.empty-state i {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
}

.empty-state h2 {
    color: var(--color-white);
    margin-bottom: 15px;
    font-size: 1.6rem;
}

.empty-state p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 500px;
    margin: 0 auto;
}

@media (max-width: 576px) {
    .categories-grid,
    .products-grid,
    .clubs-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }
    
    .category-image {
        height: 180px;
    }
    
    .product-image {
        height: 200px;
    }
    
    .category-card h3 {
        font-size: 1rem;
        padding: 12px 10px;
    }
    
    .product-info h3 a {
        font-size: 1rem;
    }
    
    .product-info {
        padding: 12px;
    }
    
    .hero-banner-enhanced {
        margin: 15px 10px 40px;
        padding: 40px 0;
    }
    
    .hero-content {
        padding: 25px;
        width: calc(100% - 30px);
        margin: 0 15px;
        text-align: center;
        border-left: none;
        border-bottom: 4px solid var(--color-light-orange);
    }
    
    .hero-content h1 {
        font-size: 1.9rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-content .btn {
        width: 100%;
        justify-content: center;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .section-header .view-all {
        margin-top: 10px;
    }
}

@media (max-width: 420px) {
    .mobile-menu-toggle {
        padding: 8px;
        font-size: 1.8rem;
        margin-left: 5px;
    }
    
    .user-actions {
        margin-left: auto;
    }
    
    .main-nav {
        width: 260px;
    }
} 

