/* --- RESET I USTAWIEŃ BAZOWE --- */
html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #ffffff;
    color: #000000;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
    letter-spacing: 0.3px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* POZIOME LINIE PODZIAŁU */
.full-divider {
    border: none;
    border-top: 1px solid #e5e5e5;
    margin: 0 -50px;
    position: relative;
    margin-top: 30px;
    margin-bottom: 30px;
}

/* ANIMACJA STRZAŁEK */
.arrow {
    display: inline-block;
    margin-left: 6px;
    transition: transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

a:hover .arrow {
    transform: translateX(5px);
}

/* --- NAGŁÓWEK I NAWIGACJA --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 40px;
    padding-bottom: 5px;
    width: 100%;
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 100;
}

.logo {
    display: flex;
    align-items: flex-end;
    width: 420px; 
    flex-shrink: 0;
}

.logo a {
    display: block;
    width: 100%;
}

.logo-img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

nav {
    flex-shrink: 0;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 35px;
    padding-bottom: 5px;
}

nav ul li a {
    text-decoration: none;
    color: #000000;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    padding-bottom: 8px;
    position: relative;
    transition: color 0.2s ease;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #000000;
    transform: scaleX(0);
    transition: transform 0.25s ease;
    transform-origin: right;
}

nav ul li a.active::after,
nav ul li a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* --- HERO SECTION --- */
.hero {
    padding-top: 40px;
    padding-bottom: 50px;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.hero-text-block {
    flex-shrink: 0;
}

.hero-text-block h2 {
    font-size: 64px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.05;
    margin-bottom: 25px;
}

.hero-text-block p {
    font-size: 15px;
    color: #555555;
    line-height: 1.6;
    margin-bottom: 45px;
    font-weight: 400;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    border: 1px solid #000000;
    padding: 14px 28px;
    text-decoration: none;
    color: #000000;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    background-color: transparent;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.btn-primary:hover {
    background-color: #000000;
    color: #ffffff;
}

/* DOSTOSOWANIE KONTENERA DLA RUFFLE FLASH */
.hero-graphic {
    width: 50%;
    height: 240px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

#flash-container {
    width: 100%;
    height: 100%;
    background: transparent; /* Brak czarnego tła, aby idealnie stapiał się z białą stroną */
    display: block;
    overflow: hidden;
}

/* Wymuszenie na obiekcie Ruffle pełnego dopasowania do kontenera */
#flash-container ruffle-player {
    width: 100%;
    height: 100%;
}

/* --- FEATURED RELEASE --- */
.featured-release {
    display: flex;
    gap: 60px;
    align-items: center;
    padding: 30px 0;
}

.featured-img-container {
    width: 300px;
    height: 300px;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.featured-img-container:hover {
    transform: scale(1.02);
}

.featured-album-art {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.featured-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.subtitle {
    font-size: 10px;
    letter-spacing: 3px;
    color: #999999;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-weight: 600;
}

.featured-details h3 {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.release-info {
    font-size: 16px;
    color: #666666;
    margin-bottom: 35px;
}

/* --- RELEASES GRID --- */
.releases {
    padding: 20px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
}

h4 {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.view-all {
    font-size: 11px;
    color: #000000;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
}

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

.release-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.small-art-container {
    width: 140px;
    height: 140px;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
}

.release-item:hover .small-art-container {
    transform: translateY(-4px);
}

.small-album-art {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.small-art-container.black-bg {
    background-color: #000000;
}

.release-text {
    display: flex;
    flex-direction: column;
}

.artist {
    font-size: 12px;
    color: #777777;
    margin-bottom: 4px;
    font-weight: 400;
}

.title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
}

.listen-link {
    font-size: 10px;
    color: #000000;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1.5px;
    border-bottom: 1px solid #000000;
    width: max-content;
    padding-bottom: 2px;
    text-transform: uppercase;
}

/* --- ARTISTS SECTION --- */
.artists {
    padding: 20px 0;
}

.artists h4 {
    margin-bottom: 25px;
}

.artists-list {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 16px;
    font-weight: 500;
}

.artist-name {
    color: #000000;
    transition: color 0.2s ease;
}

.artist-name:hover {
    color: #777777;
}

/* --- FOOTER --- */
footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0 50px 0;
    font-size: 11px;
    letter-spacing: 0.5px;
}

.footer-link {
    color: #000000;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s ease;
}

.footer-link:hover {
    opacity: 0.6;
}

.footer-right {
    display: flex;
    gap: 15px;
}

.pipe-separator {
    color: #e5e5e5;
}

/* --- RESPONSYWNOŚĆ --- */
@media (max-width: 992px) {
    .hero-text-block h2 { font-size: 48px; }
    .hero-graphic { width: 45%; height: 180px; }
    .logo { width: 340px; }
}

@media (max-width: 768px) {
    body { padding: 0 25px; }
    .full-divider { margin: 20px -25px; }
    
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
        padding-top: 25px;
        position: relative;
    }
    
    .logo { width: 100%; max-width: 320px; }
    nav ul { gap: 20px; }
    
    .hero-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }
    
    .hero-graphic {
        width: 100%;
        height: 180px;
    }
    
    .featured-release {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }
    
    .featured-img-container {
        width: 100%;
        max-width: 400px;
        height: auto;
        aspect-ratio: 1/1;
    }
    
    .releases-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}