/* ============================================
   VAN GOGH TIMELINE — MAIN STYLESHEET
   ============================================ */

/* --- CSS Variables & Color Palette --- */
:root {
    /* Van Gogh inspired palette */
    --starry-deep: #0B1354;
    --starry-blue: #1B3A6B;
    --gogh-blue: #2B5C8A;
    --gogh-light-blue: #5BA0D9;
    --gogh-yellow: #E8A838;
    --gogh-gold: #F5D76E;
    --gogh-amber: #D4A020;
    --gogh-orange: #C46B2E;
    --gogh-ochre: #8B6914;
    --gogh-green: #3A6B4F;
    --gogh-dark-green: #1E3A2F;
    --gogh-brown: #4A3C1A;
    --gogh-dark: #1A1A2E;
    --gogh-darker: #0F0F1E;
    --gogh-cream: #F5F0E6;
    --gogh-white: #FAFAF5;
    --gogh-red: #8B2F2F;
    --gogh-purple: #6B48C4;

    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --font-accent: 'Cormorant Garamond', Georgia, serif;

    /* Spacing */
    --section-padding: 120px;
    --container-max: 1200px;

    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background-color: var(--gogh-darker);
    color: var(--gogh-cream);
    overflow-x: hidden;
    line-height: 1.7;
}

::selection {
    background: var(--gogh-yellow);
    color: var(--gogh-dark);
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Starry Canvas Background --- */
#starryCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.4;
}

/* --- Language Toggle --- */
.lang-toggle {
    position: fixed;
    top: 28px;
    right: 28px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(11, 19, 84, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 8px 16px;
    border-radius: 40px;
    border: 1px solid rgba(232, 168, 56, 0.2);
    transition: all 0.4s var(--ease-out-expo);
}

.lang-toggle:hover {
    border-color: rgba(232, 168, 56, 0.5);
    box-shadow: 0 4px 30px rgba(232, 168, 56, 0.1);
}

.lang-btn {
    background: none;
    border: none;
    color: rgba(245, 240, 230, 0.5);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    padding: 4px 10px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.lang-btn.active {
    color: var(--gogh-yellow);
    background: rgba(232, 168, 56, 0.15);
}

.lang-btn:hover:not(.active) {
    color: var(--gogh-cream);
}

.lang-divider {
    color: rgba(245, 240, 230, 0.2);
    font-size: 14px;
    user-select: none;
}

/* --- Side Navigation --- */
.side-nav {
    position: fixed;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(245, 240, 230, 0.2);
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
}

.nav-dot::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid transparent;
    transition: all 0.4s var(--ease-out-expo);
}

.nav-dot.active {
    background: var(--gogh-yellow);
    transform: scale(1.3);
}

.nav-dot.active::before {
    border-color: rgba(232, 168, 56, 0.4);
}

.nav-dot:hover:not(.active) {
    background: rgba(245, 240, 230, 0.5);
    transform: scale(1.15);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(160deg,
        var(--starry-deep) 0%,
        var(--starry-blue) 30%,
        var(--gogh-blue) 60%,
        var(--gogh-dark) 100%
    );
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(232, 168, 56, 0.08) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 80%, rgba(91, 160, 217, 0.06) 0%, transparent 50%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 24px;
}

.hero-subtitle {
    font-family: var(--font-accent);
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--gogh-gold);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 16px;
    font-weight: 400;
}

.hero-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 28px;
}

.title-line {
    font-family: var(--font-display);
    font-weight: 900;
    line-height: 1;
    display: block;
    background: linear-gradient(135deg, var(--gogh-cream) 0%, var(--gogh-gold) 50%, var(--gogh-yellow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-line:first-child {
    font-size: clamp(3.5rem, 10vw, 7rem);
    letter-spacing: -2px;
}

.title-line:last-child {
    font-size: clamp(4rem, 12vw, 8.5rem);
    letter-spacing: -3px;
    font-style: italic;
}

.hero-dates {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 32px;
    font-family: var(--font-display);
}

.date-birth, .date-death {
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--gogh-cream);
    opacity: 0.8;
}

.date-line {
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gogh-yellow), transparent);
}

.hero-tagline {
    font-family: var(--font-accent);
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: rgba(245, 240, 230, 0.6);
    font-style: italic;
    max-width: 600px;
    margin: 0 auto 60px;
    line-height: 1.5;
}

