/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --text-color: #333;
    --bg-color: #f8f9fa;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --border-color: #ddd;
    --dark-gray: #666;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #e55e00;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background-color: #0069d9;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.breadcrumb {
    padding: 15px 0;
    background-color: #eee;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--secondary-color);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Header Styles */
.header-top {
    background-color: var(--secondary-color);
    color: white;
    padding: 8px 0;
    position: relative;
    z-index: 999;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.contact-info span {
    margin-right: 20px;
}

.social-links a {
    color: white;
    margin-left: 15px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

.main-header {
    background-color: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 10px 0;
}

.logo h1 a {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
}

.logo h1 a span {
    color: var(--primary-color);
}

.logo-image {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.logo-image.loaded {
    visibility: visible;
}

@media (max-width: 768px) {
    .logo-image {
        height: 50px;
    }
}

@media (max-width: 576px) {
    .logo-image {
        height: 45px;
    }
}

.search-bar {
    display: flex;
    width: 60%;
    min-width: 0;
}

.search-bar form {
    display: flex;
    width: 100%;
    min-width: 0;
}

.search-bar input {
    flex: 1;
    padding: 12px;
    border: 2px solid var(--primary-color);
    border-radius: 4px 0 0 4px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    min-width: 0;
    transition: border-color 0.3s ease;
}

.search-bar input:hover {
    border-color: var(--primary-color);
}

.search-bar input:focus {
    border-color: var(--primary-color);
    outline: none;
}

.search-bar button {
    padding: 12px 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: 'Poppins', sans-serif;
    white-space: nowrap;
}

.search-bar button:hover {
    background-color: #e55e00;
}

/* Styles pour le sélecteur de devise */
.header-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.currency-selector select {
    padding: 5px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
    font-size: 0.9rem;
    cursor: pointer;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.currency-selector select:hover {
    border-color: var(--primary-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.currency-selector select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(255, 107, 0, 0.2);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

@media (max-width: 768px) {
    .main-header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        padding: 10px 0;
    }
    
    .header-top .container {
        flex-direction: column;
        gap: 5px;
        padding: 5px 0;
    }
    
    .contact-info, .social-links {
        font-size: 0.8rem;
    }
    
    .contact-info span {
        margin-right: 10px;
    }
    
    .social-links a {
        margin-left: 10px;
    }
    
    .search-bar {
        width: 40%;
        min-width: 0;
    }
    
    .header-actions {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    /* Amélioration de l'apparence du sélecteur de devise sur mobile */
    .currency-selector select {
        padding: 4px 8px;
        font-size: 0.8rem;
        border: 1px solid #ddd;
        border-radius: 4px;
        background-color: white;
        margin: 0;
        width: auto;
        min-width: 65px;
        color: #333;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }
    
    .currency-selector select:hover {
        border-color: var(--primary-color);
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    }
    
    .currency-selector select:focus {
        outline: none;
        border-color: var(--primary-color);
        box-shadow: 0 0 0 2px rgba(255, 107, 0, 0.2);
    }
    
    .mobile-menu-toggle .dropdown-toggle {
        color: var(--text-color);
        font-size: 1.3rem;
        cursor: pointer;
        text-decoration: none;
        display: block;
        padding: 8px;
        border-radius: 4px;
        transition: background-color 0.3s ease;
        margin: 0;
    }
    
    .mobile-menu-toggle .dropdown-toggle:hover {
        background-color: var(--bg-color);
    }
    
    /* Masquer le sélecteur de devise dans le header-top sur mobile */
    .header-top .currency-selector {
        display: none;
    }
    
    /* Nouveau style pour le menu mobile en overlay */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: white;
        z-index: 9999;
        display: none;
        flex-direction: column;
    }
    
    .mobile-menu-overlay.active {
        display: flex;
    }
    
    .mobile-menu-header {
        background-color: #fff;
        padding: 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-shrink: 0;
    }
    
    .mobile-menu-logo .logo-image {
        height: 40px;
    }
    
    .mobile-menu-close a {
        color: white;
        font-size: 1.5rem;
        text-decoration: none;
        padding: 10px;
    }
    
    .mobile-menu-content {
        flex-grow: 1;
        overflow-y: auto;
    }
    
    .mobile-menu-items {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .mobile-menu-items li {
        border-bottom: 1px solid #eee;
    }
    
    .mobile-menu-items li:last-child {
        border-bottom: none;
    }
    
    .mobile-menu-items a {
        display: block;
        padding: 15px 20px;
        color: #333;
        text-decoration: none;
        font-size: 1.1rem;
        transition: background-color 0.3s ease;
    }
    
    .mobile-menu-items a:hover,
    .mobile-menu-items a.active {
        background-color: #f8f9fa;
        color: var(--primary-color);
    }
    
    .mobile-dropdown-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .mobile-submenu {
        background-color: #f8f9fa;
        display: none;
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .mobile-submenu.active {
        display: block;
    }
    
    .mobile-submenu a {
        padding: 12px 40px;
        font-size: 1rem;
    }
}

/* Sur desktop, masquer le sélecteur de devise dans header-actions */
@media (min-width: 769px) {
    .header-actions .currency-selector {
        display: none;
    }
}

/* ============================================
   NAVIGATION STYLES
   ============================================ */

/* Main Navigation */
.main-nav {
    background-color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    justify-content: center;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    display: block;
    color: white;
    padding: 15px 20px;
    transition: background-color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    background-color: var(--primary-color);
}

/* Desktop Navigation */
.desktop-nav {
    background-color: var(--secondary-color);
}

.desktop-nav .nav-menu {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.desktop-nav .nav-menu li {
    position: relative;
}

.desktop-nav .nav-menu a {
    display: block;
    color: white;
    padding: 15px 20px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.desktop-nav .nav-menu a:hover,
.desktop-nav .nav-menu a.active {
    background-color: var(--primary-color);
}

/* Desktop Dropdown */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    min-width: 200px;
    padding: 10px 0;
    margin: 0;
    font-size: 0.9rem;
    color: #333;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 0.375rem;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.175);
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    display: block;
    padding: 8px 20px;
    color: #212529;
    text-decoration: none;
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    background-color: #f8f9fa;
    color: var(--primary-color);
}

/* Mobile Menu Dropdown */
.mobile-menu-toggle .dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1000;
    display: none;
    min-width: 250px;
    padding: 10px 0;
    margin: 0;
    font-size: 0.9rem;
    color: #333;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 0.375rem;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.175);
}

.mobile-menu-toggle:hover .dropdown-menu {
    display: block;
}

.mobile-menu-toggle .dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    color: #212529;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.3s ease;
}

.mobile-menu-toggle .dropdown-menu li a:hover,
.mobile-menu-toggle .dropdown-menu li a.active {
    background-color: #f8f9fa;
    color: var(--primary-color);
}

/* Mobile Dropdown */
.mobile-dropdown {
    position: relative;
}

.mobile-dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-dropdown-menu {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: var(--bg-color);
}

.mobile-dropdown.active .mobile-dropdown-menu {
    display: block;
}

.mobile-dropdown-menu li a {
    padding: 12px 40px;
    font-size: 14px;
    color: var(--dark-gray);
}

.mobile-dropdown-menu li a:hover {
    background-color: var(--light-gray);
    color: var(--primary-color);
}

.mobile-menu-overlay {
    display: none;
}

.mobile-menu-overlay.active {
    display: flex;
}

/* Responsive Navigation */
@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://via.placeholder.com/1200x600?text=CongoMax+Boutique') center/cover;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

/* Responsive styles for hero section */
@media (max-width: 768px) {
    .hero {
        height: 50vh; /* Réduction de la hauteur sur mobile */
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* ============================================
   BANNER SLIDER SECTION
   ============================================ */
.banner-slider-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 40px;
}


.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Sections avec animation d'apparition */
.categories,
.products,
.testimonials,
.newsletter {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.categories {
    animation-delay: 0.2s;
}

.products {
    animation-delay: 0.4s;
}

.testimonials {
    animation-delay: 0.6s;
}

.newsletter {
    animation-delay: 0.8s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
    padding: 60px 0;
    background-color: white;
}

.features .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-box {
    text-align: center;
    padding: 30px 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-box i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-box h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* ============================================
   CATEGORIES SECTION
   ============================================ */
.categories {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (min-width: 768px) {
    .category-grid {
        gap: 30px;
    }
}

.category-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    background-color: white;
    text-align: center;
    padding: 30px 20px;
}

.category-card:hover {
    transform: scale(1.05);
}

.category-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.category-card h3 {
    position: relative;
    background-color: transparent;
    color: var(--text-color);
    padding: 0;
    text-align: center;
    font-size: 1.3rem;
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */
.products {
    padding: 60px 0;
    background-color: white;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    margin: 20px 0;
}

.no-results p {
    margin: 10px 0;
    color: #666;
}

.no-results p:first-child {
    font-size: 1.2rem;
    font-weight: 500;
    color: #333;
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--secondary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    z-index: 1;
}

.product-badge.sale {
    background-color: var(--primary-color);
}

.product-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    max-height: 300px;
}

/* Ensure consistent image styling for all product images */
img[src*="placeholder.com"],
img[src*="unsplash.com"] {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    max-height: 300px;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.price {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.old-price {
    text-decoration: line-through;
    color: var(--dark-gray);
    margin-right: 10px;
    font-size: 1rem;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding: 15px 20px;
    background-color: #f8f9fa;
    border-top: 1px solid #eee;
}

.product-footer .price {
    margin-bottom: 0;
    margin-top: 5px;
}

.btn-sm {
    padding: 8px 12px;
    font-size: 0.9rem;
}

/* Related Products */
.related-products {
    padding: 60px 0;
    background-color: #f8f9fa;
}

/* Banner Section */
.banner {
    position: relative;
    height: 60vh;
    overflow: hidden;
    width: 100%;
    display: block;
}

.banner-slider {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
    overflow: hidden;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.banner-slide.active {
    opacity: 1;
    z-index: 3;
}

.banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.banner-slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.banner-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
}

.banner-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.banner-content .btn {
    animation: fadeInUp 1s ease-out 0.6s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contrôles du carrousel */
.banner-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.banner-control:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.banner-control.prev {
    left: 20px;
}

.banner-control.next {
    right: 20px;
}

/* Indicateurs du carrousel */
.banner-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: white;
    transform: scale(1.2);
}

/* Responsive styles for banner section */
@media (max-width: 768px) {
    .banner {
        height: 50vh;
    }
    
    .banner-content h2 {
        font-size: 2rem;
    }
    
    .banner-content p {
        font-size: 1rem;
    }
    
    .banner-control {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .banner-control.prev {
        left: 10px;
    }
    
    .banner-control.next {
        right: 10px;
    }
}

@media (max-width: 576px) {
    .banner {
        height: 40vh;
    }
    
    .banner-content h2 {
        font-size: 1.8rem;
    }
    
    .banner-content p {
        font-size: 0.9rem;
    }
    
    .banner-indicators {
        bottom: 10px;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
}

/* Newsletter Section */
.newsletter {
    background-color: #f8f9fa;
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: transparent;
    opacity: 0.1;
    animation: rotate 20s linear infinite;
    z-index: 1;
}

.newsletter::after {
    content: "";
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: transparent;
    opacity: 0.1;
    animation: rotate 20s linear infinite reverse;
    z-index: 1;
}

.newsletter::before,
.newsletter::after {
    /* Création d'une animation d'enveloppes avec CSS pur */
    background-image: 
        radial-gradient(circle at 30% 30%, #ff6b00 0%, #ff6b00 10%, transparent 10%),
        radial-gradient(circle at 70% 30%, #ff6b00 0%, #ff6b00 10%, transparent 10%),
        radial-gradient(circle at 50% 70%, #ff6b00 0%, #ff6b00 15%, transparent 15%);
    background-size: 20px 20px;
    background-repeat: repeat;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.newsletter-content {
    position: relative;
    z-index: 2;
}

.newsletter-content h2 {
    margin-bottom: 15px;
    font-size: 2rem;
    color: #333;
}

.newsletter-content p {
    margin-bottom: 30px;
    color: #666;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px 15px 50px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    background-color: white;
}

.newsletter-form .email-icon {
    position: absolute;
    left: 20px;
    top: 20px;
    transform: translateY(0);
    color: #999;
    font-size: 1.2rem;
    z-index: 3;
}

.newsletter-form button {
    padding: 15px 30px;
    border: none;
    border-radius: 0 4px 4px 0;
    background-color: var(--primary-color);
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    z-index: 3;
    position: relative;
}

.newsletter-form button:hover {
    background-color: #e55e00;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: 4px;
        margin-bottom: 10px;
        padding: 15px 20px 15px 50px;
    }
    
    .newsletter-form .email-icon {
        left: 20px;
        top: 20px;
        transform: translateY(0);
    }
    
    .newsletter-form button {
        border-radius: 4px;
        padding: 15px;
    }
}

/* ============================================
   FOOTER STYLES
   ============================================ */
footer {
    background-color: #333;
    color: #fff;
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #444;
    position: relative;
    z-index: 2;
}

.footer-bottom p {
    color: #999;
    font-size: 0.9rem;
    animation: slide 3s ease-in-out infinite alternate;
}

@keyframes slide {
    0% {
        transform: translateX(-2px);
    }
    100% {
        transform: translateX(2px);
    }
}

/* Retirons l'animation de fond du footer */
footer::before,
footer::after {
    display: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    position: relative;
}

.footer-section h3::after,
.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-section p {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #ccc;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #444;
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ccc;
    transition: color 0.3s ease;
    text-decoration: none;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-section ul li i {
    margin-right: 10px;
    color: var(--primary-color);
}

/* ============================================
   PRODUCT DETAIL PAGE
   ============================================ */
.product-detail-container {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
}

.product-images {
    flex: 1;
}

.main-image {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.main-image img {
    width: 100%;
    height: auto;
    display: block;
}

.thumbnail-images {
    display: flex;
    gap: 15px;
}

.thumbnail-images img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.thumbnail-images img.active,
.thumbnail-images img:hover {
    border-color: var(--primary-color);
}

.product-info-detail {
    flex: 1;
}

.product-info-detail h1 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.product-info-detail .rating {
    margin-bottom: 20px;
}

.product-info-detail .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.old-price {
    text-decoration: line-through;
    color: var(--dark-gray);
    margin-right: 10px;
    font-size: 1.5rem;
}

.current-price {
    font-size: 2rem;
}

.product-meta {
    margin-bottom: 20px;
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.product-meta p {
    margin-bottom: 10px;
}

.in-stock {
    color: #28a745;
    font-weight: 500;
}

.product-description {
    margin-bottom: 30px;
    line-height: 1.8;
}

.product-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    align-items: center;
}

.quantity-selector {
    display: flex;
    align-items: center;
}

.qty-btn {
    width: 40px;
    height: 40px;
    background-color: #eee;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.qty-btn:hover {
    background-color: #ddd;
}

.quantity-selector input {
    width: 60px;
    height: 40px;
    text-align: center;
    border: 1px solid var(--border-color);
    border-left: none;
    border-right: none;
    font-size: 1rem;
}

.product-share {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.product-share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #eee;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.product-share a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Product Specifications */
.product-specifications {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 60px;
}

.product-specifications h2 {
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.product-specifications table {
    width: 100%;
    border-collapse: collapse;
}

.product-specifications td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
}

.product-specifications tr:last-child td {
    border-bottom: none;
}

.product-specifications td:first-child {
    width: 30%;
    font-weight: 500;
}

/* Related Products */
.related-products {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.page-header h1 {
    font-size: 1.5rem;
}

.sort-filter select {
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: white;
    font-size: 1rem;
}

/* Products Page */
.products-page {
    padding: 40px 0;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination a.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Styles pour les titres de page sur mobile */
@media (max-width: 576px) {
    .page-header h1 {
        font-size: 1.3rem;
    }
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4edf9 100%);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 107, 0, 0.05);
    z-index: 1;
}

.testimonials::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 107, 0, 0.03);
    z-index: 1;
}

.testimonial-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    z-index: 2;
}

.testimonial-slides {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial-slide {
    min-width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid rgba(255, 107, 0, 0.1);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.15);
}

.testimonial-card::before {
    content: '\"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 8rem;
    color: rgba(255, 107, 0, 0.08);
    font-family: Georgia, serif;
    line-height: 1;
    font-weight: bold;
}

.testimonial-card::after {
    content: '\"';
    position: absolute;
    bottom: 0;
    right: 30px;
    font-size: 8rem;
    color: rgba(255, 107, 0, 0.08);
    font-family: Georgia, serif;
    line-height: 1;
    font-weight: bold;
    transform: rotate(180deg);
}

.testimonial-content p {
    font-style: italic;
    color: #444;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.7;
    font-weight: 400;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

.author-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    box-shadow: 0 5px 15px rgba(var(--primary-color-rgb), 0.2);
    border: 3px solid white;
}

.author-avatar i {
    color: white;
    font-size: 1.8rem;
}

.author-info h4 {
    margin: 0;
    color: #333;
    font-weight: 700;
    font-size: 1.3rem;
}

.author-info p {
    margin: 5px 0 0 0;
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 500;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.carousel-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(var(--primary-color-rgb), 0.3);
    position: relative;
    overflow: hidden;
}

.carousel-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.carousel-btn:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 20px rgba(var(--primary-color-rgb), 0.4);
}

.carousel-btn:hover::before {
    transform: translateX(100%);
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 12px;
    position: relative;
    z-index: 2;
}

.indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.indicator.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transform: scale(1.2);
    box-shadow: 0 3px 8px rgba(var(--primary-color-rgb), 0.3);
}

/* ============================================
   CONTACT PAGE STYLES
   ============================================ */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .header-top {
        display: none;
    }
    
    .header-top .container {
        flex-direction: column;
        gap: 10px;
    }
    
    .search-bar {
        width: 100%;
        margin: 20px 0;
        order: 3;
        min-width: 0;
        padding: 0 10px;
        box-sizing: border-box;
    }
    
    .main-header .container {
        flex-wrap: wrap;
    }
    
    .header-icons {
        order: 2;
    }
    
    .hero {
        height: 30vh; /* Réduction de la hauteur sur mobile */
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 10px;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
        border-radius: 4px;
    }
    
    /* Styles pour la bannière */
    .banner {
        padding: 60px 0;
    }
    
    .product-detail-container {
        flex-direction: column;
    }
    
    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .category-card {
        padding: 20px 15px;
    }
    
    .category-icon {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    
    .category-card h3 {
        font-size: 1rem;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    /* Styles pour le footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .testimonial-card {
        padding: 20px;
    }
    
    .testimonial-card::before {
        font-size: 3rem;
    }
    
    /* Styles pour le carousel de témoignages */
    .testimonial-card {
        padding: 25px;
    }
    
    .testimonial-content p {
        font-size: 1.1rem;
    }
    
    .author-avatar {
        width: 60px;
        height: 60px;
    }
    
    .carousel-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .carousel-indicators {
        margin-top: 20px;
    }
}

@media (max-width: 576px) {
    /* Masquer complètement l'ancien menu nav */
    .nav-menu {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: relative;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .feature-box,
    .category-card,
    .product-card {
        margin-bottom: 20px;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .thumbnail-images {
        flex-wrap: wrap;
    }
    
    .product-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .summary-actions .btn {
        width: 100%;
    }
    
    .product-info-detail .price {
        font-size: 1.5rem;
    }
    
    .old-price {
        font-size: 1.2rem;
    }
    
    .current-price {
        font-size: 1.5rem;
    }
    
    .banner {
        padding: 40px 0;
    }
    
    .banner-content h2 {
        font-size: 1.8rem;
    }
    
    .banner-content p {
        font-size: 0.9rem;
    }
    
    .banner-content .btn {
        padding: 10px 20px;
        font-size: 1rem;
    }
    
    /* Styles pour le carousel de témoignages sur très petits écrans */
    .testimonial-card {
        padding: 20px 15px;
    }
    
    .testimonial-content p {
        font-size: 1rem;
    }
    
    .testimonial-card::before {
        font-size: 5rem;
    }
    
    .testimonial-card::after {
        font-size: 5rem;
    }
    
    .author-avatar {
        width: 50px;
        height: 50px;
    }
    
    .author-info h4 {
        font-size: 1.1rem;
    }
    
    .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .indicator {
        width: 12px;
        height: 12px;
    }
}

/* ============================================
   ABOUT PAGE STYLES
   ============================================ */
.about-content {
    padding: 60px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.about-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: #333;
}

.about-text h3 {
    font-size: 1.5rem;
    margin: 30px 0 15px;
    color: #333;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
    text-align: justify;
}

.about-text ul {
    list-style: none;
    padding: 0;
}

.about-text ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.about-text ul li i {
    color: var(--primary-color);
    margin-right: 10px;
    margin-top: 5px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.value-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    text-align: center;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.value-card h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #333;
}

.value-card p {
    color: #555;
    margin: 0;
    text-align: center;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 50px;
}

.mission, .vision {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.mission:hover, .vision:hover {
    transform: translateY(-5px);
}

.mission .icon, .vision .icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.mission h3, .vision h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.mission p, .vision p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

.team-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f9f9f9 0%, #f0f0f0 100%);
}

.team-section .section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.team-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), #ff8c42);
    border-radius: 2px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 20px;
}

.team-member {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    position: relative;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(to bottom, rgba(255, 107, 0, 0.1), transparent);
    transition: height 0.4s ease;
    z-index: 1;
}

.team-member:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.team-member:hover::before {
    height: 100%;
}

.member-image {
    height: 280px;
    overflow: hidden;
    position: relative;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member:hover .member-image img {
    transform: scale(1.1);
}

.member-info {
    padding: 25px 20px;
    position: relative;
    z-index: 2;
}

.team-member h3 {
    font-size: 1.4rem;
    margin: 0 0 8px 0;
    color: #333;
    transition: color 0.3s ease;
}

.team-member:hover h3 {
    color: var(--primary-color);
}

.team-member p {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 1.1rem;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.member-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f0f0;
    color: #666;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.member-social a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff8c42 100%);
    color: white;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Responsive Styles for About Page */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .mission-vision {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .mission, .vision {
        padding: 20px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .about-content {
        padding: 40px 0;
    }
    
    .about-text h2 {
        font-size: 1.8rem;
    }
}

/* Fin du fichier CSS */
/* Animation au défilement */
.scroll-animation {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-animation.animate {
    opacity: 1;
    transform: translateY(0);
}
