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

/* ========================================
   MODE SOMBRE - CORRECTIONS VISIBILITÉ TEXTE
   ======================================== */

/* Transitions globales */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* ========================================
   BODY ET ÉLÉMENTS PRINCIPAUX
   ======================================== */

body.dark-mode {
    background: #0a0a0a;
    color: #fff;
}

/* Header */
body.dark-mode header {
    background: #0a0a0a;
    border-bottom: 1px solid #222;
}

body.dark-mode .logo a,
body.dark-mode .nav-menu a {
    color: #fff;
}

body.dark-mode .nav-menu a:hover {
    opacity: 0.6;
}

/* ========================================
   LOGO ADAPTATIF SELON LE MODE
   ======================================== */

/* Container du logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Icône du logo - Styles de base */
.logo-icon {
    height: 24px;
    width: auto;
    transition: opacity 0.3s ease;
}

/* Mode clair : Logo noir visible, logo blanc caché */
.logo-dark {
    display: inline-block;
    opacity: 1;
}

.logo-light {
    display: none;
    opacity: 0;
}

/* Mode sombre : Logo blanc visible, logo noir caché */
body.dark-mode .logo-dark {
    display: none;
    opacity: 0;
}

body.dark-mode .logo-light {
    display: inline-block;
    opacity: 1;
}

