/* ======================================================
   GLOBAL BASE STYLES
   ====================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000;
    font-family: Arial, sans-serif;
    color: white;
}
/* ===== Prevent extra scrolling on homepage ===== */
html, body {
    height: 100%;
    overflow-x: hidden;
    overscroll-behavior-y: none;
}


/* ======================================================
   HOMEPAGE LAYOUT
   ====================================================== */

.homepage-container {
    display: flex;
    min-height: 100vh;
    max-height: 100vh;   /* ← semicolon was missing */
    width: 100vw;
    padding-bottom: 180px;
    overflow: hidden;    /* stops extra scrolling */
}



.left {
    width: 75vw;
    position: relative;
    overflow: hidden;
    min-height: 100vh; /* ⭐ THIS FIXES THE CAPPING ISSUE */
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: visible;
}


.full-img {
    height: auto;
    width: 100%;
}


.right {
    width: 25vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 40px;
}

.right-img {
    width: 90%;
    height: auto;
}

.credit {
    margin-top: 20px;
    font-size: 12px;
    color: #ccc;
    text-align: center;
}

/* ======================================================
   HOMEPAGE HOTSPOTS
   (You can remove background-color once done testing)
   ====================================================== */

/* ======================================================
   ALL HOMEPAGE HOTSPOTS — GRADIENT + WATERFALL ANIMATION
   ====================================================== */

/* 🔴 OHIO HOTSPOT */
.ohio-hotspot {
    position: absolute;
    left: 2.5%;
    top: 16%;
    width: 15.5%;
    height: 180%; /* your original “working” range */
    cursor: pointer;
    z-index: 9999;
    overflow: hidden;

    background: linear-gradient(
        to bottom,
        rgba(255, 0, 0, 0.00) 0%,
        rgba(255, 0, 0, 0.05) 0.001%,
        rgba(255, 0, 0, 0.10) 0.01%,
        rgba(255, 0, 0, 0.20) 1%,
        rgba(255, 0, 0, 0.26) 12%,
        rgba(255, 0, 0, 0.26) 40%,
        rgba(255, 0, 0, 0.26) 100%
    );
}

.ohio-hotspot::after {
    content: "";
    position: absolute;
    top: -120%;
    left: 0;
    width: 100%;
    height: 300%;
    pointer-events: none;

    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.18) 30%,
        rgba(255,255,255,0) 70%
    );

    animation: hotspotWaterfall 2.2s linear infinite;
}


/* 🟢 RECENT HOTSPOT */
.recent-hotspot {
    position: absolute;
    left: 20.5%;
    top: 23.5%;
    width: 18%;
    height: 80%;
    cursor: pointer;
    z-index: 9999;
    overflow: hidden;

    background: linear-gradient(
        to bottom,
        rgba(0, 255, 0, 0.00) 0%,
        rgba(0, 255, 0, 0.05) 0.001%,
        rgba(0, 255, 0, 0.10) 0.01%,
        rgba(0, 255, 0, 0.20) 1%,
        rgba(0, 255, 0, 0.26) 12%,
        rgba(0, 255, 0, 0.26) 40%,
        rgba(0, 255, 0, 0.26) 100%
    );
}

.recent-hotspot::after {
    content: "";
    position: absolute;
    top: -120%;
    left: 0;
    width: 100%;
    height: 300%;
    pointer-events: none;

    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.18) 30%,
        rgba(255,255,255,0) 70%
    );

    animation: hotspotWaterfall 2.2s linear infinite;
}


/* 🔵 RESUME HOTSPOT */
.resume-hotspot {
    position: absolute;
    left: 40%;
    top: 16%;
    width: 16.5%;
    height: 180%;
    cursor: pointer;
    z-index: 9999;
    overflow: hidden;

    background: linear-gradient(
        to bottom,
        rgba(0, 0, 255, 0.00) 0%,
        rgba(0, 0, 255, 0.05) 0.001%,
        rgba(0, 0, 255, 0.10) 0.01%,
        rgba(0, 0, 255, 0.20) 1%,
        rgba(0, 0, 255, 0.26) 12%,
        rgba(0, 0, 255, 0.26) 40%,
        rgba(0, 0, 255, 0.26) 100%
    );
}

