:root {
    --bg-color: #000000;
    --text-main: #ffffff;
    --text-muted: #8c8c8c;
}

* { 
    box-sizing: border-box; 
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Roboto', sans-serif;
    margin: 0; 
    padding: 0; 
    line-height: 1.6;
}

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

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

.hero-text { 
    flex: 1; 
    min-width: 300px; 
}

.hero-image { 
    flex: 1; 
    min-width: 300px; 
    display: flex; 
    justify-content: center; 
}

.hero-image img { 
    max-width: 100%; 
    height: auto; 
    filter: drop-shadow(0 15px 25px rgba(255,255,255,0.05)); 
}

h1 { 
    font-family: 'Oswald', sans-serif; 
    font-size: 4.5rem; 
    text-transform: uppercase; 
    margin: 0 0 5px 0; 
    line-height: 1.1; 
    letter-spacing: 1px; 
}

h2 { 
    font-family: 'Oswald', sans-serif; 
    color: var(--text-muted); 
    font-size: 2.2rem; 
    margin: 0 0 50px 0; 
    text-transform: uppercase; 
}

.contact-list { 
    list-style: none; 
    padding: 0; 
    margin: 0; 
    font-size: 1.2rem; 
    color: #d0d0d0; 
}

.contact-list li { 
    margin-bottom: 20px; 
    display: flex; 
    align-items: center; 
}

.contact-list i { 
    color: var(--text-muted); 
    width: 35px; 
    font-size: 1.4rem; 
    text-align: left; 
}

.contact-list a { 
    color: inherit; 
    text-decoration: none; 
    transition: color 0.3s; 
}

.contact-list a:hover { 
    color: var(--text-main); 
}

.gallery-title { 
    font-family: 'Oswald', sans-serif; 
    font-size: 2rem; 
    color: var(--text-muted); 
    text-transform: uppercase; 
    margin-bottom: 30px; 
    border-bottom: 1px solid #222; 
    padding-bottom: 10px; 
}

/* =========================================
   ZMIANY DLA MNIEJSZEJ, ŁADNIEJSZEJ GALERII
   ========================================= */
.gallery { 
    display: grid; 
    /* Zmniejszono z 300px na 200px - kafle będą mniejsze, zmieści się ich więcej w rzędzie */
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 15px; 
}

.gallery-item { 
    overflow: hidden; 
    background-color: #111; 
    border-radius: 4px; /* Delikatne zaokrąglenie rogów */
    aspect-ratio: 1 / 1; /* Wymusza idealne kwadraty dla miniaturek (jak na Instagramie) */
    display: block;
}

.gallery-item img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    display: block; 
    transition: transform 0.4s ease; 
}

.gallery-item:hover img { 
    transform: scale(1.05); /* Nieco mocniejszy efekt powiększenia przy najechaniu myszką */
}

/* ========================================= */

@media (max-width: 768px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 1.8rem; }
    .hero { flex-direction: column-reverse; text-align: center; }
    .contact-list i { width: auto; margin-right: 15px; }
    .contact-list li { justify-content: center; }
    
    /* Na telefonach miniaturki mogą być minimalnie mniejsze */
    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 10px;
    }
}