/* =============================================
   MARIUSZ BUCZEK — STRONA MUZYKA
   Szata graficzna: elegancka, muzyczna, ciepła
   ============================================= */

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

:root {
    --clr-bg-dark:    #0f0f0f;
    --clr-bg-section: #faf8f5;
    --clr-bg-card:    #ffffff;
    --clr-dark:       #1a1a1a;
    --clr-text:       #333333;
    --clr-text-light: #f0ebe4;
    --clr-muted:      #777777;
    --clr-accent:     #c41e2a;
    --clr-accent-dark:#9b1720;
    --clr-gold:       #c9a84c;
    --clr-gold-light: #e8d8a0;
    --font-heading:   'Playfair Display', Georgia, serif;
    --font-body:      'Lato', 'Segoe UI', sans-serif;
    --font-script:    'Great Vibes', cursive;
    --shadow:         0 4px 30px rgba(0,0,0,0.08);
    --shadow-lg:      0 12px 40px rgba(0,0,0,0.15);
    --radius:         12px;
    --transition:     0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

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

a {
    color: var(--clr-accent);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--clr-accent-dark);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.script-font {
    font-family: var(--font-script);
}

/* --- NAVBAR --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    transition: all var(--transition);
}

.navbar.scrolled {
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(12px);
    padding: 12px 40px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 48px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: height var(--transition);
}

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

.nav-links {
    list-style: none;
    display: flex;
    gap: 36px;
}

.nav-links a {
    color: var(--clr-text-light);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
    padding: 4px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--clr-accent);
    transition: width var(--transition);
}

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

.nav-links a:hover {
    color: #fff;
}

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

.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: var(--transition);
}

/* --- HERO --- */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background:
        linear-gradient(135deg, rgba(15,15,15,0.85) 0%, rgba(30,15,15,0.75) 50%, rgba(15,15,15,0.9) 100%),
        url('img/photo-bw.jpg') center/cover no-repeat;
    color: #fff;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(196, 30, 42, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(201, 168, 76, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

/* Musical staff lines in hero */
#hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -5%;
    right: -5%;
    height: 160px;
    transform: translateY(-50%);
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 30px,
            rgba(255,255,255,0.03) 30px,
            rgba(255,255,255,0.03) 31px
        );
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 24px;
}

.hero-subtitle {
    font-size: clamp(1.4rem, 4vw, 2.2rem);
    color: var(--clr-gold-light);
    margin-bottom: 12px;
    opacity: 0;
    animation: fadeInUp 1s 0.3s forwards;
}

#hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 700;
    letter-spacing: 3px;
    line-height: 1.1;
    margin-bottom: 16px;
    opacity: 0;
    animation: fadeInUp 1s 0.6s forwards;
}

.hero-tagline {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 1s 0.9s forwards;
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
}

.btn-primary {
    background: var(--clr-accent);
    color: #fff;
    box-shadow: 0 4px 20px rgba(196, 30, 42, 0.35);
    opacity: 0;
    animation: fadeInUp 1s 1.2s forwards;
}

.btn-primary:hover {
    background: var(--clr-accent-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(196, 30, 42, 0.45);
}

.btn-large {
    padding: 18px 48px;
    font-size: 1.05rem;
    opacity: 1;
    animation: none;
}

/* --- SCROLL INDICATOR --- */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator span::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: rgba(255,255,255,0.5);
    border-radius: 2px;
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(12px); opacity: 0.3; }
}

/* --- SECTIONS --- */
.section {
    padding: 100px 0;
}

.section-dark {
    background: var(--clr-bg-dark);
    color: var(--clr-text-light);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    position: relative;
}

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

.section-title .accent {
    color: var(--clr-accent);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--clr-accent);
    margin: 16px auto 0;
    border-radius: 2px;
}

.section-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
    font-size: 1.1rem;
    color: var(--clr-muted);
    line-height: 1.8;
}

.section-dark .section-intro {
    color: rgba(240, 235, 228, 0.6);
}

/* --- ABOUT --- */
.about-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 60px;
    align-items: start;
    margin-top: 50px;
}

.photo-frame {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.photo-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 3px solid var(--clr-gold);
    border-radius: var(--radius);
    pointer-events: none;
    opacity: 0.4;
}

.photo-frame img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.photo-frame:hover img {
    transform: scale(1.03);
}

.about-text .lead {
    font-size: 1.15rem;
    font-weight: 400;
    margin-bottom: 20px;
    color: var(--clr-dark);
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 16px;
    color: var(--clr-text);
}

.about-text strong {
    color: var(--clr-dark);
}

