/* ==========================================
   VENUE POPUP - EXPERIMENTAL DESIGN
   Wild, Funky, Layered Aesthetic
   ========================================== */

/* ==========================================
   COLOR VARIABLES - WILD & UNEXPECTED
   ========================================== */

:root {
    /* Primary Colors */
    --black: #0a0a0a;
    --charcoal: #1a1a1a;
    --dark-gray: #2a2a2a;

    /* Accent Colors - NO GRADIENTS */
    --cyan: #00f0ff;
    --magenta: #ff006e;
    --lime: #ccff00;
    --cream: #fffbf0;
    --cream-dark: #f5e6d3;

    /* Typography */
    --font-display: 'Bricolage Grotesque', sans-serif;
    --font-body: 'Crimson Pro', serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ==========================================
   RESET & BASE
   ========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background: var(--black);
    color: var(--cream);
    overflow-x: hidden;
    overflow-y: auto;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    cursor: none;
}

::selection {
    background: var(--cyan);
    color: var(--black);
}

/* ==========================================
   CUSTOM CURSOR
   ========================================== */

.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--lime);
    pointer-events: none;
    z-index: 999999;
    mix-blend-mode: difference;
    transition: transform 0.15s ease, opacity 0.3s ease;
    transform: translate(-50%, -50%);
}

.custom-cursor::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    border: 2px solid var(--cyan);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s var(--ease-out);
}

.custom-cursor.hover {
    transform: translate(-50%, -50%) scale(1.5);
}

.custom-cursor.hover::before {
    width: 60px;
    height: 60px;
    border-color: var(--magenta);
}

/* ==========================================
   CLOSE BUTTON - X DESIGN
   ========================================== */

.close-btn {
    position: fixed;
    top: 40px;
    right: 40px;
    width: 70px;
    height: 70px;
    background: var(--cream);
    border: 4px solid var(--lime);
    border-radius: 50%;
    cursor: pointer;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s var(--ease-out);
    box-shadow: 0 0 30px rgba(204, 255, 0, 0.8), 0 0 60px rgba(204, 255, 0, 0.5);
    pointer-events: auto;
}

.close-btn:hover {
    background: var(--lime);
    border-color: var(--cream);
    transform: rotate(90deg) scale(1.2);
    box-shadow: 0 0 40px rgba(204, 255, 0, 1), 0 0 80px rgba(204, 255, 0, 0.6);
}

.close-line {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 32px;
    height: 4px;
    background: var(--black);
    transition: all 0.3s;
    border-radius: 2px;
    transform-origin: center;
}

.close-btn:hover .close-line {
    background: var(--black);
    width: 36px;
}

.close-line:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
}

.close-line:nth-child(2) {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* ==========================================
   SCROLL PROGRESS
   ========================================== */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    width: 0%;
    background: var(--magenta);
    z-index: 9999;
    transition: width 0.1s linear;
}

/* ==========================================
   MAIN CONTAINER
   ========================================== */

.venue-container {
    width: 100%;
    overflow: hidden;
}

/* ==========================================
   SECTION 1: HERO
   ========================================== */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--charcoal);
}

.hero-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.3;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(50%) contrast(1.2);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px;
    max-width: 1200px;
}

.hero-label {
    margin-bottom: 2rem;
}

.label-text {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--cyan);
    border: 2px solid var(--cyan);
    padding: 8px 24px;
    display: inline-block;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(4rem, 12vw, 10rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    color: var(--cream);
}

.title-line {
    display: block;
    overflow: hidden;
}

.title-line:first-child {
    color: var(--lime);
}

.title-line:last-child {
    font-style: italic;
    color: var(--magenta);
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1.25rem, 3vw, 2rem);
    font-weight: 300;
    font-style: italic;
    color: var(--cream-dark);
    margin-bottom: 3rem;
}

.hero-details {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-body);
    font-size: 1.125rem;
    color: var(--cream);
}

.detail-icon {
    font-size: 1.5rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 3;
}

.scroll-text {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--cyan);
}

.scroll-arrow {
    width: 2px;
    height: 40px;
    background: var(--cyan);
    position: relative;
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(10px); opacity: 0.5; }
}

/* ==========================================
   SECTION 2: GALLERY - ASYMMETRIC GRID
   ========================================== */

.gallery-section {
    background: var(--black);
    padding: 120px 40px;
    position: relative;
}

.gallery-header {
    margin-bottom: 80px;
}

.gallery-title {
   /* font-family: var(--font-display); */
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.02em;
}

