/* ==========================================================================
   TRAVEL PAGE STYLES - travel-port.css
   ==========================================================================
   
   Table of Contents:
   1. SCOPE CONTAINER & CSS VARIABLES
   2. DARK MODE OVERRIDES
   3. GLOBAL RESETS & CURSOR HIDING
   4. TYPOGRAPHY UTILITIES
   5. LAYOUT & GRID SYSTEM
   6. CARD COMPONENTS
   7. FRAGMENTS GALLERY (Infinite Scroll)
   8. CUSTOM CURSOR (with mix-blend-mode inversion)
   9. PRELOADER
   10. FIXED CONTROLS (Home + Theme Toggle with COLOR INVERSION)
   11. MUSIC PLAYER COMPONENTS
   12. FOOTER & CONTACT SECTION
   13. HERO ANIMATION
   
   ========================================================================== */


/* ==========================================================================
   1. SCOPE CONTAINER & CSS VARIABLES
   ==========================================================================
   All styles are scoped under .travel-scope to prevent conflicts with
   other pages. CSS custom properties define the color palette.
   
   SPACING SYSTEM (Symmetrical):
   --spacing-page: 3.2rem  (horizontal page padding - consistent everywhere)
   --spacing-section: 6.4rem (vertical spacing between sections)
   --spacing-element: 1.6rem (spacing between elements within sections)
   ========================================================================== */

.travel-scope {
    /* Fonts: Match Global Site */
    --font-primary: "Avant Garde Gothic Pro", "Century Gothic", "Futura", sans-serif;
    --font-sans: var(--font-primary);
    --font-serif: var(--font-primary);

    /* Theme Colors: Minimalist B/W + Dark Purple */
    --bg-color: #ffffff;
    --text-color: #000000;
    --accent-color: #000000;
    --card-bg-light: #f4f4f4;
    --card-bg-dark: #1a1a1a;

    /* UNIFIED SPACING SYSTEM */
    --spacing-page: 3.2rem;
    /* Horizontal page margins */
    --spacing-section: 6.4rem;
    /* Vertical section gaps */
    --spacing-element: 1.6rem;
    /* Element spacing within sections */
    --spacing-grid: 1.6rem;
    /* Grid gap */

    font-family: var(--font-primary);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.2;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    font-size: max(1.28rem, 8px);
    text-transform: uppercase;
    transition: background-color 0.3s ease, color 0.3s ease;

    /* CRITICAL: Hide default cursor globally within this scope */
    cursor: none !important;

    /* Layout Spacing - uses unified variable */
    padding-top: var(--spacing-section);
    min-height: 100vh;
}

/* ==========================================================================
   2. DARK MODE OVERRIDES
   ==========================================================================
   When body has .dark-mode class, these CSS variables are overridden.
   The dark theme uses a deep purple/black palette.
   ========================================================================== */

body.dark-mode .travel-scope {
    /* Purple Tint for Dark Mode (Deep Purple/Black) */
    --bg-color: #0d0b14;
    --text-color: #ffffff;
    --accent-color: #bb86fc;
    --card-bg-light: #1e1b26;
    --card-bg-dark: #ffffff;
}

/* ==========================================================================
   3. GLOBAL RESETS & CURSOR HIDING
   ==========================================================================
   Box-sizing reset applied to all elements within scope.
   cursor: none !important - Hides system cursor so custom cursor is visible.
   ========================================================================== */

.travel-scope * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    text-transform: inherit;
    /* Inherit uppercase */
    cursor: none !important;
    /* Force hide default cursor on ALL children */
}

/* Explicitly hide for interactive elements too */
.travel-scope a,
.travel-scope button,
.travel-scope input,
.travel-scope .card {
    color: currentColor;
    text-decoration: none;
    cursor: none !important;
}

.travel-scope img {
    display: block;
    height: auto;
    max-width: 100%;
}

.travel-scope video {
    display: block;
    height: auto;
    max-width: 100%;
}