/* Scroll Indicator */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: rgba(245, 240, 230, 0.4);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(245, 240, 230, 0.3);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 3px;
    height: 8px;
    background: var(--gogh-yellow);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.3; transform: translateX(-50%) translateY(10px); }
}

/* Hero Brush Strokes */
.hero-brush-strokes {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.brush-stroke {
    position: absolute;
    border-radius: 50%;
    opacity: 0.04;
}

.stroke-1 {
    width: 600px;
    height: 200px;
    background: var(--gogh-yellow);
    top: 10%;
    left: -10%;
    transform: rotate(-15deg);
}

.stroke-2 {
    width: 500px;
    height: 150px;
    background: var(--gogh-blue);
    bottom: 20%;
    right: -5%;
    transform: rotate(10deg);
}

.stroke-3 {
    width: 400px;
    height: 120px;
    background: var(--gogh-orange);
    top: 60%;
    left: 20%;
    transform: rotate(-8deg);
}

/* --- Fade In Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s var(--ease-out-expo) forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }
.delay-5 { animation-delay: 1s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   INTRO SECTION
   ============================================ */
.intro-section {
    position: relative;
    z-index: 1;
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--gogh-darker) 0%, rgba(15, 15, 30, 0.95) 100%);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: center;
}

.portrait-frame {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(232, 168, 56, 0.2);
}

.portrait-placeholder {
    aspect-ratio: 300/380;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gogh-dark) 0%, var(--starry-deep) 100%);
}

.portrait-svg {
    width: 100%;
    height: auto;
}

.section-label {
    font-family: var(--font-accent);
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    color: var(--gogh-yellow);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 8px;
    font-weight: 400;
}

.intro-text h2 + .section-label {
    margin-bottom: 20px;
}

.intro-text .section-label {
    margin-bottom: 20px;
}

.intro-paragraph {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(245, 240, 230, 0.75);
    margin-bottom: 20px;
}

/* Stats */
.stats-row {
    display: flex;
    gap: 32px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(232, 168, 56, 0.15);
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--gogh-yellow);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(245, 240, 230, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* ============================================
   TIMELINE SECTION
   ============================================ */
.timeline-section {
    position: relative;
    z-index: 1;
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, rgba(15, 15, 30, 0.95) 0%, var(--gogh-darker) 100%);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--gogh-cream) 0%, var(--gogh-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    font-family: var(--font-accent);
    font-size: 1.15rem;
    color: rgba(245, 240, 230, 0.5);
    font-style: italic;
    margin-bottom: 80px;
}

/* Timeline Structure */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(232, 168, 56, 0.3) 5%,
        rgba(232, 168, 56, 0.3) 95%,
        transparent 100%
    );
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 0 40px 60px;
}

.timeline-item.left {
    left: 0;
    text-align: right;
    padding-right: 60px;
}

.timeline-item.right {
    left: 50%;
    text-align: left;
    padding-left: 60px;
}

/* Timeline Dot */
.timeline-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--gogh-yellow);
    border-radius: 50%;
    top: 8px;
    z-index: 2;
    box-shadow: 0 0 20px rgba(232, 168, 56, 0.4);
}

.timeline-item.left .timeline-dot {
    right: -8px;
}

.timeline-item.right .timeline-dot {
    left: -8px;
}

.timeline-dot.dark {
    background: var(--gogh-red);
    box-shadow: 0 0 20px rgba(139, 47, 47, 0.5);
}

.timeline-dot.death {
    background: #2a2a2a;
    border: 2px solid var(--gogh-cream);
    box-shadow: 0 0 20px rgba(245, 240, 230, 0.2);
}

.dot-pulse {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid rgba(232, 168, 56, 0.3);
    animation: dotPulse 3s ease-in-out infinite;
}

.dot-pulse.dark {
    border-color: rgba(139, 47, 47, 0.3);
}

.dot-pulse.death {
    border-color: rgba(245, 240, 230, 0.15);
}

@keyframes dotPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.8); opacity: 0; }
}

