* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    background-color: #000;
}

.scroll-container {
    width: 100%;
    height: 100vh;
    position: relative;
}

.hero-section {
    width: 100%;
    height: 100vh;
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    
    /* Parallax effect */
    background-repeat: no-repeat;
    
    /* Smooth transitions */
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    
    /* Disable clicking/pointer interaction */
    pointer-events: none;
    user-select: none;
}

/* Overlay for better text readability */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    animation: fadeInUp 1s ease-out;
    pointer-events: none;
    user-select: none;
}

.content h1 {
    font-size: clamp(2rem, 8vw, 5rem);
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.content h2 {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.content p {
    font-size: 1.2rem;
    letter-spacing: 1px;
    font-weight: 600;
    animation: fadeInUp 1.2s ease-out;
}

.story-text {
    margin-top: 1.5rem;
    pointer-events: none;
    user-select: none;
}

.story-title {
    pointer-events: none;
    user-select: none;
}

.story-text p {
    margin-top: 1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    text-align: center;
    padding: 0 24px;
    font-weight: 300;
    font-size: 1.05rem;
    pointer-events: none;
    user-select: none;
}

.story-text p:first-child {
    margin-top: 0;
}

.story-ending {
    font-style: italic;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.scroll-indicator span {
    width: 2px;
    height: 20px;
    background: white;
    display: block;
    animation: scroll-down 1.5s infinite;
    opacity: 0.7;
}

@keyframes scroll-down {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(10px);
    }
}

/* ===== NAVIGATION HEADER ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 100;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    color: white;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: 1.5px;
    transition: color 0.3s ease;
    pointer-events: auto;
}

.nav-logo:hover {
    color: #a8edea;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    pointer-events: auto;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #a8edea;
    transition: width 0.3s ease;
}

.nav-links li a:hover {
    color: white;
}

.nav-links li a:hover::after {
    width: 100%;
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 20px;
    }

    .nav-logo {
        font-size: 1.1rem;
    }

    .nav-links {
        gap: 20px;
    }

    .nav-links li a {
        font-size: 0.85rem;
    }
}

/* Progress Bar */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: white;
    z-index: 101;
    width: 0%;
    transition: width 0.1s ease;
}

/* Smooth scroll snap for sections */
@supports (scroll-snap-type: y mandatory) {
    .scroll-container {
        scroll-snap-type: y mandatory;
    }
    
    .hero-section {
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll;
    }
    
    .content h1 {
        font-size: 2rem;
        padding: 0 20px;
    }
    
    .content h2 {
        font-size: 1.5rem;
        padding: 0 20px;
    }
    
    .story-title {
        font-size: 1.8rem !important;
        line-height: 1.3;
        word-wrap: break-word;
        hyphens: none;
    }
    
    .content p {
        font-size: 1rem;
    }
    
    .story-text {
        margin-top: 1rem;
    }
    
    .story-text p {
        max-width: 100%;
        padding: 0 20px;
        font-size: 0.95rem;
        line-height: 1.7;
        text-align: center;
    }
    
    .scroll-indicator {
        bottom: 20px;
    }
}

/* Smooth page transitions */
body.loading {
    overflow: hidden;
}

/* Section reveal animation on scroll */
.hero-section.in-view {
    animation: sectionReveal 0.8s ease-out;
}

@keyframes sectionReveal {
    from {
        opacity: 0.8;
    }
    to {
        opacity: 1;
    }
}

/* Cursor tracking effect for interactive feel */
.hero-section {
    cursor: pointer;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-section:active {
    transform: scale(0.98);
}

/* CTA Section */
.cta-section {
    width: 100%;
    min-height: 100vh;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
    
    /* Re-enable clicking for CTA section */
    pointer-events: auto;
    user-select: none;
}

/* Overlay for better text readability */
.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.cta-content {
    text-align: center;
    color: white;
    max-width: 600px;
    animation: fadeInUp 1s ease-out;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: clamp(2rem, 6vw, 3.5rem);
            font-weight: 700;
            letter-spacing: 2px;
            margin-bottom: 1.5rem;
            text-transform: uppercase;
        }

        .cta-content p {
            font-size: 1.1rem;
            letter-spacing: 1px;
            margin-bottom: 2rem;
            opacity: 0.85;
            font-weight: 600;
        }

        .cta-button {
            display: inline-block;
            background: transparent;
            color: white;
            padding: 15px 45px;
            text-decoration: none;
            border-radius: 0;
            font-size: 1rem;
            letter-spacing: 1px;
            text-transform: uppercase;
            transition: all 0.3s ease;
            border: 1px solid white;
            cursor: pointer;
            font-weight: 500;
            pointer-events: auto;
        }

        .cta-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
            background: rgba(255, 255, 255, 0.1);
        }

        .cta-button:active {
            transform: translateY(0);
        }

@media (max-width: 768px) {
    .cta-section {
        min-height: auto;
        padding: 60px 20px;
        background-attachment: scroll;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-button {
        padding: 12px 35px;
        font-size: 0.95rem;
    }
}

/* Extra small phones (320px - 480px) */
@media (max-width: 480px) {
    .hero-section {
        min-height: 100vh;
    }
    
    .content h1 {
        font-size: 1.5rem;
        padding: 0 15px;
    }
    
    .content h2 {
        font-size: 1.2rem;
        padding: 0 15px;
    }
    
    .story-title {
        font-size: 1.3rem !important;
        line-height: 1.2;
        hyphens: none;
    }
    
    .story-text {
        margin-top: 0.8rem;
    }
    
    .story-text p {
        max-width: 100%;
        padding: 0 15px;
        font-size: 0.85rem;
        line-height: 1.6;
        margin-top: 0.6rem;
        text-align: center;
    }
    
    .story-text p:first-child {
        margin-top: 0;
    }
    
    .cta-button {
        padding: 10px 25px;
        font-size: 0.85rem;
    }
}