.gallery-title-word {
    display: block;
    overflow: hidden;
}

.gallery-title-word:first-child {
    color: var(--cyan);
    font-weight: 200;
}

.gallery-title-word:last-child {
    color: var(--cream);
    text-indent: 8rem;
}

/* Asymmetric Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1600px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    aspect-ratio: 1 / 1;
    border: 2px solid var(--dark-gray);
    transition: border-color 0.3s var(--ease-out);
}

.gallery-item:hover {
    border-color: var(--lime);
}

/* Grid Variations */
.gallery-item-large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item-wide {
    grid-column: span 2;
}

.gallery-item-tall {
    grid-row: span 2;
}

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

.gallery-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.gallery-item:hover .gallery-image-wrapper img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: var(--black);
    transform: translateY(100%);
    transition: transform 0.4s var(--ease-out);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-caption {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--cyan);
}

/* Description */
.gallery-description {
    margin-top: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.description-text {
    font-family: var(--font-body);
    font-size: 1.5rem;
    line-height: 1.8;
    font-weight: 300;
    color: var(--cream-dark);
}

/* ==========================================
   SECTION 3: LOCATION - 3D DEPTH
   ========================================== */

.location-section {
    background: var(--charcoal);
    padding: 120px 40px;
    perspective: 1000px;
}

.location-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.section-label {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--magenta);
    margin-bottom: 1.5rem;
    display: inline-block;
    border-bottom: 2px solid var(--magenta);
    padding-bottom: 8px;
}

.location-title {
   /* font-family: var(--font-display); */
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 3rem;
    color: var(--cream);
}

.location-title-line {
    display: block;
}

.location-title-line:last-child {
    color: var(--lime);
    font-style: italic;
}

.directions-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    perspective: 1000px;
    position: relative;
}

.direction-card {
    position: relative;
    background: var(--dark-gray);
    padding: 32px;
    border-left: 4px solid var(--cyan);
    transition: all 0.3s var(--ease-out);
    transform-style: preserve-3d;
    will-change: transform;
}

.direction-card:nth-child(1) { z-index: 4; }
.direction-card:nth-child(2) { z-index: 3; }
.direction-card:nth-child(3) { z-index: 2; }
.direction-card:nth-child(4) { z-index: 1; }

.direction-card:hover {
    transform: translateX(12px);
    border-left-color: var(--magenta);
    background: #2f2f2f;
}

.direction-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--cyan);
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.direction-text {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--cream-dark);
    position: relative;
    z-index: 2;
}

.text-subtle {
    color: #999;
    font-size: 0.9375rem;
}

/* Map Visual */
.map-frame {
    width: 100%;
    height: 500px;
    border: 2px solid var(--cyan);
    border-radius: 8px;
    overflow: hidden;
    background: var(--dark-gray);
    position: relative;
}

.map-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.9) contrast(1.1);
    transition: transform 0.6s var(--ease-out), filter 0.3s;
}

.map-frame:hover .map-image {
    transform: scale(1.05);
    filter: brightness(1) contrast(1.2);
}

/* ==========================================
   SECTION 4: CTA - COLOR SHIFTING
   ========================================== */

.cta-section {
    background: var(--black);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 40px;
    position: relative;
    overflow: hidden;
}

.cta-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.floating-shape {
    position: absolute;
    opacity: 0.08;
    filter: blur(40px);
    animation: cloudDrift 30s infinite ease-in-out;
}

/* Cloud-like organic shapes */
.shape-1 {
    width: 400px;
    height: 180px;
    background: var(--cyan);
    top: 10%;
    left: 5%;
    border-radius: 60% 40% 70% 30% / 40% 50% 60% 50%;
    animation-delay: 0s;
}

.shape-2 {
    width: 320px;
    height: 150px;
    background: var(--magenta);
    bottom: 15%;
    right: 10%;
    border-radius: 50% 60% 40% 70% / 60% 40% 50% 60%;
    animation-delay: 10s;
}

.shape-3 {
    width: 350px;
    height: 160px;
    background: var(--lime);
    top: 45%;
    right: 15%;
    border-radius: 70% 30% 60% 40% / 50% 60% 40% 50%;
    animation-delay: 20s;
}

/* Additional cloud shapes for depth */
.shape-1::before,
.shape-2::before,
.shape-3::before {
    content: '';
    position: absolute;
    width: 60%;
    height: 60%;
    background: inherit;
    border-radius: 50%;
    top: -20%;
    left: 20%;
    opacity: 0.6;
}