/* Parallax Hover Effect for Card Images/Videos */
.travel-scope .parallax-img,
.travel-scope .parallax-video {
    transition: transform 0.15s ease-out;
    transform-style: preserve-3d;
    will-change: transform;
}

/* Uniform sizing for Featured Trails media
   Makes all images and videos in the featured trails section
   the same height and width for visual consistency.
   Uses object-fit: cover to crop and fill the container uniformly. */
.travel-scope .featured-media {
    width: 100% !important;
    height: 400px !important;
    /* min-height: 500px !important; */
    /* max-height: 400px !important; */
    object-fit: cover !important;
    object-position: center !important;
    margin-top: 0.8rem;
    border-radius: 0.8rem;
    display: block !important;
    aspect-ratio: 16 / 9;
}

/* Responsive: Reduce featured media height on smaller screens */
@media (max-width: 768px) {
    .travel-scope .featured-media {
        height: 224px !important;
        min-height: 224px !important;
        max-height: 224px !important;
    }
}

@media (max-width: 480px) {
    .travel-scope .featured-media {
        height: 176px !important;
        min-height: 176px !important;
        max-height: 176px !important;
    }
}

/* ==========================================================================
   4. TYPOGRAPHY UTILITIES
   ==========================================================================
   Font weight and style helpers for consistent typography.
   ========================================================================== */

.travel-scope .fSerif {
    font-family: var(--font-primary);
    font-weight: 300;
    letter-spacing: 0.04em;
}

.travel-scope .fLight {
    font-weight: 200;
}

.travel-scope .fMedium {
    font-weight: 500;
}

.travel-scope .text-right {
    text-align: right !important;
}

.travel-scope .text-center {
    text-align: center !important;
}

/* Titles */
.travel-scope .s-title1 {
    font-size: 9.92rem;
    letter-spacing: -0.02em;
    line-height: 0.9;
    margin: 0;
}

@media (max-width: 768px) {
    .travel-scope .s-title1 {
        font-size: 3.52rem;
    }
}

.travel-scope .s-title2 {
    font-size: 7.2rem;
    letter-spacing: -0.02em;
    line-height: 1;
}

@media (max-width: 768px) {
    .travel-scope .s-title2 {
        font-size: 2.4rem;
    }
}

/* Header Structure */
.travel-scope .Header {
    margin-bottom: calc(16vh + 8px);
    margin-top: 1.28rem;
    padding-top: 4vh;
    position: relative;
    padding-left: 1.28rem;
    padding-right: 1.28rem;
}

.travel-scope .Header .titleLines>* .line {
    margin-top: 1.44rem;
    border-bottom: 0.8px solid currentColor;
    display: block;
    transform: scaleX(1);
}

/* Intro Section */
.travel-scope .Intro {
    position: relative;
    z-index: 2;
    padding: 0;
    /* No horizontal padding */
}

.travel-scope .Intro .intro-nav {
    margin-top: var(--spacing-section);
    /* Consistent vertical spacing */
}

/* ==========================================================================
   6. CARD COMPONENTS
   ==========================================================================
   Interactive cards with hover marquee effect.
   Cards can have data-color="dark" for inverted appearance.
   ========================================================================== */

.travel-scope .wrapper {
    padding: 0 var(--spacing-page) var(--spacing-section);
    /* Unified padding */
    position: relative;
    z-index: 0;
    background-color: var(--bg-color);
}

/* Works Section - uses unified grid gap */
.travel-scope .Works {
    margin-top: var(--spacing-section);
}

.travel-scope .Works .section-header {
    margin-bottom: var(--spacing-element);
}

.travel-scope .card {
    border-bottom-right-radius: 0;
    border: 0.8px solid var(--text-color);
    height: 36rem;
    min-height: 13.44rem;
    overflow: hidden;
    padding: var(--spacing-element);
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    background-color: transparent;
    color: var(--text-color);
    margin-bottom: var(--spacing-element);
    transition: all 0.3s ease;
}

/* ==========================================================================
   7. FRAGMENTS GALLERY (Infinite Scroll)
   ==========================================================================
   Horizontally scrolling image gallery with CSS animation.
   Uses mask-image for smooth edge fading.
   Animation pauses on hover for better UX.
   ========================================================================== */

