/* Design System & Core Styles */
:root {
    /* Luxury Color Palette */
    --color-bg: #0a0a0a;
    --color-text: #f0f0f0;
    --color-primary: #d4af37;
    /* Metallic Gold */
    --color-primary-light: #f3e5ab;
    --color-secondary: #1a1a1a;
    --color-accent: #ffffff;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Borders & Effects */
    --border-radius: 8px;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --shadow-glow: 0 0 20px rgba(212, 175, 55, 0.2);
}

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
    font-weight: 400;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-primary-light);
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-xl) 0;
}

.grid {
    display: grid;
    gap: var(--spacing-md);
}

.grid-2 {
    grid-template-columns: 1fr 1fr;
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* Components */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn:hover {
    background: var(--color-primary);
    color: var(--color-bg);
    box-shadow: var(--shadow-glow);
}

.card {
    background: var(--glass-bg);
    border: var(--glass-border);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at center, #1a1a1a 0%, #0a0a0a 100%);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><circle cx="1" cy="1" r="1" fill="rgba(212, 175, 55, 0.1)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    z-index: 1;
    max-width: 800px;
}

.hero-subtitle {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    color: var(--color-accent);
    margin-bottom: var(--spacing-sm);
    display: block;
}

/* Stealth Disclaimer Banner */
.disclaimer-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: #ffcc00;
    /* Yellow warning color but keeping luxury feel? No, warning needs to be visible */
    background: repeating-linear-gradient(45deg,
            #000,
            #000 10px,
            #1a1a1a 10px,
            #1a1a1a 20px);
    color: #ffd700;
    text-align: center;
    line-height: 30px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 10000;
    /* Above everything */
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #333;
}

/* Content Injection via CSS (Stealth Mode) */
.disclaimer-fr::before {
    content: "⚠️ SITE EXPÉRIMENTAL (LABO) - Contenu de test personnel, ne pas interpréter comme réel.";
}

.disclaimer-en::before {
    content: "⚠️ EXPERIMENTAL SITE (LAB) - Personal test content, do not interpret as real.";
}

/* Navigation */
.nav {
    position: fixed;
    top: 30px;
    /* Pushed down by disclaimer */
    width: 100%;
    padding: var(--spacing-sm) 0;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: var(--glass-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-primary);
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
}

.nav-links a {
    color: var(--color-text);
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* Mobile Menu (Pure CSS Checkbox Hack) */
.nav-toggle {
    display: none;
    /* Always hide the checkbox */
}

.burger-menu {
    display: none;
    /* Hidden on desktop */
    cursor: pointer;
    padding: 0.5rem;
    z-index: 101;
}

.burger-menu span,
.burger-menu span::before,
.burger-menu span::after {
    display: block;
    background: var(--color-primary);
    height: 2px;
    width: 25px;
    border-radius: 2px;
    position: relative;
    transition: all 0.3s ease-in-out;
}

.burger-menu span::before,
.burger-menu span::after {
    content: '';
    position: absolute;
}

.burger-menu span::before {
    top: -8px;
}

.burger-menu span::after {
    top: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    /* Show Burger Icon */
    .burger-menu {
        display: block;
    }

    /* Responsive Disclaimer & Nav logic */
    .disclaimer-bar {
        height: auto;
        min-height: 30px;
        padding: 5px;
        line-height: normal;
    }

    .nav {
        top: 60px;
        /* Safe estimate for 2-line disclaimer */
    }

    /* Transform Nav Links into Mobile Overlay */
    .nav-links {
        display: block;
        position: fixed;
        top: 60px;
        /* Aligns with nav bar pushed down */
        left: 0;
        right: 0;
        bottom: 0;
        height: calc(100vh - 60px);
        background: #0a0a0a;
        /* Solid background */
        padding-top: 6rem;
        transform: translateX(100%);
        /* Hidden off-screen right */
        transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        z-index: 99;
        text-align: center;
        overflow-y: auto;
    }

    .nav-links a {
        display: block;
        padding: 1.5rem;
        font-size: 1.2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-links span {
        display: none;
        /* Hide separator pipes on mobile */
    }

    /* The Logic: When checkbox is checked, show menu */
    #nav-toggle:checked~.nav-links {
        transform: translateX(0);
    }

    /* Burger Animation to X */
    #nav-toggle:checked~.burger-menu span {
        background: transparent;
    }

    #nav-toggle:checked~.burger-menu span::before {
        top: 0;
        transform: rotate(45deg);
    }

    #nav-toggle:checked~.burger-menu span::after {
        top: 0;
        transform: rotate(-45deg);
    }
}