/* Timeline Card */
.timeline-card {
    background: rgba(27, 58, 107, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(232, 168, 56, 0.12);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.5s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.timeline-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(232, 168, 56, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.timeline-card:hover {
    transform: translateY(-4px);
    border-color: rgba(232, 168, 56, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.timeline-card.accent {
    border-color: rgba(232, 168, 56, 0.25);
    background: rgba(232, 168, 56, 0.08);
}

.timeline-card.dark {
    border-color: rgba(139, 47, 47, 0.25);
    background: rgba(139, 47, 47, 0.08);
}

.timeline-card.death {
    border-color: rgba(245, 240, 230, 0.15);
    background: rgba(26, 26, 46, 0.6);
}

.card-year {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    color: var(--gogh-yellow);
    opacity: 0.15;
    position: absolute;
    top: 12px;
    line-height: 1;
}

.timeline-item.left .card-year {
    right: 20px;
}

.timeline-item.right .card-year {
    left: 20px;
}

.timeline-card.dark .card-year {
    color: var(--gogh-red);
    opacity: 0.2;
}

.timeline-card.death .card-year {
    color: var(--gogh-cream);
    opacity: 0.08;
}

.card-date {
    font-family: var(--font-accent);
    font-size: 0.9rem;
    color: var(--gogh-gold);
    opacity: 0.7;
    margin-bottom: 8px;
}

.card-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gogh-cream);
    margin-bottom: 12px;
    line-height: 1.3;
}

.card-text {
    font-size: 0.92rem;
    line-height: 1.7;
    color: rgba(245, 240, 230, 0.65);
    margin-bottom: 12px;
}

.card-location {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: rgba(245, 240, 230, 0.4);
    margin-top: 4px;
}

.card-painting {
    font-size: 0.85rem;
    color: var(--gogh-gold);
    opacity: 0.7;
    margin-bottom: 8px;
    font-style: italic;
}

.card-tag {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(232, 168, 56, 0.15);
    border: 1px solid rgba(232, 168, 56, 0.25);
    border-radius: 20px;
    font-size: 0.78rem;
    color: var(--gogh-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 8px;
}

/* ============================================
   PAINTINGS SECTION
   ============================================ */
.paintings-section {
    position: relative;
    z-index: 1;
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--gogh-darker) 0%, rgba(15, 15, 30, 0.98) 100%);
}

.paintings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.painting-card {
    border-radius: 16px;
    overflow: hidden;
    background: rgba(27, 58, 107, 0.12);
    border: 1px solid rgba(232, 168, 56, 0.1);
    transition: all 0.5s var(--ease-out-expo);
    cursor: pointer;
}

.painting-card:hover {
    transform: translateY(-8px);
    border-color: rgba(232, 168, 56, 0.3);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}

.painting-visual {
    aspect-ratio: 4/3;
    position: relative;
    overflow: hidden;
}

/* Abstract painting representations */
.painting-swirls {
    position: absolute;
    inset: 0;
}

.swirl {
    position: absolute;
    border-radius: 50%;
    border: 3px solid rgba(245, 240, 230, 0.15);
}

.s1 { width: 120px; height: 60px; top: 20%; left: 15%; transform: rotate(-30deg); animation: swirlFloat 6s ease-in-out infinite; }
.s2 { width: 80px; height: 40px; top: 40%; right: 20%; transform: rotate(20deg); animation: swirlFloat 8s ease-in-out infinite 1s; }
.s3 { width: 100px; height: 50px; bottom: 25%; left: 30%; transform: rotate(-10deg); animation: swirlFloat 7s ease-in-out infinite 0.5s; }

.star-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--gogh-gold);
    box-shadow: 0 0 20px var(--gogh-yellow), 0 0 40px rgba(232, 168, 56, 0.3);
    animation: starTwinkle 3s ease-in-out infinite;
}

.sd1 { top: 15%; right: 25%; animation-delay: 0s; }
.sd2 { top: 35%; left: 20%; width: 14px; height: 14px; animation-delay: 1s; }
.sd3 { bottom: 30%; right: 35%; width: 10px; height: 10px; animation-delay: 2s; }

@keyframes swirlFloat {
    0%, 100% { transform: rotate(-30deg) translateY(0); }
    50% { transform: rotate(-25deg) translateY(-8px); }
}

@keyframes starTwinkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.7); }
}

.sunflower-shapes, .cafe-shapes, .potato-shapes, .iris-shapes, .wheat-shapes {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.petal-ring {
    position: absolute;
    border-radius: 50%;
    border: 3px solid rgba(245, 240, 230, 0.12);
}

.pr1 { width: 80px; height: 80px; animation: petalSpin 12s linear infinite; }
.pr2 { width: 120px; height: 120px; animation: petalSpin 18s linear infinite reverse; }
.pr3 { width: 50px; height: 50px; background: rgba(139, 105, 20, 0.3); }

@keyframes petalSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.table-shape {
    width: 60px;
    height: 60px;
    background: rgba(245, 240, 230, 0.1);
    transform: perspective(200px) rotateX(40deg);
}

.light-glow {
    position: absolute;
    top: 20%;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gogh-gold);
    opacity: 0.3;
    box-shadow: 0 0 40px var(--gogh-yellow);
    animation: lightFlicker 4s ease-in-out infinite;
}

