/* ==========================================
   1. GLOBAL RESET & BODY STYLES
   ========================================== */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif; 
}
body { 
    background-color: #0a0a0a; 
    color: white; 
    padding-bottom: 80px; 
}
html { 
    scroll-behavior: smooth; 
}

/* ==========================================
   2. DUAL-ROW NAVIGATION SYSTEM (MANUAL TOGGLE)
   ========================================== */
#site-navigation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px !important; 
    background-color: #000000 !important;
    padding: 12px 40px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    z-index: 9999999 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    overflow: visible !important; 
}

#site-navigation.nav-panel-hidden .nav-top-row,
#site-navigation.nav-panel-hidden .nav-bottom-row { 
    transform: translateY(-200px) !important; 
    opacity: 0 !important;
    pointer-events: none !important;
}

#site-navigation.nav-panel-hidden {
    height: 0px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: 1px solid transparent !important;
    transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#site-navigation .nav-top-row,
#site-navigation .nav-bottom-row {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease !important;
    will-change: transform, opacity;
}

#manual-header-toggle {
    position: absolute !important;
    bottom: -24px !important; 
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 48px !important;
    height: 24px !important;
    background-color: rgba(0, 0, 0, 0.75) !important;
    backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-top: none !important;
    border-radius: 0 0 12px 12px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    pointer-events: auto !important;
    z-index: 10000000 !important;
    outline: none !important;
}

#manual-header-toggle .toggle-arrow {
    color: rgb(255, 255, 255) !important;
    font-size: 0.8rem !important;
    display: inline-block !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#manual-header-toggle:hover .toggle-arrow {
    color: #ffffff !important;
}

#site-navigation.nav-panel-hidden #manual-header-toggle .toggle-arrow {
    transform: rotate(180deg) !important;
}

#site-navigation.nav-panel-hidden #manual-header-toggle {
    bottom: -24px !important;
    position: fixed !important;
    top: 0 !important;
    height: 24px !important;
}

.nav-top-row {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important; 
    align-items: center !important;
    width: 100% !important;
}

#site-navigation .logo {
    grid-column: 2 !important; 
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1.6rem !important; 
    letter-spacing: 0.5px !important;
    color: #ffffff !important;
    text-align: center !important;
    white-space: nowrap !important;
}

.header-actions {
    grid-column: 3 !important;
    display: flex !important;
    gap: 20px !important;
    justify-content: flex-end !important; 
}

.action-btn {
    background: none !important;
    color: rgba(255, 255, 255, 0.6) !important;
    border: none !important;
    padding: 0 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.8rem !important; 
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: color 0.2s ease !important;
}
.action-btn:hover {
    color: #ffffff !important;
}

.nav-bottom-row {
    display: flex !important;
    width: 100% !important;
    justify-content: flex-start !important;
    margin-top: 4px !important;
}

.dropdown-nav {
    display: flex !important;
    gap: 24px !important;
    align-items: center !important;
}

/* ==========================================
   3. SIMPLIFIED NAVIGATION TRADITIONAL TRIGGER LINK
   ========================================== */
.dropdown-group {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
}

.dropdown-trigger {
    font-family: 'Inter', sans-serif !important;
    font-weight: 500 !important;
    font-size: 0.8rem !important;
    color: rgba(255, 255, 255, 0.65) !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    padding: 6px 0 !important; 
    text-transform: capitalize !important;
    transition: color 0.2s ease !important;
    text-decoration: none !important;
}

.dropdown-trigger:hover {
    color: #ffffff !important;
}

/* Dropdown menus and arrows completely disabled site-wide */
.dropdown-menu, 
.dropdown-trigger .arrow {
    display: none !important;
}

/* ==========================================
   4. LAYOUT SECTIONS & INTERACTIVE CANVAS
   ========================================== */
.theme-section { 
    height: 100vh; 
    width: 100%; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    scroll-snap-align: start; 
    transition: background 0.5s ease; 
}
#theme-1 { background-color: #1a1a2e; }
#theme-2 { background-color: #16213e; }
#theme-3 { background-color: #0f3460; }
.content h2 { font-size: 3rem; margin-bottom: 1rem; letter-spacing: 2px; }

#sound-design-container { overflow-y: scroll; height: 100vh; scroll-snap-type: y proximity; }
.soundscape-section { 
    position: relative; 
    width: 100%; 
    height: 100vh; 
    background-color: #0a0a0a; 
    overflow: hidden; 
    display: flex !important; 
    justify-content: center !important; 
    align-items: center !important; 
    scroll-snap-align: center; 
    z-index: 1; 
    padding-top: 70px !important; 
    padding-bottom: 0 !important; 
}
.soundscape-section::before { 
    content: ''; 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background-size: cover; 
    background-position: center; 
    filter: blur(25px) brightness(0.85); 
    transform: scale(1.1); 
    z-index: 1; 
}

