/* Import fontów dla Opcji 1 */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;1,400&family=Playfair+Display:wght@600;700&display=swap');

.Blok_procesu {
    padding: 60px 20px;
    max-width: 1250px; /* Szeroki, nowoczesny układ */
    margin: 0 auto;
    background-color: #000000; 
}

/* Nagłówki */
.Blok_procesu h2 {
    font-family: 'Playfair Display', serif;
    color: #a4b2a4; 
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.Blok_procesu h3 {
    font-family: 'Playfair Display', serif;
    color: #FFFFFF;
    font-size: 1.8rem;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Wstępniak */
.Blok_procesu .history-lead {
    font-family: 'Lora', serif;
    font-size: 1.3rem;
    color: #e0eade;
    line-height: 1.7;
    text-align: center;
    margin-bottom: 50px;
    font-style: italic;
}

/* Tekst główny */
.Blok_procesu p {
    font-family: 'Lora', serif;
    color: #cccccc;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

/* Rzędy i kolumny (Podział 50/50 dla potężniejszych zdjęć) */
.history-row {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 50px;
}

.history-row.reverse {
    flex-direction: row-reverse;
}

.history-col-text {
    flex: 1; /* Równe proporcje 50% */
}

.history-col-img {
    flex: 1; /* Równe proporcje 50% */
    min-width: 300px;
}

/* Profesjonalne ramki retro z efektem Zoom-In */
.history-thumb {
    margin: 0;
    padding: 10px;
    background: #0a0f0f; 
    border: 1px solid rgba(164, 178, 164, 0.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    overflow: hidden; /* Trzyma powiększane zdjęcie w ryzach */
}

.history-thumb img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(30%) contrast(1.1); 
    transition: transform 0.5s ease, filter 0.4s ease;
}

/* Efekt najechania myszką */
.history-thumb:hover img {
    transform: scale(1.06); /* Płynny zoom o 6% */
    filter: grayscale(0%) contrast(1.15);
}

/* Podpis pod zdjęciem */
.history-thumb figcaption {
    font-family: 'Lora', serif;
    font-size: 0.85rem;
    color: #8e9e8e;
    text-align: center;
    margin-top: 10px;
    font-style: italic;
    line-height: 1.4;
}

/* Mobilność */
@media (max-width: 768px) {
    .history-row, .history-row.reverse {
        flex-direction: column;
        gap: 20px;
    }
    .history-col-img {
        width: 100%;
    }
    .Blok_procesu h2 { font-size: 2rem; }
    .Blok_procesu h3 { font-size: 1.5rem; }
}

/* ==================================================== */
/* Style dla sekcji prezentacji konkretnych piw */
/* ==================================================== */
.beers-section {
    margin-top: 80px;
    border-top: 1px solid rgba(164, 178, 164, 0.15);
    padding-top: 60px;
}

.beers-lead {
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    color: #a4b2a4;
    text-align: center;
    margin-bottom: 40px;
    font-style: italic;
}

.beers-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.beer-card {
    background: #0a0f0f;
    border: 1px solid rgba(164, 178, 164, 0.1);
    border-radius: 4px;
    width: calc(50% - 15px);
    min-width: 300px;
    max-width: 550px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

/* Efekt uniesienia karty po najechaniu myszką */
.beer-card:hover {
    transform: translateY(-5px);
    border-color: rgba(164, 178, 164, 0.3);
}

.beer-img-wrapper {
    width: 100%;
    /* ZMIANY TUTAJ: */
    aspect-ratio: 4 / 3;  /* Wymusza idealne proporcje 4:3 */
    height: auto;         /* Usuwamy sztywną wysokość 260px */
    overflow: hidden;
    background-color: #111;
}

.beer-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;    /* Kadruje zdjęcie do 4:3 bez zniekształceń */
    filter: grayscale(10%) contrast(1.05);
    transition: transform 0.5s ease;
}

.beer-card:hover .beer-img-wrapper img {
    transform: scale(1.03);
}

.beer-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.beer-info h3 {
    margin: 0 0 5px 0 !important;
    font-size: 1.9rem !important;
    color: #ffffff !important;
    text-align: left !important;
}

.beer-style {
    font-family: 'Lora', serif;
    font-size: 0.9rem;
    color: #a4b2a4;
    font-style: italic;
    margin-bottom: 15px;
}

.beer-desc {
    font-size: 1rem !important;
    color: #cccccc !important;
    line-height: 1.6 !important;
    text-align: justify !important;
    margin-bottom: 25px !important;
    flex-grow: 1;
}

/* Parametry techniczne piwa na dole karty */
.beer-parameters {
    display: flex;
    gap: 25px;
    padding-top: 15px;
    border-top: 1px solid rgba(164, 178, 164, 0.15);
}

.beer-parameters span {
    font-family: 'Lora', serif;
    font-size: 0.95rem;
    color: #ffffff;
}

.beer-parameters strong {
    color: #a4b2a4;
    font-weight: 500;
}

.beer-footnote {
    font-size: 0.85rem !important;
    color: #8e9e8e !important;
    font-style: italic;
    margin-top: 12px !important;
    margin-bottom: 0 !important;
    text-align: left !important;
}

/* RWD dla urządzeń mobilnych */
@media (max-width: 900px) {
    .beer-card {
        width: 100%;
    }
}

/* Styl dla głównego zdjęcia z kranikami */
.beers-main-banner {
    max-width: 800px; /* Szerokość idealnie zbalansowana między nagłówkiem a kartami */
    margin: 0 auto 30px auto; /* Centrowanie i odstęp od napisu poniżej */
    padding: 10px;
    background: #0a0f0f;
    border: 1px solid rgba(164, 178, 164, 0.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

.beers-main-banner img {
    width: 100%;
    height: auto;
    display: block;
    filter: contrast(1.05); /* Delikatne podbicie głębi barw miedzi */
}

/* Mała poprawka mobilna, żeby ramka na telefonach nie była za szeroka */
@media (max-width: 768px) {
    .beers-main-banner {
        padding: 5px;
        margin-bottom: 20px;
    }
}