@keyframes lightFlicker {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.lamp-glow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(196, 107, 46, 0.4);
    box-shadow: 0 0 50px rgba(196, 107, 46, 0.3);
    animation: lightFlicker 5s ease-in-out infinite;
}

.iris {
    position: absolute;
    width: 30px;
    height: 50px;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    background: rgba(107, 72, 196, 0.3);
    border: 2px solid rgba(107, 72, 196, 0.2);
}

.i1 { left: 30%; top: 35%; transform: rotate(-15deg); }
.i2 { left: 50%; top: 25%; transform: rotate(5deg); }
.i3 { left: 65%; top: 40%; transform: rotate(-25deg); }

.crow {
    position: absolute;
    width: 20px;
    height: 8px;
    border-top: 3px solid rgba(26, 26, 46, 0.4);
    border-radius: 50%;
}

.c1 { top: 25%; left: 30%; transform: rotate(-10deg); }
.c2 { top: 20%; left: 55%; transform: rotate(15deg); }
.c3 { top: 30%; left: 70%; transform: rotate(-5deg); }

.painting-info {
    padding: 20px 24px;
}

.painting-info h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gogh-cream);
    margin-bottom: 4px;
}

.painting-info p {
    font-size: 0.85rem;
    color: rgba(245, 240, 230, 0.5);
    margin-bottom: 6px;
}

.painting-museum {
    font-size: 0.78rem;
    color: var(--gogh-gold);
    opacity: 0.6;
}

/* ============================================
   QUOTE SECTION
   ============================================ */
.quote-section {
    position: relative;
    z-index: 1;
    padding: var(--section-padding) 0;
    background: linear-gradient(160deg, var(--starry-deep) 0%, var(--gogh-dark) 100%);
    overflow: hidden;
}

.quote-bg-strokes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.bg-stroke {
    position: absolute;
    border-radius: 50%;
    opacity: 0.03;
}

.bs1 {
    width: 800px;
    height: 300px;
    background: var(--gogh-yellow);
    top: -50px;
    left: -200px;
    transform: rotate(-20deg);
}

.bs2 {
    width: 600px;
    height: 200px;
    background: var(--gogh-blue);
    bottom: -50px;
    right: -100px;
    transform: rotate(15deg);
}

.bs3 {
    width: 400px;
    height: 150px;
    background: var(--gogh-orange);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-5deg);
}

.quote-carousel {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.quote-icon {
    font-family: var(--font-display);
    font-size: 6rem;
    color: var(--gogh-yellow);
    opacity: 0.2;
    line-height: 0.5;
    margin-bottom: 20px;
}

.quote-text {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 400;
    font-style: italic;
    color: var(--gogh-cream);
    line-height: 1.4;
    margin-bottom: 24px;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

.quote-author {
    font-family: var(--font-accent);
    font-size: 1rem;
    color: var(--gogh-gold);
    opacity: 0.6;
    display: block;
    margin-bottom: 32px;
}

.quote-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.quote-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(232, 168, 56, 0.2);
    background: rgba(232, 168, 56, 0.05);
    color: var(--gogh-gold);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.quote-btn:hover {
    background: rgba(232, 168, 56, 0.15);
    border-color: rgba(232, 168, 56, 0.4);
}

.quote-dots {
    display: flex;
    gap: 8px;
}

.quote-dots .qd {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(245, 240, 230, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.quote-dots .qd.active {
    background: var(--gogh-yellow);
    transform: scale(1.3);
}

/* ============================================
   LEGACY SECTION
   ============================================ */
.legacy-section {
    position: relative;
    z-index: 1;
    padding: var(--section-padding) 0 80px;
    background: linear-gradient(180deg, var(--gogh-dark) 0%, var(--gogh-darker) 100%);
}

.legacy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.legacy-card {
    background: rgba(27, 58, 107, 0.1);
    border: 1px solid rgba(232, 168, 56, 0.1);
    border-radius: 16px;
    padding: 36px;
    transition: all 0.5s var(--ease-out-expo);
}

.legacy-card:hover {
    transform: translateY(-6px);
    border-color: rgba(232, 168, 56, 0.25);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: rgba(27, 58, 107, 0.15);
}

.legacy-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.legacy-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gogh-cream);
    margin-bottom: 12px;
}

.legacy-card p {
    font-size: 0.92rem;
    line-height: 1.7;
    color: rgba(245, 240, 230, 0.6);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    position: relative;
    z-index: 1;
    padding: 60px 0 40px;
    background: var(--gogh-darker);
    border-top: 1px solid rgba(232, 168, 56, 0.08);
}

.footer-content {
    text-align: center;
}

.footer-signature {
    font-family: var(--font-display);
    font-size: 3rem;
    font-style: italic;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gogh-gold) 0%, var(--gogh-yellow) 50%, var(--gogh-amber) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    opacity: 0.6;
}

.footer-text {
    font-size: 0.92rem;
    color: rgba(245, 240, 230, 0.4);
    max-width: 600px;
    margin: 0 auto 24px;
    line-height: 1.6;
}

.footer-divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(232, 168, 56, 0.3), transparent);
    margin: 0 auto 24px;
}

