
:root {
    --bg-color: #080808;
    --text-color: #e0e0e0;
    --accent-color: #d4af37; /* Gold/Brass color */
    --cursor-size: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none; /* Hide default cursor */
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    width: 100%;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, .menu-link, .back-link {
    font-family: 'Syne', sans-serif;
    text-transform: uppercase;
}

a { text-decoration: none; color: inherit; }

/* --- CUSTOM CURSOR --- */
.cursor-dot, .cursor-outline {
    position: fixed;
    top: 0; left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot { width: 8px; height: 8px; background-color: var(--accent-color); }

.cursor-outline {
    width: 40px; height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

body.hovering .cursor-outline {
    width: 80px; height: 80px;
    background-color: rgba(212, 175, 55, 0.1); /* Gold tint */
    border-color: var(--accent-color);
    backdrop-filter: blur(2px);
}

/* --- NAVIGATION --- */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2rem 5vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    mix-blend-mode: difference;
}

.logo { font-weight: 800; font-size: 1.5rem; letter-spacing: 1px; }

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.menu-link { 
    font-size: 0.9rem; 
    letter-spacing: 2px; 
    position: relative;
}

/* BACK LINK STYLE */
.back-link {
    font-size: 0.8rem;
    letter-spacing: 1px;
    border: 1px solid white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.back-link:hover {
    background: white;
    color: black;
}

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 5vw;
    position: relative;
}

.hero h1 {
    font-size: 8.7vw;
    line-height: 0.85;
    font-weight: 800;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(100px);
    color: #fff;
}

.hero p {
    font-size: 1.5rem;
    max-width: 500px;
    line-height: 1.5;
    color: #888;
    opacity: 0;
    margin-top: 20px;
    letter-spacing: 1px;
}

/* --- SCROLL ARROW --- */
.scroll-indicator {
    position: absolute;
    bottom: 40px; left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
}

.scroll-text { font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: #666; }
.arrow-icon { width: 24px; height: 24px; animation: bounce 2s infinite; }
.arrow-icon path { fill: white; }

/* --- TIMELINE SECTION --- */
.section-header { padding: 10vh 5vw 5vh 5vw; border-top: 1px solid #222; }
.section-title { font-size: 4vw; margin-bottom: 20px; }
.timeline-container { padding: 0 5vw 10vh 5vw; }

.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 4rem 0;
    border-top: 1px solid #222;
    transition: background-color 0.3s;
}
.timeline-item:hover { background-color: #111; }
.timeline-year { font-family: 'Syne', sans-serif; font-size: 2rem; color: #555; width: 30%; }
.timeline-content { width: 60%; }
.timeline-content h3 { font-size: 2.5rem; margin-bottom: 1rem; color: var(--accent-color); }
.timeline-content p { font-size: 1.1rem; line-height: 1.6; color: #aaa; }

/* --- HORIZONTAL SCROLL SECTION --- */
.horizontal-wrapper { width: 100%; overflow: hidden; }
.horizontal-container { display: flex; width: 400%; height: 100vh; } 

.panel {
    width: 100vw; height: 100vh;
    display: flex; flex-direction: column; justify-content: center;
    padding: 0 10vw; position: relative;
    background-size: cover; background-position: center;
}
.panel::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.7); z-index: 1; 
}
.panel-content { position: relative; z-index: 2; }
.panel h2 { font-size: 8vw; line-height: 1; margin-bottom: 2rem; color: white; }
.panel p { font-size: 1.5rem; max-width: 600px; color: #ddd; }
.panel-num {
    position: absolute; top: 10vh; right: 10vw;
    font-size: 15rem; font-weight: 800; color: rgba(255,255,255,0.03);
    font-family: 'Syne', sans-serif; z-index: 1;
}

/* --- FOOTER --- */
footer {
    height: 80vh;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    background-color: #111; color: #fff; text-align: center;
}
.footer-cta { font-size: 8vw; font-weight: 800; line-height: 1; margin-bottom: 2rem; }
.footer-link {
    font-size: 1.5rem; border: 2px solid white; padding: 1rem 3rem;
    border-radius: 50px; text-transform: uppercase; font-weight: 600; transition: all 0.3s;
}
.footer-link:hover { background: white; color: black; }

/* --- ANIMATIONS --- */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

/* --- MOBILE OPTIMIZATION --- */
@media (max-width: 768px) {
    
    /* 1. HIDE CUSTOM CURSOR (Phones don't have mice) */
    .cursor-dot, .cursor-outline { 
        display: none !important; 
    }
    * { 
        cursor: auto !important; /* Restore normal touch behavior */
    }

    /* 2. HERO SECTION */
    .hero h1 { 
        font-size: 10vw; /* Make text bigger on vertical screens */
    }
    .hero p {
        font-size: 1.1rem;
    }

    /* 3. TIMELINE STACKING */
    .timeline-item { 
        flex-direction: column; 
    }
    .timeline-year { 
        margin-bottom: 0.5rem; 
        font-size: 1.5rem; /* Smaller year font */
        width: 100%;
    }
    .timeline-content { 
        width: 100%; 
    }

    /* 4. NAVIGATION FIXES */
    nav {
        padding: 1.5rem 5vw;
    }
    .nav-right { 
        gap: 1rem; 
    }
    
    /* Make the Back Button Icon bigger for thumbs */
    .back-link { 
        padding: 0.6rem; /* Bigger touch target */
    }
    .back-link svg { 
        width: 20px; 
        height: 20px; 
    }
    .back-link span { 
        display: none; /* Hide text "Back to Main" on mobile to save space */
    }

    /* 5. HORIZONTAL SCROLL ADJUSTMENT */
    /* Ensure the panels don't get cut off by browser address bars */
    .panel {
        height: 100dvh; /* "dvh" adapts to mobile address bars better than "vh" */
    }
    .panel h2 {
        font-size: 11vw; /* Adjust headline size */
    }
}
