/* ===================================
   SOUND ENGINEER PORTFOLIO - STYLES
   =================================== */

/* CSS Variables - Color Palette */
:root {
    --color-bg: #0a0a0a;
    --color-bg-secondary: #111111;
    --color-bg-tertiary: #1a1a1a;
    --color-text: #e5e5e5;
    --color-text-muted: #888888;
    --color-accent: #00ff88;
    --color-accent-hover: #00cc6a;
    --color-border: #2a2a2a;
    --color-unmixed: #ff6b6b;
    --color-mixed: #00ff88;
    
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'Space Mono', monospace;
    
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.6s ease;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    font-family: var(--font-mono);
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-accent);
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-menu a {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
    position: relative;
}

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

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: var(--transition-fast);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 24px 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(0, 255, 136, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    z-index: 1;
}

.hero-subtitle {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--color-accent);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.hero-title {
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 700;
    letter-spacing: -2px;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-cta {
    display: inline-block;
    padding: 16px 40px;
    background: var(--color-accent);
    color: var(--color-bg);
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all var(--transition-fast);
}

.hero-cta:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
}

.whatsapp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin: 0 auto;
    padding: 16px 32px;
    background: #25d366;
    color: #0b1f14;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.25);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.whatsapp-button:hover {
    background: #35e676;
    color: #0b1f14;
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(37, 211, 102, 0.35);
}

.hero-visual {
    margin-top: 60px;
}

.waveform {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 60px;
}

.waveform span {
    width: 4px;
    background: var(--color-accent);
    border-radius: 2px;
    animation: wave 1.2s ease-in-out infinite;
}

.waveform span:nth-child(1) { height: 20px; animation-delay: 0s; }
.waveform span:nth-child(2) { height: 35px; animation-delay: 0.1s; }
.waveform span:nth-child(3) { height: 50px; animation-delay: 0.2s; }
.waveform span:nth-child(4) { height: 40px; animation-delay: 0.3s; }
.waveform span:nth-child(5) { height: 55px; animation-delay: 0.4s; }
.waveform span:nth-child(6) { height: 30px; animation-delay: 0.5s; }
.waveform span:nth-child(7) { height: 45px; animation-delay: 0.6s; }
.waveform span:nth-child(8) { height: 60px; animation-delay: 0.7s; }
.waveform span:nth-child(9) { height: 40px; animation-delay: 0.8s; }
.waveform span:nth-child(10) { height: 50px; animation-delay: 0.9s; }
.waveform span:nth-child(11) { height: 25px; animation-delay: 1s; }
.waveform span:nth-child(12) { height: 35px; animation-delay: 1.1s; }
.waveform span:nth-child(13) { height: 45px; animation-delay: 0.15s; }
.waveform span:nth-child(14) { height: 30px; animation-delay: 0.25s; }
.waveform span:nth-child(15) { height: 40px; animation-delay: 0.35s; }

@keyframes wave {
    0%, 100% { transform: scaleY(0.5); opacity: 0.5; }
    50% { transform: scaleY(1); opacity: 1; }
}

/* ===================================
   SECTIONS - GENERAL
   =================================== */
.section {
    padding: 120px 0;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 16px;
    text-align: center;
    letter-spacing: -1px;
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-muted);
    margin-bottom: 60px;
    font-size: 1.125rem;
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about {
    background: var(--color-bg-secondary);
}

.about .section-title {
    margin-bottom: 60px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.about-column h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--color-accent);
    font-family: var(--font-mono);
}

.about-column p {
    color: var(--color-text-muted);
    margin-bottom: 16px;
    line-height: 1.8;
}

.expertise-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.expertise-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.expertise-icon {
    color: var(--color-accent);
    font-size: 0.75rem;
    margin-top: 4px;
}

.expertise-list strong {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
}

.expertise-list p {
    margin-bottom: 0;
    font-size: 0.875rem;
}

.stats {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-accent);
    font-family: var(--font-mono);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* ===================================
   PORTFOLIO SECTION
   =================================== */
.portfolio {
    background: var(--color-bg);
}

.portfolio .section-title {
    margin-bottom: 60px;
}

