/* Zmienne CSS - Paleta Bieli i Czerni */
:root {
    --bg-black: #050505;
    --bg-dark: #121212;
    --bg-card: #1c1c1c;
    --text-pure: #ffffff;
    --text-off: #e0e0e0;
    --text-muted: #888888;
    --border-color: #333333;
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-black);
    color: var(--text-off);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typografia z gradientami */
.section-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 15px;
    letter-spacing: 1px;
    color: var(--text-pure);
    text-align: center;
    text-transform: uppercase;
}

.text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #777777 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    color: var(--text-muted);
    margin-bottom: 50px;
    font-size: 1.1rem;
    text-align: center;
}

.section {
    padding: 100px 0;
}

.bg-dark { background-color: var(--bg-dark); }
.bg-black { background-color: var(--bg-black); }

/* Nawigacja */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-brand .logo {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.8rem;
    color: var(--text-pure);
}

.nav-brand .logo span {
    color: var(--text-muted);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-pure);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    color: var(--text-pure);
    font-size: 1.5rem;
}

/* Przyciski */
.btn-primary, .btn-outline {
    display: inline-block;
    padding: 15px 35px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 2px;
    transition: all 0.4s ease;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--text-pure);
    color: var(--bg-black);
    border: 1px solid var(--text-pure);
}

.btn-primary:hover {
    background: transparent;
    color: var(--text-pure);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--text-pure);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--text-pure);
    background: rgba(255,255,255,0.05);
}

.w-100 { width: 100%; }

/* Sekcja Hero */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* TWOJE ZDJĘCIE W TLE: */
    background: url('images/tlo.jpg') no-repeat center center;
    background-size: cover;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Mocny czarny gradient przyciemniający tło, by tekst był czytelny */
    background: linear-gradient(to bottom, rgba(5,5,5,0.6), rgba(5,5,5,0.95));
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 5px;
    line-height: 1.1;
    /* Efekt cieniowania na tekście */
    background: linear-gradient(to bottom, #ffffff, #888888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0px 10px 20px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 5px;
    color: var(--text-pure);
    margin-bottom: 25px;
    text-transform: uppercase;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Sekcja O Mnie & Animowana Wizytówka */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-text .section-title {
    text-align: left;
}

.about-card-container {
    perspective: 1000px; /* Perspektywa dla animacji 3D */
    display: flex;
    justify-content: center;
}

.business-card {
    position: relative;
    width: 350px;
    height: 200px;
    background: linear-gradient(135deg, rgba(40,40,40,0.8), rgba(15,15,15,0.9));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.1s;
    transform-style: preserve-3d;
    box-shadow: 0 20px 40px rgba(0,0,0,0.8);
    cursor: pointer;
}

.card-glow {
    position: absolute;
    top: 50%; left: 50%;
    width: 150%; height: 150%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.business-card:hover .card-glow {
    opacity: 1;
}

.card-content {
    transform: translateZ(30px); /* Wypchnięcie tekstu w 3D */
}

.card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-pure);
    letter-spacing: 2px;
}

.card-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 4px;
    text-transform: uppercase;
}

/* Usługi */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    padding: 50px 30px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: transform 0.4s ease, border-color 0.4s;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: #666;
}

.service-card.border-glow {
    position: relative;
    border-color: rgba(255,255,255,0.3);
}

.service-card i {
    color: var(--text-pure);
    margin-bottom: 20px;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-pure);
}

/* Sprzęt */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.eq-item {
    background: var(--bg-black);
    padding: 40px 30px;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 5px;
    position: relative;
    overflow: hidden;
}

.eq-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 3px;
    background: linear-gradient(90deg, transparent, #ffffff, transparent);
    opacity: 0.2;
}

.eq-icon {
    font-size: 2rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.eq-item h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-pure);
    margin-bottom: 15px;
}

/* Audio Portfolio */
.audio-track {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 30px;
    margin-bottom: 30px;
}

.track-info {
    margin-bottom: 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.track-info h3 {
    font-family: var(--font-heading);
    color: var(--text-pure);
}

.players-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.player {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
}

.badge {
    display: inline-block;
    align-self: flex-start;
    background: #333;
    color: #fff;
    padding: 5px 10px;
    font-size: 0.8rem;
    border-radius: 3px;
    margin-bottom: 10px;
    font-weight: 600;
}

.badge-after {
    background: var(--text-pure);
    color: var(--bg-black);
}

audio {
    width: 100%;
    height: 40px;
    outline: none;
}

/* Stylowanie Webkit Audio Player (podstawowe) */
audio::-webkit-media-controls-panel {
    background-color: var(--bg-dark);
}
audio::-webkit-media-controls-play-button,
audio::-webkit-media-controls-mute-button {
    filter: invert(1);
}
audio::-webkit-media-controls-current-time-display,
audio::-webkit-media-controls-time-remaining-display {
    color: #fff;
}

/* Kontakt */
.contact-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 50px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
}

.form-row {
    display: flex;
    gap: 20px;
}

.half {
    flex: 1;
}

.form-group {
    margin-bottom: 25px;
}

.form-control, input, textarea, select {
    width: 100%;
    padding: 15px 20px;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    color: var(--text-pure);
    font-family: var(--font-body);
    font-size: 1rem;
    border-radius: 2px;
    outline: none;
    transition: border-color 0.3s;
}

input:focus, textarea:focus, select:focus {
    border-color: var(--text-muted);
}

select {
    cursor: pointer;
    appearance: none;
}