.travel-scope .fragments-container {
    width: 100%;
    overflow: hidden;
    padding-bottom: var(--spacing-element);
    margin-top: var(--spacing-element);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.travel-scope .fragments-scroll {
    display: flex;
    gap: 0.8rem;
    width: max-content;
    animation: fragments-scroll 70s linear infinite;
}

.travel-scope .fragments-scroll img,
.travel-scope .fragments-scroll video {
    height: 240px;
    border-radius: 6.4px;
    object-fit: cover;
}

.travel-scope .fragments-scroll:hover {
    animation-play-state: paused;
}

@keyframes fragments-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-33.33%);
    }
}

/* Fragments Card: Auto-height based on content */
.travel-scope .fragments-card {
    height: auto;
    min-height: 4rem;
    position: relative;
}

.travel-scope .fragments-card .b-left {
    width: 100%;
}

/* Bottom-left number placement for Fragments (04) */
.travel-scope .fragments-card .number {
    position: absolute;
    left: var(--spacing-element);
    bottom: var(--spacing-element);
    z-index: 3;
}

/* On Dark Mode, distinct styling if needed, otherwise inherit from vars */
.travel-scope .card[data-color="dark"] {
    background-color: var(--text-color);
    color: var(--bg-color);
}

body.dark-mode .travel-scope .card[data-color="dark"] {
    background-color: var(--text-color);
    color: var(--bg-color);
}

.travel-scope .card .number {
    font-size: 2.56rem;
    letter-spacing: 0.04em;
}

.travel-scope .card .title {
    font-size: 1.44rem;
    line-height: 1.2;
}

.travel-scope .card .title.fragments-title {
    font-size: 7.2rem;
    letter-spacing: -0.02em;
    line-height: 1;
    font-family: var(--font-primary);
    font-weight: 300;
    display: block;
    width: 100%;
    margin-bottom: var(--spacing-element);
    margin-top: var(--spacing-element);
}

/* Cards Hover Marquee */
.travel-scope .card .hover {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.92rem 0;
    font-size: 11.2rem;
    letter-spacing: -0.03em;
    line-height: 0.72;
    white-space: nowrap;
    overflow: hidden;
    pointer-events: none;
    opacity: 0;
    transform: translateY(20%);
    transition: opacity 0.4s ease, transform 0.4s ease;
    color: inherit;
    z-index: 2;
}

.travel-scope .card:hover .hover {
    opacity: 1;
    transform: translateY(0);
}

/* Marquee Animation */
.travel-scope .js-marquee {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* ==========================================================================
   8. CUSTOM CURSOR (with mix-blend-mode inversion)
   ==========================================================================
   Custom circular cursor that follows mouse movement (handled by JS).
   
   KEY: mix-blend-mode: exclusion
   ------------------------------------
   This CSS property creates the COLOR INVERSION effect!
   
   How it works:
   - exclusion blend mode inverts colors based on background
   - White cursor on dark background -> appears white
   - White cursor on light background -> appears dark/inverted
   - This creates automatic contrast regardless of what's behind it
   
   The cursor uses:
   - position: fixed    -> stays relative to viewport
   - pointer-events: none -> doesn't interfere with clicks
   - transform: translate(-50%, -50%) -> centers on mouse position
   - z-index: 9999 -> always on top
   ========================================================================== */

.travel-scope .cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 11.2rem;
    height: 11.2rem;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: exclusion;
    /* Better contrast */
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0.8px solid white;
    border-radius: 50%;

    /* Ensure cursor itself doesn't trigger default cursor */
    cursor: none !important;
}

.travel-scope .cursor-dot.is-active {
    transform: translate(-50%, -50%) scale(1);
    background: white;
}

/* Cursor stays visible with inversion on controls */
.travel-scope .cursor-dot.is-active.controls-hover {
    background: white;
    mix-blend-mode: difference;
}

.travel-scope .cursor-arrow {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: black;
    stroke-width: 2;
    transform: rotate(-45deg);
    display: none;
}