.soundscape-canvas { position: relative; width: 100%; max-width: 1200px; aspect-ratio: 3 / 2; z-index: 2; }
#savannah-soundscape::before { background-image: url('https://blogroll.oceanwp.org/wp-content/uploads/2023/06/owp-hope-africa-blog-item-003.jpg'); mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%); -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%); }
.canvas-savannah { background: url('https://blogroll.oceanwp.org/wp-content/uploads/2023/06/owp-hope-africa-blog-item-003.jpg') no-repeat center center; background-size: contain; mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 94%, rgba(0,0,0,0) 100%); -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 94%, rgba(0,0,0,0) 100%); }

#rainforest-soundscape::before { background-image: url('https://images.stockcake.com/public/0/8/a/08a8de0b-de68-4290-ad59-de0b2236faf2/misty-forest-stream-stockcake.jpg'); mask-image: linear-gradient(to top, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%); -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%); }
.canvas-rainforest { background: url('https://images.stockcake.com/public/0/8/a/08a8de0b-de68-4290-ad59-de0b2236faf2/misty-forest-stream-stockcake.jpg') no-repeat center center; background-size: contain; mask-image: linear-gradient(to top, rgba(0,0,0,1) 94%, rgba(0,0,0,0) 100%); -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 94%, rgba(0,0,0,0) 100%); }

.hidden { display: none !important; }

/* ==========================================
   5. AMBIENT BACKDROP GLOW SYSTEM & IMAGERY HOVER
   ========================================== */
.video-container {
    position: relative !important;
    overflow: visible !important; 
    width: fit-content !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.video-container video {
    width: 100% !important;
    height: auto !important;
    max-width: 85vw !important;     
    max-height: 55vh !important;    
    object-fit: contain !important; 
    border-radius: 4px;
    padding: 10px !important; 
    background-color: #000000 !important; 
    border: 3px solid rgba(255, 255, 255, 0.553) !important; 
    border-radius: 8px !important;
    box-shadow: 0 20px 40px rgba(65, 60, 60, 0.6) !important;
}

.video-backdrop {
    position: absolute !important;
    top: -5% !important;
    left: -5% !important;
    width: 110% !important; 
    height: 110% !important;
    z-index: -1 !important; 
    filter: blur(50px) brightness(5.5) contrast(1.1) !important;
    object-fit: fill !important;
    pointer-events: none !important;
    opacity: 0.65 !important;
    transition: filter 0.5s ease !important;
}

.progress-bar-container {
    width: 100% !important;
    height: 6px !important;
    margin-top: 16px !important; 
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    cursor: pointer !important;
    pointer-events: auto !important;
    position: relative !important;
    z-index: 100 !important;
}

.cosmic-audio-card .card-space-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: -1;
    pointer-events: none;
    mix-blend-mode: lighten;
    filter: brightness(0.6); 
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                filter 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cosmic-audio-card:hover .card-space-bg {
    opacity: 0.65; 
    filter: brightness(1); 
    transform: scale(1.03); 
}

/* ==========================================
   6. INTERACTIVE HOTSPOTS & HUD INTERFACE
   ========================================== */
.global-hud-interface { position: fixed; left: 40px; top: 130px; width: 320px; z-index: 200; display: flex; flex-direction: column; }
.sticky-info-box { background: rgba(10, 10, 10, 0.35); padding: 20px; border-radius: 10px 10px 0 0; backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.15); border-bottom: none; }
.master-control-deck { background: rgba(10, 10, 10, 0.35); padding: 0 20px 20px 20px; border-radius: 0 0 10px 10px; backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.15); border-top: none; display: flex; flex-direction: column; gap: 12px; }
.control-btn { background: rgba(255, 255, 255, 0.08); color: white; border: 1px solid rgba(255, 255, 255, 0.15); padding: 10px 16px; font-family: 'Inter', sans-serif; font-size: 0.85rem; font-weight: 600; border-radius: 6px; display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; transition: all 0.2s ease; cursor: pointer; }
.control-btn:hover { background: white; color: black; border-color: white; }
.control-btn.active { background: rgba(46, 213, 115, 0.75); color: white; border-color: #2ed573; }

.hotspot { position: absolute; background: rgba(0, 0, 0, 0.7); color: white; border: 1px solid rgba(255, 255, 255, 0.3); padding: 8px 18px 8px 35px; border-radius: 30px; cursor: pointer; font-family: 'Inter', sans-serif; font-weight: 500; letter-spacing: 0.3px; font-size: 0.85rem; display: flex; align-items: center; transition: all 0.3s ease; z-index: 20; }
.hotspot:hover, .hotspot.playing { background: rgba(255, 255, 255, 0.9); color: black; }
.pulse { position: absolute; left: 12px; width: 10px; height: 10px; background-color: #ff4757; border-radius: 50%; box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.7); animation: pulse-animation 2s infinite; }
.hotspot.playing .pulse { background-color: #2ed573; box-shadow: 0 0 0 0 rgba(46, 213, 115, 0.7); }

@keyframes pulse-animation {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(255, 71, 87, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 71, 87, 0); }
}

/* ==========================================
   7. PERSISTENT AUDIO PLAYER
   ========================================== */
#persistent-player { position: fixed; bottom: 0; left: 0; width: 100%; height: 80px; background-color: rgba(0, 0, 0, 0.85); backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; border-top: 1px solid #333; z-index: 1000; }
.player-controls { display: flex; align-items: center; gap: 20px; }
button { padding: 10px 20px; font-size: 1rem; cursor: pointer; background-color: white; color: black; border: none; border-radius: 5px; font-weight: bold; transition: background 0.2s; }
button:hover { background-color: #ccc; }

.mobile-scene-info { display: none; }
.mobile-controls { display: flex; gap: 10px; justify-content: center; margin-top: 15px; }

/* ==========================================
   8. RESPONSIVE MOBILE BREAKPOINTS (PC SHIELDED)
   ========================================== */
@media (max-width: 950px) {
    #site-navigation { 
        padding: 12px 20px !important; 
        height: auto !important;
    }
    
    .nav-top-row {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important; 
        width: 100% !important;
        gap: 16px !important;
    }
    
    #site-navigation .logo { 
        margin: 0 !important;
        font-size: 1.1rem !important; 
        text-align: left !important;
        white-space: nowrap !important; 
    }
    
    .header-actions {
        position: relative !important;
        right: auto !important;
        margin-top: 0 !important;
        gap: 16px !important;
        display: flex !important;
        justify-content: flex-end !important;
    }
    
    .dropdown-nav {
        margin-top: 12px !important;
        gap: 16px !important;
    }

    #manual-header-toggle {
        bottom: -24px !important;
        top: auto !important;
    }
    
    .content h2 { font-size: 2rem; padding: 0 15px; }
    .content p { font-size: 0.9rem; padding: 0 15px; }
    #persistent-player { height: auto; min-height: 80px; padding: 15px 0; }
    .player-controls { flex-direction: column; gap: 8px; }
    button { padding: 8px 16px; font-size: 0.9rem; }
    #track-title { font-size: 0.85rem; }

    .global-hud-interface,
    #comp-dynamic-hud,
    .pc-only-hud { 
        display: none !important; 
    }

    .mobile-scene-info {
        display: block;
        position: absolute;
        top: 150px; 
        width: 100%;
        text-align: center;
        z-index: 10;
        padding: 0 20px;
    }
    .mobile-scene-info h2 { font-size: 1.5rem; margin-bottom: 5px; text-shadow: 0 2px 6px rgba(0,0,0,0.9); }
    .mobile-scene-info p { font-size: 0.85rem; color: #ddd; text-shadow: 0 1px 4px rgba(0,0,0,0.9); }
    
    .mobile-controls .control-btn { width: auto !important; padding: 8px 16px !important; }
    .soundscape-canvas { width: 95% !important; height: auto !important; margin-top: 150px; }

    .hotspot { padding: 6px 12px 6px 28px !important; font-size: 0.75rem !important; }
    .pulse { left: 8px !important; width: 10px !important; height: 10px !important; }

    html, body {
        scroll-snap-type: y mandatory !important;
        scroll-behavior: smooth !important;
        height: 100% !important;
        overflow-y: scroll !important;
    }

    .soundscape-section {
        height: 100vh !important;
        min-height: 100vh !important;
        scroll-snap-align: start !important; 
        scroll-snap-stop: always !important;
        padding-top: 85px !important;         
        padding-bottom: 25px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;   
    }
}

/* ==========================================
   9. MOBILE LANDSCAPE VIDEO OPTIMISATION
   ========================================== */
@media (max-width: 950px) and (orientation: landscape) {
    .video-container video {
        max-width: 90vw !important;     
        max-height: 70vh !important;    
        padding: 4px !important;        
    }
}

/* ==========================================
   10. DEDICATED ABOUT PAGE CONTENT LAYOUT
   ========================================== */
.about-page-wrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 40px 60px 40px; 
    background-color: #0a0a0a;
    box-sizing: border-box;
}

