@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #000000;
    color: #ffffff;
    min-height: 100vh;
}

/* Navigation - pill style */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: transparent;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
}

.navbar .logo img {
    height: 36px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0;
}

nav ul li {
    display: inline;
}

nav ul li a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 100px;
    background-color: #1c1c1e;
    transition: background-color 0.3s ease;
    display: inline-block;
}

nav ul li a:hover {
    background-color: #2c2c2e;
}

/* Main content */
.all-content {
    padding-top: 100px;
    padding-bottom: 60px;
}

/* Section heading (My Videos / shared) */
.section-heading {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin: 0 0 24px;
    color: #ffffff;
}

/* Video Player */
.video-player-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 40px;
    position: relative;
}

.video-wrapper {
    position: relative;
    width: 75%;
    max-width: 1200px;
    aspect-ratio: 16 / 9;
}

#video-player {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 20px;
}

#video-title {
    font-size: 18px;
    font-weight: 500;
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.55);
    text-align: center;
}

/* Nav arrows */
.switch-btn {
    background-color: #1c1c1e;
    color: #ffffff;
    border: none;
    padding: 15px 10px;
    cursor: pointer;
    font-size: 16px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 120px;
    border-radius: 14px;
    transition: background-color 0.3s ease;
    z-index: 10;
}

.switch-btn:hover {
    background-color: #2c2c2e;
}

#prev-btn {
    left: 20px;
}

#next-btn {
    right: 20px;
}

/* Thumbnails */
.video-thumbnails {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 24px 40px;
    flex-wrap: wrap;
}

.thumbnail {
    width: 140px;
    height: 80px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail:hover {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.3);
}

.thumbnail.active {
    border-color: #ffffff;
}

/* Creative Projects (Audio) */
.creative-projects {
    padding: 48px 40px;
    margin-top: 20px;
}

.creative-projects h2 {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 32px;
    color: #ffffff;
}

.project-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.project {
    background-color: #1c1c1e;
    width: 300px;
    padding: 24px;
    border-radius: 20px;
    text-align: center;
}

.project p {
    font-size: 15px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 16px;
}

.project audio {
    width: 100%;
    height: 40px;
    border-radius: 8px;
    filter: invert(1);
}

/* Map Section */
#map-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 80vh;
    width: 100%;
    padding: 40px;
    margin-top: 20px;
}

#title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
    text-align: center;
    color: #ffffff;
}

#map {
    height: 100%;
    width: 100%;
    max-width: 1200px;
    border: none;
    border-radius: 20px;
    overflow: hidden;
}

/* Scroll label */
.scroll-label {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 16px 20px;
    }

    nav {
        min-width: 0;
        flex: 1 1 0;
    }

    nav ul {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 8px;
        padding: 0 8px 4px 0;
    }

    nav ul::-webkit-scrollbar {
        display: none;
    }

    nav ul li {
        flex-shrink: 0;
    }

    nav ul li a {
        font-size: 14px;
        padding: 10px 18px;
    }

    .video-player-container {
        padding: 20px;
    }

    .video-wrapper {
        width: 90%;
    }

    #video-title {
        font-size: 14px;
    }

    .switch-btn {
        width: 36px;
        height: 80px;
        font-size: 14px;
        border-radius: 10px;
    }

    #prev-btn {
        left: 8px;
    }

    #next-btn {
        right: 8px;
    }

    .video-thumbnails {
        padding: 16px 20px;
        gap: 8px;
    }

    .thumbnail {
        width: 100px;
        height: 56px;
    }

    .creative-projects {
        padding: 32px 20px;
    }

    .project {
        width: 100%;
    }

    #map-container {
        height: 60vh;
        padding: 20px;
    }

    #title {
        font-size: 18px;
    }
}

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

    nav ul {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 6px;
        padding-right: 8px;
    }

    nav ul::-webkit-scrollbar {
        display: none;
    }

    nav ul li {
        flex-shrink: 0;
    }

    nav ul li a {
        font-size: 13px;
        padding: 9px 15px;
    }

    .all-content {
        padding-top: 80px;
    }

    .video-player-container {
        padding: 12px;
    }

    .video-wrapper {
        width: 95%;
    }

    .switch-btn {
        width: 30px;
        height: 60px;
        font-size: 12px;
        border-radius: 8px;
    }

    #prev-btn {
        left: 4px;
    }

    #next-btn {
        right: 4px;
    }

    .video-thumbnails {
        padding: 12px 16px;
        gap: 6px;
    }

    .thumbnail {
        width: 72px;
        height: 40px;
        border-radius: 8px;
    }

    .creative-projects {
        padding: 24px 16px;
    }

    .creative-projects h2,
    .section-heading {
        font-size: 20px;
    }

    #map-container {
        height: 50vh;
        padding: 16px;
    }

    #title {
        font-size: 16px;
    }
}

.nav-scroll-hint {
    display: none;
}

@media (max-width: 768px) {
    .nav-scroll-hint {
        display: block;
        position: absolute;
        bottom: 4px;
        right: 16px;
        color: rgba(255, 255, 255, 0.9);
        font-size: 10px;
        font-weight: 500;
        font-family: 'Inter', sans-serif;
        z-index: 10;
        pointer-events: none;
        white-space: nowrap;
    }
}