.footer-copyright {
    font-size: 0.82rem;
    color: rgba(245, 240, 230, 0.25);
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: all 1s var(--ease-out-expo);
}

.reveal {
    transform: translateY(40px);
}

.reveal-left {
    transform: translateX(-60px);
}

.reveal-right {
    transform: translateX(60px);
}

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .intro-portrait {
        max-width: 350px;
        margin: 0 auto;
    }

    .paintings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px;
    }

    .side-nav {
        display: none;
    }

    .lang-toggle {
        top: 16px;
        right: 16px;
    }

    /* Timeline mobile */
    .timeline-line {
        left: 20px;
    }

    .timeline-item,
    .timeline-item.left,
    .timeline-item.right {
        width: 100%;
        left: 0;
        text-align: left;
        padding-left: 56px;
        padding-right: 16px;
    }

    .timeline-item.left .timeline-dot,
    .timeline-item.right .timeline-dot {
        left: 12px;
        right: auto;
    }

    .timeline-item.left .card-year,
    .timeline-item.right .card-year {
        left: 20px;
        right: auto;
    }

    .paintings-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }

    .legacy-grid {
        grid-template-columns: 1fr;
    }

    .stats-row {
        flex-wrap: wrap;
        justify-content: center;
    }

    .stat {
        min-width: 120px;
    }

    .hero-dates {
        gap: 16px;
    }

    .date-line {
        width: 50px;
    }
}

@media (max-width: 480px) {
    .title-line:first-child {
        font-size: 3rem;
    }
    .title-line:last-child {
        font-size: 3.5rem;
    }

    .timeline-card {
        padding: 20px;
    }

    .card-year {
        font-size: 2rem;
    }
}

/* --- Smooth scrollbar styling --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gogh-darker);
}

::-webkit-scrollbar-thumb {
    background: rgba(232, 168, 56, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(232, 168, 56, 0.5);
}

/* ============================================
   PRELOADER
   ============================================ */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--gogh-darker);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.preloader::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(43, 92, 138, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 30%, rgba(232, 168, 56, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(107, 72, 196, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.05);
}

/* Block scroll while loading */
body.loading {
    overflow: hidden;
}

.preloader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    position: relative;
    z-index: 1;
}

/* --- Swirl SVG --- */
.preloader-swirl {
    width: 160px;
    height: 160px;
    position: relative;
    filter: drop-shadow(0 0 30px rgba(232, 168, 56, 0.15));
}

.preloader-svg {
    width: 100%;
    height: 100%;
    animation: swirlPulse 3s ease-in-out infinite;
}

@keyframes swirlPulse {
    0%, 100% { filter: drop-shadow(0 0 8px rgba(232, 168, 56, 0.2)); }
    50% { filter: drop-shadow(0 0 20px rgba(232, 168, 56, 0.4)); }
}

.preloader-ring {
    transform-origin: 100px 100px;
}