.portfolio-category {
    margin-bottom: 80px;
}

.portfolio-category:last-child {
    margin-bottom: 0;
}

.portfolio-category h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border);
}

/* Photo Grid */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.photo-item {
    background: var(--color-bg-secondary);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.photo-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.photo-placeholder {
    aspect-ratio: 3/2;
    background: var(--color-bg-tertiary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    border-bottom: 1px solid var(--color-border);
}

.photo-placeholder span {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.photo-placeholder p {
    font-size: 0.75rem;
    font-family: var(--font-mono);
}

.photo-caption {
    padding: 24px;
}

.photo-caption h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.photo-caption p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.video-item {
    background: var(--color-bg-secondary);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.video-placeholder {
    aspect-ratio: 16/9;
    background: var(--color-bg-tertiary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    border-bottom: 1px solid var(--color-border);
    position: relative;
}

.play-button {
    width: 72px;
    height: 72px;
    background: rgba(0, 255, 136, 0.2);
    border: 2px solid var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-accent);
    margin-bottom: 16px;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.video-placeholder:hover .play-button {
    background: var(--color-accent);
    color: var(--color-bg);
    transform: scale(1.1);
}

.video-caption {
    padding: 24px;
}

.video-caption h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.video-caption p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ===================================
   TRACKS SECTION
   =================================== */
.tracks {
    background: var(--color-bg-secondary);
}

.tracks .section-title {
    margin-bottom: 16px;
}

.tracks-container {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.track-comparison {
    background: var(--color-bg);
    border-radius: 12px;
    padding: 32px;
    border: 1px solid var(--color-border);
}

.track-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border);
}

.track-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.track-header p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    font-family: var(--font-mono);
}

.track-pair {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.track-item {
    background: var(--color-bg-secondary);
    border-radius: 8px;
    padding: 24px;
    border: 1px solid var(--color-border);
}

.track-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 4px;
    margin-bottom: 16px;
    font-family: var(--font-mono);
}

.track-label.unmixed {
    background: rgba(255, 107, 107, 0.15);
    color: var(--color-unmixed);
}

.track-label.mixed {
    background: rgba(0, 255, 136, 0.15);
    color: var(--color-mixed);
}

.track-description {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-top: 16px;
    line-height: 1.6;
}

/* Audio Player */
.audio-player {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--color-bg-tertiary);
    padding: 16px;
    border-radius: 8px;
}

.play-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--color-accent);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    color: var(--color-bg);
    font-size: 0.875rem;
}

.play-btn:hover {
    background: var(--color-accent-hover);
    transform: scale(1.05);
}

.play-btn .pause-icon {
    display: none;
}

.play-btn.playing .play-icon {
    display: none;
}

.play-btn.playing .pause-icon {
    display: block;
}

.progress-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: var(--color-border);
    border-radius: 3px;
    cursor: pointer;
    overflow: hidden;
}

.progress {
    height: 100%;
    width: 0%;
    background: var(--color-accent);
    border-radius: 3px;
    transition: width 0.1s linear;
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    font-family: var(--font-mono);
    color: var(--color-text-muted);
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 8px;
}

.volume-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    padding: 4px;
}

.volume-slider {
    width: 80px;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: var(--color-border);
    border-radius: 2px;
    cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: var(--color-accent);
    border-radius: 50%;
    cursor: pointer;
}

.volume-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: var(--color-accent);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.tracks-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-top: 48px;
    padding: 20px;
    background: var(--color-bg);
    border-radius: 8px;
    border: 1px dashed var(--color-border);
}

.tracks-note strong {
    color: var(--color-accent);
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact {
    background: var(--color-bg);
}

.contact .section-title {
    margin-bottom: 48px;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-intro {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    text-align: center;
    margin-bottom: 48px;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 48px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--color-bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--color-border);
    transition: border-color var(--transition-fast);
}

.contact-item:hover {
    border-color: var(--color-accent);
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-tertiary);
    border-radius: 8px;
    font-size: 1.25rem;
}

