/* Style.css - Portfolio style Cathy Dolle */

:root {
    --color-bg: #0a0a0a;
    --color-text: #ffffff;
    --color-text-secondary: #b0b0b0;
    --color-accent: #ff3366;
    --color-border: #2a2a2a;
    --font-display: 'Archivo Black', sans-serif;
    --font-body: 'DM Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
}

::selection {
    background: var(--color-accent);
    color: #fff;
}

/* Custom Cursor */
.cursor {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-accent);
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    will-change: transform;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--color-accent);
    position: fixed;
    top: -20px;
    left: -20px;
    pointer-events: none;
    z-index: 9998;
    mix-blend-mode: difference;
    will-change: transform;
    transition: width 0.3s ease, height 0.3s ease, top 0.3s ease, left 0.3s ease, background 0.3s ease;
}

.cursor-hover {
    width: 15px;
    height: 15px;
}

.cursor-follower.cursor-hover {
    width: 60px;
    height: 60px;
    top: -30px;
    left: -30px;
    background: rgba(255, 51, 102, 0.1);
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: linear-gradient(180deg, var(--color-bg) 0%, transparent 100%);
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-text);
    text-decoration: none;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-menu a,
.nav-back {
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-back:hover {
    color: var(--color-accent);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 1;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 10vw, 8rem);
    line-height: 0.9;
    text-transform: uppercase;
    letter-spacing: -2px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-title.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-line {
    display: block;
}

.hero-scroll {
    position: absolute;
    bottom: 4rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--color-text-secondary);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: var(--color-text-secondary);
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0%, 100% { transform: scaleY(0.3); }
    50% { transform: scaleY(1); }
}

/* Projects Section */
.projects {
    padding: 8rem 4rem;
    min-height: 100vh;
}

.projects-header {
    margin-bottom: 6rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 4rem);
    text-transform: uppercase;
    letter-spacing: -1px;
}

.projects-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Project Item */
.project-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 2rem;
    padding: 4rem 0;
    border-top: 1px solid var(--color-border);
    text-decoration: none;
    color: var(--color-text);
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.project-item:hover {
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.02) 50%, transparent 100%);
}

.project-number {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--color-text-secondary);
}

.project-content {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 3rem;
    align-items: center;
}

.project-image-wrapper {
    width: 200px;
    height: 280px;
    overflow: hidden;
    border-radius: 4px;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-item:hover .project-image {
    transform: scale(1.1);
}

.project-info {
    max-width: 600px;
}

.project-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 3rem);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.project-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-desc {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* PROJECT PAGE */
.project-page {
    background: var(--color-bg);
}

.nav-project {
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
}

.project-hero {
    padding: 12rem 4rem 6rem;
    text-align: center;
}

.project-hero-content {
    max-width: 800px;
    margin: 0 auto 4rem;
}

.project-hero-meta {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: -2px;
    line-height: 0.9;
}

.project-hero-desc {
    font-size: 1.3rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.project-hero-image {
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
    max-height: 500px;
}

.project-hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Project Details */
.project-details {
    padding: 8rem 4rem;
    border-top: 1px solid var(--color-border);
}

.project-details-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 6rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project-details-info {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.info-block {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.info-block.visible {
    opacity: 1;
    transform: translateY(0);
}

.info-block h3 {
    font-family: var(--font-display);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    color: var(--color-text-secondary);
}

.info-block p {
    font-size: 1rem;
    line-height: 1.7;
}

.project-details-description h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.project-details-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
}

/* Gallery */
.project-gallery {
    padding: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    align-items: start;
}

.gallery-item {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 4px;
}

/* Tailles d'images spécifiques */
.gallery-item-small img {
    max-height: 400px;
}

.gallery-item-medium img {
    max-height: 600px;
}

.gallery-item-large img {
    max-height: 800px;
}

.gallery-item-full {
    grid-column: 1 / -1;
}

.gallery-item-full img {
    max-height: 900px;
    width: 100%;
}

.gallery-caption {
    margin-top: 1.5rem;
    padding-left: 1rem;
}

.gallery-caption h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gallery-caption p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

.gallery-caption .text-link {
    color: var(--color-accent);
    text-decoration: none;
    border-bottom: 1px solid var(--color-accent);
    transition: opacity 0.3s;
    word-break: break-all;
}

.gallery-caption .text-link:hover {
    opacity: 0.7;
}

/* Next Project */
.next-project {
    padding: 8rem 4rem;
    border-top: 1px solid var(--color-border);
}

.next-project-link {
    display: block;
    text-decoration: none;
    color: var(--color-text);
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.next-project-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
}

.next-project-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    text-transform: uppercase;
    letter-spacing: -2px;
    margin-bottom: 3rem;
    transition: color 0.3s;
}

.next-project-link:hover .next-project-title {
    color: var(--color-accent);
}

.next-project-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
}

.next-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.next-project-link:hover .next-project-image img {
    transform: scale(1.05);
}

/* ABOUT PAGE */
.about-page {
    background: var(--color-bg);
}

.about-hero {
    padding: 12rem 4rem 4rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.about-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 6rem;
    align-items: center;
}

.about-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: -2px;
}