.resume-hotspot::after {
    content: "";
    position: absolute;
    top: -120%;
    left: 0;
    width: 100%;
    height: 300%;
    pointer-events: none;

    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.18) 30%,
        rgba(255,255,255,0) 70%
    );

    animation: hotspotWaterfall 2.2s linear infinite;
}
.creative-hotspot {
    position: absolute;
    left: 64.8%;
    top: 16%;
    width: 14.5%;
    height: 180%;
    cursor: pointer;
    z-index: 9999;
    overflow: hidden;

    /* Gold gradient fade-in (same curve as others) */
    background: linear-gradient(
        to bottom,
        rgba(255, 215, 0, 0.00) 0%,      /* transparent top */
        rgba(255, 215, 0, 0.05) 0.001%,  /* faint */
        rgba(255, 215, 0, 0.10) 0.01%,   /* subtle fade */
        rgba(255, 215, 0, 0.20) 1%,      /* sharp jump */
        rgba(255, 215, 0, 0.26) 12%,     /* stable opacity */
        rgba(255, 215, 0, 0.26) 40%,
        rgba(255, 215, 0, 0.26) 100%
    );
}

/* Waterfall shimmer (same animation as all other hotspots) */
.creative-hotspot::after {
    content: "";
    position: absolute;
    top: -120%;
    left: 0;
    width: 100%;
    height: 300%;
    pointer-events: none;

    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.18) 30%,
        rgba(255,255,255,0) 70%
    );

    animation: hotspotWaterfall 2.2s linear infinite;
}
.contact-hotspot {
    position: absolute;
    left: 82.5%;
    top: 16%;
    width: 15%;
    height: 180%;
    cursor: pointer;
    z-index: 9999;
    overflow: hidden;

    /* Purple gradient fade-in (same curve as others) */
    background: linear-gradient(
        to bottom,
        rgba(196, 77, 255, 0.00) 0%,       /* transparent top */
        rgba(196, 77, 255, 0.05) 0.001%,   /* faint */
        rgba(196, 77, 255, 0.10) 0.01%,    /* subtle fade */
        rgba(196, 77, 255, 0.20) 1%,       /* sharp jump */
        rgba(196, 77, 255, 0.26) 12%,      /* stable opacity */
        rgba(196, 77, 255, 0.26) 40%,
        rgba(196, 77, 255, 0.26) 100%
    );
}

.contact-hotspot::after {
    content: "";
    position: absolute;
    top: -120%;
    left: 0;
    width: 100%;
    height: 300%;
    pointer-events: none;

    /* Waterfall shimmer (same as others) */
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.18) 30%,
        rgba(255,255,255,0) 70%
    );

    animation: hotspotWaterfall 2.2s linear infinite;
}



/* ======================================================
   UNIVERSAL WATERFALL ANIMATION
   ====================================================== */

@keyframes hotspotWaterfall {
    0%   { transform: translateY(0); }
    100% { transform: translateY(100%); }
}









/* ======================================================
   OHIO PAGE
   ====================================================== */

.ohio-flag-body {
    background-color: #000;
    width: 100%;
    min-height: 100vh;
    display: block;
    overflow-y: auto;
    overflow-x: hidden;
    text-align: center;
    position: relative;
}

.ohio-title {
    text-align: center;
    font-size: 90px;
    color: #0f3ea6;
    font-weight: bold;
    font-style: italic;
    text-transform: uppercase;
    margin-top: 40px;
    letter-spacing: 6px;
    position: relative;
    z-index: 10;
}

