/* ==================== */
/* RESET & BASE STYLES */
/* ==================== */

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

body {
    font-family: 'Inter', sans-serif;
    background-color: #000000;
    color: #ffffff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ==================== */
/* HEADER */
/* ==================== */

.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 30px;
    background-color: transparent;
    backdrop-filter: none;
    z-index: 1000;
    border-bottom: none;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.header.scrolled {
    position: fixed;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: none;
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    width: 100%;
    padding: 0;
    margin: 0;
}

/* Header Navigation */
.header-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    font-size: 18px;
    font-weight: 400;
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.nav-link:hover {
    opacity: 0.7;
}

/* Navigation au centre */
.header-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    font-size: 18px;
    font-weight: 400;
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.nav-link:hover {
    opacity: 0.7;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.social-links svg {
    width: 20px;
    height: 20px;
}

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

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

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero-title {
    font-size: 160px;
    font-weight: 900;
    line-height: 1;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 28px;
    font-weight: 400;
    color: #000000;
    line-height: 1.4;
    max-width: 500px;
}

.hero-subtitle strong {
    font-weight: 700;
}

/* Indicateur de scroll (flèches) */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 3;
}

.scroll-indicator svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ==================== */
/* SECTION À PROPOS */
/* ==================== */

.about {
    background-color: #000000;
    padding: 50px 0;
    min-height: auto;
    display: flex;
    align-items: center;
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-text {
    font-size: 24px;
    font-weight: 300;
    line-height: 1.6;
    color: #ffffff;
    margin: 0;
}

.about-text strong {
    font-weight: 700;
}

.cv-button {
    display: inline-block;
    padding: 15px 40px;
    margin-top: 20px;
    border: 2px solid #ffffff;
    border-radius: 50px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    width: fit-content;
}

.cv-button:hover {
    background-color: #ffffff;
    color: #000000;
    transform: translateY(-2px);
}

.about-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image img {
    width: 100%;
    max-width: 800px;
    height: auto;
    object-fit: cover;
    border-radius: 0;
}

/* ==================== */
/* SECTION SHOWREEL */
/* ==================== */

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

.showreel-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Ratio 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.showreel-credits {
    margin-top: 30px;
    text-align: center;
}

.credit-line {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 10px 0;
    letter-spacing: 1px;
}

.credit-description {
    font-size: 12px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* ==================== */
/* SECTION MES PROJETS */
/* ==================== */

.projects {
    background-color: #000000;
    padding: 20px 0 100px 0;
}

.projects-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.projects-title {
    font-size: 48px;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: -1px;
}

.projects-category {
    font-size: 40px;
    font-weight: 600;
    color: #ffffff;
    margin: 60px 0 30px 0;
    text-transform: none;
}

.projects-category:first-of-type {
    margin-top: 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.project-item {
    position: relative;
    width: 100%;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    display: block;
    aspect-ratio: 4/5;
    background-color: #1a1a1a;
}

.project-thumbnail {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #1a1a1a;
}

.project-item:hover {
    /* pas de zoom sur le container */
}

.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.project-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.project-item:hover img {
    transform: scale(1.05);
}

.project-thumbnail:hover img {
    transform: scale(1.05);
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
    pointer-events: auto;
}

.project-item:hover .photo-overlay {
    opacity: 1;
}

.project-thumbnail:hover .photo-overlay {
    opacity: 1;
}

.view-button {
    padding: 12px 40px;
    border: 2px solid #ffffff;
    border-radius: 50px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.view-button:hover {
    background: #ffffff;
    color: #000000;
}

.project-item a {
    display: block;
    width: 100%;
    height: 100%;
}

.project-item a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.projects-button-container {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.projects-button {
    padding: 15px 50px;
    border: 2px solid #ffffff;
    border-radius: 50px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.projects-button:hover {
    background-color: #ffffff;
    color: #000000;
    transform: translateY(-2px);
}

/* ==================== */
/* SECTION TOOLS */
/* ==================== */

.tools {
    background-color: #000000;
    padding: 120px 0;
}

.tools-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

.tools-title {
    font-size: 40px;
    font-weight: 700;
    color: #ffffff;
    text-align: left;
    margin: 0 0 15px 0;
    line-height: 1.2;
    text-transform: uppercase;
}

.tools-subtitle {
    font-size: 16px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    text-align: left;
    margin: 0 0 60px 0;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.tool-item {
    background-color: #2a2a2a;
    border-radius: 15px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tool-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.tool-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.tool-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.tool-name {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.tool-description {
    font-size: 15px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
}

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

.footer {
    background-color: #000000;
    padding: 60px 60px 40px 60px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

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

.footer-name {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 10px 0;
}

.footer-contact {
    font-size: 16px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-contact a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-right {
    display: flex;
    gap: 20px;
    align-items: center;
}

.footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    transition: all 0.3s ease;
}

.footer-social:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.footer-social svg {
    width: 24px;
    height: 24px;
}

.footer-copyright {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright p {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    letter-spacing: 1px;
}

/* ==================== */
/* RESPONSIVE */
/* ==================== */

@media (max-width: 1200px) {
    .container {
        padding: 0 40px;
    }
    
    .hero-title {
        font-size: 100px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-content {
        padding-left: 40px;
        padding-top: 60px;
    }
    
    .about-container {
        padding: 0 40px;
        gap: 60px;
    }
    
    .about-text {
        font-size: 20px;
    }
    
    .cv-button {
        font-size: 16px;
        padding: 12px 35px;
    }
    
    .showreel {
        padding: 80px 0;
    }
    
    .showreel-container {
        padding: 0 40px;
    }
    
    .projects-container {
        padding: 0 40px;
    }
    
    .projects-title {
        font-size: 40px;
        margin-bottom: 50px;
    }
    
    .projects-grid {
        gap: 15px;
    }
    
    .tools-container {
        padding: 0 40px;
    }
    
    .tools-title {
        font-size: 34px;
    }
    
    .tools-subtitle {
        font-size: 14px;
        margin-bottom: 50px;
    }
    
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .tool-item {
        padding: 25px;
    }
    
    .tool-logo {
        width: 70px;
        height: 70px;
    }
    
    .tool-name {
        font-size: 22px;
    }
    
    .tool-description {
        font-size: 14px;
    }
    
    .footer-container {
        padding: 0 40px;
    }
    
    .footer-name {
        font-size: 22px;
    }
    
    .footer-contact {
        font-size: 15px;
    }
    
    .footer-social {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .hero {
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 70px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .hero-content {
        padding-left: 20px;
        padding-top: 40px;
    }
    
    .about {
        padding: 80px 0;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 0 20px;
    }

    .about-image {
        order: -1;
    }
    
    .about-text {
        font-size: 18px;
    }
    
    .cv-button {
        font-size: 15px;
        padding: 12px 30px;
    }
    
    .about-image img {
        max-width: 100%;
    }
    
    .showreel {
        padding: 60px 0;
    }
    
    .showreel-container {
        padding: 0 20px;
    }
    
    .credit-line {
        font-size: 12px;
    }
    
    .credit-description {
        font-size: 11px;
    }
    
    .projects {
        padding: 60px 0;
    }
    
    .projects-container {
        padding: 0 20px;
    }
    
    .projects-title {
        font-size: 32px;
        margin-bottom: 40px;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .tools {
        padding: 80px 0;
    }
    
    .tools-container {
        padding: 0 20px;
    }
    
    .tools-title {
        font-size: 28px;
    }
    
    .tools-subtitle {
        font-size: 13px;
        margin-bottom: 40px;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .tool-item {
        padding: 20px;
    }
    
    .tool-logo {
        width: 60px;
        height: 60px;
    }
    
    .tool-header {
        gap: 15px;
        margin-bottom: 15px;
    }
    
    .tool-name {
        font-size: 20px;
    }
    
    .tool-description {
        font-size: 13px;
    }
    
    .footer {
        padding: 50px 0 30px;
    }
    
    .footer-container {
        padding: 0 20px;
        flex-direction: column;
        gap: 30px;
        align-items: center;
        text-align: center;
    }
    
    .footer-left {
        align-items: center;
    }
    
    .footer-name {
        font-size: 20px;
    }
    
    .footer-contact {
        font-size: 14px;
    }
    
    .footer-social {
        width: 42px;
        height: 42px;
    }
    
    .footer-copyright {
        margin-top: 40px;
    }
    
    .footer-copyright p {
        font-size: 13px;
    }
    
    .logo img {
        height: 40px;
    }
    
    .social-links {
        gap: 16px;
    }
    
    .social-links a {
        width: 36px;
        height: 36px;
    }
    
    .social-links svg {
        width: 18px;
        height: 18px;
    }
}

    /* Bouton hamburger - caché par défaut sur desktop */
    .hamburger {
        display: none;
    }
    
@media (max-width: 768px) {
    .header .container {
        justify-content: space-between;
        align-items: center;
    }
    .social-links {
        display: none;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 15px 0;
    }
    
    .container {
        padding: 0 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    /* Menu overlay */
    .header-nav {
        display: flex !important;
        position: fixed;
        top: 0;
        left: 40%;
        width: 60%;
        height: 100vh;
        background: #000000;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 0 0 0 80px;
        gap: 70px;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 1000;
        box-shadow: -4px 0 30px rgba(0,0,0,0.8);
    }

    .header-nav.active {
        transform: translateX(0);
    }

    .header-nav .nav-link {
        font-size: 22px;
        font-weight: 700;
        color: #ffffff;
        text-transform: uppercase;
        letter-spacing: 3px;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .header-nav .nav-link:hover {
        color: #999999;
    }
    
    /* Cacher les réseaux en mobile */
    .social-links {
        display: none;
    }
    
    /* Bouton hamburger */
    .hamburger {
        display: block !important;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        width: 30px;
        height: 24px;
        position: relative;
        z-index: 1002;
    }
    
    .hamburger span {
        display: block;
        width: 100%;
        height: 2px;
        background: #ffffff;
        margin: 6px 0;
        transition: 0.3s;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero {
        min-height: 400px;
    }
    
    .hero-title {
        font-size: 50px;
    }
    
    .hero-subtitle {
        font-size: 12px;
    }
    
    .hero-content {
        padding-left: 15px;
        padding-top: 30px;
    }
    
    .about {
        padding: 60px 0;
    }
    
    .about-container {
        padding: 0 15px;
        gap: 40px;
    }
    
    .about-text {
        font-size: 16px;
    }
    
    .cv-button {
        font-size: 14px;
        padding: 10px 25px;
    }
    
    .showreel {
        padding: 50px 0;
    }
    
    .showreel-container {
        padding: 0 15px;
    }
    
    .credit-line {
        font-size: 11px;
    }
    
    .credit-description {
        font-size: 10px;
    }
    
    .projects {
        padding: 50px 0;
    }
    
    .projects-container {
        padding: 0 15px;
    }
    
    .projects-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .tools {
        padding: 60px 0;
    }
    
    .tools-container {
        padding: 0 15px;
    }
    
    .tools-title {
        font-size: 24px;
    }
    
    .tools-subtitle {
        font-size: 12px;
        margin-bottom: 35px;
    }
    
    .tools-grid {
        gap: 18px;
    }
    
    .tool-item {
        padding: 18px;
    }
    
    .tool-logo {
        width: 55px;
        height: 55px;
    }
    
    .tool-header {
        gap: 12px;
        margin-bottom: 12px;
    }
    
    .tool-name {
        font-size: 18px;
    }
    
    .tool-description {
        font-size: 12px;
    }
    
    .footer {
        padding: 40px 0 25px;
    }
    
    .footer-container {
        padding: 0 15px;
    }
    
    .footer-name {
        font-size: 18px;
    }
    
    .footer-contact {
        font-size: 13px;
    }
    
    .footer-social {
        width: 40px;
        height: 40px;
    }
    
    .footer-copyright {
        margin-top: 35px;
    }
    
    .footer-copyright p {
        font-size: 12px;
    }
    
    .logo img {
        height: 35px;
    }
    
    .social-links {
        gap: 12px;
    }
    
    .social-links a {
        width: 32px;
        height: 32px;
    }
    
    .social-links svg {
        width: 16px;
        height: 16px;
    }
}
@media (max-width: 768px) {
    .project-item.hide-mobile {
        display: none !important;
    }
}
@media (max-width: 480px) {
    .project-item.hide-mobile {
        display: none !important;
    }
}