/* Texte du logo */
.logo a {
    font-size: 14px;
    font-weight: 400;
    color: #000;
    text-decoration: none;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

/* Texte du logo en mode sombre */
body.dark-mode .logo a {
    color: #fff;
}

/* Hover effect sur le logo complet */
.logo:hover .logo-icon {
    opacity: 0.7;
}

.logo:hover a {
    opacity: 0.7;
}

/* Responsive - Ajuster la taille sur mobile */
@media (max-width: 768px) {
    .logo-icon {
        height: 20px;
    }
    
    .logo {
        gap: 10px;
    }
    
    .logo a {
        font-size: 12px;
    }
}

/* Catalogue Selection Section */
        .catalogue-selection-section {
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 60px 0;
            margin: 40px 0;
        }

        .catalogue-selector {
            width: 100%;
            max-width: 400px;
            position: relative;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
        }

        /* Light mode styles */
        .selector-header {
            background: #fff;
            border: 2px solid #e0e0e0;
            border-radius: 50px;
            padding: 20px 30px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
            transition: all 0.3s ease;
            user-select: none;
        }

        .selector-header:hover {
            border-color: #ccc;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }

        .selector-text {
            font-size: 16px;
            font-weight: 400;
            color: #666;
            letter-spacing: 0.5px;
        }

        .selector-arrow {
            transition: transform 0.3s ease;
            color: #666;
        }

        .catalogue-selector.active .selector-arrow {
            transform: rotate(180deg);
        }

        .selector-dropdown {
            position: absolute;
            top: calc(100% + 10px);
            left: 0;
            right: 0;
            background: #fff;
            border: 2px solid #e0e0e0;
            border-radius: 24px;
            padding: 10px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.3s ease;
            z-index: 100;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
        }

        .catalogue-selector.active .selector-dropdown {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .selector-option {
            display: block;
            padding: 16px 24px;
            background: #fff;
            color: #333;
            text-decoration: none;
            border-radius: 18px;
            margin-bottom: 6px;
            font-size: 15px;
            font-weight: 400;
            letter-spacing: 0.3px;
            transition: all 0.2s ease;
        }

        .selector-option:last-child {
            margin-bottom: 0;
        }

        .selector-option:hover {
            background: #000;
            color: #fff;
            transform: translateX(4px);
        }
 /* Dark mode styles */
        body.dark-mode .selector-header {
            background: #000;
            border-color: #333;
        }

        body.dark-mode .selector-header:hover {
            border-color: #555;
            box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
        }

        body.dark-mode .selector-text,
        body.dark-mode .selector-arrow {
            color: #999;
        }

        body.dark-mode .selector-dropdown {
            background: #000;
            border-color: #333;
            box-shadow: 0 8px 24px rgba(255, 255, 255, 0.1);
        }

        body.dark-mode .selector-option {
            background: #000;
            color: #ccc;
        }

        body.dark-mode .selector-option:hover {
            background: #fff;
            color: #000;
        }


/* ========================================
   HERO SECTION
   ======================================== */

body.dark-mode .hero-section {
    background: #0a0a0a;
}

body.dark-mode .hero-title {
    color: #fff;
}

body.dark-mode .hero-subtitle {
    color: #999;
}

body.dark-mode .scroll-line {
    background: #333;
}

body.dark-mode .scroll-indicator span {
    color: #666;
}

/* ========================================
   ARCHIVE SECTION (Pages projets)
   ======================================== */

body.dark-mode .archive-section {
    background: #0a0a0a;
}

body.dark-mode .archive-title,
body.dark-mode .logo-small {
    color: #fff;
}

body.dark-mode .archive-number {
    color: #fff;
}

body.dark-mode .archive-name {
    color: #fff;
}

body.dark-mode .archive-category {
    color: #666;
}

body.dark-mode .voir-tout {
    color: #fff;
}

body.dark-mode .grille-link {
    color: #fff;
}

body.dark-mode .archive-menu a {
    color: #666;
}

body.dark-mode .archive-menu a:hover {
    color: #fff;
}

/* ========================================
   FILTRES
   ======================================== */

body.dark-mode .filter-container {
    border-bottom: 1px solid #222;
}

body.dark-mode .filter-btn {
    color: #666;
}

body.dark-mode .filter-btn:hover,
body.dark-mode .filter-btn.active {
    color: #fff;
}

body.dark-mode .filter-btn.active::after {
    background: #fff;
}

/* ========================================
   PROJECTS LIST (Vue liste)
   ======================================== */

body.dark-mode .project-item {
    border-bottom: 1px solid #222;
}

body.dark-mode .project-item:hover {
    opacity: 0.7;
}

body.dark-mode .project-year {
    color: #fff;
}

body.dark-mode .project-name {
    color: #fff;
}

body.dark-mode .project-type {
    color: #666;
}

/* ========================================
   PROJECTS GRID (Vue grille)
   ======================================== */

body.dark-mode .project-details .project-year {
    color: #fff;
}

body.dark-mode .project-details .project-name {
    color: #fff;
}

body.dark-mode .project-details .project-type {
    color: #666;
}

body.dark-mode .project-overlay {
    background: rgba(0, 0, 0, 0.8);
}

body.dark-mode .view-text {
    color: #fff;
}

/* ========================================
   CONTACT SECTION
   ======================================== */

body.dark-mode .contact-section {
    background: #000;
}

body.dark-mode .contact-title {
    color: #fff;
}

body.dark-mode .contact-subtitle {
    color: #ccc;
}

body.dark-mode .contact-button {
    border: 1px solid #fff;
    background: #000;
    color: #fff;
}

body.dark-mode .contact-button:hover {
    background: #fff;
    color: #000;
}

/* ========================================
   ABOUT PAGE (Page info)
   ======================================== */

body.dark-mode .about-extended {
    background: #0a0a0a;
    color: #fff;
}

body.dark-mode .about-extended h2 {
    color: #fff;
}

body.dark-mode .about-extended p {
    color: #ccc;
}

body.dark-mode .cv-button {
    background: #fff;
    color: #000;
}

body.dark-mode .cv-button:hover {
    background: #ccc;
}

body.dark-mode .about-contact {
    color: #ccc;
}

body.dark-mode .about-list h3 {
    color: #fff;
}

body.dark-mode .about-item {
    color: #ccc;
    border-top: 1px solid #222;
}

body.dark-mode .about-item:last-child {
    border-bottom: 1px solid #222;
}

body.dark-mode .about-page-section {
    background: #0a0a0a;
}

body.dark-mode .about-title {
    color: #fff;
}

body.dark-mode .about-text {
    color: #ccc;
}

/* ========================================
   CONTACT PAGE
   ======================================== */

body.dark-mode .contact-page-section {
    background: #000;
}

body.dark-mode .contact-label {
    color: #666;
}

body.dark-mode .contact-value {
    color: #fff;
}

body.dark-mode .contact-item {
    color: #fff;
}

/* ========================================
   PROJECT DETAIL PAGES
   ======================================== */

body.dark-mode .project-detail-page {
    background: #0a0a0a;
}

body.dark-mode .project-title-section {
    background: #0a0a0a;
}

body.dark-mode .project-year-badge {
    background: #fff;
    color: #000;
}

body.dark-mode .project-detail-title {
    color: #fff;
}

body.dark-mode .project-detail-category {
    color: #999;
}

body.dark-mode .project-content-section {
    background: #0a0a0a;
}

body.dark-mode .project-description-title {
    color: #fff;
}

body.dark-mode .project-description-text {
    color: #ccc;
}

body.dark-mode .project-description-text p {
    color: #ccc;
}

body.dark-mode .project-meta-item h2,
body.dark-mode .project-meta-item h3 {
    color: #fff;
}

body.dark-mode .project-meta-item p {
    color: #ccc;
}

body.dark-mode .project-info-block h2,
body.dark-mode .project-info-block h3 {
    color: #fff;
}

body.dark-mode .project-info-block p {
    color: #ccc;
}

body.dark-mode .project-info-block ul li {
    color: #ccc;
    border-bottom: 1px solid #222;
}

/* Info blocks pour page projet */
body.dark-mode .info-block h3 {
    color: #999;
}

body.dark-mode .info-block p {
    color: #fff;
}

/* Two column content */
body.dark-mode .two-col-content .content-block h3 {
    color: #fff;
}

body.dark-mode .two-col-content .content-block p,
body.dark-mode .two-col-content .content-block li {
    color: #ccc;
    border-color: #222;
}

/* Concept section */
body.dark-mode .concept-section {
    background: #111;
}

body.dark-mode .concept-section h3 {
    color: #fff;
}

body.dark-mode .concept-section p {
    color: #ccc;
}

/* Description section */
body.dark-mode .description-section h2 {
    color: #fff;
}

body.dark-mode .description-section p {
    color: #ccc;
}

/* Audio section */
body.dark-mode .audio-section {
    background: #111;
}

body.dark-mode .audio-section h3 {
    color: #fff;
}

body.dark-mode .audio-player-container {
    background: #0a0a0a;
}

body.dark-mode .audio-title {
    color: #fff;
}

body.dark-mode .audio-download {
    background: #fff;
    color: #000;
}

body.dark-mode .audio-download:hover {
    background: #ccc;
}

body.dark-mode .project-scroll-indicator span {
    color: #666;
}

body.dark-mode .project-scroll-line {
    background: #333;
}

/* ========================================
   SECTION CLIENTS - "Colaboration marques de golf"
   ======================================== */

.clients-section {
    padding: 100px 0;
    background: #fff;
    overflow: hidden;
    position: relative;
}

body.dark-mode .clients-section {
    background: #0a0a0a;
}

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

.clients-header {
    text-align: center;
    margin-bottom: 20px;
}

.clients-subtitle {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 400;
    margin-bottom: 15px;
}

body.dark-mode .clients-subtitle {
    color: #666;
}

.clients-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -1px;
    color: #000;
    margin-bottom: 60px;
}

body.dark-mode .clients-title {
    color: #fff;
}

/* Slider wrapper */
.clients-slider-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 40px 0;
}

/* Gradient overlays pour effet de fondu sur les côtés */
.clients-slider-wrapper::before,
.clients-slider-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.clients-slider-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #fff, transparent);
}