.ohio-subtext {
    color: white;
    font-size: 22px;
    margin-top: -10px;
    text-align: center;
    font-style: italic;
    letter-spacing: 1px;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.ohio-flag {
    width: 80%;
    max-width: 800px;
    height: auto;
    margin: 0 auto 40px auto;
    display: block;
}

.ohio-gallery {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin-top: 40px;
}

.ohio-gallery img {
    width: 300px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.ohio-gallery img:hover {
    transform: scale(1.03);
}

/* ======================================================
   RECENT WORK PAGE
   ====================================================== */

.recent-body {
    background-color: #000;
    text-align: center;
    color: white;
    padding-bottom: 60px;
}

.recent-title {
    text-align: center;
    font-size: 80px;
    color: #0f3ea6;
    font-weight: bold;
    font-style: italic;
    text-transform: uppercase;
    margin-top: 40px;
    letter-spacing: 6px;
}

.recent-gallery {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
}

.recent-card {
    width: 500px;
    text-align: center;
}

/* Hover swap system */
.swap-box {
    position: relative;
    width: 100%;
    height: auto;
}

.swap-video,
.swap-photo {
    width: 100%;
    border-radius: 10px;
    transition: opacity 0.25s ease;
}

.swap-photo {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.swap-box:hover .swap-video {
    opacity: 0;
}

.swap-box:hover .swap-photo {
    opacity: 1;
}

@media (max-width: 900px) {

    /* FORCE MULTILINE WRAPPING */
    #intro-header,
    #intro-header * {
        white-space: normal !important;
        display: block;
    }

    /* SHRINK FOR SAFE FIT */
    .intro-name {
        font-size: 26px;
        letter-spacing: 0.5px;
    }

    .intro-role {
        font-size: 16px;
        letter-spacing: 0.5px;
    }

    .intro-cities {
        font-size: 14px;
        letter-spacing: 1.5px;
    }

    /* Move header up so Slide To Enter is not covered */
    #intro-header {
        top: 6%;
    }
}

    /* MOBILE TWISTER STYLE — cleaner shadows & outline */
    .twister-text {
        -webkit-text-stroke: 1px #3a0a0a;
        text-shadow:
            0px -1px 1px rgba(255,255,255,0.3),
            0px 2px 3px rgba(0,0,0,0.5);
    }

/* SLIDE TO ENTER */
#slider-text {
    font-size: 22px;
    top: 68%;
}

/* Desktop-only HITBOX that stays centered on the car */
@media (min-width: 900px) {
    #drag-hitbox {
        position: absolute;
        left: 0;
        width: 100%;
        height: 220px;        /* Large grab zone */
        z-index: 1000001;
        pointer-events: auto;
        cursor: grab;
        transform: translateY(-50%);  /* match car alignment */
    }

    #drag-hitbox:active {
        cursor: grabbing;
    }
}










/* ======================================================
   FULLSCREEN INTRO OVERLAY (ALWAYS ACTIVE)
   ====================================================== */

#intro-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    overflow: hidden;
    transition: opacity 0.8s ease;
}

#intro-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.intro-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* ======================================================
   DRAG-TO-ENTER CAR (FINAL VERSION)
   ====================================================== */

#drag-car {
    position: absolute;
    width: 115px;             /* FINAL SIZE (1.5× original) */
    height: auto;
    left: -20px;               /* Small offset from left edge */
    top: 55%;                 /* Align vertically with track */
    transform: translateY(-50%);
    z-index: 1000000;         /* Above everything else */
    touch-action: none;
    cursor: grab;
}

#drag-car:active {
    cursor: grabbing;
}


/* ======================================================
   GLOWING UNLOCK TRACK
   ====================================================== */

#slider-track {
    position: absolute;
    width: 85%;
    height: 65px;
    top: 55%;                 /* Same vertical alignment as car */
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.15);
    border-radius: 40px;
    z-index: 999998;

    box-shadow:
        0 0 20px rgba(255,255,255,0.6),
        0 0 35px rgba(255,255,255,0.4),
        inset 0 0 25px rgba(255,255,255,0.15);
    animation: sliderGlow 2s ease-in-out infinite alternate;
}

@keyframes sliderGlow {
    from {
        box-shadow:
            0 0 10px rgba(255,255,255,0.3),
            0 0 25px rgba(255,255,255,0.2),
            inset 0 0 5px rgba(255,255,255,0.1);
    }
    to {
        box-shadow:
            0 0 30px rgba(255,255,255,0.7),
            0 0 50px rgba(255,255,255,0.5),
            inset 0 0 15px rgba(255,255,255,0.2);
    }
}

/* ======================================================
   MARIO PARTY "DRAG TO ENTER" TEXT
   ====================================================== */

#slider-text {
    position: absolute;
    width: 100%;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Arial Black', 'Impact', sans-serif;
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;

    -webkit-text-stroke: 3px #1a1a1a;

    text-shadow:
        0 0 4px rgba(255,255,255,0.8),
        0 0 8px rgba(255,255,255,0.6),
        3px 3px 0px rgba(0,0,0,0.4);

    pointer-events: none;
    z-index: 1000002;

    animation:
        textPulse 2s ease-in-out infinite;
}