.about-badge {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
    padding: 20px;
    background: linear-gradient(135deg, #fdf8ef 0%, #f5f0e8 100%);
    border-radius: var(--radius);
    border-left: 4px solid var(--clr-accent);
}

.badge-logo {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.about-badge strong {
    display: block;
    font-size: 0.95rem;
    color: var(--clr-dark);
    margin-bottom: 2px;
}

.about-badge small {
    font-size: 0.85rem;
    color: var(--clr-muted);
}

/* --- SERVICES --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
}

.service-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    transition: all var(--transition);
}

.service-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: var(--clr-accent);
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(196, 30, 42, 0.15);
}

.service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    color: var(--clr-accent);
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--clr-text-light);
}

.service-card p {
    font-size: 0.92rem;
    color: rgba(240, 235, 228, 0.55);
    line-height: 1.7;
}

/* --- PARALLAX SECTION --- */
.parallax-section {
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background:
        url('img/photo-bw.jpg') center/cover no-repeat fixed;
    color: #fff;
}

.parallax-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 15, 15, 0.8);
}

.parallax-content {
    position: relative;
    z-index: 2;
    padding: 40px 24px;
}

.parallax-content .script-font {
    font-size: clamp(1.5rem, 4vw, 2.4rem);
    color: var(--clr-gold-light);
    line-height: 1.6;
}

.parallax-content small {
    display: block;
    margin-top: 16px;
    font-size: 1rem;
    color: rgba(255,255,255,0.5);
    font-style: italic;
}

/* --- VIDEOS --- */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.video-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #000;
    transition: transform var(--transition), box-shadow var(--transition);
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.85;
    transition: opacity var(--transition), transform var(--transition);
    z-index: 2;
    padding: 0;
}

.video-card:hover .play-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

/* --- CONTACT --- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    margin-bottom: 50px;
}

.contact-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    padding: 40px 28px;
    text-align: center;
    transition: all var(--transition);
}

.contact-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.15);
}

.contact-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    color: var(--clr-accent);
}

.contact-icon svg {
    width: 100%;
    height: 100%;
}

.contact-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--clr-text-light);
}

.phone-number {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--clr-gold-light) !important;
    letter-spacing: 2px;
    margin-bottom: 6px;
    transition: color var(--transition);
}

.phone-number:hover {
    color: var(--clr-gold) !important;
}

.phone-hint {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
}

.location-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--clr-text-light);
}

.location-region {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.4);
}

.agency-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--clr-gold-light);
}

.agency-desc {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.4);
    margin-top: 4px;
}

.cta-block {
    text-align: center;
}

/* --- FOOTER --- */
.footer {
    background: #080808;
    padding: 40px 0;
    text-align: center;
    color: rgba(255,255,255,0.3);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.3;
}

.footer p {
    font-size: 0.85rem;
}

.footer-small {
    font-size: 0.75rem;
    opacity: 0.5;
}

.footer-credit {
    font-size: 0.7rem;
    opacity: 0.35;
    margin-top: 8px;
    letter-spacing: 0.5px;
}

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

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.service-card.reveal:nth-child(2) { transition-delay: 0.1s; }
.service-card.reveal:nth-child(3) { transition-delay: 0.2s; }
.service-card.reveal:nth-child(4) { transition-delay: 0.3s; }

.video-card.reveal:nth-child(2) { transition-delay: 0.15s; }
.video-card.reveal:nth-child(3) { transition-delay: 0.3s; }
.video-card.reveal:nth-child(4) { transition-delay: 0.45s; }

.contact-card.reveal:nth-child(2) { transition-delay: 0.15s; }
.contact-card.reveal:nth-child(3) { transition-delay: 0.3s; }

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-photo {
        max-width: 350px;
        margin: 0 auto;
    }
}

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

    .navbar.scrolled {
        padding: 10px 20px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(15, 15, 15, 0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        transition: right var(--transition);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        font-size: 1.1rem;
        letter-spacing: 3px;
    }

    .section {
        padding: 70px 0;
    }

    .services-grid,
    .videos-grid {
        grid-template-columns: 1fr;
    }

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

    .parallax-section {
        background-attachment: scroll;
        min-height: 280px;
    }

    .btn-large {
        padding: 16px 32px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    #hero h1 {
        font-size: 2.5rem;
    }

    .hero-tagline {
        font-size: 0.85rem;
        letter-spacing: 2px;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

/* --- SELECTION STYLE --- */
::selection {
    background: var(--clr-accent);
    color: #fff;
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--clr-bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--clr-accent);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--clr-accent-dark);
}