.clients-slider-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #fff, transparent);
}

body.dark-mode .clients-slider-wrapper::before {
    background: linear-gradient(to right, #0a0a0a, transparent);
}

body.dark-mode .clients-slider-wrapper::after {
    background: linear-gradient(to left, #0a0a0a, transparent);
}

/* Slider track */
.clients-slider-track {
    display: flex;
    gap: 80px;
    animation: scroll-left 40s linear infinite;
    width: max-content;
}

/* Animation de défilement */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause l'animation au survol */
.clients-slider-track:hover {
    animation-play-state: paused;
}

/* Logo item */
.client-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    height: 80px;
    padding: 20px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

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

.client-logo-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) brightness(0);
    opacity: 0.6;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

/* Mode sombre - logos blancs */
body.dark-mode .client-logo-item img {
    filter: grayscale(100%) brightness(0) invert(1);
    opacity: 0.7;
}

.client-logo-item:hover img {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
}

body.dark-mode .client-logo-item:hover img {
    filter: grayscale(0%) brightness(1) invert(0);
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .clients-section {
        padding: 60px 0;
    }

    .clients-container {
        padding: 0 20px;
    }

    .clients-title {
        margin-bottom: 40px;
    }

    .clients-slider-track {
        gap: 50px;
        animation-duration: 30s;
    }

    .client-logo-item {
        min-width: 150px;
        height: 60px;
    }

    .clients-slider-wrapper::before,
    .clients-slider-wrapper::after {
        width: 50px;
    }
}

/* ========================================
   FOOTER
   ======================================== */

/* Le footer reste noir dans tous les modes pour cohérence */
footer {
    background: #000;
    color: #fff;
}

.footer-logo-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

.footer-logo-link:visited,
.footer-logo-link:hover,
.footer-logo-link:active {
    color: inherit;
    text-decoration: none;
}


body.dark-mode footer {
    background: #000;
}

body.dark-mode .footer-logo,
body.dark-mode .footer-tagline,
body.dark-mode .footer-heading,
body.dark-mode .footer-nav a,
body.dark-mode .footer-contact,
body.dark-mode .footer-social a,
body.dark-mode .footer-bottom {
    color: #fff;
}

body.dark-mode .footer-tagline {
    color: #ccc;
}

body.dark-mode .footer-heading {
    color: #999;
}

body.dark-mode .footer-bottom {
    color: #999;
    border-top: 1px solid #333;
}

/* ========================================
   PLACEHOLDERS IMAGES
   ======================================== */

body.dark-mode .image-placeholder {
    background: #1a1a1a;
}

body.dark-mode .image-1 {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
}

body.dark-mode .image-2 {
    background: linear-gradient(135deg, #2a2a2a 0%, #151515 100%);
}

body.dark-mode .project-image .image-placeholder {
    background: #1a1a1a;
}

/* ========================================
   THEME TOGGLE BUTTON
   ======================================== */

body.dark-mode .theme-toggle-label {
    color: #666;
}

body.dark-mode .toggle-switch {
    background: #333;
}

body.dark-mode .toggle-switch.active {
    background: #fff;
}

body.dark-mode .toggle-circle {
    background: #fff;
}

body.dark-mode .toggle-switch.active .toggle-circle {
    background: #000;
}

/* Curseur blanc sur fond noir (Footer) */
footer .custom-cursor,
body:has(footer:hover) .custom-cursor {
    border-color: #fff;
}

footer .custom-cursor.active {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* Curseur blanc sur section contact (fond noir) */
.contact-section ~ * .custom-cursor,
.contact-page-section ~ * .custom-cursor {
    border-color: #fff;
}

/* Mode sombre : curseur blanc partout */
body.dark-mode .custom-cursor {
    border: 2px solid #fff;
}

body.dark-mode .custom-cursor.active {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* Mode clair : curseur noir par défaut */
body:not(.dark-mode) .custom-cursor {
    border-color: #000;
}

body:not(.dark-mode) .custom-cursor.active {
    border-color: #000;
    background: rgba(0, 0, 0, 0.1);
}

* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Mode sombre - Body et éléments principaux */
body.dark-mode {
    background: #0a0a0a;
    color: #fff;
}

body.dark-mode header {
    background: #0a0a0a;
    border-bottom: 1px solid #222;
}

body.dark-mode .logo a,
body.dark-mode .nav-menu a {
    color: #fff;
}

body.dark-mode .nav-menu a:hover {
    opacity: 0.6;
}

/* Hero Section en mode sombre */
body.dark-mode .hero-title {
    color: #fff;
}

body.dark-mode .hero-subtitle {
    color: #999;
}

body.dark-mode .scroll-line {
    background: #333;
}

body.dark-mode .scroll-indicator span {
    color: #666;
}

/* Archive Section en mode sombre */
body.dark-mode .archive-section {
    background: #0a0a0a;
}

body.dark-mode .archive-title,
body.dark-mode .logo-small {
    color: #fff;
}

body.dark-mode .archive-number,
body.dark-mode .archive-name {
    color: #fff;
}

body.dark-mode .archive-category {
    color: #666;
}

body.dark-mode .voir-tout {
    color: #fff;
}

body.dark-mode .grille-link {
    color: #fff;
}

body.dark-mode .archive-menu a {
    color: #666;
}

/* Filtres en mode sombre */
body.dark-mode .filter-container {
    border-bottom: 1px solid #222;
}

body.dark-mode .filter-btn {
    color: #666;
}

body.dark-mode .filter-btn:hover,
body.dark-mode .filter-btn.active {
    color: #fff;
}

body.dark-mode .filter-btn.active::after {
    background: #fff;
}

/* Projects List en mode sombre */
body.dark-mode .project-item {
    border-bottom: 1px solid #222;
}

body.dark-mode .project-year,
body.dark-mode .project-name {
    color: #fff;
}

body.dark-mode .project-type {
    color: #666;
}

/* Projects Grid en mode sombre */
body.dark-mode .project-overlay {
    background: rgba(255, 255, 255, 0.1);
}

body.dark-mode .view-text {
    color: #000;
}

/* Contact Section en mode sombre */
body.dark-mode .contact-section {
    background: #000;
}

body.dark-mode .contact-title {
    color: #fff;
}

body.dark-mode .contact-subtitle {
    color: #999;
}

body.dark-mode .contact-button {
    border: 1px solid #fff;
    background: #000;
    color: #fff;
}

body.dark-mode .contact-button:hover {
    background: #fff;
    color: #000;
}

/* About Page en mode sombre */
body.dark-mode .about-page-section {
    background: #0a0a0a;
}

body.dark-mode .about-title {
    color: #fff;
}

body.dark-mode .about-text {
    color: #ccc;
}

/* Contact Page en mode sombre */
body.dark-mode .contact-page-section {
    background: #000;
}

body.dark-mode .contact-label {
    color: #666;
}

body.dark-mode .contact-value {
    color: #fff;
}

/* Project Detail Pages en mode sombre */
body.dark-mode .project-detail-page {
    background: #0a0a0a;
}

body.dark-mode .project-year-badge {
    background: #fff;
    color: #000;
}

body.dark-mode .project-detail-title {
    color: #fff;
}

body.dark-mode .project-detail-category {
    color: #999;
}

body.dark-mode .project-content-section {
    background: #0a0a0a;
}

body.dark-mode .project-description-title {
    color: #fff;
}

body.dark-mode .project-description-text {
    color: #ccc;
}

body.dark-mode .project-meta-item h2 {
    color: #fff;
}

body.dark-mode .project-meta-item p {
    color: #ccc;
}

body.dark-mode .project-info-block h2 {
    color: #fff;
}

body.dark-mode .project-info-block p {
    color: #ccc;
}

body.dark-mode .project-info-block ul li {
    color: #ccc;
    border-bottom: 1px solid #222;
}

body.dark-mode .project-scroll-indicator span {
    color: #666;
}

body.dark-mode .project-scroll-line {
    background: #333;
}

/* Placeholders images en mode sombre */
body.dark-mode .image-placeholder {
    background: #1a1a1a;
}

body.dark-mode .image-1 {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
}

body.dark-mode .image-2 {
    background: linear-gradient(135deg, #2a2a2a 0%, #151515 100%);
}

/* Custom Cursor en mode sombre */
body.dark-mode .custom-cursor {
    border: 2px solid #fff;
}

body.dark-mode .custom-cursor.active {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* ========================================
   THEME TOGGLE BUTTON STYLES
   ======================================== */

.theme-toggle-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
}

.theme-toggle-label {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
}

body.dark-mode .theme-toggle-label {
    color: #666;
}

.toggle-switch {
    position: relative;
    width: 60px;
    height: 30px;
    background: #e0e0e0;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

body.dark-mode .toggle-switch {
    background: #333;
}

.toggle-switch.active {
    background: #000;
}

body.dark-mode .toggle-switch.active {
    background: #fff;
}

.toggle-circle {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

body.dark-mode .toggle-circle {
    background: #fff;
}

.toggle-switch.active .toggle-circle {
    transform: translateX(30px);
    background: #fff;
}

body.dark-mode .toggle-switch.active .toggle-circle {
    background: #000;
}

/* Responsive pour le toggle */
@media (max-width: 768px) {
    .theme-toggle-container {
        margin-top: 20px;
    }
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #000;
    background: #fff;
    overflow-x: hidden;
    cursor: none;
}

/* Custom Cursor */
.custom-cursor {
    width: 20px;
    height: 20px;
    border: 2px solid #000;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s;
    display: none;
}

.custom-cursor.active {
    width: 40px;
    height: 40px;
    border-color: #000;
    background: rgba(0, 0, 0, 0.1);
}

body:hover .custom-cursor {
    display: block;
}

@media (max-width: 768px) {
    body {
        cursor: auto;
    }
    
    .custom-cursor {
        display: none !important;
    }
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    z-index: 1000;
    padding: 20px 40px;
}

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

.logo a {
    font-size: 14px;
    font-weight: 400;
    color: #000;
    text-decoration: none;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    font-size: 14px;
    color: #000;
    text-decoration: none;
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: opacity 0.3s;
}

.nav-menu a:hover {
    opacity: 0.6;
}

.grille-link {
    position: relative;
}

.grille-link::before {
    content: '•';
    margin-right: 5px;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 100px 40px 40px;
    position: relative;
}

.hero-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-title {
    font-size: clamp(60px, 15vw, 180px);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -2px;
    text-transform: uppercase;
    color: #000;
}

.title-line {
    display: block;
}

.hero-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
}

.hero-subtitle {
    font-size: 14px;
    color: #666;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.scroll-indicator span {
    font-size: 12px;
    color: #999;
    letter-spacing: 2px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: #ddd;
}

/* Archive Section */
.archive-section {
    min-height: 100vh;
    padding: 100px 40px 60px;
    background: #fff;
}

.archive-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
}

.archive-title-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.logo-small {
    font-size: 14px;
    font-weight: 400;
    color: #000;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.archive-title {
    font-size: 80px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -2px;
    text-transform: uppercase;
    color: #000;
}

.archive-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
}

.archive-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.archive-menu a {
    font-size: 14px;
    color: #999;
    text-decoration: none;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.archive-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.archive-actions .grille-link {
    font-size: 14px;
    color: #000;
    text-decoration: none;
}

.voir-tout {
    font-size: 14px;
    color: #000;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.archive-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.archive-item {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: opacity 0.3s;
}

.archive-item:hover {
    opacity: 0.8;
}

.archive-image {
    width: 100%;
    height: 500px;
    margin-bottom: 20px;
    overflow: hidden;
    position: relative;
}

.archive-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: #f0f0f0;
    position: relative;
}

.image-1 {
    background: linear-gradient(135deg, #e0e0e0 0%, #c0c0c0 100%);
}

.image-1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        #000 0px,
        #000 2px,
        transparent 2px,
        transparent 20px
    );
    opacity: 0.1;
}

.image-2 {
    background: linear-gradient(135deg, #d0d0d0 0%, #a0a0a0 100%);
}

.image-2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(0,0,0,0.1) 0%, transparent 50%),
        linear-gradient(45deg, transparent 30%, rgba(0,0,0,0.05) 50%, transparent 70%);
}

.archive-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.archive-number {
    font-size: 12px;
    color: #000;
    font-weight: 400;
}

.archive-name {
    font-size: 18px;
    color: #000;
    font-weight: 500;
}

.archive-category {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: right;
    margin-top: 10px;
}

/* Filter Buttons */
.filter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 40px 0 60px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.filter-btn {
    background: none;
    border: none;
    font-size: 14px;
    color: #999;
    cursor: pointer;
    padding: 8px 0;
    font-family: inherit;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.3s;
    position: relative;
}

.filter-btn:hover {
    color: #000;
}

.filter-btn.active {
    color: #000;
}

.filter-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: #000;
}

/* Projects List */
.projects-list {
    display: none;
    flex-direction: column;
    gap: 0;
    margin-top: 40px;
}

.projects-list.active {
    display: flex;
}

.archive-grid.hidden {
    display: none;
}

.archive-item.hidden {
    display: none;
}

.project-item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 40px;
    padding: 30px 0;
    border-bottom: 1px solid #e0e0e0;
    align-items: center;
    transition: opacity 0.3s, transform 0.3s;
    cursor: pointer;
}