.contact-item strong {
    display: block;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.contact-item a,
.contact-item span {
    font-size: 1rem;
    color: var(--color-text);
}

.contact-item a {
    transition: color var(--transition-fast);
}

.contact-item a:hover {
    color: var(--color-accent);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.social-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--color-accent);
    color: var(--color-bg);
    border-color: var(--color-accent);
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    padding: 32px 0;
    background: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.footer p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* ===================================
   FADE IN ANIMATIONS
   =================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

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

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

/* Tablet */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .photo-grid,
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .track-pair {
        grid-template-columns: 1fr;
    }
}

/* Mobile */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    body {
        overflow-x: hidden;
    }

    img,
    video {
        max-width: 100%;
        height: auto;
    }

    .nav-container {
        height: 64px;
        padding: 0 18px;
    }

    .nav-logo {
        font-size: 1rem;
        letter-spacing: 1px;
    }
    
    .nav-menu {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--color-bg-secondary);
        flex-direction: column;
        padding: 24px;
        gap: 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-medium);
        border-bottom: 1px solid var(--color-border);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu li {
        border-bottom: 1px solid var(--color-border);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu a {
        display: block;
        padding: 16px 0;
        font-size: 1rem;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero {
        min-height: auto;
        padding: 110px 20px 64px;
    }
    
    .hero-subtitle {
        font-size: 0.75rem;
        letter-spacing: 2px;
    }

    .hero-title {
        font-size: clamp(2.35rem, 14vw, 4rem);
        letter-spacing: -1px;
    }

    .hero-description {
        font-size: 1rem;
        line-height: 1.7;
    }

    .hero-visual {
        margin-top: 40px;
        width: 100%;
    }
    
    .section {
        padding: 64px 0;
    }
    
    .container {
        padding: 0 20px;
    }

    .section-title {
        font-size: clamp(2rem, 10vw, 3rem);
        margin-bottom: 40px;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 40px;
    }

    .about .section-title,
    .portfolio .section-title,
    .contact .section-title {
        margin-bottom: 40px;
    }

    .about-grid {
        gap: 32px;
    }

    .expertise-list li {
        gap: 12px;
    }

    .stats {
        margin-top: 16px;
        padding-top: 16px;
    }

    .about-photo {
        width: min(220px, 70vw);
    }

    .portfolio-category {
        margin-bottom: 56px;
    }

    .portfolio-category h3 {
        font-size: 1.25rem;
        margin-bottom: 24px;
    }

    .photo-grid {
        gap: 24px;
    }

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

    .photo-caption {
        padding: 20px;
    }

    .tracks-container {
        gap: 32px;
    }
    
    .track-comparison {
        padding: 18px;
        border-radius: 10px;
    }

    .track-header h3 {
        font-size: 1.125rem;
        line-height: 1.35;
    }

    .track-header p {
        font-family: var(--font-primary);
        line-height: 1.6;
    }

    .track-pair {
        gap: 20px;
    }

    .track-item {
        padding: 18px;
    }
    
    .audio-player {
        flex-wrap: wrap;
        gap: 12px;
        padding: 14px;
    }
    
    .progress-container {
        order: 3;
        width: 100%;
    }
    
    .volume-control {
        margin-left: auto;
    }
    
    .volume-slider {
        width: 60px;
    }

    .contact-intro {
        font-size: 1rem;
        margin-bottom: 32px;
        line-height: 1.7;
    }

    .contact-details {
        gap: 16px;
        margin-bottom: 32px;
    }

    .contact-item {
        padding: 18px;
    }

    .contact-item a,
    .contact-item span {
        overflow-wrap: anywhere;
    }

    .whatsapp-button {
        width: 100%;
        padding: 15px 22px;
    }
    
    .waveform span {
        width: 3px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero-cta {
        width: 100%;
        text-align: center;
    }

    .photo-caption h4,
    .track-header h3 {
        font-size: 1rem;
    }

    .track-comparison,
    .track-item {
        padding: 16px;
    }

    .audio-player {
        align-items: center;
    }

    .play-btn {
        width: 42px;
        height: 42px;
        min-width: 42px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-icon {
        width: 44px;
        height: 44px;
    }
    
    .social-links {
        flex-wrap: wrap;
    }
}
