/* Reset & Base */
:root {
    --bg-color: #050505;
    --text-primary: #F5F5F5;
    --text-secondary: #888888;
    --accent: #FFFFFF;
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --spacing-section: 120px;
    --container-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 300;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
}

h2 {
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 3rem;
    font-weight: 700;
}

p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    max-width: 700px;
    margin-left: auto;
    /* Centering block */
    margin-right: auto;
    /* Centering block */
}

/* Layout */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    /* Center everything inside container */
}

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

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: all 0.4s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    /* Reduced height */
}

.logo img,
.logo svg {
    height: 28px;
    width: auto;
    /* Slightly bigger for visibility */
    transition: transform 0.4s ease;
}

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

#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

#hero span {
    display: block;
    font-size: 1rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 20px;
}

/* About */
.manifesto p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

.manifesto p:first-of-type {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.manifesto .manifesto-quote {
    position: relative;
    font-size: 1.25rem;
    font-style: italic;
    line-height: 1.8;
    margin-top: 2rem;
    padding: 0 2rem;
    color: var(--text-primary);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.manifesto .manifesto-quote::before {
    content: '“';
    font-family: serif;
    font-size: 4rem;
    color: var(--text-secondary);
    position: absolute;
    top: -20px;
    left: -10px;
    line-height: 1;
    opacity: 0.5;
}

.manifesto .manifesto-quote::after {
    content: '”';
    font-family: serif;
    font-size: 4rem;
    color: var(--text-secondary);
    position: absolute;
    bottom: -40px;
    right: -10px;
    line-height: 1;
    opacity: 0.5;
}

/* Producteurs */
.producers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
    margin-top: 40px;
    text-align: center;
}

.nav-links {
    display: flex;
    gap: 50px;
    /* Increased gap */
}

.nav-links a {
    font-size: 0.8rem;
    /* Smaller font size */
    text-transform: uppercase;
    letter-spacing: 0.15em;
    /* Increased spacing */
    color: var(--text-primary);
    font-weight: 700;
    position: relative;
    padding-bottom: 5px;
    opacity: 0.8;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--text-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
    opacity: 1;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Delay for children elements if needed */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* Hero Animation override */
#hero h1,
#hero span {
    animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

#hero span {
    animation-delay: 0.2s;
    opacity: 0;
}

#hero h1 {
    animation-delay: 0.4s;
    opacity: 0;
}

/* Hover Effects on Cards */
.producer-card {
    transition: transform 0.4s ease, opacity 0.4s ease;
    text-align: left;
}



.producer-card:nth-child(2) {
    text-align: right;
}

.producer-card:hover {
    transform: translateY(-5px);
}

.producer-card p {
    text-align: justify;
    hyphens: none;
}

.producer-card:hover p {
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.producer-card .linkedin-link {
    opacity: 0.3;
    margin-top: 1.5rem;
}

.linkedin-link {
    font-size: 1.5rem;
    color: var(--text-primary);
    opacity: 0.6;
    display: inline-block;
    transition: all 0.3s ease;
}

.linkedin-link:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Mobile Menu */
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-primary);
    z-index: 1001;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu a {
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    font-weight: 300;
}

/* Footer */
footer {
    padding: 2rem 0;
}

footer p {
    font-size: 0.75rem;
    margin-bottom: 0;
    opacity: 0.7;
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --spacing-section: 80px;
    }

    #hero h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .manifesto p {
        font-size: 1.1rem;
    }

    nav {
        height: 60px;
    }
}