/* 
==============================
VARIABLES GLOBALES
==============================
*/
:root {
    --color-primary: #9c27b0;
    --color-primary-light: #bb4fd3;
    --color-primary-dark: #6a1b9a;
    --color-secondary: #444444;
    --color-accent: #ffd700;
    --color-text: #333333;
    --color-text-light: #777777;
    --color-bg: #ffffff;
    --color-bg-dark: #f5f5f5;
    --color-bg-darker: #eeeeee;
    --color-black: #111111;
    --color-white: #ffffff;
    
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Playfair Display', serif;
    
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    --transition-slower: all 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
    
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    
    --border-radius: 6px;
}

/* 
==============================
RÉINITIALISATION & BASE
==============================
*/
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 1.6rem;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
    position: relative;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

/* 
==============================
CURSEUR PERSONNALISÉ
==============================
*/
.cursor {
    position: fixed;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--color-primary);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
    mix-blend-mode: difference;
}

.cursor-follower {
    position: fixed;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--color-primary-light);
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease, width 0.3s ease, height 0.3s ease;
    mix-blend-mode: difference;
}

/* 
==============================
UTILITAIRES
==============================
*/
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 10rem 0;
}

.section-title {
    font-family: var(--font-secondary);
    font-size: 4rem;
    margin-bottom: 5rem;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--color-primary);
    margin: 2rem auto;
}

.btn {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 1.2rem 3rem;
    border-radius: var(--border-radius);
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* 
==============================
HEADER & NAVIGATION
==============================
*/
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: var(--transition-slow);
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 1rem 5%;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
}

.logo {
    height: 50px;
}

.logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

.header.scrolled .logo img {
    filter: none;
}

.nav ul {
    display: flex;
    gap: 3rem;
}

.nav-link {
    color: var(--color-white);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.header.scrolled .nav-link {
    color: var(--color-text);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.bar {
    height: 3px;
    width: 100%;
    background-color: var(--color-white);
    border-radius: 3px;
    transition: var(--transition);
}

.header.scrolled .bar {
    background-color: var(--color-text);
}

/* 
==============================
HERO & PARALLAXE
==============================
*/
.parallax-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    transform: translateZ(-1px) scale(2);
    filter: brightness(0.7);
}

.hero-content {
    text-align: center;
    color: var(--color-white);
    max-width: 800px;
    padding: 0 2rem;
    z-index: 1;
}

.hero-content h1 {
    font-family: var(--font-secondary);
    font-size: 6rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content .subtitle {
    font-size: 2.4rem;
    margin-bottom: 4rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* 
==============================
À PROPOS
==============================
*/
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-image {
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.about-image img {
    transition: var(--transition-slow);
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-text h3 {
    font-family: var(--font-secondary);
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--color-secondary);
}

.about-text p {
    margin-bottom: 1.5rem;
}

/* 
==============================
GALERIE
==============================
*/
.gallery {
    background-color: var(--color-bg-dark);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 4rem;
}

.filter-btn {
    background-color: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    padding: 0.8rem 2rem;
    border-radius: 3rem;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 3rem;
}

.gallery-item {
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.gallery-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.overlay-content {
    color: var(--color-white);
    transform: translateY(20px);
    transition: var(--transition-slow);
}

.gallery-item:hover .overlay-content {
    transform: translateY(0);
}

.overlay-content h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* 
==============================
PERFORMANCES
==============================
*/
.performances .section-title {
    color: var(--color-white);
}

.performances-timeline {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.performances-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.3);
}

.timeline-item {
    position: relative;
    width: 45%;
}

.timeline-item:nth-child(odd) {
    align-self: flex-start;
}

.timeline-item:nth-child(even) {
    align-self: flex-end;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    background-color: var(--color-accent);
    border-radius: 50%;
    top: 15px;
}

.timeline-item:nth-child(odd)::before {
    right: -43px;
}

.timeline-item:nth-child(even)::before {
    left: -43px;
}

.timeline-content {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    color: var(--color-white);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.timeline-content h3 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--color-accent);
}

.timeline-content .date {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

/* 
==============================
CONTACT
==============================
*/
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.contact-info {
    padding-right: 3rem;
}

.contact-info h3 {
    font-family: var(--font-secondary);
    font-size: 3rem;
    margin-bottom: 2rem;
    color: var(--color-secondary);
}

.contact-info p {
    margin-bottom: 3rem;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.info-item i {
    width: 40px;
    height: 40px;
    background-color: var(--color-primary-light);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    font-size: 1.8rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 3rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: var(--color-secondary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--color-primary);
    transform: translateY(-5px);
}

.contact-form {
    background-color: var(--color-bg-darker);
    padding: 4rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.form-group {
    position: relative;
    margin-bottom: 3rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.5rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    background-color: var(--color-white);
    font-family: var(--font-primary);
    font-size: 1.6rem;
    color: var(--color-text);
    outline: none;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group label {
    position: absolute;
    top: 1.5rem;
    left: 2rem;
    transition: var(--transition);
    pointer-events: none;
    color: var(--color-text-light);
}

.form-group input:focus,
.form-group textarea:focus {
    box-shadow: var(--shadow-md);
}

.form-group input:focus ~ label,
.form-group textarea:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -12px;
    left: 10px;
    font-size: 1.2rem;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 0.2rem 1rem;
    border-radius: 2rem;
}

.form-group input:focus ~ label,
.form-group textarea:focus ~ label {
    background-color: var(--color-primary-dark);
}

/* 
==============================
FOOTER
==============================
*/
.footer {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 5rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    height: 60px;
}

.footer-logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* 
==============================
ANIMATIONS
==============================
*/
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.fade-in-delay {
    opacity: 0;
    animation: fadeIn 1s ease forwards 0.3s;
}

.fade-in-delay-2 {
    opacity: 0;
    animation: fadeIn 1s ease forwards 0.6s;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 
==============================
MEDIA QUERIES
==============================
*/
@media screen and (max-width: 992px) {
    html {
        font-size: 58%;
    }

    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .timeline-item {
        width: 80%;
    }

    .timeline-item:nth-child(even) {
        align-self: flex-start;
    }

    .timeline-item:nth-child(even)::before {
        left: auto;
        right: -43px;
    }

    .performances-timeline::before {
        left: 10px;
    }
}

@media screen and (max-width: 768px) {
    .hero-content h1 {
        font-size: 4.5rem;
    }

    .section-title {
        font-size: 3.5rem;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background-color: var(--color-bg);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition-slow);
        box-shadow: var(--shadow-lg);
        z-index: 99;
    }

    .nav.active {
        right: 0;
    }

    .nav ul {
        flex-direction: column;
        text-align: center;
    }

    .nav-link {
        color: var(--color-text);
        font-size: 2rem;
        display: block;
        padding: 1.5rem;
    }

    .menu-toggle {
        display: flex;
        z-index: 100;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .contact-form {
        padding: 3rem;
    }
}

@media screen and (max-width: 576px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }

    .hero-content .subtitle {
        font-size: 1.8rem;
    }

    .section-padding {
        padding: 7rem 0;
    }

    .section-title {
        font-size: 3rem;
        margin-bottom: 3rem;
    }

    .timeline-item {
        width: 100%;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
} 