/* ═══════════════════════════════════════════════════════════════
   MINIMAL PORTFOLIO - Michael Tsogias
   Clean, editorial design inspired by JUUN.J & FERRO
   ═══════════════════════════════════════════════════════════════ */

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

:root {
    --bg: #1a1f2e;
    --bg-alt: #232936;
    --bg-dark: #141821;
    --text: #ffffff;
    --text-muted: #8b95a5;
    --accent: #3b82f6;
    --border: rgba(255,255,255,0.1);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1 {
    font-size: clamp(48px, 10vw, 120px);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

.text-accent {
    color: var(--accent);
    margin-left: 25%;
}

.text-small {
    font-size: 0.4em;
    color: var(--text);
    vertical-align: middle;
}

h2 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

p {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 480px;
}

/* Layout */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════════ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 24px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(26,31,46,0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.header.scrolled {
    border-bottom-color: var(--border);
    background: rgba(26,31,46,0.98);
}

.logo {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text);
    text-decoration: none;
}

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

.nav a {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.header-cta {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-cta::after {
    content: '→';
}

@media (max-width: 768px) {
    .header {
        padding: 20px;
    }
    .nav {
        display: none;
    }
}

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */

.hero {
    min-height: 100vh;
    padding: 160px 40px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 24px;
}

.hero h1 {
    margin-bottom: 32px;
}

.hero p {
    margin-bottom: 40px;
    font-size: 18px;
    line-height: 1.7;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text);
    text-decoration: none;
    padding: 16px 0;
    border-bottom: 2px solid var(--text);
    transition: gap 0.3s ease;
}

.hero-cta:hover {
    gap: 20px;
}

.hero-cta::after {
    content: '→';
    font-size: 18px;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    max-width: 580px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

@media (max-width: 968px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 140px 20px 60px;
        min-height: auto;
    }
    .hero-image {
        order: -1;
        max-width: 100%;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .hero-image img {
        max-width: 350px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   CLIENTS
   ═══════════════════════════════════════════════════════════════ */

.clients {
    padding: 80px 40px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.clients-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.clients-list {
    display: flex;
    flex-wrap: wrap;
    gap: 40px 60px;
    align-items: center;
}

.client-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.01em;
}

@media (max-width: 768px) {
    .clients {
        padding: 60px 20px;
    }
    .clients-list {
        gap: 24px 40px;
    }
    .client-name {
        font-size: 15px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   ANIMATED CLIENT MARQUEE
   ═══════════════════════════════════════════════════════════════ */

.clients-marquee {
    padding: 48px 0;
    background: var(--bg);
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.marquee-label {
    text-align: center;
    margin-bottom: 40px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.marquee-wrapper::before,
.marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.marquee-wrapper::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg) 0%, transparent 100%);
}

.marquee-wrapper::after {
    right: 0;
    background: linear-gradient(-90deg, var(--bg) 0%, transparent 100%);
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 64px;
    animation: marquee 20s linear infinite;
    width: fit-content;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-33.333% - 21px)); }
}

.marquee-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.marquee-item:hover {
    opacity: 0.8;
}

/* Styled Text Logos */
.client-logo-styled {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-muted);
}

/* Antenne - Sprechblasen-Stil */
.antenne {
    position: relative;
    background: currentColor;
    border-radius: 8px 8px 8px 0;
    padding: 10px 14px;
    gap: 0;
}

.antenne::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 0;
    border: 8px solid transparent;
    border-top-color: currentColor;
    border-left-color: currentColor;
    transform: translateY(100%);
}

.logo-antenne-text {
    font-size: 18px;
    font-weight: 800;
    color: var(--bg);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.logo-antenne-sub {
    font-size: 7px;
    font-weight: 600;
    color: var(--bg);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* mdr */
.mdr {
    flex-direction: row;
}

.logo-mdr-text {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* rbb - mit Rahmen */
.rbb {
    border: 2px solid currentColor;
    border-radius: 4px;
    padding: 6px 14px;
}

.logo-rbb {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* E.ON */
.eon {
    flex-direction: row;
}

.logo-eon {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* jamXmusic - Gradient Logo */
.jamxmusic {
    flex-direction: row;
    align-items: baseline;
    gap: 0;
}

.logo-jam {
    font-size: 24px;
    font-weight: 600;
    color: #60a5fa;
    letter-spacing: -0.02em;
}

.logo-x {
    font-size: 32px;
    font-weight: 300;
    color: rgba(255,255,255,0.7);
    letter-spacing: -0.02em;
    margin: 0 -2px;
}

.logo-music {
    font-size: 24px;
    font-weight: 600;
    background: linear-gradient(90deg, #a78bfa, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

/* funk */
.funk {
    flex-direction: row;
}

.logo-funk {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

/* ═══════════════════════════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════════════════════════ */

.section {
    padding: 120px 40px;
}

.section-header {
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 16px;
}

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

.section-subtitle {
    font-size: 16px;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .section {
        padding: 80px 20px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   PORTFOLIO GRID
   ═══════════════════════════════════════════════════════════════ */

.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 48px;
}

.filter-btn {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 10px 20px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    border-color: var(--text);
    color: var(--text);
}

.filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

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

@media (max-width: 968px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

/* Project Cards */
.project-card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-4px);
}

.project-card.hidden {
    display: none;
}

.project-thumbnail {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    border-radius: 8px;
    background: var(--bg-dark);
    margin-bottom: 16px;
}

.project-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-card:hover .project-thumbnail img {
    transform: scale(1.05);
}

.project-play-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-play-icon {
    opacity: 1;
}

.project-play-icon svg {
    width: 48px;
    height: 48px;
    color: white;
}

.project-platform {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 10px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.project-platform.youtube {
    background: #FF0000;
    color: white;
}

.project-platform.spotify {
    background: #1DB954;
    color: white;
}

.project-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.project-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}

.project-artist {
    font-size: 14px;
    color: var(--text-muted);
}

.project-role {
    font-size: 12px;
    color: var(--accent);
    font-weight: 500;
}

.project-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.project-badge {
    font-size: 10px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent);
    border: 1px solid rgba(59, 130, 246, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.project-badge.streams {
    background: rgba(29, 185, 84, 0.1);
    color: #1DB954;
    border-color: rgba(29, 185, 84, 0.2);
}

.project-badge.views {
    background: rgba(255, 0, 0, 0.1);
    color: #FF6B6B;
    border-color: rgba(255, 0, 0, 0.2);
}

.project-badge.broadcast {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
    border-color: rgba(139, 92, 246, 0.2);
}

/* Spotify Embed Cards */
.project-card-embed {
    cursor: default;
}

.project-card-embed:hover {
    transform: none;
}

.project-embed {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 16px;
}

.project-embed iframe {
    display: block;
    border-radius: 8px;
}

/* ═══════════════════════════════════════════════════════════════
   JINGLES / AUDIO PLAYER
   ═══════════════════════════════════════════════════════════════ */

.jingles {
    background: var(--bg-alt);
}

.tracks-container {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: var(--border);
    border-radius: 12px;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}

.track {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    background: var(--bg);
    transition: background 0.2s ease;
}

.track:hover {
    background: var(--bg-dark);
}

.play-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s ease, transform 0.2s ease;
}

.play-btn:hover {
    transform: scale(1.05);
}

.play-btn svg {
    color: white;
    margin-left: 2px;
}

.track-info {
    min-width: 180px;
}

.track-title {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
}

.track-tag {
    font-size: 12px;
    color: var(--text-muted);
}

.track-waveform {
    flex: 1;
    position: relative;
    height: 40px;
    cursor: pointer;
}

.waveform-visual {
    display: flex;
    align-items: center;
    height: 32px;
    gap: 1px;
    flex: 1;
}

.waveform-bar {
    flex: 1;
    min-width: 2px;
    background: rgba(255,255,255,0.3);
    border-radius: 1px;
    transition: background 0.1s ease;
}

.waveform-bar.played {
    background: var(--accent);
}

.track-time {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    min-width: 45px;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.track.loading .play-btn {
    opacity: 0.5;
}

.track.playing .play-btn {
    background: var(--accent);
}

@media (max-width: 768px) {
    .track {
        flex-wrap: wrap;
        gap: 12px;
        padding: 16px;
    }
    .track-info {
        min-width: auto;
        flex: 1;
    }
    .track-waveform {
        width: 100%;
        order: 3;
    }
    .track-time {
        order: 2;
    }
}

/* ═══════════════════════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════════════════════ */

.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 8px;
    filter: brightness(0.85);
}

.about-content p {
    font-size: 18px;
    line-height: 1.8;
    margin-top: 24px;
}

@media (max-width: 968px) {
    .about {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-image {
        max-width: 400px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════════════ */

.contact {
    background: var(--bg-dark);
}

.contact .section-label {
    color: var(--text-muted);
}

.contact .section-title {
    color: var(--text);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    color: white;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

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

.contact-link svg {
    width: 24px;
    height: 24px;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */

.footer {
    padding: 40px;
    border-top: 1px solid var(--border);
    background: var(--bg-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copy {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.footer-links a {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--text);
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-social:hover {
    color: var(--text);
}

.lang-switch {
    display: flex;
    gap: 8px;
    font-size: 13px;
}

.lang-active {
    font-weight: 600;
    color: var(--text);
}

@media (max-width: 768px) {
    .footer {
        padding: 30px 20px;
        flex-direction: column;
        text-align: center;
    }
}

/* ═══════════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */

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

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════
   PARALLAX BACKGROUNDS
   ═══════════════════════════════════════════════════════════════ */

.portfolio-section {
    position: relative;
    background: url('../images/why-bg.jpg') center center / 100% auto no-repeat fixed;
}

.portfolio-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 31, 46, 0.85);
    z-index: 0;
}

.portfolio-section > * {
    position: relative;
    z-index: 1;
}

/* Parallax Hero Effect */
.hero {
    position: relative;
    overflow: hidden;
}

.hero-image {
    transition: transform 0.1s ease-out;
}

/* Smooth scroll parallax indicator */
.parallax-element {
    will-change: transform;
    transition: transform 0.1s linear;
}

/* ═══════════════════════════════════════════════════════════════
   LEGAL PAGES (Impressum, Datenschutz)
   ═══════════════════════════════════════════════════════════════ */

.legal-page {
    padding: 160px 40px 80px;
    min-height: 100vh;
}

.legal-page h1 {
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 48px;
}

.legal-page h2 {
    font-size: 20px;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--text);
}

.legal-page p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 16px;
    max-width: 700px;
}

.legal-page a {
    color: var(--accent);
    text-decoration: none;
}

.legal-page a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .legal-page {
        padding: 120px 20px 60px;
    }
}