.travel-scope .cursor-dot.is-active .cursor-arrow {
    display: block;
}

.travel-scope .cursor-dot.is-active.controls-hover .cursor-arrow {
    display: block;
    stroke: var(--text-color);
}

/* ==========================================================================
   9. PRELOADER
   ==========================================================================
   Video-based loading screen with percentage counter.
   Fades out when page is loaded via JS.
   ========================================================================== */

.travel-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Manual controls */
    --preloader-video-width: 128px;
    --preloader-video-height: 128px;
    --preloader-gap: 3.2px;
    --preloader-percent-size: 1rem;
    --preloader-percent-weight: 200;
    overflow: hidden;
    background-color: #000000;
    display: flex;
    flex-direction: column;
    gap: var(--preloader-gap);
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 999999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    cursor: none !important;
}

.travel-preloader .preloader-video {
    display: block;
    width: var(--preloader-video-width);
    height: var(--preloader-video-height);
    object-fit: contain;
    object-position: center;
    opacity: 0.95;
    margin: 0 auto;
}

.travel-preloader .preloader-percentage {
    position: relative;
    z-index: 1;
    font-family: "Poppins", sans-serif;
    font-size: var(--preloader-percent-size);
    font-weight: var(--preloader-percent-weight);
    color: #ffffff;
    text-transform: none;
    letter-spacing: 0.08rem;
    text-align: center;
    width: 100%;
}

.travel-preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

/* ==========================================================================
   5. LAYOUT & GRID SYSTEM
   ==========================================================================
   12-column CSS Grid with responsive breakpoints.
   Uses unified spacing variables for symmetrical alignment.
   ========================================================================== */

.travel-scope .grid-wrapper {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--spacing-grid);
    /* Unified grid gap */
}

.travel-scope .col-span-full {
    grid-column: 1 / -1;
}

.travel-scope .col-span-6 {
    grid-column: span 6;
}

@media(max-width: 768px) {
    .travel-scope .grid-wrapper {
        display: flex;
        flex-direction: column;
        gap: var(--spacing-element);
    }

    .travel-scope .col-span-6 {
        width: 100%;
    }
}

/* ==========================================================================
   10. FIXED CONTROLS (Home + Theme Toggle with COLOR INVERSION)
   ==========================================================================
   Fixed position controls in top-right corner.
   
   ★ HOW THE INVERSION WORKS ★
   ---------------------------
   mix-blend-mode: difference on the CONTAINER inverts the entire group.
   
   - Buttons have WHITE background, BLACK text, WHITE border
   - On WHITE page background:
       → White bg inverts to BLACK (visible)
       → Black text inverts to WHITE (readable on black)
       → White border inverts to BLACK
   - On BLACK/DARK page background:
       → White bg stays WHITE (visible)
       → Black text stays BLACK (readable on white)
       → White border stays WHITE
   
   Result: Buttons ALWAYS contrast with whatever is behind them!
   ========================================================================== */

/* Container: THE KEY - blend mode here inverts the entire control group */
.travel-scope .fixed-controls {
    position: fixed;
    top: 4.8rem;
    right: 3.2rem;
    display: flex;
    gap: 0.8rem;
    z-index: 1000;
    align-items: center;
    mix-blend-mode: difference;
    /* ← INVERSION HAPPENS HERE */
    padding: 0 2rem;
}

/* Home Button: Solid white pill with black text (inverts via container) */
.travel-scope .home-btn {
    width: auto;
    padding: 0 1.2rem;
    height: 2.4rem;
    border-radius: 1.6rem;
    background: #ffffff;
    /* Solid white - inverts to black on light bg */
    border: 0.8px solid #ffffff;
    /* White border - inverts with bg */
    color: #000000;
    /* Black text - inverts to white on light bg */
    cursor: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    font-size: 0.96rem;
    letter-spacing: 0.08em;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
    text-decoration: none;
}

.travel-scope .home-btn:hover {
    transform: scale(1.05);
}