/* INDIVIDUAL LETTER COLORS */
#slider-text .c1 { color: #ff4d4d !important; }
#slider-text .c2 { color: #ffd84d !important; }
#slider-text .c3 { color: #4dff4d !important; }
#slider-text .c4 { color: #4d4dff !important; }
#slider-text .c5 { color: #ff8c4d !important; }
#slider-text .c6 { color: #c44dff !important; }
#slider-text .c7 { color: #ff4dc4 !important; }
#slider-text .c8 { color: #4dffd8 !important; }



/* ======================================
   GLOBAL INTRO HEADER – REFINED
   ====================================== */

#intro-header {
    position: absolute;
    top: 12%;   /* Moves everything higher */
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 1000003;
    pointer-events: none;
    width: 90%;
}

/* Shared Twister-style typography */
.intro-name,
.intro-role,
.intro-cities {
    white-space: nowrap;
    display: block;
    width: 100%;
    text-align: center;
    font-family: 'Arial Black', sans-serif;

    /* Thinner + sharper outline */
    -webkit-text-stroke: 1.4px #4b0000;

    /* Cleaner, more readable shadow */
    text-shadow:
        2px 2px 4px rgba(0,0,0,0.7),
        0px 0px 8px rgba(0,0,0,0.4);
    color: white;
}

/* NAME */
.intro-name {
    font-size: 48px;
    letter-spacing: 1px;
    font-weight: 900;
}

/* ROLE — must fit on one line on mobile */
.intro-role {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 1px;      /* LESS spacing = fits on mobile */
    margin-top: 6px;
}

/* CITIES */
.intro-cities {
    font-size: 20px;
    letter-spacing: 3px;
    margin-top: 4px;
}


/* ======================================================
   TWISTER STYLE — BASE (applies to both desktop & mobile)
   ====================================================== */

.twister-text {
    font-family: 'Arial Black', Impact, sans-serif;
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 3px;

    /* Twister gradient color */
    background: linear-gradient(to bottom, #d6a84b 15%, #8b1a1a 85%);
    -webkit-background-clip: text;
    color: transparent;

    /* Outline */
    -webkit-text-stroke: 2px #3a0a0a;

    /* Bevel shadow */
    text-shadow:
        0px -1px 1px rgba(255,255,255,0.4),
        0px 3px 4px rgba(0,0,0,0.7);
}

/* ======================================================
   INTRO HEADER — DESKTOP DEFAULT
   ====================================================== */

#intro-header {
    position: absolute;
    top: 12%;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    text-align: center;
    pointer-events: none;
    z-index: 1000003;
}

.intro-name {
    font-size: 48px;
    letter-spacing: 1px;
}

.intro-role {
    font-size: 26px;
    margin-top: 6px;
}

.intro-cities {
    font-size: 20px;
    letter-spacing: 3px;
    margin-top: 4px;
}

/* ======================================================
   SLIDE TO ENTER — DESKTOP DEFAULT
   ====================================================== */

#slider-text.twister-text {
    font-size: 32px;
    top: 50%;
}



/* ======================================
   KEYFRAME ANIMATIONS (KEEP AT BOTTOM)
   ====================================== */

@keyframes gradientShift {
    0%   { background-position: 0%; }
    100% { background-position: 400%; }
}

@keyframes textPulse {
    0%   { filter: brightness(1); }
    50%  { filter: brightness(1.5); }
    100% { filter: brightness(1); }
}

@keyframes sliderGlow {
    from {
        box-shadow:
            0 0 10px rgba(255,255,255,0.3),
            0 0 25px rgba(255,255,255,0.2),
            inset 0 0 5px rgba(255,255,255,0.1);
    }
    to {
        box-shadow:
            0 0 30px rgba(255,255,255,0.7),
            0 0 50px rgba(255,255,255,0.5),
            inset 0 0 15px rgba(255,255,255,0.2);
    }
}
/* ======================================================
   ANIMATED MULTI-COLOR WAVE FOOTER (HOTSPOT-MATCHED)
   ====================================================== */

.wave-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 160px;
    pointer-events: none; /* waves cannot block clicks */
    overflow: hidden;
    z-index: 2000000; /* above hotspots, but below intro */
}

/* Shared wave base */
.wave {
    position: absolute;
    bottom: 0;
    width: 200%;
    height: 140px;
    background-repeat: repeat-x;
    animation: waveMove 18s linear infinite;
    opacity: 0.9;
}
/* Hide waves during intro screen */
#intro-screen:not(.hidden) ~ .wave-footer {
    display: none !important;
}