.about-content-card {
    position: relative;
    width: 100%;
    max-width: 1000px;
    background: rgba(20, 20, 20, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 50px;
    backdrop-filter: blur(20px);
    overflow: hidden;
}

.about-glow-backdrop {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: center;
}

.profile-image-placeholder {
    width: 100%;
    aspect-ratio: 4 / 5;
    background-color: #111111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-text-column h1 {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 6px;
    color: #ffffff;
}

.about-text-column h2 {
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 24px;
}

.about-text-column p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 16px;
}
.about-text-column p:last-child {
    margin-bottom: 0;
}

@media (max-width: 850px) {
    .about-page-wrapper {
        padding: 100px 20px 40px 20px;
    }
    .about-content-card {
        padding: 30px 20px;
    }
    .about-grid {
        grid-template-columns: 1fr; 
        gap: 30px;
    }
    .profile-image-placeholder {
        max-width: 280px;
        margin: 0 auto; 
    }
    .about-text-column h1 {
        font-size: 1.8rem;
    }
}
.bio-subheading {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 24px;
    margin-bottom: 8px;
}
/* ==========================================
   11. GLOBAL VISITED NAV LINK PATCH
   ========================================== */
#site-navigation .nav-link,
#site-navigation .nav-link:visited,
#site-navigation .nav-link:active,
#site-navigation .nav-link:hover {
    color: #ffffff !important;
    text-decoration: none !important;
}