/* Theme Toggle Button: Same solid style as home button */
.travel-scope .theme-toggle {
    width: auto;
    padding: 0 1.2rem;
    height: 2.4rem;
    border-radius: 1.6rem;
    background: #ffffff;
    /* Solid white - inverts to black on light bg */
    border: 0.8px solid #ffffff;
    /* White border - inverts with bg */
    cursor: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.travel-scope .theme-toggle:hover {
    transform: scale(1.05);
}

/* Theme text: Black text that inverts via container blend mode */
.travel-scope .theme-text {
    font-size: 0.96rem;
    letter-spacing: 0.08em;
    font-weight: 500;
    color: #000000;
    /* Black text - inverts to white on light bg */
    line-height: 1;
    margin-top: 0.8px;
}

/* ==========================================================================
   11. MUSIC PLAYER COMPONENTS
   ==========================================================================
   Inline music player with play/pause, prev/next controls.
   Includes equalizer animation bars and progress bar.
   ========================================================================== */

/* Pill-style music player container */
.travel-scope .music-player {
    /* Removed fixed positioning */
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 0.8px solid rgba(0, 0, 0, 0.1);
    border-radius: 1.6rem;
    height: 2.4rem;
    padding: 0 1.2rem;
    transition: all 0.4s ease;
    mix-blend-mode: normal;
}

/* Hover effect matching toggle */
.travel-scope .music-player:hover {
    transform: scale(1.05);
    /* No rotation for this one to keep it distinct but related */
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--text-color);
}

body.dark-mode .travel-scope .music-player {
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

body.dark-mode .travel-scope .music-player:hover {
    background: rgba(255, 255, 255, 0.1);
}

.travel-scope .music-btn {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.64rem;
    cursor: none !important;
    color: var(--text-color);
    /* Match theme text color, not white */
    padding: 0;
    /* Reset padding as container handles it */
    height: 100%;
}

.travel-scope .music-text {
    font-size: 0.96rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 500;
    /* Match theme text weight */
    opacity: 0;
    width: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.travel-scope .music-player.is-playing .music-text {
    display: block;
}

.travel-scope .music-player.is-playing .music-label {
    display: none;
}

.travel-scope .play-icon {
    display: none;
    /* Deprecated/Removed */
}

.travel-scope .equalizer {
    display: none;
    /* Hidden by default */
    gap: 1.6px;
    align-items: flex-end;
    height: 0.96rem;
    /* Adjusted for pill size */
}

.travel-scope .music-player.is-playing .equalizer {
    display: flex;
    /* Show when playing */
}

.travel-scope .music-player.is-playing .music-text {
    opacity: 0.7;
    /* Visible when playing */
    width: auto;
    margin-left: 0.4rem;
}



.travel-scope .equalizer {
    display: flex;
    gap: 1.6px;
    align-items: flex-end;
    height: 1.28rem;
}

.travel-scope .bar {
    width: 1.6px;
    background-color: currentColor;
    height: 2.4px;
    /* Default static height (very low) */
    min-height: 2.4px;
    transition: height 0.2s;
}

/* Equalizer Animation (When Playing) */
.travel-scope .music-player.is-playing .bar,
.travel-scope .music-card.is-playing .bar {
    animation: bounce 1s infinite ease-in-out;
}

.travel-scope .music-player.is-playing .bar:nth-child(1),
.travel-scope .music-card.is-playing .bar:nth-child(1) {
    animation-delay: 0.0s;
}

.travel-scope .music-player.is-playing .bar:nth-child(2),
.travel-scope .music-card.is-playing .bar:nth-child(2) {
    animation-delay: 0.2s;
}

.travel-scope .music-player.is-playing .bar:nth-child(3),
.travel-scope .music-card.is-playing .bar:nth-child(3) {
    animation-delay: 0.4s;
}

.travel-scope .music-player.is-playing .bar:nth-child(4),
.travel-scope .music-card.is-playing .bar:nth-child(4) {
    animation-delay: 0.1s;
}

@keyframes bounce {

    0%,
    100% {
        height: 20%;
    }

    50% {
        height: 100%;
    }
}

/* Footer Link Styles */
.travel-scope .hover-link {
    position: relative;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    cursor: none !important;
}

.travel-scope .hover-link:hover {
    opacity: 1;
}

.travel-scope .hover-link::after {
    content: '';
    position: absolute;
    bottom: -1.6px;
    left: 0;
    width: 0;
    height: 0.8px;
    background: currentColor;
    transition: width 0.3s ease;
}

.travel-scope .hover-link:hover::after {
    width: 100%;
}

/* Hide scrollbars (Standard for this site) */
html.lenis,
html.lenis body {
    scrollbar-width: none;
}

html.lenis::-webkit-scrollbar {
    display: none;
}

/* ==========================================================================
   12. FOOTER & CONTACT SECTION
   ==========================================================================
   Bottom section with contact info and navigation links.
   Uses unified spacing for symmetrical alignment.
   ========================================================================== */

.travel-scope .Contact {
    padding: var(--spacing-section) var(--spacing-page);
    /* Unified padding */
    border: 0.8px solid var(--text-color);
    margin-top: var(--spacing-section);
    background-color: #f5f5f5;
    color: #000;
    position: relative;
    z-index: 10;
}

body.dark-mode .travel-scope .Contact {
    background-color: #0d0b14;
    color: #fff;
}

.travel-scope .Contact .grid-wrapper {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--spacing-grid);
    /* No extra padding - parent has unified padding */
    align-items: stretch;
}

/* Contact Left Column */
.travel-scope .contact-left {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-element);
    position: relative;
    padding-bottom: calc(var(--spacing-element) + 2.56rem);
    height: 100%;
    align-self: stretch;
}

