/* GALERIE KOLAF - Scroll avec vidéo */

/* Override du min-height: 100vh de Project.css */
.project-hero {
    min-height: 0 !important;
    height: auto !important;
    padding: 60px 0 40px !important;
}

/* ==================== */
/* FIL D'ARIANE */
/* ==================== */

.breadcrumb-section {
    background-color: #000000;
    padding: 120px 0 20px;
    border-bottom: none;
    position: relative;
    z-index: 5;
    margin-top: 0;
}

.breadcrumb-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    font-size: 20px;
    color: #ffffff;
}

.breadcrumb-separator-gray {
    color: #999999 !important;
}

.breadcrumb-container a {
    color: #999;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.breadcrumb-container a:hover {
    color: #ffffff;
}

.breadcrumb-container span {
    color: #ffffff;
    text-decoration: none;
}

/* ==================== */
/* GALERIE */
/* ==================== */

.project-gallery {
    background-color: #000000;
    padding: 0 0 100px;
    width: 100%;
}

.gallery-scroll {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.gallery-scroll::-webkit-scrollbar {
    display: none;
}

.gallery-scroll:active {
    cursor: grabbing;
}

.gallery-track {
    display: flex;
    gap: 50px;
    padding: 0 60px;
    width: max-content;
}

.gallery-item video {
    width: 500px !important;
    height: 500px !important;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .breadcrumb-container {
        padding: 0 20px;
        font-size: 16px;
    }

    .gallery-item {
        height: 500px;
    }
    
    .gallery-track {
        padding: 0 0px;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .breadcrumb-container {
        padding: 0 15px;
        font-size: 14px;
    }

    .gallery-item {
        height: 400px;
    }
    
    .gallery-track {
        gap: 0px;
    }
}
/* ---- Fil d'ariane uniformisé mobile ---- */
@media (max-width: 768px) {
    .breadcrumb-section,
    .breadcrumb-section-video {
        padding: 100px 0 20px !important;
    }
    .breadcrumb-container,
    .breadcrumb-container-video {
        font-size: 16px !important;
    }
}
@media (max-width: 480px) {
    .breadcrumb-section,
    .breadcrumb-section-video {
        padding: 100px 0 20px !important;
    }
    .breadcrumb-container,
    .breadcrumb-container-video {
        font-size: 16px !important;
    }
}

@media (max-width: 768px) {
    .project-description p { font-size: 14px !important; }
    .project-description p.project-info { font-size: 12px !important; }
    .project-tools { margin-top: 30px !important; }
    .tool-icon { width: 80px !important; height: 80px !important; }
}
@media (max-width: 480px) {
    .project-description p { font-size: 14px !important; }
    .project-description p.project-info { font-size: 12px !important; }
    .project-tools { margin-top: 30px !important; }
    .tool-icon { width: 80px !important; height: 80px !important; }
}

/* ---- Fix vidéo même taille que les photos ---- */
@media (max-width: 768px) {
    .gallery-item video {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain;
    }
}

@media (max-width: 480px) {
    .gallery-item video {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain;
    }
}

/* ---- Logiciels uniformisés mobile ---- */
@media (max-width: 768px) {
    .tools-label,
    .pv-tools-label {
        font-size: 24px !important;
        text-align: left !important;
    }
    .tools-icons img,
    .pv-tools-icons img,
    .tool-icon {
        width: 80px !important;
        height: 80px !important;
    }
    .tools-icons,
    .pv-tools-icons {
        margin-left: 0 !important;
        margin-top: 10px !important;
        justify-content: flex-start !important;
    }
    .project-video-tools,
    .project-tools,
    .pv-tools {
        align-items: flex-start !important;
        gap: 10px !important;
        margin-top: 10px !important;
    }
}
@media (max-width: 480px) {
    .tools-label,
    .pv-tools-label {
        font-size: 24px !important;
        text-align: left !important;
    }
    .tools-icons img,
    .pv-tools-icons img,
    .tool-icon {
        width: 80px !important;
        height: 80px !important;
    }
    .tools-icons,
    .pv-tools-icons {
        margin-left: 0 !important;
        margin-top: 10px !important;
        justify-content: flex-start !important;
    }
    .project-video-tools,
    .project-tools,
    .pv-tools {
        align-items: flex-start !important;
        gap: 10px !important;
        margin-top: 10px !important;
    }
}