.shape-1::after,
.shape-2::after,
.shape-3::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 50%;
    background: inherit;
    border-radius: 50%;
    bottom: -15%;
    right: 25%;
    opacity: 0.5;
}

/* Peaceful cloud drift animation */
@keyframes cloudDrift {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(15px, -10px) scale(1.05);
    }
    50% {
        transform: translate(-10px, 15px) scale(0.98);
    }
    75% {
        transform: translate(10px, 5px) scale(1.02);
    }
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
}

.cta-title {
   /* font-family: var(--font-display); */
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 900;
    line-height: 0.95;
    margin-bottom: 2rem;
}

.cta-title-line {
    display: block;
}

.cta-title-line:first-child {
    color: var(--cream);
    font-weight: 200;
}

.cta-title-line:last-child {
    color: var(--lime);
}

.cta-description {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--cream-dark);
    margin-bottom: 3rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 20px 48px;
    background: var(--cyan);
    color: var(--black);
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 0;
    border: 3px solid var(--cyan);
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--magenta);
    transition: left 0.4s var(--ease-out);
    z-index: -1;
}

.cta-button:hover::before {
    left: 0;
}

.cta-button:hover {
    border-color: var(--magenta);
    color: var(--cream);
    transform: translateY(-4px);
}

.button-arrow {
    font-size: 1.5rem;
    transition: transform 0.3s var(--ease-out);
}

.cta-button:hover .button-arrow {
    transform: translateX(8px);
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 1024px) {
    .location-content {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .gallery-title-word:last-child {
        text-indent: 2rem;
    }
}

@media (max-width: 768px) {
    /* Hide custom cursor on mobile - use default touch cursor */
    body {
        cursor: auto;
    }

    .custom-cursor {
        display: none;
    }

    .close-btn {
        top: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .hero-title {
        font-size: clamp(3rem, 10vw, 6rem);
    }

    .hero-details {
        flex-direction: column;
        gap: 1rem;
    }

    .gallery-section {
        padding: 80px 0 40px;
        overflow: hidden;
    }

    .gallery-header {
        padding: 0 24px;
        margin-bottom: 40px;
    }

    /* Native horizontal scroll with scroll-snap */
    .gallery-grid {
        display: flex;
        flex-direction: row;
        gap: 20px;
        padding: 0 24px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .gallery-grid::-webkit-scrollbar {
        display: none;
    }

    .gallery-description {
        padding: 24px 24px 0;
        margin-top: 20px;
    }

    .location-section,
    .cta-section {
        padding: 80px 24px;
    }

    /* All gallery items same size on mobile */
    .gallery-item {
        flex: 0 0 85vw;
        min-width: 85vw;
        max-width: 85vw;
        height: 400px;
        scroll-snap-align: center;
        scroll-snap-stop: always;
    }

    .gallery-item-large,
    .gallery-item-wide,
    .gallery-item-tall {
        flex: 0 0 85vw;
        min-width: 85vw;
        max-width: 85vw;
        height: 400px;
        grid-column: span 1;
        grid-row: span 1;
    }

    .gallery-image-wrapper {
        height: 100%;
    }

    .gallery-image-wrapper img {
        height: 100%;
        object-fit: cover;
    }

    .map-frame {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .gallery-title-word:last-child {
        text-indent: 0;
    }

    .gallery-section {
        padding: 60px 0 40px;
    }

    .gallery-grid {
        height: 420px;
    }

    .gallery-item {
        flex: 0 0 85vw;
        min-width: 85vw;
        max-width: 85vw;
        height: 380px;
    }

    .gallery-item-large,
    .gallery-item-wide,
    .gallery-item-tall {
        flex: 0 0 85vw;
        min-width: 85vw;
        max-width: 85vw;
        height: 380px;
    }

    .direction-card {
        padding: 24px;
    }

    .cta-button {
        padding: 16px 32px;
        font-size: 1rem;
    }
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */

.will-change-transform {
    will-change: transform;
}

.gpu-accelerated {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* ==========================================
   IMAGE DISCLAIMER
   ========================================== */

.image-disclaimer {
    background: var(--dark-gray);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 32px 40px;
    text-align: center;
}

.image-disclaimer p {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
    letter-spacing: 0.3px;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .image-disclaimer {
        padding: 24px 20px;
    }

    .image-disclaimer p {
        font-size: 0.75rem;
        letter-spacing: 0.2px;
    }
}