/* Bottom-left number placement for Contact (05) */
.travel-scope .contact-left .number {
    position: absolute;
    left: 0;
    bottom: 0;
    font-size: 2.56rem;
    letter-spacing: 0.04em;
}

.travel-scope .contact-link {
    display: block;
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.travel-scope .contact-link:hover {
    opacity: 0.7;
}

/* Contact Right Column */
.travel-scope .contact-right {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    text-align: right;
}

.travel-scope .footer-nav {
    display: flex;
    gap: var(--spacing-element);
    font-size: 1.28rem;
}

.travel-scope .copyright {
    margin-top: var(--spacing-element);
    opacity: 0.5;
}

.travel-scope .Contact a {
    color: inherit;
}

.travel-scope .Contact h2,
.travel-scope .Contact p,
.travel-scope .Contact nav {
    color: inherit;
}

/* Contact Section Responsive */
@media (max-width: 768px) {
    .travel-scope .Contact .grid-wrapper {
        display: flex;
        flex-direction: column;
        gap: var(--spacing-section);
    }

    .travel-scope .contact-left,
    .travel-scope .contact-right {
        width: 100%;
        align-items: flex-start;
        text-align: left;
    }

    .travel-scope .contact-right {
        justify-content: flex-start;
    }

    .travel-scope .footer-nav {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
}

/* ==========================================================================
   11B. MUSIC CARD PLAYER UI
   ========================================================================== */

.travel-scope .music-card .player-ui {
    position: absolute;
    top: 8rem;
    left: var(--spacing-page);
    right: var(--spacing-page);
    bottom: auto;
    width: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: var(--spacing-element);
    z-index: 20;
}

.travel-scope .controls-group {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    z-index: 100;
    position: relative;
}

/* Ensure buttons are clickable */
.travel-scope .card-play-btn,
.travel-scope .prev-btn,
.travel-scope .next-btn {
    pointer-events: auto !important;
    cursor: pointer !important;
    z-index: 101;
    position: relative;
}

.travel-scope .track-info {
    display: flex;
    gap: 1.6rem;
    align-items: center;
    text-align: right;
    /* Ensure it doesn't overlap controls on small screens */
    flex-grow: 1;
    justify-content: flex-end;
}

.travel-scope .song-title {
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 30vw;
}

/* Play/Prev/Next Buttons - Scaled Up Version of Home Style */
.travel-scope .card-play-btn,
.travel-scope .prev-btn,
.travel-scope .next-btn {
    /* Scaled up dimensions */
    width: auto;
    padding: 0 2.4rem;
    /* Larger touch target */
    height: 4rem;
    /* Bigger height */
    border-radius: 2.4rem;

    /* Inherited Aesthetic (Glass Pill) */
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1.6px solid #000;
    /* Thicker Black Border (Light Mode) */
    cursor: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;

    /* Scaled Typography */
    font-size: 1.12rem;
    letter-spacing: 0.08em;
    font-weight: 500;
    color: var(--text-color);
    line-height: 1;
    margin-top: 0.8px;
    text-transform: uppercase;
    text-decoration: none;

    /* Functionality */
    pointer-events: auto !important;
    position: relative;
    z-index: 101;
}

/* Hover State - Exact copy of .home-btn:hover */
.travel-scope .card-play-btn:hover,
.travel-scope .prev-btn:hover,
.travel-scope .next-btn:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--text-color);
    box-shadow: none;
}