.project-item:hover {
    opacity: 0.6;
}

.project-item.hidden {
    display: none;
}

.project-year {
    font-size: 14px;
    color: #000;
    font-weight: 400;
}

.project-name {
    font-size: 18px;
    color: #000;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.project-type {
    font-size: 14px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: right;
}

/* 4-Column Projects Grid */
.projects-grid-4col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.project-block {
    display: flex;
    flex-direction: column;
    transition: transform 0.3s;
}

.project-block.hidden {
    display: none;
}

.project-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    margin-bottom: 20px;
    overflow: hidden;
    background: #f0f0f0;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-image .image-placeholder {
    width: 100%;
    height: 100%;
    background: #f0f0f0;
    position: relative;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.project-block:hover .project-overlay {
    opacity: 1;
}

.view-text {
    color: #fff;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.project-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.project-details .project-year {
    font-size: 12px;
    color: #000;
    font-weight: 400;
}

.project-details .project-name {
    font-size: 16px;
    color: #000;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.project-details .project-type {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: left;
    margin-top: 5px;
}

/* Project Image Placeholders */
.project-img-1 {
    background: linear-gradient(135deg, #fff 0%, #f5f5f5 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 30px;
}

.project-img-1::before {
    content: '';
    width: 40px;
    height: 60px;
    background: #ffd700;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    transform: rotate(-45deg);
}

.project-img-2 {
    background: linear-gradient(135deg, #e0e0e0 0%, #c0c0c0 100%);
}

.project-img-2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300"><rect fill="%23ddd" width="400" height="300"/><text x="200" y="150" text-anchor="middle" fill="%23999" font-size="14">TAUTAVEL</text></svg>');
    background-size: cover;
}

.project-img-2 {
    background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
}

.project-img-2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300"><rect fill="%23000" width="400" height="300"/><rect x="50" y="50" width="300" height="200" fill="%23cc0000"/><text x="200" y="160" text-anchor="middle" fill="%23fff" font-size="12">COMMANDO</text></svg>');
    background-size: cover;
}