.about-image {
    width: 400px;
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
}

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

.about-content {
    padding: 6rem 4rem;
    border-top: 1px solid var(--color-border);
}

.about-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 6rem;
}

.about-text h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.about-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
}

.about-skills h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.skill-tag {
    padding: 0.8rem 1.5rem;
    border: 1px solid var(--color-border);
    border-radius: 30px;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.skill-tag:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.about-contact {
    padding: 8rem 4rem;
    text-align: center;
    border-top: 1px solid var(--color-border);
}

.about-contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-contact h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.about-email {
    display: inline-block;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: var(--color-accent);
    text-decoration: none;
    margin-bottom: 3rem;
    transition: opacity 0.3s;
}

.about-email:hover {
    opacity: 0.7;
}

.about-socials {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.social-link {
    color: var(--color-text);
    text-decoration: none;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.social-link:hover {
    color: var(--color-accent);
}

/* Footer */
.footer {
    padding: 4rem;
    border-top: 1px solid var(--color-border);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.footer-section h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.footer-section h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-email {
    font-size: 1.5rem;
    color: var(--color-accent);
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-email:hover {
    opacity: 0.7;
}

.footer-socials {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-socials a {
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-socials a:hover {
    color: var(--color-text);
}

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    text-align: center;
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

.footer-minimal {
    padding: 3rem 4rem;
}

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

.footer-home,
.footer-contact {
    color: var(--color-text);
    text-decoration: none;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.footer-home:hover,
.footer-contact:hover {
    color: var(--color-accent);
}

/* Responsive */
@media (max-width: 1024px) {
    .nav {
        padding: 1.5rem 2rem;
    }

    .projects {
        padding: 6rem 2rem;
    }

    .project-content {
        grid-template-columns: 150px 1fr;
        gap: 2rem;
    }

    .project-image-wrapper {
        width: 150px;
        height: 200px;
    }

    .project-details-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .about-hero-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .about-image {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

@media (max-width: 768px) {
    body {
        cursor: auto;
    }

    .cursor,
    .cursor-follower {
        display: none;
    }

    .nav {
        padding: 1rem;
    }

    .nav-menu {
        gap: 1.5rem;
    }

    .nav-menu a {
        font-size: 0.85rem;
    }

    .hero {
        height: 80vh;
    }

    .projects {
        padding: 4rem 1rem;
    }

    .project-item {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 3rem 0;
    }

    .project-number {
        font-size: 1rem;
    }

    .project-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .project-image-wrapper {
        width: 100%;
        height: 250px;
    }

    .project-hero {
        padding: 10rem 1rem 4rem;
    }

    .project-details {
        padding: 4rem 1rem;
    }

    .project-gallery {
        padding: 2rem 1rem;
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .gallery-item img {
        max-height: 500px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-minimal .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}