/* Komunikaty PHP */
.form-success {
    color: #000;
    background-color: #e0e0e0;
    padding: 15px;
    border-radius: 2px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
}

.form-error {
    color: #fff;
    background-color: #333;
    padding: 15px;
    border-radius: 2px;
    margin-bottom: 20px;
    text-align: center;
    border: 1px solid #555;
}

/* Footer */
.footer {
    background: var(--bg-black);
    padding: 50px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-pure);
    margin-bottom: 20px;
}

.social-links {
    margin-bottom: 20px;
}

.social-links a {
    margin: 0 15px;
    color: var(--text-muted);
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--text-pure);
}

.footer p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Responsywność */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 70px;
        left: 0;
        background: rgba(5, 5, 5, 0.98);
        padding: 20px 0;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2.8rem;
    }
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
}





















/* ==========================================================================
   MACIEJ WRÓBLEWSKI - PREMIUM AUDIO PORTFOLIO 
   Główny arkusz stylów rozszerzający Tailwind CSS
========================================================================== 
*/

/* --- 1. RESET & BAZA --- */
:root {
    --brand-white: #ffffff;
    --brand-dark: #030303;
    --brand-surface: #0a0a0a;
    --brand-card: #111111;
    --brand-accent: #333333;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--brand-dark);
    color: var(--brand-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Zaznaczanie tekstu */
::selection {
    background-color: var(--brand-white);
    color: var(--brand-dark);
}

::-moz-selection {
    background-color: var(--brand-white);
    color: var(--brand-dark);
}

/* --- 2. CUSTOM SCROLLBAR (Elegancki, ciemny pasek przewijania) --- */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--brand-dark);
}

::-webkit-scrollbar-thumb {
    background: #222;
    border-radius: 10px;
    border: 2px solid var(--brand-dark); /* Odstęp od krawędzi */
}

::-webkit-scrollbar-thumb:hover {
    background: #444;
}

/* --- 3. KOMPONENTY PREMIUM --- */

/* Szklisty efekt dla kart i sekcji (Glassmorphism) */
.glass-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* --- 4. EFEKTY AUDIO PLAYERA (Wygenerowanego przez JS) --- */
/* Te style ulepszają odtwarzacz wygenerowany w script.js */
.custom-progress-bar {
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
}

.custom-progress-fill {
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Zabezpieczenie przed miganiem podczas ładowania JS */
audio {
    border-radius: 8px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

audio:hover {
    opacity: 1;
}

/* --- 5. ZAAWANSOWANE ANIMACJE SVG (SPRZĘT) --- */

/* ATH-M50x Słuchawki */
.anim-headphones {
    animation: floatHeadphones 4s ease-in-out infinite;
}

.anim-earcup-left {
    animation: squeezeLeft 4s ease-in-out infinite;
    transform-origin: 22px 55px;
}

.anim-earcup-right {
    animation: squeezeRight 4s ease-in-out infinite;
    transform-origin: 78px 55px;
}

@keyframes floatHeadphones {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes squeezeLeft {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.02) rotate(-1deg) translateX(-1px); }
}

@keyframes squeezeRight {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.02) rotate(1deg) translateX(1px); }
}

/* ADAM Audio T8V Monitory */
.anim-woofer {
    animation: bassPump 0.86s cubic-bezier(0.2, 0.8, 0.2, 1) infinite; /* Odpowiada ok. 70 BPM, potężny sub-bass */
    transform-origin: 50px 62px;
}

.anim-tweeter-glow {
    animation: ribbonGlow 3s ease-in-out infinite;
}

@keyframes bassPump {
    0%, 100% { transform: scale(1); }
    15% { transform: scale(1.07); } /* Szybki atak kicka */
    30% { transform: scale(0.98); } /* Lekkie cofnięcie membrany */
    50% { transform: scale(1.02); }
}

@keyframes ribbonGlow {
    0%, 100% { opacity: 0.7; filter: drop-shadow(0 0 2px rgba(212, 175, 55, 0.3)); }
    50% { opacity: 1; filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.8)); }
}

/* SSL 2+ Interfejs */
.anim-ssl-knob {
    animation: rotateKnob 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    transform-origin: 68px 50px;
}

.anim-led-1 { animation: ledBlink 0.5s infinite steps(2); }
.anim-led-2 { animation: ledBlink 0.3s infinite steps(2) 0.1s; }
.anim-led-3 { animation: ledBlink 0.7s infinite steps(2) 0.2s; }

@keyframes rotateKnob {
    0%, 100% { transform: rotate(-40deg); }
    30% { transform: rotate(20deg); }
    70% { transform: rotate(70deg); }
}

@keyframes ledBlink {
    0%, 100% { fill: #333; filter: none; }
    50% { fill: #00ff66; filter: drop-shadow(0 0 3px #00ff66); }
}

/* --- 6. FORMULARZ KONTAKTOWY (CUSTOM ULEPSZENIA) --- */

/* Zastępuje domyślną ikonkę strzałki w <select> na czystszy, biały wektor */
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

select option {
    background-color: var(--brand-card);
    color: var(--brand-white);
    padding: 15px;
}

/* Usuwa paskudne żółte/białe tło przeglądarki (np. Chrome Chrome Autofill) w polach input */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px var(--brand-card) inset !important;
    -webkit-text-fill-color: white !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* --- 7. TILT WIZYTÓWKA (Dodatkowe ulepszenia optyczne) --- */
#b-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1);
    pointer-events: none;
}