/* RÉDOR - Quantum Marketing Aesthetic */

:root {
    --gold-primary: #d4af37;
    --gold-light: #f4e4b8;
    --gold-dark: #b8941f;
    --black-primary: #0a0a0a;
    --black-secondary: #1a1a1a;
    --black-tertiary: #2a2a2a;
    --white: #ffffff;
    --white-smoke: #f8f9fa;
    --gray-light: #e0e0e0;
}

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

html, body {
    height: 100%;
    overflow-x: hidden;
    background: var(--black-primary);
    font-family: 'Cormorant Garamond', 'Inter', serif;
    color: var(--gold-light);
    scroll-behavior: smooth;
}

/* Custom Scrollbar - RÉDOR Gold */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--black-primary);
    border-left: 1px solid rgba(212, 175, 55, 0.1);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-primary);
    border-radius: 6px;
    border: 2px solid var(--black-primary);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-light);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* Firefox Scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--gold-primary) var(--black-primary);
}

body {
    display: flex;
    flex-direction: column;
    padding-top: 10vh;
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    width: 100%;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    color: var(--gold-primary);
}

/* Navigation */
.top-bar {
    height: 10vh;
    min-height: 70px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg,
        rgba(10, 10, 10, 0.98) 0%,
        rgba(10, 10, 10, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.top-bar .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
}

.logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-link {
    position: absolute;
    right: 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--gold-light);
    text-decoration: none;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.9;
    transition: all 0.3s ease;
    margin-left: 3rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-primary);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--gold-primary);
    opacity: 1;
}

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

.logo {
    height: 60px;
    width: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.3));
}

.logo:hover {
    filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.6));
    transform: scale(1.05);
}

/* Hero Section */
.hero-section {
    width: 100%;
    position: relative;
    height: 60vh;
    min-height: 400px;
    max-height: 700px;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.quantum-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        var(--black-primary) 0%,
        var(--black-secondary) 50%,
        var(--black-primary) 100%);
}

#particleCanvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* Hero Overlay */
.hero-overlay {
    padding: 6rem 0;
    position: relative;
    z-index: 10;
    background: linear-gradient(135deg,
        rgba(10, 10, 10, 0.97) 0%,
        rgba(26, 26, 26, 0.95) 50%,
        rgba(10, 10, 10, 0.97) 100%);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.hero-content {
    text-align: center;
    color: var(--gold-light);
    max-width: 900px;
    margin: 0 auto;
}

.hero-titles-container {
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    position: relative;
}

.hero-titles-container::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    opacity: 0.8;
}

.hero-subtitle-small {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--gold-primary);
    margin: 0;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    opacity: 0.9;
}

.hero-title-main {
    font-family: 'Cinzel', serif;
    font-size: 4rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(135deg,
        var(--gold-light) 0%,
        var(--gold-primary) 50%,
        var(--gold-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    text-shadow: 0 0 60px rgba(212, 175, 55, 0.3);
}

.hero-title-main::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    opacity: 0.8;
}

.hero-text-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    max-width: 750px;
    margin: 0 auto;
}

.hero-description {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    line-height: 1.8;
    color: var(--gold-light);
    opacity: 0.9;
    font-weight: 400;
    text-align: center;
}

/* Section Styling */
.section-title {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--gold-primary);
    position: relative;
    padding-bottom: 1.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

/* Philosophy Section */
.philosophy-section {
    padding: 8rem 0;
    background: linear-gradient(180deg,
        var(--black-primary) 0%,
        var(--black-secondary) 50%,
        var(--black-primary) 100%);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.philosophy-card {
    background: linear-gradient(135deg,
        rgba(26, 26, 26, 0.6) 0%,
        rgba(42, 42, 42, 0.4) 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.philosophy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(212, 175, 55, 0.1),
        transparent);
    transition: left 0.6s ease;
}

.philosophy-card:hover::before {
    left: 100%;
}

.philosophy-card:hover {
    border-color: var(--gold-primary);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.2);
    transform: translateY(-10px);
}

