/* RESET I PODSTAWOWE STYLIZACJE */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #ffffff;
    color: #000000;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* NAGŁÓWEK */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
    position: fixed;
    width: 100%;
    z-index: 1000;
    background-color: #ffffff;
    box-sizing: border-box;
}
.main-header .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    font-size: 0.75em;
    font-weight: bold;
    text-decoration: none;
    color: #000000;
    letter-spacing: 3px;
    text-transform: uppercase;
}
.nav-left, .nav-right { flex-shrink: 1; min-width: 0; }
.nav-right { margin-right: -15px; }
.nav-left nav { text-align: left; }
.nav-right nav { text-align: right; }
.nav-left ul, .nav-right ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 25px;
}
.nav-left ul { justify-content: flex-start; }
.nav-right ul { justify-content: flex-end; }
nav ul li a {
    text-decoration: none;
    color: #000000;
    font-size: 0.72em;
    letter-spacing: 1px;
    transition: color 0.3s;
}
nav ul li a:hover,
nav ul li a.active { color: #777777; }

/* STRONA GŁÓWNA – pełnoekranowe tło tylko na index */
.start-page-content {
    flex-grow: 1;
    min-height: 100vh;
    background: url('images/b.png') center center / cover no-repeat fixed;
    background-color: #000;
    position: relative;
    z-index: 1;
}
.start-page-content .hero-image { display: none; }

/* GALERIE – COLLECTIONS + ARTWORKS */
.photo-grid {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 35px 0 0 0;
}
.slide {
    width: 100%;
    max-width: 1680px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}
.slide img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
    display: block;
    box-sizing: border-box;
}

/* CONTACT – czarne linki */
.contact-content a {
    color: #000000 !important;
    text-decoration: none;
    transition: color 0.3s;
}
.contact-content a:hover {
    color: #777777 !important;
}

/* MOBILE */
@media (max-width: 768px) {
    .main-header { padding: 10px 15px; }
    .nav-left ul, .nav-right ul {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    nav ul li a { font-size: 0.65em; }

    /* index */
    .start-page-content {
        background: none !important;
        min-height: auto;
        padding-top: 95px;
        text-align: center;
        background-color: #ffffff;
    }
    .start-page-content .hero-image {
        display: block;
        width: 100%;
        height: auto;
    }

    /* kolekcje + artworks – zero przycinania, zero białego paska */
    .photo-grid {
        padding-top: 70px !important;
    }
    .slide img {
        aspect-ratio: auto;
    }
}

/* RESZTA STYLÓW */
.content-wrapper { 
    flex-grow: 1; 
    max-width: 1400px; 
    width: 100%; 
    margin: 0 auto; 
    padding-top: 60px; 
    min-height: calc(100vh - 120px); 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    padding: 60px 30px 0 30px; 
    position: relative; 
    z-index: 2; 
}
.contact-content { 
    text-align: center; 
    font-size: 1em; 
    line-height: 2; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
}
.contact-content h1 { 
    font-size: 2.2em; 
    margin-bottom: 60px; 
    font-weight: bold; 
}
.main-footer { 
    text-align: center; 
    padding: 15px 0; 
    font-size: 0.8em; 
    color: #777777; 
    border-top: 1px solid #cccccc; 
    position: fixed; 
    bottom: 0; 
    width: 100%; 
    z-index: 999; 
    background-color: #ffffff; 
}

/* pozostałe style (collections, semestry itp.) – bez zmian */
.collection-overview h2 { text-align: center; margin-bottom: 40px; font-size: 1.1em; letter-spacing: 3px; font-weight: normal; }
.collections-grid { display: flex; flex-direction: column; align-items: center; gap: 30px; }
.collection-item { margin-bottom: 0; text-align: center; width: auto; }
.collection-item a { text-decoration: none; color: inherit; display: block; }
.collection-item img { display: none; }
.collection-title { font-size: 1.1em; font-weight: bold; letter-spacing: 1.5px; text-transform: uppercase; margin-top: 0; text-align: center; transition: color 0.3s; }
.collection-title:hover { color: #777777; }
.collection-page { align-items: center; justify-content: flex-start; padding-left: 0; padding-right: 0; padding-top: 0; }
.content-wrapper.padded-for-header { justify-content: flex-start; padding-top: 100px; }
.collection-details { width: 100%; max-width: 1000px; margin-bottom: 50px; text-align: center; box-sizing: border-box; margin-left: 0; margin-top: 0; }
.collection-details h1 { font-size: 2.2em; letter-spacing: normal; font-weight: bold; text-transform: uppercase; margin-bottom: 15px; }
.collection-subtitle { margin: 80px auto 80px auto; text-align: center; font-size: 0.9em; letter-spacing: normal; text-transform: uppercase; }
.collection-links { display: flex; flex-direction: row; justify-content: center; flex-wrap: nowrap; gap: 80px; margin-bottom: 0; }
.collection-links a { text-decoration: none; color: #000000; margin: 80px auto 50px auto; font-size: 1.1em; letter-spacing: 0.3px; text-transform: uppercase; font-weight: bold; transition: color 0.3s; }
.collection-links a:hover { color: #777777; }
.collection-description { font-size: 0.9em; line-height: 1.6; margin: 60px auto 50px auto; max-width: 700px; text-align: center; letter-spacing: normal; text-transform: uppercase; }
.gallery-content { justify-content: flex-start; padding-top: 80px; padding-bottom: 80px; min-height: auto; }

@media (max-width: 768px) {
    .collection-title { font-size: 1em; }
    .collection-links { flex-direction: column; gap: 20px; }
    .content-wrapper { padding: 60px 15px 0 15px; }
    .collection-description, .collection-subtitle { margin-top: 30px; margin-bottom: 30px; }
}