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

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: 4/2;
    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 span {
    font-size: 14px;
    color: #fff;
}

.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;
}

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

/* Scroll Indicator for Project Pages */
.project-scroll-indicator {
    position: absolute;      /* au lieu de fixed */
    bottom: 40px;            /* distance sous le titre */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 10;             /* pour rester visible */
    animation: scrollJump 2s ease-in-out infinite;
}


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

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

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

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

/* 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-scroll-indicator {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}