/* ---------- WAVE COLORS (matched to hotspot aesthetic) ---------- */

/* Ohio – Muted Wine Red */
.wave1 {
    background: url('data:image/svg+xml;utf8,\
<svg xmlns="http://www.w3.org/2000/svg" width="1440" height="140" viewBox="0 0 1440 140">\
<path fill="%23a13a3a" d="M0,90 C200,130 400,40 600,70 C800,100 1000,50 1200,80 C1300,95 1380,85 1440,70 L1440 140 L0 140 Z"></path>\
</svg>');
    animation-duration: 14s;
    opacity: 0.45;
}

/* Recent – Deep Green */
.wave2 {
    background: url('data:image/svg+xml;utf8,\
<svg xmlns="http://www.w3.org/2000/svg" width="1440" height="140" viewBox="0 0 1440 140">\
<path fill="%23315f3a" d="M0,95 C180,130 420,60 620,80 C820,100 1040,40 1260,70 C1350,85 1410,95 1440,90 L1440 140 L0 140 Z"></path>\
</svg>');
    animation-duration: 20s;
    opacity: 0.40;
}

/* Resume – Plum/Indigo */
.wave3 {
    background: url('data:image/svg+xml;utf8,\
<svg xmlns="http://www.w3.org/2000/svg" width="1440" height="140" viewBox="0 0 1440 140">\
<path fill="%23504a8d" d="M0,100 C220,140 440,50 640,70 C840,90 1080,55 1320,80 C1380,90 1410,100 1440,95 L1440 140 L0 140 Z"></path>\
</svg>');
    animation-duration: 26s;
    opacity: 0.35;
}

/* Creative/Contact – Gold + Soft Violet Blend */
.wave4 {
    background: url('data:image/svg+xml;utf8,\
<svg xmlns="http://www.w3.org/2000/svg" width="1440" height="140" viewBox="0 0 1440 140">\
<path fill="%23c7a45a" d="M0,110 C260,150 500,60 700,80 C900,100 1200,40 1400,70 C1420,85 1440,90 1440,85 L1440 140 L0 140 Z"></path>\
</svg>');
    animation-duration: 34s;
    opacity: 0.28;
}

/* ---------- Animation ---------- */

@keyframes waveMove {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.right-note {
    margin-top: 18px;
    width: 90%;
    text-align: center;
    font-size: 8px;          /* smaller for mobile fit */
    color: white;
    line-height: 1.55;        /* more spacing between lines */
    letter-spacing: 0.6px;
    font-weight: 400;
    font-style: italic;
    opacity: 0.85;
    white-space: nowrap;      /* forces each line to stay on one line */
}
/* Desktop-only car position override */
@media (min-width: 900px) {
    #drag-car {
        left: 180px !important;   /* adjust this number as needed */
    }
}
/* ===============================================
   DESKTOP — COMPLETELY REMOVE INTRO FROM DISPLAY
   =============================================== */
@media (min-width: 900px) {
    #intro-screen {
        display: none !important;
    }
}
/* ===============================================
   HIDE INTRO ON DESKTOP (mouse/trackpad devices)
   SHOW INTRO ONLY ON TOUCH DEVICES (phones/tablets)
   =============================================== */
@media (hover: hover) and (pointer: fine) {
    #intro-screen {
        display: none !important;
    }
}
/* ===============================================
   MOBILE — Bigger car + Glow effect
   =============================================== */
@media (max-width: 900px) {

    #drag-car {
        transform: translateY(-50%) scale(1.5); /* 1.5× size */
        filter: drop-shadow(0 0 12px rgba(255,255,255,0.85))
                drop-shadow(0 0 20px rgba(255,255,255,0.55))
                drop-shadow(0 0 30px rgba(255,255,255,0.35));
        transition: filter 0.2s ease, transform 0.2s ease;
    }

    /* Optional: car glows even brighter *while dragging* */
    #drag-car:active {
        filter: drop-shadow(0 0 18px rgba(255,255,255,1))
                drop-shadow(0 0 26px rgba(255,255,255,0.8))
                drop-shadow(0 0 40px rgba(255,255,255,0.6));
        transform: translateY(-50%) scale(1.55);
    }
}