/* Active State (Optional, helps interaction feel) */
.travel-scope .card-play-btn:active,
.travel-scope .prev-btn:active,
.travel-scope .next-btn:active {
    transform: scale(0.95);
}

/* Dark Mode Overrides - Exact copy of body.dark-mode .travel-scope .home-btn */
body.dark-mode .travel-scope .card-play-btn,
body.dark-mode .travel-scope .prev-btn,
body.dark-mode .travel-scope .next-btn {
    background: rgba(0, 0, 0, 0.2);
    border-color: #fff;
    /* White Border (Dark Mode) */
}

body.dark-mode .travel-scope .card-play-btn:hover,
body.dark-mode .travel-scope .prev-btn:hover,
body.dark-mode .travel-scope .next-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.travel-scope .progress-container {
    width: 100%;
    height: 3.2px;
    background: rgba(0, 0, 0, 0.1);
    margin-top: 1.6rem;
    /* Gap from text */
    position: relative;
    overflow: hidden;
    flex-basis: 100%;
    /* Force new row */
}

.travel-scope .progress-bar {
    width: 0%;
    height: 100%;
    background: currentColor;
    transition: width 0.1s linear;
}

@media(max-width: 768px) {
    .travel-scope .music-card .player-ui {
        width: 100%;
    }
}

/* ==========================================================================
   13. HERO ANIMATION
   ==========================================================================
   Premium text reveal animation for the hero section.
   Characters animate in with 3D rotation, scale, and blur effects.
   Triggered by GSAP ScrollTrigger in JavaScript.
   ========================================================================== */

/* Hero Title Container: Sets up 3D perspective for child animations */
.travel-scope .titleLines {
    perspective: 800px;
    overflow: visible;
}

/* Each line of hero text */
.travel-scope .titleLines__text {
    display: block;
    overflow: hidden;
    position: relative;
}

/* Character wrapper - applied by JS */
.travel-scope .hero-char {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%) rotateX(-90deg) scale(0.5);
    transform-origin: center bottom;
    filter: blur(8px);
    will-change: transform, opacity, filter;
}

/* Animated state - triggered by GSAP */
.travel-scope .hero-char.animated {
    opacity: 1;
    transform: translateY(0) rotateX(0) scale(1);
    filter: blur(0);
}

/* Line underline animation */
.travel-scope .titleLines__text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2.4px;
    background: var(--text-color);
    transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.travel-scope .titleLines__text.line-revealed::after {
    width: 100%;
}

/* ==========================================================================
   14. HERO CURSOR IMAGE EFFECT
   ==========================================================================
   Shows a random image near the cursor when hovering over hero text.
   Uses GPU-accelerated transforms for smooth performance.
   ========================================================================== */

.travel-scope .hero-cursor-image {
    position: fixed;
    pointer-events: none;
    z-index: 999;
    width: 150px;
    height: 200px;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
    transition: opacity 0.25s ease, transform 0.25s ease;
    will-change: transform, opacity;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    object-fit: cover;
}

.travel-scope .hero-cursor-image.visible {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}