/* ============================================
   JONATAN - The Burning Ginger
   Minimalist Black & White Theme
   ============================================ */

/* CSS Variables */
:root {
    --bg-black: #0a0a0a;
    --bg-dark: #111111;
    --white: #ffffff;
    --white-soft: #f5f5f5;
    --grey-light: #cccccc;
    --grey-mid: #888888;
    --grey-dark: #444444;
    --grey-darker: #222222;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Subtle Grain Overlay */
.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.02;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 4rem;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.95), transparent);
    transition: background 0.4s ease;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--grey-mid);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--white);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 10, 0.4) 0%,
        rgba(10, 10, 10, 0.3) 50%,
        rgba(10, 10, 10, 0.9) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: clamp(2.5rem, 8vw, 6rem);
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
    color: var(--white);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease 0.3s forwards;
}

.hero-subtitle {
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    font-weight: 300;
    color: var(--grey-light);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease 0.5s forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CTA Button - Minimal Style */
.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--bg-black);
    background: var(--white);
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
    opacity: 0;
    animation: fadeUp 1s ease 0.7s forwards;
}

.cta-button:hover {
    background: var(--grey-light);
    transform: translateY(-2px);
}

.cta-button.large {
    padding: 1.2rem 3rem;
    font-size: 0.8rem;
}

/* Scroll Indicator - Minimal Line */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    opacity: 0;
    animation: fadeUp 1s ease 1s forwards;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--white), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scaleY(1);
    }
    50% {
        opacity: 0.8;
        transform: scaleY(1.1);
    }
}

/* ============================================
   SCROLL-DRIVEN VIDEO SECTION
   ============================================ */
.zoom-parallax-section {
    position: relative;
    height: 300vh;
}

.zoom-video-container {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-black);
}

.scroll-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   CONTENT SECTIONS
   ============================================ */
.content-section {
    padding: 10rem 4rem;
    position: relative;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.content-section.reverse .section-container {
    direction: rtl;
}

.content-section.reverse .section-container > * {
    direction: ltr;
}

/* Image Wrapper */
.image-wrapper {
    position: relative;
    overflow: hidden;
}

.section-image {
    width: 100%;
    height: 550px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.image-wrapper:hover .section-image {
    transform: scale(1.02);
}

/* Text Content */
.text-content {
    padding: 2rem;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    margin-bottom: 1.5rem;
    color: var(--white);
    letter-spacing: 0.02em;
}

.section-body {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--grey-light);
    font-weight: 300;
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.gallery-section {
    padding: 0 4rem 10rem;
}

.gallery-image-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
}

.gallery-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    padding: 10rem 4rem;
    text-align: center;
    background: var(--bg-dark);
}

.contact-container {
    max-width: 700px;
    margin: 0 auto;
}

.contact-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    color: var(--white);
    letter-spacing: 0.02em;
}

.contact-subtitle {
    font-size: 1.1rem;
    color: var(--grey-mid);
    margin-bottom: 3rem;
    font-weight: 300;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 4rem;
    border-top: 1px solid var(--grey-darker);
    background: var(--bg-black);
}

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

.footer-logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 0.3em;
    color: var(--grey-dark);
}

.social-bar {
    display: flex;
    gap: 1.5rem;
}

.social-icon {
    width: 20px;
    height: 20px;
    color: var(--grey-dark);
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: var(--white);
}

.social-icon svg {
    width: 100%;
    height: 100%;
}

.footer-copy {
    font-size: 0.75rem;
    color: var(--grey-dark);
    letter-spacing: 0.1em;
}

/* ============================================
   ANIMATIONS - Subtle Fade In
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .navbar {
        padding: 1rem 2rem;
    }

    .nav-links {
        display: none;
    }

    .content-section {
        padding: 6rem 2rem;
    }

    .section-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .content-section.reverse .section-container {
        direction: ltr;
    }

    .section-image {
        height: 400px;
    }

    .text-content {
        padding: 1rem 0;
    }

    .gallery-section {
        padding: 0 2rem 6rem;
    }

    .gallery-image {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .hero-subtitle {
        letter-spacing: 0.1em;
    }

    .cta-button {
        padding: 0.9rem 2rem;
        font-size: 0.7rem;
    }

    .section-image {
        height: 350px;
    }

    .contact-section {
        padding: 6rem 2rem;
    }

    .gallery-image {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 1rem;
    }

    .nav-logo {
        font-size: 0.8rem;
        letter-spacing: 0.2em;
    }

    .hero-title {
        letter-spacing: 0.08em;
    }

    .content-section {
        padding: 4rem 1.5rem;
    }

    .section-container {
        gap: 2rem;
    }

    .section-image {
        height: 300px;
    }

    .gallery-section {
        padding: 0 1.5rem 4rem;
    }

    .gallery-image {
        height: 250px;
    }

    .footer {
        padding: 2rem 1rem;
    }
}