.philosophy-icon {
    font-size: 3rem;
    color: var(--gold-primary);
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.4));
}

.philosophy-title {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--gold-primary);
}

.philosophy-description {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--gold-light);
    opacity: 0.85;
}

/* Principles Section */
.principles-section {
    padding: 8rem 0;
    background: var(--black-primary);
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.principle-item {
    background: linear-gradient(135deg,
        rgba(26, 26, 26, 0.8) 0%,
        rgba(10, 10, 10, 0.9) 100%);
    border-left: 3px solid var(--gold-primary);
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.principle-item:hover {
    background: linear-gradient(135deg,
        rgba(42, 42, 42, 0.8) 0%,
        rgba(26, 26, 26, 0.9) 100%);
    border-left-width: 5px;
    transform: translateX(10px);
}

.principle-number {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    color: var(--gold-primary);
    opacity: 0.3;
    margin-bottom: 1rem;
    font-weight: 700;
}

.principle-title {
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--gold-primary);
}

.principle-description {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--gold-light);
    opacity: 0.85;
}

/* Manifesto Section */
.manifesto-section {
    padding: 8rem 0;
    background: linear-gradient(135deg,
        var(--black-secondary) 0%,
        var(--black-primary) 50%,
        var(--black-secondary) 100%);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.manifesto-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.manifesto-title {
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    margin-bottom: 3rem;
    color: var(--gold-primary);
    text-align: center;
}

.manifesto-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    line-height: 2;
    color: var(--gold-light);
    opacity: 0.9;
}

.manifesto-text p {
    margin-bottom: 2rem;
    text-align: left;
}

.manifesto-signature {
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    color: var(--gold-primary);
    margin-top: 3rem;
    font-style: italic;
    text-align: center !important;
}

/* Footer */
.main-footer {
    padding: 3rem 0;
    background: var(--black-primary);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    margin-top: auto;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-logo-img:hover {
    opacity: 1;
}

.footer-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--gold-light);
    opacity: 0.6;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-title-main {
        font-size: 3.5rem;
    }

    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 8vh;
    }

    .top-bar {
        height: 8vh;
        min-height: 60px;
    }

    .logo {
        height: 45px;
    }

    .container {
        padding: 0 1.5rem;
    }

    .nav-link {
        font-size: 0.75rem;
        margin-left: 1.5rem;
    }

    .hero-section {
        height: 40vh;
        min-height: 300px;
    }

    .hero-overlay {
        padding: 3rem 0;
    }

    .hero-subtitle-small {
        font-size: 0.9rem;
        letter-spacing: 0.2em;
    }

    .hero-title-main {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
        line-height: 1.6;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }

    .philosophy-section,
    .principles-section,
    .manifesto-section {
        padding: 4rem 0;
    }

    .philosophy-grid,
    .principles-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .philosophy-card {
        padding: 2rem 1.5rem;
    }

    .manifesto-title {
        font-size: 2.5rem;
    }

    .manifesto-text {
        font-size: 1.2rem;
        line-height: 1.8;
    }
}

@media (max-width: 480px) {
    .hero-title-main {
        font-size: 2rem;
    }

    .hero-titles-container {
        margin-bottom: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .philosophy-title {
        font-size: 1.5rem;
    }

    .philosophy-description {
        font-size: 1.1rem;
    }

    .principle-title {
        font-size: 1.4rem;
    }

    .manifesto-title {
        font-size: 2rem;
    }

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

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

.hero-content,
.philosophy-card,
.principle-item,
.manifesto-content {
    animation: fadeInUp 1s ease-out;
}

.philosophy-card:nth-child(2) {
    animation-delay: 0.2s;
}

.philosophy-card:nth-child(3) {
    animation-delay: 0.4s;
}

.principle-item:nth-child(2) {
    animation-delay: 0.2s;
}

.principle-item:nth-child(3) {
    animation-delay: 0.4s;
}
