/* --- Ogólne Style i Reset --- */
body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f7f7f7;
    color: #333;
}

.concerts-history {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 15px;
}

/* --- BANER --- */
.hero-banner {
    background: url('img/koncerty-baner.jpeg') center center no-repeat;
    background-size: cover;
    height: 180px; 
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-bottom: 30px;
}

.banner-title {
    margin-top: 120px;
    color: white;
    font-size: 1.5em;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Poprawa czytelności */
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.4); /* Półprzezroczyste tło dla tekstu */
}

/* --- SEKCJE KONCERTÓW --- */
.concert-event {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.concert-title {
    font-size: 1.5em;
    color: #cc0000;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.concert-description {
    line-height: 1.6;
    margin: 20px 0;
    font-size: 1.1em;
    text-align: justify;
    max-width: 600px;
    
}

hr {
    border: 0;
    height: 1px;
    background-color: #ddd;
    margin: 40px 0;
}

.top-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.plakat {
    width: 270px;
    margin-right: 20px;
}

/* --- GALERIA ZDJĘĆ --- */
.photo-gallery {
    display: flex;
    /* Domyślnie na wąskich ekranach układ w kolumnie (pionowo) */
    flex-direction: column; 
    gap: 10px; /* Odstęp między zdjęciami */
    margin: 15px 0;
}

.gallery-image {
    width: 100%; /* Każde zdjęcie zajmuje pełną szerokość kontenera */
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.cont-galery-v {
    max-width: 280px;
}
.cont-galery-h {
    max-width: 280px;
}

/* --- MEDIA QUERY: Ekrany Szerokie (powyżej 768px) --- */
@media (min-width: 768px) {
    .cont-galery-v {
        max-width: none;
        width: 360px;
    }
    .cont-galery-h {
        max-width: none;
        width: 360px;
    }
    .photo-gallery {
        width: 760px;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .galery-img-last {
        margin-top:-438px;
    }
    
   
}

/* --- CSS dla przycisku powrotu --- */
.back-button {
    /* Ustawienie w górnym lewym rogu */
    position: absolute;
    top: 10px;
    left: 20px;

    /* Stylizacja linku jako przycisku */
    display: inline-block;
    padding: 8px 15px;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    text-decoration: none; /* Usunięcie podkreślenia */
    border-radius: 5px;
    font-weight: bold;
    z-index: 10; /* Zapewnienie, że jest nad tłem */
    transition: background-color 0.3s;
}

.back-button:hover {
    background-color: #0056b3;
}
