/* Styles de compatibilité cross-browser */
/* Assure la compatibilité avec Chrome, Firefox, Safari, Edge et Internet Explorer */

/* Reset CSS amélioré pour tous les navigateurs */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: Arial, sans-serif;
    background-color: white;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Header horizontal */
.header {
    background-color: #212121;
    color: white;
    padding: 1rem 2rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.header-logo {
    height: 40px;
    width: auto;
    display: block;
}

/* Colonne verticale côté gauche */
.sidebar {
    background-color: #212121;
    color: white;
    width: 200px;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 60px; /* Hauteur du header */
    padding: 2rem 1rem;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
    -webkit-transition: -webkit-transform 0.3s ease;
    -moz-transition: -moz-transform 0.3s ease;
    -o-transition: transform 0.3s ease;
    transition: transform 0.3s ease;
}

.sidebar h2 {
    margin-bottom: 2rem;
    font-size: 1.3rem;
    border-bottom: 2px solid #555;
    padding-bottom: 0.5rem;
}

.sidebar ul {
    list-style: none;
}

.sidebar li {
    margin-bottom: 1rem;
}

.sidebar a {
    color: #ccc;
    text-decoration: none;
    display: block;
    padding: 0.5rem;
    border-radius: 4px;
    -webkit-transition: background-color 0.3s, color 0.3s;
    -moz-transition: background-color 0.3s, color 0.3s;
    -o-transition: background-color 0.3s, color 0.3s;
    transition: background-color 0.3s, color 0.3s;
}

.sidebar a:hover {
    background-color: #555;
    color: white;
}

.sidebar a.active {
    background-color: #212121;
    color: white;
    border-left: 3px solid white;
    padding-left: calc(0.5rem - 3px);
}

/* Sélecteur de langue */
.language-selector {
    margin: 2rem 0;
    padding-top: 1rem;
    border-top: 1px solid #555;
}

.language-selector h3 {
    margin-bottom: 1rem;
    color: white;
    font-size: 1rem;
    font-weight: bold;
}

.flag-container {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.flag-btn {
    background: none;
    border: 2px solid #555;
    border-radius: 8px;
    padding: 0.5rem;
    cursor: pointer;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    min-width: 50px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flag-btn svg {
    width: 24px;
    height: 18px;
    display: block;
}

.flag-btn:hover {
    border-color: #888;
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
}

.flag-btn.active {
    border-color: white;
    background-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .language-selector h3 {
    color: #ccc;
}

body.dark-mode .flag-btn {
    border-color: #666;
}

body.dark-mode .flag-btn:hover {
    border-color: #999;
}

body.dark-mode .flag-btn.active {
    border-color: #ccc;
    background-color: rgba(204, 204, 204, 0.1);
}

/* Contenu principal */
.main-content {
    margin-left: 200px;
    padding-top: 60px;
    min-height: 100vh;
    background-color: white;
    -webkit-transition: background-color 0.3s ease;
    -moz-transition: background-color 0.3s ease;
    -o-transition: background-color 0.3s ease;
    transition: background-color 0.3s ease;
}

/* Section Hero */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    -webkit-filter: brightness(0.7);
    -moz-filter: brightness(0.7);
    filter: brightness(0.7);
}

.hero-text {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 2rem;
    -webkit-animation: fadeInUp 1s ease-out;
    -moz-animation: fadeInUp 1s ease-out;
    -o-animation: fadeInUp 1s ease-out;
    animation: fadeInUp 1s ease-out;
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    letter-spacing: 2px;
}

@-webkit-keyframes fadeInUp {
    from {
        opacity: 0;
        -webkit-transform: translateY(30px);
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@-moz-keyframes fadeInUp {
    from {
        opacity: 0;
        -moz-transform: translateY(30px);
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        -moz-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        -webkit-transform: translateY(30px);
        -moz-transform: translateY(30px);
        -ms-transform: translateY(30px);
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
    }
}

.discover-btn {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    cursor: pointer;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.discover-btn:hover {
    background-color: white;
    color: #212121;
    -webkit-transform: translateY(-2px);
    -moz-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/* Sections générales */
.about-section {
    padding: 4rem 2rem;
    background-color: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #212121;
    position: relative;
    font-weight: bold;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #212121;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #333;
}

.logos-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.logo-item {
    height: 60px;
    width: auto;
    -webkit-transition: -webkit-transform 0.3s ease;
    -moz-transition: -moz-transform 0.3s ease;
    -o-transition: transform 0.3s ease;
    transition: transform 0.3s ease;
}

.logo-item:hover {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}

.logo-item.iris-logo {
    height: 50px;
}

.separator-bar {
    height: 4px;
    background: linear-gradient(90deg, #212121, #555, #212121);
    margin: 2rem 0;
    border-radius: 2px;
    -webkit-box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    -moz-box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.separator-bar.projects-separator {
    background: linear-gradient(90deg, #212121, #888, #212121);
    height: 6px;
    margin: 3rem 0;
}

.separator-bar.portfolio-separator {
    background: linear-gradient(90deg, #212121, #aaa, #212121);
    height: 8px;
    margin: 4rem 0;
}

/* Section Projets */
.projects-section {
    padding: 4rem 2rem;
    background-color: #f8f9fa;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project-box {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    -webkit-transition: -webkit-transform 0.3s ease, box-shadow 0.3s ease;
    -moz-transition: -moz-transform 0.3s ease, box-shadow 0.3s ease;
    -o-transition: transform 0.3s ease, box-shadow 0.3s ease;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-box:hover {
    -webkit-transform: translateY(-5px);
    -moz-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.project-box h3 {
    color: #212121;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.project-box p {
    color: #666;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.progress-bar {
    background-color: #e9ecef;
    height: 20px;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 1rem;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #28a745, #20c997);
    border-radius: 10px;
    -webkit-transition: width 0.3s ease;
    -moz-transition: width 0.3s ease;
    -o-transition: width 0.3s ease;
    transition: width 0.3s ease;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Section Boutique */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    -webkit-transition: -webkit-transform 0.3s ease, box-shadow 0.3s ease;
    -moz-transition: -moz-transform 0.3s ease, box-shadow 0.3s ease;
    -o-transition: transform 0.3s ease, box-shadow 0.3s ease;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    -webkit-transform: translateY(-5px);
    -moz-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.product-image {
    position: relative;
    height: 250px;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-info {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #212121;
    margin-bottom: 0.5rem;
}

.product-description {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.product-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #28a745;
    margin-bottom: 1rem;
}

.order-btn {
    background-color: #212121;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    -webkit-transition: background-color 0.3s ease;
    -moz-transition: background-color 0.3s ease;
    -o-transition: background-color 0.3s ease;
    transition: background-color 0.3s ease;
    width: 100%;
}

.order-btn:hover {
    background-color: #333;
}

/* Carousel d'images */
.image-carousel {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 8px;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 14px;
}

.image-carousel .product-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    -webkit-transition: opacity 0.3s ease;
    -moz-transition: opacity 0.3s ease;
    -o-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
    display: block;
    z-index: 2;
    background-color: white;
}

.image-carousel .product-img.active {
    opacity: 1;
    display: block;
    z-index: 3;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    background-color: rgba(33, 33, 33, 0.8);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background-color: rgba(33, 33, 33, 1);
    -webkit-transform: translateY(-50%) scale(1.1);
    -moz-transform: translateY(-50%) scale(1.1);
    -ms-transform: translateY(-50%) scale(1.1);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn:active {
    -webkit-transform: translateY(-50%) scale(0.95);
    -moz-transform: translateY(-50%) scale(0.95);
    -ms-transform: translateY(-50%) scale(0.95);
    transform: translateY(-50%) scale(0.95);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.fallback-text {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    color: #666;
    font-size: 14px;
    z-index: 1;
    pointer-events: none;
}

/* Réseaux sociaux */
.social-links {
    margin-top: 2rem;
    padding-top: 0.5rem;
    border-top: 1px solid #444;
    margin-bottom: 0.5rem;
}

.social-links h3 {
    color: white;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.social-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.social-links li {
    margin: 0;
}

.social-link {
    display: block;
    color: #ccc;
    text-decoration: none;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    text-align: center;
}

.social-link svg {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: white;
    padding-left: 0.5rem;
}

.social-link.instagram:hover {
    color: #E4405F;
}

.social-link.linkedin:hover {
    color: #0077B5;
}

.social-link.youtube:hover {
    color: #FF0000;
}



/* Mode sombre - Interrupteur */
.dark-mode-toggle {
    margin-top: 1rem;
    padding: 0.5rem;
    border-top: 1px solid #444;
}

.toggle-btn {
    background: none;
    border: 2px solid #ccc;
    border-radius: 20px;
    width: 50px;
    height: 30px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
}

.toggle-btn:hover {
    border-color: #fff;
    color: #fff;
}

.toggle-btn::before {
    content: '';
    position: absolute;
    left: 2px;
    width: 22px;
    height: 22px;
    background: #ccc;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.toggle-btn.dark::before {
    left: 24px;
    background: #333;
}

.sun-icon {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.moon-icon {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.toggle-btn.dark .sun-icon {
    opacity: 0;
}

.toggle-btn.dark .moon-icon {
    opacity: 1;
}

/* Mode sombre - Styles */
body.dark-mode {
    background-color: #1a1a1a;
    color: #fff;
}

body.dark-mode .header {
    background-color: #000;
}

body.dark-mode .sidebar {
    background-color: #000;
}

body.dark-mode .sidebar a {
    color: #ccc;
}

body.dark-mode .sidebar a:hover,
body.dark-mode .sidebar a.active {
    color: #fff;
}

body.dark-mode .hero-text {
    color: #fff;
}

body.dark-mode .main-content {
    background-color: #1a1a1a;
}

body.dark-mode .about-section {
    background-color: #1a1a1a;
}

body.dark-mode .projects-section {
    background-color: #1a1a1a;
}

body.dark-mode .boutique-section {
    background-color: #1a1a1a;
}

body.dark-mode .section-title {
    color: #45aaf2;
}

body.dark-mode .section-title::after {
    background-color: #45aaf2;
}

body.dark-mode .about-text {
    color: #ccc;
}

body.dark-mode .project-box {
    background-color: #2a2a2a;
    border: 1px solid #444;
}

body.dark-mode .project-box:hover {
    border-color: #000;
}

body.dark-mode .project-box h3 {
    color: #fff;
}

body.dark-mode .project-box p {
    color: #fff;
}

body.dark-mode .progress-text {
    color: #fff;
}

body.dark-mode .progress-fill {
    background-color: #45aaf2;
}

body.dark-mode .product-card {
    background-color: transparent;
    border: 1px solid #444;
}

body.dark-mode .product-card:hover {
    border-color: #000;
}

body.dark-mode .product-title {
    color: #fff;
}

body.dark-mode .product-description {
    color: #ccc;
}

body.dark-mode .product-price {
    color: #fff;
}

body.dark-mode .order-btn {
    background-color: #45aaf2;
    color: #fff;
}

body.dark-mode .order-btn:hover {
    background-color: #3a8fd8;
}

/* Styles pour les barres de séparation en mode sombre */
body.dark-mode .separator-bar {
    background-color: #e0e0e0;
}

body.dark-mode .separator-bar.projects-separator {
    background-color: #e0e0e0;
}

body.dark-mode .separator-bar.portfolio-separator {
    background-color: #e0e0e0;
} 

/* Dark mode language section */
body.dark-mode .language-section h3 {
    color: #ccc;
}

/* Triangle supprimé sous le titre "Langue" en mode sombre */

body.dark-mode .language-flags {
    /* Pas de changement nécessaire pour le mode sombre */
}

body.dark-mode .flag-btn {
    background: none;
    border: none;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
}

body.dark-mode .flag-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2);
}

body.dark-mode .flag-btn.active {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

body.dark-mode .flag-img {
    /* Pas de filtre de luminosité */
}

body.dark-mode .flag-btn:hover .flag-img {
    transform: scale(1.05);
    filter: brightness(1.2);
}

body.dark-mode .flag-btn.active .flag-img {
    transform: scale(1.02);
    filter: brightness(1.25);
}

/* Chatbox Styles */
.chatbox-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    font-family: Arial, sans-serif;
}

.chatbox-toggle {
    width: 60px;
    height: 60px;
    background-color: #212121;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    color: white;
}

.chatbox-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}

.chatbox {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.chatbox.active {
    display: flex;
}

.chatbox-header {
    background-color: #212121;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 12px 12px 0 0;
}

.chatbox-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: bold;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.close-btn:hover {
    background-color: rgba(255,255,255,0.2);
}

.chatbox-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background-color: #f8f8f8;
}

.message {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.user-message {
    align-items: flex-end;
}

.bot-message {
    align-items: flex-start;
}

.message-content {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 18px;
    font-size: 0.9rem;
    line-height: 1.4;
    word-wrap: break-word;
}

.user-message .message-content {
    background-color: #212121;
    color: white;
    border-bottom-right-radius: 4px;
}

.bot-message .message-content {
    background-color: white;
    color: #333;
    border: 1px solid #e0e0e0;
    border-bottom-left-radius: 4px;
}

.message-time {
    font-size: 0.75rem;
    color: #999;
    margin-top: 5px;
    padding: 0 5px;
}

.chatbox-input {
    padding: 15px;
    background-color: white;
    border-top: 1px solid #e0e0e0;
    display: flex;
    gap: 10px;
}

.chatbox-input input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.chatbox-input input:focus {
    border-color: #212121;
}

.chatbox-input button {
    background-color: #212121;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chatbox-input button:hover {
    background-color: #333;
    transform: translateY(-1px);
}

.chatbox-input button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Mode sombre pour la chatbox */
body.dark-mode .chatbox {
    background-color: #2a2a2a;
    border-color: #444;
}

body.dark-mode .chatbox-messages {
    background-color: #1a1a1a;
}

body.dark-mode .bot-message .message-content {
    background-color: #333;
    color: #fff;
    border-color: #555;
}

body.dark-mode .chatbox-input {
    background-color: #2a2a2a;
    border-top-color: #444;
}

body.dark-mode .chatbox-input input {
    background-color: #1a1a1a;
    border-color: #444;
    color: #fff;
}

body.dark-mode .chatbox-input input:focus {
    border-color: #45aaf2;
}

body.dark-mode .chatbox-input button {
    background-color: #45aaf2;
}

body.dark-mode .chatbox-input button:hover {
    background-color: #3a8fd8;
}

body.dark-mode .chatbox-toggle {
    background-color: #45aaf2;
    color: #fff;
}

body.dark-mode .chatbox-toggle:hover {
    background-color: #3a8fd8;
}

body.dark-mode .message-time {
    color: #999;
}

/* Responsive design pour la chatbox */
@media (max-width: 768px) {
    .chatbox-container {
        display: none;
    }
    
    .chatbox {
        display: none !important;
    }
    
    .chatbox-toggle {
        display: none;
    }
}

@media (max-width: 480px) {
    .chatbox-container {
        display: none;
    }
    
    .chatbox {
        display: none !important;
    }
    
    .chatbox-toggle {
        display: none;
    }
} 

/* Styles pour Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto 0 auto;
    padding: 0 1rem;
    width: 100%;
    box-sizing: border-box;
}

.portfolio-item {
    background-color: #f8f8f8;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #212121;
}

.portfolio-item h3 {
    color: #212121;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.portfolio-item p {
    color: #333;
    line-height: 1.6;
    margin: 0;
}

/* Styles pour En savoir plus */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto 0 auto;
    padding: 0 1rem;
    width: 100%;
    box-sizing: border-box;
}

.info-item {
    background-color: transparent;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #212121;
}

.info-item h3 {
    color: #212121;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.info-item p {
    color: #333;
    line-height: 1.6;
    margin: 0;
}

/* Mode sombre pour Portfolio et En savoir plus */
body.dark-mode .portfolio-item {
    background-color: #2a2a2a;
    border-color: #444;
}

body.dark-mode .portfolio-item:hover {
    border-color: #000;
}

body.dark-mode .portfolio-item h3 {
    color: #fff;
}

body.dark-mode .portfolio-item p {
    color: #fff;
}

body.dark-mode .info-item {
    background-color: transparent;
    border-color: #444;
}

body.dark-mode .info-item:hover {
    border-color: #000;
}

body.dark-mode .info-item h3 {
    color: #fff;
}

body.dark-mode .info-item p {
    color: #fff;
} 

/* Styles pour le menu déroulant Portfolio */
.portfolio-dropdown {
    margin: 2rem auto;
    max-width: 800px;
    text-align: center;
}

.dropdown-btn {
    background-color: #212121;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 auto;
}

.dropdown-btn:hover {
    background-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.dropdown-arrow {
    transition: transform 0.3s ease;
}

.dropdown-btn.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    margin-top: 1rem;
}

.dropdown-content.active {
    max-height: 1000px;
}

/* Styles pour le carrousel */
.carousel-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 12px;
    background-color: #f8f8f8;
    margin: 1rem 0;
}

.carousel-slide {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: none;
}

.carousel-img.active {
    opacity: 1;
    display: block;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(33, 33, 33, 0.8);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background-color: rgba(33, 33, 33, 1);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 15px;
}

.next-btn {
    right: 15px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #212121;
}

/* Mode sombre pour le carrousel */
body.dark-mode .carousel-container {
    background-color: #2a2a2a;
}

body.dark-mode .carousel-btn {
    background-color: rgba(69, 170, 242, 0.8);
}

body.dark-mode .carousel-btn:hover {
    background-color: rgba(69, 170, 242, 1);
}

body.dark-mode .dot {
    background-color: #555;
}

body.dark-mode .dot.active {
    background-color: #45aaf2;
} 

/* Responsive Design */
@media (max-width: 1400px) {
    .main-content {
        margin-left: 180px;
        width: calc(100% - 180px);
    }
    
    .sidebar {
        width: 180px;
    }
    
    .separator-bar {
        width: 90%;
    }
    
    .separator-bar.projects-separator {
        width: calc(100% + 600px);
        margin-left: -300px;
    }
}

@media (max-width: 1200px) {
    .main-content {
        margin-left: 160px;
        width: calc(100% - 160px);
    }
    
    .sidebar {
        width: 160px;
        padding: 1.5rem 0.8rem;
    }
    
    .sidebar h2 {
        font-size: 1.2rem;
    }
    
    .hero-text h1 {
        font-size: 3.5rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        max-width: 800px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .info-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .about-section {
        padding: 3rem 1.5rem;
    }
    
    .projects-section {
        padding: 1rem 1.5rem 3rem 1.5rem;
    }
    
    .separator-bar {
        width: 85%;
    }
    
    .separator-bar.projects-separator {
        width: calc(100% + 400px);
        margin-left: -200px;
    }
}

@media (max-width: 992px) {
    .main-content {
        margin-left: 140px;
        width: calc(100% - 140px);
    }
    
    .sidebar {
        width: 140px;
        padding: 1.2rem 0.6rem;
    }
    
    .sidebar h2 {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .sidebar a {
        font-size: 0.9rem;
        padding: 0.4rem;
    }
    
    .hero-text h1 {
        font-size: 3rem;
    }
    
    .separator-bar {
        width: 80%;
    }
    
    .separator-bar.projects-separator {
        width: calc(100% + 300px);
        margin-left: -150px;
    }
}

@media (max-width: 768px) {
    .main-content {
        margin-left: 0;
        margin-top: 0;
        width: 100%;
        max-width: 100vw;
        padding: 0;
        overflow-x: hidden;
    }
    
    .sidebar {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        background-color: #212121;
        box-shadow: 2px 0 5px rgba(0,0,0,0.1);
        padding: 1rem;
        box-sizing: border-box;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    

    
    .sidebar.active {
        transform: translateX(0);
    }
    
    /* Overlay pour le menu mobile */
    .sidebar::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: -1;
    }
    
    .sidebar.active::before {
        opacity: 1;
        visibility: visible;
    }
    
    .sidebar h2 {
        font-size: 1.3rem;
        margin-bottom: 2rem;
    }
    
    .sidebar a {
        font-size: 1rem;
        padding: 0.8rem;
        margin-bottom: 0.5rem;
    }
    
    .language-section {
        margin: 1.5rem 0;
        padding: 1rem 0;
    }
    
    .language-section h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .language-selector {
        margin: 1.5rem 0;
        padding: 1rem 0;
    }
    
    .language-selector h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .flag-container {
        gap: 0.8rem;
    }
    
    .flag-btn {
        width: 60px;
        height: 60px;
        margin: 0 0.3rem;
    }
    
    .flag-btn svg {
        width: 32px;
        height: 24px;
    }
        
    .flag-img {
        width: 100%;
        height: 100%;
    }
        
    .language-flags {
        padding: 1.2rem;
        gap: 0.8rem;
    }
    
    .header {
        padding: 0.5rem 1rem;
        width: 100%;
    }
    
    .header-logo {
        height: 30px;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
        letter-spacing: 0.1em;
    }
    
    .discover-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-text {
        font-size: 1.1rem;
    }
    
    .about-section {
        padding: 2rem 1rem;
    }
    
    .projects-section {
        padding: 3rem 1rem;
        min-height: auto;
    }
    
    .logos-container {
        gap: 2rem;
    }
    
    .logo-item {
        height: 100px;
    }
    
    .logo-item.iris-logo {
        height: 140px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 0.5rem;
        max-width: 100%;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1rem;
        padding: 0 0.5rem;
        max-width: 100%;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1rem;
        max-width: 100%;
    }
    
    .info-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1rem;
        max-width: 100%;
    }
    
    .carousel-container {
        height: 300px;
        width: 100%;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .chatbox {
        width: 300px;
        height: 400px;
        bottom: 70px;
    }
    
    .chatbox-toggle {
        width: 50px;
        height: 50px;
    }
    
    .chatbox-toggle svg {
        width: 20px;
        height: 20px;
    }
    
    .separator-bar {
        width: 90%;
        margin: 1.5rem auto;
    }
    
    .separator-bar.projects-separator {
        width: 95%;
        margin: 1.5rem auto;
        margin-left: auto;
    }
    
    .separator-bar.portfolio-separator {
        width: 90%;
        margin: 2rem auto;
    }
    
    .about-content {
        max-width: 100%;
        padding: 0 0.5rem;
    }
}

@media (max-width: 480px) {
    .main-content {
        margin-top: 50px;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .header {
        padding: 0.5rem;
        width: 100%;
    }
    
    .hero-text h1 {
        font-size: 2rem;
        letter-spacing: 0.05em;
    }
    
    .discover-btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .about-text {
        font-size: 1rem;
        padding: 0 0.5rem;
    }
    
    .about-section {
        padding: 1.5rem 0.5rem;
    }
    
    .projects-section {
        padding: 2rem 0.5rem;
        min-height: auto;
    }
    
    .logos-container {
        gap: 1rem;
        flex-direction: column;
    }
    
    .logo-item {
        height: 80px;
    }
    
    .logo-item.iris-logo {
        height: 120px;
    }
    
    .projects-grid {
        padding: 0 0.5rem;
        max-width: 100%;
    }
    
    .project-box {
        padding: 1.5rem;
        min-height: 200px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 0.5rem;
        max-width: 100%;
    }
    
    .product-card {
        padding: 1rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 100%;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 100%;
    }
    
    .carousel-container {
        height: 250px;
        width: 100%;
    }
    
    .carousel-btn {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
    
    .language-section {
        margin: 1rem 0;
        padding: 0.8rem 0;
    }
    
    .language-section h3 {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }
    
    .language-selector {
        margin: 1rem 0;
        padding: 0.8rem 0;
    }
    
    .language-selector h3 {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }
    
    .flag-container {
        gap: 0.6rem;
    }
    
    .flag-btn {
        width: 45px;
        height: 45px;
        margin: 0 0.2rem;
    }
    
    .flag-btn svg {
        width: 28px;
        height: 21px;
    }
        
    .flag-img {
        width: 100%;
        height: 100%;
    }
        
    .language-flags {
        padding: 1rem;
        gap: 0.6rem;
    }
    
    .chatbox {
        width: calc(100vw - 40px);
        height: 350px;
        right: 20px;
        left: 20px;
    }
    
    .dropdown-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .separator-bar {
        width: 85%;
        margin: 1rem auto;
    }
    
    .separator-bar.projects-separator {
        width: 90%;
        margin: 1rem auto;
    }
    
    .separator-bar.portfolio-separator {
        width: 85%;
        margin: 1.5rem auto;
    }
    
    .about-content {
        max-width: 100%;
        padding: 0 0.5rem;
    }
    
    .hero-section {
        height: calc(100vh - 50px);
    }
}

/* Améliorations pour les très petits écrans */
@media (max-width: 360px) {
    .hero-text h1 {
        font-size: 1.8rem;
        letter-spacing: 0.03em;
    }
    
    .discover-btn {
        padding: 8px 20px;
        font-size: 0.8rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .about-text {
        font-size: 0.9rem;
    }
    
    .sidebar {
        padding: 0.8rem;
    }
    
    .sidebar h2 {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .sidebar a {
        font-size: 0.9rem;
        padding: 0.6rem;
    }
    
    .separator-bar {
        width: 80%;
        margin: 0.8rem auto;
    }
    
    .separator-bar.projects-separator {
        width: 85%;
        margin: 0.8rem auto;
    }
    
    .separator-bar.portfolio-separator {
        width: 80%;
        margin: 1rem auto;
    }
}

/* Améliorations pour les écrans très larges */
@media (min-width: 1600px) {
    .main-content {
        margin-left: 220px;
        width: calc(100% - 220px);
    }
    
    .sidebar {
        width: 220px;
        padding: 2.5rem 1.5rem;
    }
    
    .sidebar h2 {
        font-size: 1.5rem;
    }
    
    .sidebar a {
        font-size: 1.1rem;
        padding: 0.7rem;
    }
    
    .hero-text h1 {
        font-size: 5rem;
    }
    
    .separator-bar {
        width: 95%;
    }
    
    .separator-bar.projects-separator {
        width: calc(100% + 1000px);
        margin-left: -500px;
    }
}

/* Menu hamburger pour mobile */
.menu-toggle {
    display: none;
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 1001;
    background: #212121;
    border: none;
    color: white;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.menu-toggle:hover {
    background: #333;
}

.menu-toggle svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .header {
        justify-content: center;
        position: relative;
    }
    
    .header-logo {
        margin: 0 auto;
    }
    
    .main-content {
        margin-left: 0;
        margin-top: 0;
        width: 100%;
        max-width: 100vw;
        padding: 0;
        overflow-x: hidden;
    }
    
    .sidebar {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1000;
        background-color: #212121;
        box-shadow: 2px 0 5px rgba(0,0,0,0.1);
        padding: 1rem;
        box-sizing: border-box;
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
} 

/* Sélecteur de couleurs */
.color-selector {
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.color-label {
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

.color-options {
    display: flex;
    gap: 8px;
}

.color-btn {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 2px solid #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #333;
}

.color-btn:hover {
    transform: scale(1.1);
    border-color: #212121;
}

.color-btn.active {
    border-color: #212121;
    border-width: 3px;
    transform: scale(1.1);
}

/* Mode sombre pour le sélecteur de couleurs */
body.dark-mode .color-label {
    color: #fff;
}

body.dark-mode .color-btn {
    border-color: #555;
}

body.dark-mode .color-btn:hover {
    border-color: #45aaf2;
}

body.dark-mode .color-btn.active {
    border-color: #45aaf2;
}

/* Styles pour la section "En savoir plus" */
.button-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.info-btn {
    background-color: #212121;
    color: white;
    border: 2px solid #212121;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 140px;
}

.info-btn:hover {
    background-color: #333;
    border-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.info-btn.active {
    background-color: #007bff;
    border-color: #007bff;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.info-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: opacity 0.3s ease;
}

.info-content h3 {
    color: #212121;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    border-bottom: 2px solid #007bff;
    padding-bottom: 0.5rem;
}

.info-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #333;
}

.bureau-info p,
.events-info .event-item,
.partnership-info .partnership-item {
    background-color: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid #007bff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.events-info .event-item h4,
.partnership-info .partnership-item h4 {
    color: #007bff;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.events-info .event-item p,
.partnership-info .partnership-item p {
    margin-bottom: 0.5rem;
    color: #555;
}

/* Styles pour le mode sombre */
body.dark-mode .info-content {
    background-color: #2d2d2d;
    color: #e0e0e0;
}

body.dark-mode .info-content h3 {
    color: #e0e0e0;
    border-bottom-color: #007bff;
}

body.dark-mode .info-content p {
    color: #ccc;
}

body.dark-mode .bureau-info p,
body.dark-mode .events-info .event-item,
body.dark-mode .partnership-info .partnership-item {
    background-color: #3a3a3a;
    border-left-color: #007bff;
    color: #e0e0e0;
}

body.dark-mode .events-info .event-item h4,
body.dark-mode .partnership-info .partnership-item h4 {
    color: #007bff;
}

body.dark-mode .events-info .event-item p,
body.dark-mode .partnership-info .partnership-item p {
    color: #ccc;
}

/* Responsive design pour les boutons */
@media (max-width: 768px) {
    .button-container {
        flex-direction: column;
        align-items: center;
    }
    
    .info-btn {
        width: 200px;
        margin-bottom: 0.5rem;
    }
    
    .info-content {
        padding: 1rem;
        margin: 0 1rem;
    }
}

@media (max-width: 480px) {
    .info-btn {
        width: 180px;
        font-size: 0.9rem;
        padding: 0.7rem 1.2rem;
    }
    
    .info-content {
        padding: 0.8rem;
        margin: 0 0.5rem;
    }
    
    .info-content h3 {
        font-size: 1.3rem;
    }
} 

/* Footer Styles */
.footer {
    background-color: #212121;
    color: white;
    padding: 3rem 0 1rem 0;
    margin-top: 4rem;
    width: 100%;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    border-bottom: 2px solid #555;
    padding-bottom: 0.5rem;
}

.footer-logo {
    height: 30px;
    width: auto;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-section h4 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    border-bottom: 1px solid #555;
    padding-bottom: 0.5rem;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #fff;
}

.footer-social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #333;
    border-radius: 50%;
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    background-color: #555;
    color: #fff;
    transform: translateY(-2px);
}

.footer-social-link svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #555;
}

.footer-bottom p {
    color: #999;
    font-size: 0.9rem;
}

/* Dark mode footer styles */
body.dark-mode .footer {
    background-color: #1a1a1a;
}

body.dark-mode .footer-section h3,
body.dark-mode .footer-section h4 {
    color: #fff;
}

body.dark-mode .footer-section p {
    color: #ccc;
}

body.dark-mode .footer-section ul li a {
    color: #ccc;
}

body.dark-mode .footer-section ul li a:hover {
    color: #fff;
}

body.dark-mode .footer-social-link {
    background-color: #333;
    color: #ccc;
}

body.dark-mode .footer-social-link:hover {
    background-color: #555;
    color: #fff;
}

body.dark-mode .footer-bottom p {
    color: #999;
}

/* Responsive footer styles */
@media (max-width: 768px) {
    .footer {
        padding: 2rem 0 1rem 0;
        margin-top: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .footer-section h3 {
        font-size: 1.3rem;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
    }
    
    .footer-social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 1.5rem 0 1rem 0;
    }
    
    .footer-content {
        padding: 0 0.5rem;
    }
    
    .footer-section h3 {
        font-size: 1.2rem;
    }
    
    .footer-section h4 {
        font-size: 1rem;
    }
    
    .footer-social-link {
        width: 35px;
        height: 35px;
    }
    
    .footer-social-link svg {
        width: 16px;
        height: 16px;
    }
}

/* Styles pour le popup modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideIn 0.3s ease-out;
    overflow: hidden;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content h2 {
    background-color: #212121;
    color: white;
    margin: 0;
    padding: 1.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 1;
}

.close-modal:hover {
    color: #ccc;
}

.modal-body {
    padding: 2rem;
}

.modal-body p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #333;
}

.modal-body ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.modal-body li {
    margin-bottom: 0.5rem;
    color: #555;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.modal-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.modal-btn.primary {
    background-color: #212121;
    color: white;
}

.modal-btn.primary:hover {
    background-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.modal-btn.secondary {
    background-color: #f8f9fa;
    color: #212121;
    border: 2px solid #212121;
}

.modal-btn.secondary:hover {
    background-color: #212121;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Mode sombre pour le modal */
body.dark-mode .modal-content {
    background-color: #2d2d2d;
    color: white;
}

body.dark-mode .modal-content h2 {
    background-color: #1a1a1a;
}

body.dark-mode .modal-body p {
    color: #e0e0e0;
}

body.dark-mode .modal-body li {
    color: #ccc;
}

body.dark-mode .modal-btn.secondary {
    background-color: #3a3a3a;
    color: #e0e0e0;
    border-color: #e0e0e0;
}

body.dark-mode .modal-btn.secondary:hover {
    background-color: #e0e0e0;
    color: #2d2d2d;
}

/* Responsive pour le modal */
@media (max-width: 768px) {
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .modal-btn {
        width: 100%;
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        margin: 15% auto;
        width: 98%;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .modal-content h2 {
        padding: 1rem;
        font-size: 1.3rem;
    }
    
    .close-modal {
        top: 0.5rem;
        right: 1rem;
        font-size: 1.5rem;
    }
} 

/* Styles de compatibilité cross-browser */
/* Assure la compatibilité avec Chrome, Firefox, Safari, Edge et Internet Explorer */

/* Reset CSS amélioré pour tous les navigateurs */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: Arial, sans-serif;
    background-color: white;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Header horizontal */
.header {
    background-color: #212121;
    color: white;
    padding: 1rem 2rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.header-logo {
    height: 40px;
    width: auto;
    display: block;
}

/* Colonne verticale côté gauche */
.sidebar {
    background-color: #212121;
    color: white;
    width: 200px;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 60px; /* Hauteur du header */
    padding: 2rem 1rem;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
    -webkit-transition: -webkit-transform 0.3s ease;
    -moz-transition: -moz-transform 0.3s ease;
    -o-transition: transform 0.3s ease;
    transition: transform 0.3s ease;
}

.sidebar h2 {
    margin-bottom: 2rem;
    font-size: 1.3rem;
    border-bottom: 2px solid #555;
    padding-bottom: 0.5rem;
}

.sidebar ul {
    list-style: none;
}

.sidebar li {
    margin-bottom: 1rem;
}

.sidebar a {
    color: #ccc;
    text-decoration: none;
    display: block;
    padding: 0.5rem;
    border-radius: 4px;
    -webkit-transition: background-color 0.3s, color 0.3s;
    -moz-transition: background-color 0.3s, color 0.3s;
    -o-transition: background-color 0.3s, color 0.3s;
    transition: background-color 0.3s, color 0.3s;
}

.sidebar a:hover {
    background-color: #555;
    color: white;
}

.sidebar a.active {
    background-color: #212121;
    color: white;
    border-left: 3px solid white;
    padding-left: calc(0.5rem - 3px);
}

/* Sélecteur de langue */
.language-selector {
    margin: 2rem 0;
    padding-top: 1rem;
    border-top: 1px solid #555;
}

.language-selector h3 {
    margin-bottom: 1rem;
    color: white;
    font-size: 1rem;
    font-weight: bold;
}

.flag-container {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.flag-btn {
    background: none;
    border: 2px solid #555;
    border-radius: 8px;
    padding: 0.5rem;
    cursor: pointer;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    min-width: 50px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flag-btn svg {
    width: 24px;
    height: 18px;
    display: block;
}

.flag-btn:hover {
    border-color: #888;
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
}

.flag-btn.active {
    border-color: white;
    background-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .language-selector h3 {
    color: #ccc;
}

body.dark-mode .flag-btn {
    border-color: #666;
}

body.dark-mode .flag-btn:hover {
    border-color: #999;
}

body.dark-mode .flag-btn.active {
    border-color: #ccc;
    background-color: rgba(204, 204, 204, 0.1);
}

/* Contenu principal */
.main-content {
    margin-left: 200px;
    padding-top: 60px;
    min-height: 100vh;
    background-color: white;
    -webkit-transition: background-color 0.3s ease;
    -moz-transition: background-color 0.3s ease;
    -o-transition: background-color 0.3s ease;
    transition: background-color 0.3s ease;
}

/* Section Hero */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    -webkit-filter: brightness(0.7);
    -moz-filter: brightness(0.7);
    filter: brightness(0.7);
}

.hero-text {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 2rem;
    -webkit-animation: fadeInUp 1s ease-out;
    -moz-animation: fadeInUp 1s ease-out;
    -o-animation: fadeInUp 1s ease-out;
    animation: fadeInUp 1s ease-out;
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    letter-spacing: 2px;
}

@-webkit-keyframes fadeInUp {
    from {
        opacity: 0;
        -webkit-transform: translateY(30px);
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@-moz-keyframes fadeInUp {
    from {
        opacity: 0;
        -moz-transform: translateY(30px);
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        -moz-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        -webkit-transform: translateY(30px);
        -moz-transform: translateY(30px);
        -ms-transform: translateY(30px);
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
    }
}

.discover-btn {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    padding: 1rem 2rem;
    font-size: 1.2rem;
    cursor: pointer;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.discover-btn:hover {
    background-color: white;
    color: #212121;
    -webkit-transform: translateY(-2px);
    -moz-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/* Sections générales */
.about-section {
    padding: 4rem 2rem;
    background-color: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #212121;
    position: relative;
    font-weight: bold;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #212121;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #333;
}

.logos-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.logo-item {
    height: 60px;
    width: auto;
    -webkit-transition: -webkit-transform 0.3s ease;
    -moz-transition: -moz-transform 0.3s ease;
    -o-transition: transform 0.3s ease;
    transition: transform 0.3s ease;
}

.logo-item:hover {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}

.logo-item.iris-logo {
    height: 50px;
}

.separator-bar {
    height: 4px;
    background: linear-gradient(90deg, #212121, #555, #212121);
    margin: 2rem 0;
    border-radius: 2px;
    -webkit-box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    -moz-box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.separator-bar.projects-separator {
    background: linear-gradient(90deg, #212121, #888, #212121);
    height: 6px;
    margin: 3rem 0;
}

.separator-bar.portfolio-separator {
    background: linear-gradient(90deg, #212121, #aaa, #212121);
    height: 8px;
    margin: 4rem 0;
}

/* Section Projets */
.projects-section {
    padding: 4rem 2rem;
    background-color: #f8f9fa;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project-box {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    -webkit-transition: -webkit-transform 0.3s ease, box-shadow 0.3s ease;
    -moz-transition: -moz-transform 0.3s ease, box-shadow 0.3s ease;
    -o-transition: transform 0.3s ease, box-shadow 0.3s ease;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-box:hover {
    -webkit-transform: translateY(-5px);
    -moz-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.project-box h3 {
    color: #212121;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.project-box p {
    color: #666;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.progress-bar {
    background-color: #e9ecef;
    height: 20px;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 1rem;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #28a745, #20c997);
    border-radius: 10px;
    -webkit-transition: width 0.3s ease;
    -moz-transition: width 0.3s ease;
    -o-transition: width 0.3s ease;
    transition: width 0.3s ease;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 0.9rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Section Boutique */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    -webkit-transition: -webkit-transform 0.3s ease, box-shadow 0.3s ease;
    -moz-transition: -moz-transform 0.3s ease, box-shadow 0.3s ease;
    -o-transition: transform 0.3s ease, box-shadow 0.3s ease;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    -webkit-transform: translateY(-5px);
    -moz-transform: translateY(-5px);
    -ms-transform: translateY(-5px);
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.product-image {
    position: relative;
    height: 250px;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-info {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #212121;
    margin-bottom: 0.5rem;
}

.product-description {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.product-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #28a745;
    margin-bottom: 1rem;
}

.order-btn {
    background-color: #212121;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    -webkit-transition: background-color 0.3s ease;
    -moz-transition: background-color 0.3s ease;
    -o-transition: background-color 0.3s ease;
    transition: background-color 0.3s ease;
    width: 100%;
}

.order-btn:hover {
    background-color: #333;
}

/* Carousel d'images */
.image-carousel {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 8px;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 14px;
}

.image-carousel .product-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    -webkit-transition: opacity 0.3s ease;
    -moz-transition: opacity 0.3s ease;
    -o-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
    display: block;
    z-index: 2;
    background-color: white;
}

.image-carousel .product-img.active {
    opacity: 1;
    display: block;
    z-index: 3;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    background-color: rgba(33, 33, 33, 0.8);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background-color: rgba(33, 33, 33, 1);
    -webkit-transform: translateY(-50%) scale(1.1);
    -moz-transform: translateY(-50%) scale(1.1);
    -ms-transform: translateY(-50%) scale(1.1);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn:active {
    -webkit-transform: translateY(-50%) scale(0.95);
    -moz-transform: translateY(-50%) scale(0.95);
    -ms-transform: translateY(-50%) scale(0.95);
    transform: translateY(-50%) scale(0.95);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.fallback-text {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    color: #666;
    font-size: 14px;
    z-index: 1;
    pointer-events: none;
}

/* Réseaux sociaux */
.social-links {
    margin-top: 2rem;
    padding-top: 0.5rem;
    border-top: 1px solid #444;
    margin-bottom: 0.5rem;
}

.social-links h3 {
    color: white;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.social-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.social-links li {
    margin: 0;
}

.social-link {
    display: block;
    color: #ccc;
    text-decoration: none;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    text-align: center;
}

.social-link svg {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: white;
    padding-left: 0.5rem;
}

.social-link.instagram:hover {
    color: #E4405F;
}

.social-link.linkedin:hover {
    color: #0077B5;
}

.social-link.youtube:hover {
    color: #FF0000;
}



/* Mode sombre - Interrupteur */
.dark-mode-toggle {
    margin-top: 1rem;
    padding: 0.5rem;
    border-top: 1px solid #444;
}

.toggle-btn {
    background: none;
    border: 2px solid #ccc;
    border-radius: 20px;
    width: 50px;
    height: 30px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
}

.toggle-btn:hover {
    border-color: #fff;
    color: #fff;
}

.toggle-btn::before {
    content: '';
    position: absolute;
    left: 2px;
    width: 22px;
    height: 22px;
    background: #ccc;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.toggle-btn.dark::before {
    left: 24px;
    background: #333;
}

.sun-icon {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.moon-icon {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.toggle-btn.dark .sun-icon {
    opacity: 0;
}

.toggle-btn.dark .moon-icon {
    opacity: 1;
}

/* Mode sombre - Styles */
body.dark-mode {
    background-color: #1a1a1a;
    color: #fff;
}

body.dark-mode .header {
    background-color: #000;
}

body.dark-mode .sidebar {
    background-color: #000;
}

body.dark-mode .sidebar a {
    color: #ccc;
}

body.dark-mode .sidebar a:hover,
body.dark-mode .sidebar a.active {
    color: #fff;
}

body.dark-mode .hero-text {
    color: #fff;
}

body.dark-mode .main-content {
    background-color: #1a1a1a;
}

body.dark-mode .about-section {
    background-color: #1a1a1a;
}

body.dark-mode .projects-section {
    background-color: #1a1a1a;
}

body.dark-mode .boutique-section {
    background-color: #1a1a1a;
}

body.dark-mode .section-title {
    color: #45aaf2;
}

body.dark-mode .section-title::after {
    background-color: #45aaf2;
}

body.dark-mode .about-text {
    color: #ccc;
}

body.dark-mode .project-box {
    background-color: #2a2a2a;
    border: 1px solid #444;
}

body.dark-mode .project-box:hover {
    border-color: #000;
}

body.dark-mode .project-box h3 {
    color: #fff;
}

body.dark-mode .project-box p {
    color: #fff;
}

body.dark-mode .progress-text {
    color: #fff;
}

body.dark-mode .progress-fill {
    background-color: #45aaf2;
}

body.dark-mode .product-card {
    background-color: transparent;
    border: 1px solid #444;
}

body.dark-mode .product-card:hover {
    border-color: #000;
}

body.dark-mode .product-title {
    color: #fff;
}

body.dark-mode .product-description {
    color: #ccc;
}

body.dark-mode .product-price {
    color: #fff;
}

body.dark-mode .order-btn {
    background-color: #45aaf2;
    color: #fff;
}

body.dark-mode .order-btn:hover {
    background-color: #3a8fd8;
}

/* Styles pour les barres de séparation en mode sombre */
body.dark-mode .separator-bar {
    background-color: #e0e0e0;
}

body.dark-mode .separator-bar.projects-separator {
    background-color: #e0e0e0;
}

body.dark-mode .separator-bar.portfolio-separator {
    background-color: #e0e0e0;
} 

/* Dark mode language section */
body.dark-mode .language-section h3 {
    color: #ccc;
}

/* Triangle supprimé sous le titre "Langue" en mode sombre */

body.dark-mode .language-flags {
    /* Pas de changement nécessaire pour le mode sombre */
}

body.dark-mode .flag-btn {
    background: none;
    border: none;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
}

body.dark-mode .flag-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2);
}

body.dark-mode .flag-btn.active {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

body.dark-mode .flag-img {
    /* Pas de filtre de luminosité */
}

body.dark-mode .flag-btn:hover .flag-img {
    transform: scale(1.05);
    filter: brightness(1.2);
}

body.dark-mode .flag-btn.active .flag-img {
    transform: scale(1.02);
    filter: brightness(1.25);
}

/* Chatbox Styles */
.chatbox-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    font-family: Arial, sans-serif;
}

.chatbox-toggle {
    width: 60px;
    height: 60px;
    background-color: #212121;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    color: white;
}

.chatbox-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}

.chatbox {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.chatbox.active {
    display: flex;
}

.chatbox-header {
    background-color: #212121;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 12px 12px 0 0;
}

.chatbox-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: bold;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.close-btn:hover {
    background-color: rgba(255,255,255,0.2);
}

.chatbox-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background-color: #f8f8f8;
}

.message {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.user-message {
    align-items: flex-end;
}

.bot-message {
    align-items: flex-start;
}

.message-content {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 18px;
    font-size: 0.9rem;
    line-height: 1.4;
    word-wrap: break-word;
}

.user-message .message-content {
    background-color: #212121;
    color: white;
    border-bottom-right-radius: 4px;
}

.bot-message .message-content {
    background-color: white;
    color: #333;
    border: 1px solid #e0e0e0;
    border-bottom-left-radius: 4px;
}

.message-time {
    font-size: 0.75rem;
    color: #999;
    margin-top: 5px;
    padding: 0 5px;
}

.chatbox-input {
    padding: 15px;
    background-color: white;
    border-top: 1px solid #e0e0e0;
    display: flex;
    gap: 10px;
}

.chatbox-input input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.chatbox-input input:focus {
    border-color: #212121;
}

.chatbox-input button {
    background-color: #212121;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chatbox-input button:hover {
    background-color: #333;
    transform: translateY(-1px);
}

.chatbox-input button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Mode sombre pour la chatbox */
body.dark-mode .chatbox {
    background-color: #2a2a2a;
    border-color: #444;
}

body.dark-mode .chatbox-messages {
    background-color: #1a1a1a;
}

body.dark-mode .bot-message .message-content {
    background-color: #333;
    color: #fff;
    border-color: #555;
}

body.dark-mode .chatbox-input {
    background-color: #2a2a2a;
    border-top-color: #444;
}

body.dark-mode .chatbox-input input {
    background-color: #1a1a1a;
    border-color: #444;
    color: #fff;
}

body.dark-mode .chatbox-input input:focus {
    border-color: #45aaf2;
}

body.dark-mode .chatbox-input button {
    background-color: #45aaf2;
}

body.dark-mode .chatbox-input button:hover {
    background-color: #3a8fd8;
}

body.dark-mode .chatbox-toggle {
    background-color: #45aaf2;
    color: #fff;
}

body.dark-mode .chatbox-toggle:hover {
    background-color: #3a8fd8;
}

body.dark-mode .message-time {
    color: #999;
}

/* Responsive design pour la chatbox */
@media (max-width: 768px) {
    .chatbox-container {
        display: none;
    }
    
    .chatbox {
        display: none !important;
    }
    
    .chatbox-toggle {
        display: none;
    }
}

@media (max-width: 480px) {
    .chatbox-container {
        display: none;
    }
    
    .chatbox {
        display: none !important;
    }
    
    .chatbox-toggle {
        display: none;
    }
} 

/* Styles pour Portfolio */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto 0 auto;
    padding: 0 1rem;
    width: 100%;
    box-sizing: border-box;
}

.portfolio-item {
    background-color: #f8f8f8;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #212121;
}

.portfolio-item h3 {
    color: #212121;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.portfolio-item p {
    color: #333;
    line-height: 1.6;
    margin: 0;
}

/* Styles pour En savoir plus */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto 0 auto;
    padding: 0 1rem;
    width: 100%;
    box-sizing: border-box;
}

.info-item {
    background-color: transparent;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #212121;
}

.info-item h3 {
    color: #212121;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.info-item p {
    color: #333;
    line-height: 1.6;
    margin: 0;
}

/* Mode sombre pour Portfolio et En savoir plus */
body.dark-mode .portfolio-item {
    background-color: #2a2a2a;
    border-color: #444;
}

body.dark-mode .portfolio-item:hover {
    border-color: #000;
}

body.dark-mode .portfolio-item h3 {
    color: #fff;
}

body.dark-mode .portfolio-item p {
    color: #fff;
}

body.dark-mode .info-item {
    background-color: transparent;
    border-color: #444;
}

body.dark-mode .info-item:hover {
    border-color: #000;
}

body.dark-mode .info-item h3 {
    color: #fff;
}

body.dark-mode .info-item p {
    color: #fff;
} 

/* Styles pour le menu déroulant Portfolio */
.portfolio-dropdown {
    margin: 2rem auto;
    max-width: 800px;
    text-align: center;
}

.dropdown-btn {
    background-color: #212121;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 auto;
}

.dropdown-btn:hover {
    background-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.dropdown-arrow {
    transition: transform 0.3s ease;
}

.dropdown-btn.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    margin-top: 1rem;
}

.dropdown-content.active {
    max-height: 1000px;
}

/* Styles pour le carrousel */
.carousel-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 12px;
    background-color: #f8f8f8;
    margin: 1rem 0;
}

.carousel-slide {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: none;
}

.carousel-img.active {
    opacity: 1;
    display: block;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(33, 33, 33, 0.8);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background-color: rgba(33, 33, 33, 1);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 15px;
}

.next-btn {
    right: 15px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #212121;
}

/* Mode sombre pour le carrousel */
body.dark-mode .carousel-container {
    background-color: #2a2a2a;
}

body.dark-mode .carousel-btn {
    background-color: rgba(69, 170, 242, 0.8);
}

body.dark-mode .carousel-btn:hover {
    background-color: rgba(69, 170, 242, 1);
}

body.dark-mode .dot {
    background-color: #555;
}

body.dark-mode .dot.active {
    background-color: #45aaf2;
} 

/* Responsive Design */
@media (max-width: 1400px) {
    .main-content {
        margin-left: 180px;
        width: calc(100% - 180px);
    }
    
    .sidebar {
        width: 180px;
    }
    
    .separator-bar {
        width: 90%;
    }
    
    .separator-bar.projects-separator {
        width: calc(100% + 600px);
        margin-left: -300px;
    }
}

@media (max-width: 1200px) {
    .main-content {
        margin-left: 160px;
        width: calc(100% - 160px);
    }
    
    .sidebar {
        width: 160px;
        padding: 1.5rem 0.8rem;
    }
    
    .sidebar h2 {
        font-size: 1.2rem;
    }
    
    .hero-text h1 {
        font-size: 3.5rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        max-width: 800px;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .info-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .about-section {
        padding: 3rem 1.5rem;
    }
    
    .projects-section {
        padding: 1rem 1.5rem 3rem 1.5rem;
    }
    
    .separator-bar {
        width: 85%;
    }
    
    .separator-bar.projects-separator {
        width: calc(100% + 400px);
        margin-left: -200px;
    }
}

@media (max-width: 992px) {
    .main-content {
        margin-left: 140px;
        width: calc(100% - 140px);
    }
    
    .sidebar {
        width: 140px;
        padding: 1.2rem 0.6rem;
    }
    
    .sidebar h2 {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .sidebar a {
        font-size: 0.9rem;
        padding: 0.4rem;
    }
    
    .hero-text h1 {
        font-size: 3rem;
    }
    
    .separator-bar {
        width: 80%;
    }
    
    .separator-bar.projects-separator {
        width: calc(100% + 300px);
        margin-left: -150px;
    }
}

@media (max-width: 768px) {
    .main-content {
        margin-left: 0;
        margin-top: 0;
        width: 100%;
        max-width: 100vw;
        padding: 0;
        overflow-x: hidden;
    }
    
    .sidebar {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        background-color: #212121;
        box-shadow: 2px 0 5px rgba(0,0,0,0.1);
        padding: 1rem;
        box-sizing: border-box;
    }
    

    
    .sidebar.active {
        transform: translateX(0);
    }
    
    /* Overlay pour le menu mobile */
    .sidebar::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: -1;
    }
    
    .sidebar.active::before {
        opacity: 1;
        visibility: visible;
    }
    
    .sidebar h2 {
        font-size: 1.3rem;
        margin-bottom: 2rem;
    }
    
    .sidebar a {
        font-size: 1rem;
        padding: 0.8rem;
        margin-bottom: 0.5rem;
    }
    
    .language-section {
        margin: 1.5rem 0;
        padding: 1rem 0;
    }
    
    .language-section h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .language-selector {
        margin: 1.5rem 0;
        padding: 1rem 0;
    }
    
    .language-selector h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .flag-container {
        gap: 0.8rem;
    }
    
    .flag-btn {
        width: 60px;
        height: 60px;
        margin: 0 0.3rem;
    }
    
    .flag-btn svg {
        width: 32px;
        height: 24px;
    }
        
    .flag-img {
        width: 100%;
        height: 100%;
    }
        
    .language-flags {
        padding: 1.2rem;
        gap: 0.8rem;
    }
    
    .header {
        padding: 0.5rem 1rem;
        width: 100%;
    }
    
    .header-logo {
        height: 30px;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
        letter-spacing: 0.1em;
    }
    
    .discover-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-text {
        font-size: 1.1rem;
    }
    
    .about-section {
        padding: 2rem 1rem;
    }
    
    .projects-section {
        padding: 3rem 1rem;
        min-height: auto;
    }
    
    .logos-container {
        gap: 2rem;
    }
    
    .logo-item {
        height: 100px;
    }
    
    .logo-item.iris-logo {
        height: 140px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 0.5rem;
        max-width: 100%;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1rem;
        padding: 0 0.5rem;
        max-width: 100%;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1rem;
        max-width: 100%;
    }
    
    .info-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1rem;
        max-width: 100%;
    }
    
    .carousel-container {
        height: 300px;
        width: 100%;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .chatbox {
        width: 300px;
        height: 400px;
        bottom: 70px;
    }
    
    .chatbox-toggle {
        width: 50px;
        height: 50px;
    }
    
    .chatbox-toggle svg {
        width: 20px;
        height: 20px;
    }
    
    .separator-bar {
        width: 90%;
        margin: 1.5rem auto;
    }
    
    .separator-bar.projects-separator {
        width: 95%;
        margin: 1.5rem auto;
        margin-left: auto;
    }
    
    .separator-bar.portfolio-separator {
        width: 90%;
        margin: 2rem auto;
    }
    
    .about-content {
        max-width: 100%;
        padding: 0 0.5rem;
    }
}

@media (max-width: 480px) {
    .main-content {
        margin-top: 50px;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .header {
        padding: 0.5rem;
        width: 100%;
    }
    
    .hero-text h1 {
        font-size: 2rem;
        letter-spacing: 0.05em;
    }
    
    .discover-btn {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .about-text {
        font-size: 1rem;
        padding: 0 0.5rem;
    }
    
    .about-section {
        padding: 1.5rem 0.5rem;
    }
    
    .projects-section {
        padding: 2rem 0.5rem;
        min-height: auto;
    }
    
    .logos-container {
        gap: 1rem;
        flex-direction: column;
    }
    
    .logo-item {
        height: 80px;
    }
    
    .logo-item.iris-logo {
        height: 120px;
    }
    
    .projects-grid {
        padding: 0 0.5rem;
        max-width: 100%;
    }
    
    .project-box {
        padding: 1.5rem;
        min-height: 200px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 0.5rem;
        max-width: 100%;
    }
    
    .product-card {
        padding: 1rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 100%;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 100%;
    }
    
    .carousel-container {
        height: 250px;
        width: 100%;
    }
    
    .carousel-btn {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
    
    .language-section {
        margin: 1rem 0;
        padding: 0.8rem 0;
    }
    
    .language-section h3 {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }
    
    .language-selector {
        margin: 1rem 0;
        padding: 0.8rem 0;
    }
    
    .language-selector h3 {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
    }
    
    .flag-container {
        gap: 0.6rem;
    }
    
    .flag-btn {
        width: 45px;
        height: 45px;
        margin: 0 0.2rem;
    }
    
    .flag-btn svg {
        width: 28px;
        height: 21px;
    }
        
    .flag-img {
        width: 100%;
        height: 100%;
    }
        
    .language-flags {
        padding: 1rem;
        gap: 0.6rem;
    }
    
    .chatbox {
        width: calc(100vw - 40px);
        height: 350px;
        right: 20px;
        left: 20px;
    }
    
    .dropdown-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .separator-bar {
        width: 85%;
        margin: 1rem auto;
    }
    
    .separator-bar.projects-separator {
        width: 90%;
        margin: 1rem auto;
    }
    
    .separator-bar.portfolio-separator {
        width: 85%;
        margin: 1.5rem auto;
    }
    
    .about-content {
        max-width: 100%;
        padding: 0 0.5rem;
    }
    
    .hero-section {
        height: calc(100vh - 50px);
    }
}

/* Améliorations pour les très petits écrans */
@media (max-width: 360px) {
    .hero-text h1 {
        font-size: 1.8rem;
        letter-spacing: 0.03em;
    }
    
    .discover-btn {
        padding: 8px 20px;
        font-size: 0.8rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .about-text {
        font-size: 0.9rem;
    }
    
    .sidebar {
        padding: 0.8rem;
    }
    
    .sidebar h2 {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .sidebar a {
        font-size: 0.9rem;
        padding: 0.6rem;
    }
    
    .separator-bar {
        width: 80%;
        margin: 0.8rem auto;
    }
    
    .separator-bar.projects-separator {
        width: 85%;
        margin: 0.8rem auto;
    }
    
    .separator-bar.portfolio-separator {
        width: 80%;
        margin: 1rem auto;
    }
}

/* Améliorations pour les écrans très larges */
@media (min-width: 1600px) {
    .main-content {
        margin-left: 220px;
        width: calc(100% - 220px);
    }
    
    .sidebar {
        width: 220px;
        padding: 2.5rem 1.5rem;
    }
    
    .sidebar h2 {
        font-size: 1.5rem;
    }
    
    .sidebar a {
        font-size: 1.1rem;
        padding: 0.7rem;
    }
    
    .hero-text h1 {
        font-size: 5rem;
    }
    
    .separator-bar {
        width: 95%;
    }
    
    .separator-bar.projects-separator {
        width: calc(100% + 1000px);
        margin-left: -500px;
    }
}

/* Menu hamburger pour mobile */
.menu-toggle {
    display: none;
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 1001;
    background: #212121;
    border: none;
    color: white;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.menu-toggle:hover {
    background: #333;
}

.menu-toggle svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .header {
        justify-content: center;
        position: relative;
    }
    
    .header-logo {
        margin: 0 auto;
    }
    
    .main-content {
        margin-left: 0;
        margin-top: 0;
        width: 100%;
        max-width: 100vw;
        padding: 0;
        overflow-x: hidden;
    }
    
    .sidebar {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1000;
        background-color: #212121;
        box-shadow: 2px 0 5px rgba(0,0,0,0.1);
        padding: 1rem;
        box-sizing: border-box;
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
} 

/* Sélecteur de couleurs */
.color-selector {
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.color-label {
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

.color-options {
    display: flex;
    gap: 8px;
}

.color-btn {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 2px solid #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #333;
}

.color-btn:hover {
    transform: scale(1.1);
    border-color: #212121;
}

.color-btn.active {
    border-color: #212121;
    border-width: 3px;
    transform: scale(1.1);
}

/* Mode sombre pour le sélecteur de couleurs */
body.dark-mode .color-label {
    color: #fff;
}

body.dark-mode .color-btn {
    border-color: #555;
}

body.dark-mode .color-btn:hover {
    border-color: #45aaf2;
}

body.dark-mode .color-btn.active {
    border-color: #45aaf2;
}

/* Styles pour la section "En savoir plus" */
.button-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.info-btn {
    background-color: #212121;
    color: white;
    border: 2px solid #212121;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 140px;
}

.info-btn:hover {
    background-color: #333;
    border-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.info-btn.active {
    background-color: #007bff;
    border-color: #007bff;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.info-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: opacity 0.3s ease;
}

.info-content h3 {
    color: #212121;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    border-bottom: 2px solid #007bff;
    padding-bottom: 0.5rem;
}

.info-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #333;
}

.bureau-info p,
.events-info .event-item,
.partnership-info .partnership-item {
    background-color: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid #007bff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.events-info .event-item h4,
.partnership-info .partnership-item h4 {
    color: #007bff;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.events-info .event-item p,
.partnership-info .partnership-item p {
    margin-bottom: 0.5rem;
    color: #555;
}

/* Styles pour le mode sombre */
body.dark-mode .info-content {
    background-color: #2d2d2d;
    color: #e0e0e0;
}

body.dark-mode .info-content h3 {
    color: #e0e0e0;
    border-bottom-color: #007bff;
}

body.dark-mode .info-content p {
    color: #ccc;
}

body.dark-mode .bureau-info p,
body.dark-mode .events-info .event-item,
body.dark-mode .partnership-info .partnership-item {
    background-color: #3a3a3a;
    border-left-color: #007bff;
    color: #e0e0e0;
}

body.dark-mode .events-info .event-item h4,
body.dark-mode .partnership-info .partnership-item h4 {
    color: #007bff;
}

body.dark-mode .events-info .event-item p,
body.dark-mode .partnership-info .partnership-item p {
    color: #ccc;
}

/* Responsive design pour les boutons */
@media (max-width: 768px) {
    .button-container {
        flex-direction: column;
        align-items: center;
    }
    
    .info-btn {
        width: 200px;
        margin-bottom: 0.5rem;
    }
    
    .info-content {
        padding: 1rem;
        margin: 0 1rem;
    }
}

@media (max-width: 480px) {
    .info-btn {
        width: 180px;
        font-size: 0.9rem;
        padding: 0.7rem 1.2rem;
    }
    
    .info-content {
        padding: 0.8rem;
        margin: 0 0.5rem;
    }
    
    .info-content h3 {
        font-size: 1.3rem;
    }
} 

/* Footer Styles */
.footer {
    background-color: #212121;
    color: white;
    padding: 3rem 0 1rem 0;
    margin-top: 4rem;
    width: 100%;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    border-bottom: 2px solid #555;
    padding-bottom: 0.5rem;
}

.footer-logo {
    height: 30px;
    width: auto;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-section h4 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    border-bottom: 1px solid #555;
    padding-bottom: 0.5rem;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #fff;
}

.footer-social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #333;
    border-radius: 50%;
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social-link:hover {
    background-color: #555;
    color: #fff;
    transform: translateY(-2px);
}

.footer-social-link svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #555;
}

.footer-bottom p {
    color: #999;
    font-size: 0.9rem;
}

/* Dark mode footer styles */
body.dark-mode .footer {
    background-color: #1a1a1a;
}

body.dark-mode .footer-section h3,
body.dark-mode .footer-section h4 {
    color: #fff;
}

body.dark-mode .footer-section p {
    color: #ccc;
}

body.dark-mode .footer-section ul li a {
    color: #ccc;
}

body.dark-mode .footer-section ul li a:hover {
    color: #fff;
}

body.dark-mode .footer-social-link {
    background-color: #333;
    color: #ccc;
}

body.dark-mode .footer-social-link:hover {
    background-color: #555;
    color: #fff;
}

body.dark-mode .footer-bottom p {
    color: #999;
}

/* Responsive footer styles */
@media (max-width: 768px) {
    .footer {
        padding: 2rem 0 1rem 0;
        margin-top: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .footer-section h3 {
        font-size: 1.3rem;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
    }
    
    .footer-social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 1.5rem 0 1rem 0;
    }
}