:root {
    --primary: #d4af37; /* Or */
    --secondary: #ffb7c5; /* Rose Sakura */
    --dark: #2c1a1d;
    --light: #fff0f5;
    --glass: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
}

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

body {
    background-color: #1a0b10; /* Fond sombre pour faire ressortir le WebGL */
    color: var(--light);
    font-family: var(--font-body);
    overflow-x: hidden;
}

/* WebGL Background */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
}

/* Glassmorphism Utility */
.glass {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

/* Typography */
h1, h2, h3 { font-family: var(--font-heading); color: var(--light); }
h1 { font-size: 3.5rem; line-height: 1.2; }
.accent { color: var(--primary); font-style: italic; }

/* Loader / Intro */
.intro-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: #1a0b10;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 1s ease;
}
.intro-content { text-align: center; }

/* Buttons */
.btn-luxury {
    background: linear-gradient(45deg, var(--primary), #f5d061);
    border: none;
    padding: 15px 40px;
    color: var(--dark);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 20px;
}
.btn-luxury:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.4);
}

/* Sections */
.section {
    min-height: 100vh;
    padding: 100px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}
.nav-links a {
    text-decoration: none;
    color: var(--light);
    font-weight: 300;
    transition: color 0.3s;
}
.nav-links a:hover { color: var(--primary); }

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 50px auto;
}
.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--primary);
    top: 0; bottom: 0; left: 50%;
    margin-left: -1px;
}
.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}
.timeline-item.right { left: 50%; }
.timeline-content { padding: 20px; position: relative; }
.timeline-item::after {
    content: '❤';
    position: absolute;
    width: 25px; height: 25px;
    right: -13px; top: 15px;
    background: var(--primary);
    border-radius: 50%;
    z-index: 1;
    display: flex; justify-content: center; align-items: center;
    font-size: 12px;
}
.timeline-item.right::after { left: -12px; }

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.gallery-item {
    height: 300px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s ease;
}
.gallery-item:hover { transform: scale(1.02); }
.gallery-item img {
    width: 100%; height: 100%; object-fit: cover;
}

/* Audio Control */
.audio-controls {
    position: fixed;
    bottom: 30px; right: 30px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 100;
}
#music-toggle { background: none; border: none; font-size: 1.5rem; cursor: pointer; }

/* Responsive */
@media (max-width: 768px) {
    .timeline::after { left: 31px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
    .timeline-item.right { left: 0; }
    .timeline-item::after { left: 18px; }
    .hero-title { font-size: 2.5rem; }
    .navbar { display: none; } /* Simplification mobile */
}
