/* cinematic-About Us Design System */

:root {
    --slate: #2F3E46;
    --burnt-orange: #E85D04;
    --cream: #F8F9FA;
    --gold: #FAA307;
    --dark-bg: #111111;
    --serif-font: 'Playfair Display', serif;
    --mono-font: 'Courier Prime', monospace;
}

body.about-page {
    background-color: var(--cream);
    color: var(--slate);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    cursor: none;
    /* Hide default cursor to show custom compass */
}

/* Custom Cursor */
.compass-cursor {
    position: fixed;
    width: 40px;
    height: 40px;
    pointer-events: none;
    z-index: 10001;
    transform: translate(-50%, -50%);
    font-size: 30px;
    color: var(--burnt-orange);
    transition: transform 0.1s ease-out;
    filter: drop-shadow(0 0 10px rgba(232, 93, 4, 0.4));
}

/* Film Grain */
.film-grain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/about/texture.png');
    background-size: 200px 200px;
    opacity: 0.1;
    pointer-events: none;
    z-index: 9999;
    animation: grain 8s steps(10) infinite;
}

@keyframes grain {

    0%,
    100% {
        transform: translate(0, 0);
    }

    10% {
        transform: translate(-5%, -10%);
    }

    20% {
        transform: translate(-15%, 5%);
    }

    30% {
        transform: translate(7%, -25%);
    }

    40% {
        transform: translate(-5%, 25%);
    }

    50% {
        transform: translate(-15%, 10%);
    }

    60% {
        transform: translate(15%, 0%);
    }

    70% {
        transform: translate(0%, 15%);
    }

    80% {
        transform: translate(3%, 35%);
    }

    90% {
        transform: translate(-10%, 10%);
    }
}

/* Navigation Overlays */
.navbar {
    background: transparent !important;
    position: absolute;
    width: 100%;
    z-index: 100;
}

.nav-link {
    color: white !important;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Hero Parallax */
.hero-parallax {
    height: 100vh;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-media-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.parallax-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 0.1s ease-out;
}

.hero-content {
    text-align: center;
    color: white;
}

.hero-quote {
    font-family: var(--serif-font);
    font-size: 4rem;
    font-style: italic;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.8);
}

/* Journal Section */
.journal-section {
    background-image: url('assets/images/about/texture.png');
    background-size: cover;
}

.journal-entry {
    background: white;
    padding: 3rem;
    box-shadow: 20px 20px 60px #d9d9d9, -20px -20px 60px #ffffff;
    border-radius: 5px;
    position: relative;
}

.journal-note {
    font-family: var(--mono-font);
    font-size: 0.9rem;
    color: var(--burnt-orange);
    display: block;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.journal-entry h2 {
    font-family: var(--serif-font);
    font-weight: 800;
}

.journal-entry h2 em {
    color: var(--burnt-orange);
}

.journal-signature {
    font-family: var(--mono-font);
    font-size: 1.2rem;
    font-style: italic;
    margin-top: 2rem;
    border-top: 1px solid #ddd;
    padding-top: 1rem;
}

.rotate-3 {
    transform: rotate(3deg);
}

/* Interactive Map */
.map-pin {
    position: absolute;
    color: var(--burnt-orange);
    font-size: 2rem;
    cursor: pointer;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s;
}

.map-pin:hover {
    transform: scale(1.5);
    color: var(--gold);
}

/* Gear Section */
.gear-flatlay {
    max-width: 900px;
    margin: 0 auto;
}

.gear-hotspot {
    position: absolute;
    width: 50px;
    height: 50px;
    border: 2px solid white;
    border-radius: 50%;
    background: rgba(232, 93, 4, 0.4);
    cursor: help;
}

.gear-tooltip {
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--slate);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    width: 200px;
    font-size: 0.85rem;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 10;
}

.gear-hotspot:hover .gear-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--burnt-orange);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: white;
    border: 4px solid var(--burnt-orange);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item.right {
    left: 50%;
}

.timeline-item.right::after {
    left: -10px;
}

.timeline-content {
    padding: 20px 30px;
    background-color: white;
    position: relative;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
    font-family: var(--serif-font);
    color: var(--burnt-orange);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('assets/images/about/hero.png');
    background-attachment: fixed;
    background-size: cover;
}

.btn-cinematic {
    padding: 15px 40px;
    border: 2px solid white;
    color: white;
    background: transparent;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-cinematic:hover {
    background: white;
    color: black;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

/* Audio Toggle */
.audio-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000;
}

.btn-audio {
    border: none;
    background: var(--slate);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.audio-text {
    font-size: 0.8rem;
    font-weight: 600;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item::after {
        left: 21px;
    }

    .timeline-item.right {
        left: 0%;
    }

    .hero-quote {
        font-size: 2.5rem;
    }

    .compass-cursor {
        display: none;
    }

    body.about-page {
        cursor: auto;
    }
}