.ring-1 {
    animation: ringRotate1 2.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.ring-2 {
    animation: ringRotate2 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.ring-3 {
    animation: ringRotate3 1.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes ringRotate1 {
    0%   { transform: rotate(0deg);   stroke-dasharray: 140 400; }
    50%  { transform: rotate(180deg); stroke-dasharray: 280 400; }
    100% { transform: rotate(360deg); stroke-dasharray: 140 400; }
}

@keyframes ringRotate2 {
    0%   { transform: rotate(0deg);   stroke-dasharray: 100 350; }
    50%  { transform: rotate(-180deg); stroke-dasharray: 200 350; }
    100% { transform: rotate(-360deg); stroke-dasharray: 100 350; }
}

@keyframes ringRotate3 {
    0%   { transform: rotate(0deg);   stroke-dasharray: 70 250; }
    50%  { transform: rotate(180deg); stroke-dasharray: 160 250; }
    100% { transform: rotate(360deg); stroke-dasharray: 70 250; }
}

.preloader-center {
    animation: centerPulse 2s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(232, 168, 56, 0.6));
}

@keyframes centerPulse {
    0%, 100% { r: 6; opacity: 1; }
    50% { r: 9; opacity: 0.7; }
}

/* --- Paint Drops --- */
.preloader-drops {
    position: absolute;
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    pointer-events: none;
}

.paint-drop {
    position: absolute;
    border-radius: 50%;
    animation: paintDrop 3.5s ease-in-out infinite;
    opacity: 0;
}

.drop-1 {
    width: 8px;
    height: 8px;
    background: var(--gogh-yellow);
    top: 0;
    left: 50%;
    animation-delay: 0s;
    box-shadow: 0 0 12px rgba(232, 168, 56, 0.5);
}

.drop-2 {
    width: 6px;
    height: 6px;
    background: var(--gogh-light-blue);
    top: 25%;
    right: 0;
    animation-delay: 0.7s;
    box-shadow: 0 0 12px rgba(91, 160, 217, 0.5);
}

.drop-3 {
    width: 7px;
    height: 7px;
    background: var(--gogh-purple);
    bottom: 10%;
    right: 15%;
    animation-delay: 1.4s;
    box-shadow: 0 0 12px rgba(107, 72, 196, 0.5);
}

.drop-4 {
    width: 5px;
    height: 5px;
    background: var(--gogh-orange);
    bottom: 15%;
    left: 10%;
    animation-delay: 2.1s;
    box-shadow: 0 0 12px rgba(196, 107, 46, 0.5);
}

.drop-5 {
    width: 6px;
    height: 6px;
    background: var(--gogh-green);
    top: 30%;
    left: 5%;
    animation-delay: 2.8s;
    box-shadow: 0 0 12px rgba(58, 107, 79, 0.5);
}

@keyframes paintDrop {
    0%   { opacity: 0; transform: scale(0) translateY(0); }
    15%  { opacity: 1; transform: scale(1.3); }
    30%  { opacity: 0.8; transform: scale(1) translateY(10px); }
    60%  { opacity: 0.4; transform: scale(0.8) translateY(25px); }
    100% { opacity: 0; transform: scale(0.3) translateY(50px); }
}

/* --- Preloader Text --- */
.preloader-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.preloader-name {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 700;
    font-style: italic;
    background: linear-gradient(135deg, var(--gogh-cream) 0%, var(--gogh-gold) 50%, var(--gogh-yellow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
    animation: nameShimmer 3s ease-in-out infinite;
    background-size: 200% auto;
}

@keyframes nameShimmer {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.preloader-loading {
    display: flex;
    gap: 8px;
}

.loading-brush {
    font-size: 8px;
    color: var(--gogh-yellow);
    animation: brushBounce 1.4s ease-in-out infinite;
    opacity: 0.3;
}

.loading-brush:nth-child(1) { animation-delay: 0s; }
.loading-brush:nth-child(2) { animation-delay: 0.2s; }
.loading-brush:nth-child(3) { animation-delay: 0.4s; }

@keyframes brushBounce {
    0%, 60%, 100% { opacity: 0.3; transform: translateY(0) scale(1); }
    30% { opacity: 1; transform: translateY(-6px) scale(1.4); }
}

/* --- Progress Bar --- */
.preloader-progress {
    width: 180px;
    height: 2px;
    background: rgba(245, 240, 230, 0.08);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.preloader-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--gogh-blue), var(--gogh-yellow), var(--gogh-orange));
    border-radius: 2px;
    transition: width 0.3s ease;
    position: relative;
}

.preloader-progress-bar::after {
    content: '';
    position: absolute;
    right: 0;
    top: -2px;
    width: 6px;
    height: 6px;
    background: var(--gogh-yellow);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(232, 168, 56, 0.6);
}
