/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-bg: #0a0a0a;
    --secondary-bg: #1a1a1a;
    --accent-bg: #2a2a2a;
    --text-primary: #e8e8e8;
    --text-secondary: #a8a8a8;
    --accent-color: #39ff14;
    --accent-warm: #ff6b6b;
    --spacing-unit: 1rem;
    --max-width: 1200px;
    --transition-speed: 0.3s;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 300;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 2rem;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
}

h4 {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
    max-width: 70ch;
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--accent-color);
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: 0.05em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    transition: color var(--transition-speed);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-color);
    transition: width var(--transition-speed);
}

.nav-menu a:hover {
    color: var(--text-primary);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 8rem 2rem 4rem;
    background: linear-gradient(180deg, var(--primary-bg) 0%, var(--secondary-bg) 100%);
    isolation: isolate;
}

.hero-content {
    text-align: center;
    max-width: 1000px;
    width: 100%;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 200;
    margin-bottom: 3rem;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.title-line {
    display: block;
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
}

.title-line:nth-child(1) {
    animation-delay: 0.2s;
}

.title-line:nth-child(2) {
    animation-delay: 0.4s;
    color: var(--accent-color);
}

.title-line:nth-child(3) {
    animation-delay: 0.6s;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    font-weight: 300;
    animation: fadeIn 1s ease-out 0.8s forwards;
    opacity: 0;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    animation: fadeIn 1s ease-out 1s forwards;
    opacity: 0;
}

.scroll-arrow {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, var(--accent-color) 0%, transparent 100%);
    animation: scrollPulse 2s infinite;
}

/* Sections */
.section {
    padding: 6rem 2rem;
    position: relative;
    background-color: var(--primary-bg);
    z-index: 1;
    scroll-margin-top: 80px;
}

.section-dark {
    background-color: var(--secondary-bg);
    isolation: isolate;
}

.section-feature {
    background: linear-gradient(180deg, var(--primary-bg) 0%, var(--accent-bg) 50%, var(--primary-bg) 100%);
    isolation: isolate;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-header {
    margin-bottom: 4rem;
}

.section-header h2 {
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--accent-color);
}

.project-title {
    color: var(--accent-color);
    font-weight: 400;
    margin-top: 1rem;
}

/* Content Layouts */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.content-grid-reverse {
    direction: rtl;
}

.content-grid-reverse > * {
    direction: ltr;
}

.content-single {
    max-width: 800px;
}

.text-content p:first-of-type {
    font-size: 1.1rem;
}

/* Media Content */
.media-content {
    position: sticky;
    top: 120px;
    z-index: 10;
}

.feature-image {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Highlight Box */
.highlight-box {
    background: rgba(0, 217, 255, 0.05);
    border-left: 3px solid var(--accent-color);
    padding: 2rem;
    margin: 3rem 0;
    border-radius: 4px;
}

.highlight-box p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Project Details */
.project-details {
    display: grid;
    gap: 3rem;
    margin: 3rem 0;
}

.detail-block {
    background: rgba(255, 255, 255, 0.03);
    padding: 2.5rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform var(--transition-speed), border-color var(--transition-speed);
}

.detail-block:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 217, 255, 0.3);
}

.detail-block h4 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.project-future {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Project Media */
.project-media {
    margin-top: 4rem;
    display: grid;
    gap: 2rem;
}

.project-video {
    width: 100%;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.project-video video {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
}

.project-video video:hover {
    box-shadow: 0 0 40px rgba(0, 217, 255, 0.3);
}

.project-audio {
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.project-audio h4 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.1rem;
}

.project-audio audio {
    width: 100%;
    filter: grayscale(100%) contrast(120%);
}

/* Sounds Section */
.sounds-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.sound-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform var(--transition-speed), border-color var(--transition-speed);
}

.sound-item:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 217, 255, 0.3);
}

.sound-item h4 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.1rem;
}

.sound-item audio {
    width: 100%;
    filter: grayscale(100%) contrast(120%);
}

/* Media Grid */
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.media-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    background: var(--accent-bg);
    aspect-ratio: 4/3;
}

.media-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-speed);
}

.media-item:hover img {
    transform: scale(1.05);
}

.media-audio {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    aspect-ratio: auto;
}

.audio-player {
    width: 100%;
}

.audio-player h4 {
    margin-bottom: 1rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 1rem;
}

.audio-player audio {
    width: 100%;
    filter: grayscale(100%) contrast(120%);
}

/* Video Player */
.media-video {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    aspect-ratio: 16/9;
    grid-column: span 2;
}

.video-player {
    width: 100%;
    height: 100%;
}

.video-player video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
}

.video-player video:hover {
    box-shadow: 0 8px 30px rgba(0, 217, 255, 0.2);
}

/* Footer */
.footer {
    background-color: var(--primary-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 2rem;
    text-align: center;
}

.footer-content p {
    margin: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-subtitle {
    color: var(--text-secondary);
    font-size: 0.85rem !important;
    letter-spacing: 0.1em;
    margin-top: 1rem !important;
}

/* Artist Profiles */
.artist-profiles {
    display: grid;
    gap: 4rem;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.artist-profile {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
    background: rgba(255, 255, 255, 0.02);
    padding: 2.5rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform var(--transition-speed), border-color var(--transition-speed);
    position: relative;
}

.artist-profile:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 217, 255, 0.2);
}

.artist-profile:nth-child(even) {
    grid-template-columns: 1.5fr 1fr;
}

.artist-profile:nth-child(even) .artist-image {
    order: 2;
}

.artist-image {
    position: relative;
}

.artist-image .feature-image {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.image-credit {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    text-align: center;
    font-style: italic;
}

.artist-info h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.artist-info h4 {
    color: var(--accent-color);
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.artist-info p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.artist-languages {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.artist-link {
    display: inline-block;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 400;
    padding: 0.5rem 0;
    border-bottom: 1px solid transparent;
    transition: border-color var(--transition-speed);
}

.artist-link:hover {
    border-bottom-color: var(--accent-color);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Scroll-triggered animation classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        gap: 1rem;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .content-grid-reverse {
        direction: ltr;
    }

    .media-content {
        position: static;
    }

    .section {
        padding: 4rem 1.5rem;
    }

    .hero {
        padding: 6rem 1.5rem 4rem;
    }

    .detail-block {
        padding: 1.5rem;
    }

    .media-grid {
        grid-template-columns: 1fr;
    }

    .sounds-grid {
        grid-template-columns: 1fr;
    }

    .media-video {
        grid-column: span 1;
    }

    p {
        max-width: 100%;
    }

    .artist-profile {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.5rem;
    }

    .artist-profile:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .artist-profile:nth-child(even) .artist-image {
        order: 1;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
    }

    .nav-menu a {
        font-size: 0.85rem;
    }

    .section {
        padding: 3rem 1rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }

    html {
        scroll-behavior: auto;
    }

    .fade-in-up {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Print Styles */
@media print {
    .nav,
    .scroll-indicator,
    .footer {
        display: none;
    }

    body {
        background: white;
        color: black;
    }
}