.project-img-4 {
    background: linear-gradient(135deg, #a8e6cf 0%, #88d8c0 100%);
}

.project-img-4::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    background: repeating-linear-gradient(
        45deg,
        #fff 0px,
        #fff 10px,
        #e0e0e0 10px,
        #e0e0e0 20px
    );
    opacity: 0.3;
}

.project-img-5,
.project-img-6,
.project-img-7,
.project-img-8,
.project-img-9,
.project-img-10,
.project-img-11,
.project-img-12,
.project-img-13,
.project-img-14,
.project-img-15,
.project-img-16 {
    background: linear-gradient(135deg, #e0e0e0 0%, #c0c0c0 100%);
}

/* About Page */
.about-page-section {
    min-height: 100vh;
    padding: 120px 40px 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-content {
    max-width: 800px;
    width: 100%;
}

.about-title {
    font-size: clamp(40px, 8vw, 80px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 40px;
    color: #000;
}

.about-text {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

.about-text p {
    margin-bottom: 20px;
}

/* Contact Page */
.contact-page-section {
    min-height: 100vh;
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 40px 80px;
}

.contact-info {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-label {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-value {
    font-size: 18px;
    color: #fff;
}

/* View Toggle */
.view-toggle {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.view-btn {
    background: none;
    border: none;
    font-size: 14px;
    color: #999;
    cursor: pointer;
    padding: 8px 0;
    font-family: inherit;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.view-btn.active {
    color: #000;
}

/* Contact Section */
.contact-section {
    min-height: 100vh;
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 40px;
}

.contact-content {
    max-width: 800px;
    width: 100%;
}

.contact-title {
    font-size: clamp(40px, 8vw, 80px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 30px;
    color: #fff;
}

.glitch-text {
    position: relative;
    text-shadow: 
        1px 0 0 rgba(255, 255, 255, 0.1),
        -1px 0 0 rgba(255, 255, 255, 0.1);
    animation: glitch 4s infinite;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.glitch-text::before {
    left: 1px;
    text-shadow: -1px 0 rgba(255, 255, 255, 0.3);
    clip: rect(0, 0, 0, 0);
    animation: glitch-anim 3s infinite linear alternate-reverse;
}

.glitch-text::after {
    left: -1px;
    text-shadow: 1px 0 rgba(255, 255, 255, 0.3);
    clip: rect(0, 0, 0, 0);
    animation: glitch-anim2 2s infinite linear alternate-reverse;
}

@keyframes glitch {
    0%, 90%, 100% {
        text-shadow: 
            1px 0 0 rgba(255, 255, 255, 0.1),
            -1px 0 0 rgba(255, 255, 255, 0.1);
        transform: translate(0);
    }
    92% {
        text-shadow: 
            2px 0 0 rgba(255, 255, 255, 0.2),
            -2px 0 0 rgba(255, 255, 255, 0.2);
        transform: translate(-1px, 1px);
    }
    94% {
        text-shadow: 
            -1px 0 0 rgba(255, 255, 255, 0.2),
            1px 0 0 rgba(255, 255, 255, 0.2);
        transform: translate(1px, -1px);
    }
    96% {
        text-shadow: 
            1px 0 0 rgba(255, 255, 255, 0.1),
            -1px 0 0 rgba(255, 255, 255, 0.1);
        transform: translate(0);
    }
}

@keyframes glitch-anim {
    0%, 100% {
        opacity: 0;
        clip: rect(0, 0, 0, 0);
    }
    5% {
        opacity: 0.3;
        clip: rect(20px, 9999px, 40px, 0);
        transform: translate(1px);
    }
    10% {
        opacity: 0;
        clip: rect(0, 0, 0, 0);
    }
    15% {
        opacity: 0.3;
        clip: rect(60px, 9999px, 80px, 0);
        transform: translate(-1px);
    }
    20% {
        opacity: 0;
        clip: rect(0, 0, 0, 0);
    }
}

@keyframes glitch-anim2 {
    0%, 100% {
        opacity: 0;
        clip: rect(0, 0, 0, 0);
    }
    3% {
        opacity: 0.3;
        clip: rect(30px, 9999px, 50px, 0);
        transform: translate(-1px);
    }
    6% {
        opacity: 0;
        clip: rect(0, 0, 0, 0);
    }
    9% {
        opacity: 0.3;
        clip: rect(50px, 9999px, 70px, 0);
        transform: translate(1px);
    }
    12% {
        opacity: 0;
        clip: rect(0, 0, 0, 0);
    }
}

.contact-subtitle {
    font-size: 18px;
    color: #ccc;
    margin-bottom: 40px;
    font-weight: 400;
    line-height: 1.6;
}

.contact-button {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid #fff;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    letter-spacing: 0.5px;
    transition: background 0.3s, color 0.3s;
}

.contact-button:hover {
    background: #fff;
    color: #000;
}

/* Footer */
footer {
    background: #000;
    color: #fff;
    padding: 80px 40px 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.footer-tagline {
    font-size: 14px;
    color: #ccc;
    font-weight: 400;
}

.footer-heading {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.footer-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.3s;
}

.footer-nav a:hover {
    opacity: 0.6;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 14px;
    color: #fff;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 5px;
}

.footer-social a,
.footer-social span {
    font-size: 14px;
    color: #fff !important;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-social a:hover {
    opacity: 0.6;
    color: #fff !important;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 40px;
    border-top: 1px solid #333;
    font-size: 12px;
    color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }

    .nav-menu {
        gap: 20px;
    }

    .nav-menu a {
        font-size: 12px;
    }

    .hero-section {
        padding: 80px 20px 30px;
    }

    .hero-title {
        font-size: 60px;
    }

    .archive-section {
        padding: 80px 20px 40px;
    }

    .archive-title {
        font-size: 50px;
    }

    .archive-header {
        flex-direction: column;
        gap: 30px;
    }

    .archive-nav {
        align-items: flex-start;
    }

    .archive-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .archive-image {
        height: 400px;
    }

    .filter-container {
        gap: 15px;
        margin: 30px 0 40px;
    }

    .filter-btn {
        font-size: 12px;
    }

    .project-item {
        grid-template-columns: 60px 1fr auto;
        gap: 20px;
        padding: 20px 0;
    }

    .project-year {
        font-size: 12px;
    }

    .project-name {
        font-size: 16px;
    }

    .project-type {
        font-size: 12px;
    }

    .projects-grid-4col {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .contact-section {
        padding: 80px 20px;
    }

    .about-page-section,
    .contact-page-section {
        padding: 100px 20px 60px;
    }

    .contact-title {
        font-size: 36px;
    }

    footer {
        padding: 60px 20px 30px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }

    .projects-grid-4col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .projects-grid-4col {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Project Detail Page Styles */
.project-detail-page {
    min-height: 100vh;
    background: #fff;
}

/* Project Title Section (First Part) */
.project-title-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 40px 40px;
    position: relative;
}

.project-title-container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.project-year-badge {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.5px;
    width: fit-content;
    margin-bottom: 20px;
}

.project-detail-title {
    font-size: clamp(60px, 12vw, 150px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -2px;
    text-transform: uppercase;
    color: #000;
    margin: 0;
}

.project-detail-category {
    font-size: 16px;
    color: #000;
    font-weight: 400;
    letter-spacing: 0.5px;
    margin: 0;
    text-transform: none;
}

/* Project Hero Image Section (Second Part) */
.project-hero-image-section {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.project-hero-image-container {
    width: 100%;
    height: 80vh;
    min-height: 600px;
    overflow: hidden;
    position: relative;
}

.project-hero-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease-out;
    transform-origin: center center;
}

.project-hero-image-container:hover img {
    transform: scale(1.1);
}

/* Project Content Section (Third Part) */
.project-content-section {
    padding: 100px 40px;
    background: #fff;
}

.project-content-container {
    max-width: 1200px;
    margin: 0 auto;
}

.project-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
}

.project-description-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.project-description-column .project-meta-column {
    margin-top: 0;
}

.project-description-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -1px;
    color: #000;
    margin: 0;
}

.project-description-text {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.project-description-text p {
    margin-bottom: 20px;
}

.project-meta-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.project-meta-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.project-meta-item h2 {
    font-size: 12px;
    color: #000;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.project-meta-item p {
    font-size: 14px;
    color: #333;
    margin: 0;
}

.project-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-top: 80px;
}

.project-info-block {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.project-info-block h2 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -1px;
    color: #000;
    margin: 0;
}

.project-info-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.project-info-block ul li {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    padding-bottom: 12px;
    border-bottom: 1px solid #ddd;
}

.project-info-block ul li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.project-info-block p {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin: 0;
}

.video-responsive {
 overflow:hidden;
 padding-bottom:56.25%; 
 position:relative;
 height:0;
}
.video-responsive iframe {
 left:0;
 top:0;
 height:100%;
 width:100%;
 position:absolute;
}

/* Project Images Section */
.project-images-section {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 80px;
}

.project-images-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.project-images-single {
    display: flex;
    justify-content: center;
    width: 100%;
}

.project-images-single .project-image-item {
    max-width: 600px;
    width: 100%;
}

.project-image-item {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.project-image-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Scroll Indicator for Project Pages */
.project-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 10;
    animation: scrollJump 1s ease-in-out infinite; /* Animation plus rapide: 2s -> 1s */
}

.project-scroll-indicator.hidden {
    opacity: 0;
    pointer-events: none;
}

.project-scroll-indicator span {
    font-size: 12px;
    color: #999;
    letter-spacing: 2px;
    /* SUPPRIMÉ: writing-mode, text-orientation, transform rotate */
    /* Le texte est maintenant horizontal */
}

.project-scroll-line {
    width: 1px;
    height: 40px;
    background: #ddd;
    transition: height 0.3s;
}

/* Animation plus rapide */
@keyframes scrollJump {
    0%, 100% {
        transform: translate(-50%, -50%) translateY(0);
    }
    50% {
        transform: translate(-50%, -50%) translateY(-8px);
    }
}

/* Mode sombre */
body.dark-mode .project-scroll-indicator span {
    color: #666;
}

body.dark-mode .project-scroll-line {
    background: #333;
}

/* Version pour la page d'accueil (scroll-indicator standard) */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.scroll-indicator span {
    font-size: 12px;
    color: #999;
    letter-spacing: 2px;
    /* SUPPRIMÉ: writing-mode, text-orientation, transform rotate */
    /* Le texte est maintenant horizontal */
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: #ddd;
}

/* Responsive Design for Project Pages */
@media (max-width: 768px) {
    .project-scroll-indicator {
        bottom: 30px;
    }
}
/* Responsive Design for Project Pages */
@media (max-width: 768px) {
    .project-title-section {
        padding: 100px 20px 40px;
    }

    .project-hero-image-container {
        height: 60vh;
        min-height: 400px;
    }

    .project-content-section {
        padding: 60px 20px;
    }

    .project-content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 60px;
    }

    .project-info-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-top: 60px;
    }

    .project-images-section {
        gap: 30px;
        margin-bottom: 60px;
    }

    .project-images-row {
        gap: 20px;
    }

    .project-images-single .project-image-item {
        max-width: 100%;
    }

    .project-scroll-indicator {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}











        /* Container pour les images en arrière-plan */
        .floating-images {
			opacity: 100;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 1;
        }

        .floating-image {
            position: absolute;
            width: 280px;
            height: 280px;
            overflow: hidden;
            opacity: 0;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }

        .floating-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

       