/* ================================================
   INDEX — Style unikalne dla strony głównej
   ================================================ */

/* Video placeholder */
.video-placeholder {
    width: 100%;
    height: 420px;
    background: #555;
    border-radius: 6px;
}

@media (max-width: 768px) {
    .video-placeholder { height: 220px; }
}

/* ================================================
   BEER CAROUSEL (sekcja piw na stronie głównej)
   ================================================ */

.beer-carousel {
    position: relative;
    padding: 0 50px;
    margin-top: 50px;
}

.beer-carousel-overflow {
    overflow: hidden;
}

.beer-carousel-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s ease;
}

.beer-carousel-item {
    flex: 0 0 calc((100% - 48px) / 3);
    text-align: center;
    color: #fff;
}

.beer-carousel-item img {
    width: 100%;
    min-height: 480px;
    max-height: 480px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 16px;
}

.beer-carousel-item h4 {
    color: #c9a227;
    font-size: 18px;
    margin-bottom: 6px;
    text-transform: none;
    font-weight: 600;
}

.beer-carousel-item p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    margin: 0;
}

.beer-carousel-btn {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background: rgba(201, 162, 39, 0.85);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
    z-index: 10;
    transition: background 0.2s;
}

.beer-carousel-btn:hover { background: #c9a227; }
.beer-carousel-prev { left: 0; }
.beer-carousel-next { right: 0; }

@media (max-width: 768px) {
    .beer-carousel-item { flex: 0 0 calc((100% - 24px) / 2); }
    .beer-carousel { padding: 0 40px; }
    #our-beer video { min-height: 85vh; }
}

@media (max-width: 480px) {
    .beer-carousel-item { flex: 0 0 100%; }
    .beer-carousel { padding: 0 52px; }
}

@media (max-width: 767px) {
    .about-col-right {
        display: flex;
        flex-direction: column-reverse;
        margin-top: 30px;
    }
    .about-col-right > img.img-responsive {
        order: 1;
    }
}

/* ================================================
   ODSTĘP NASZE PIWA — O NAS — zmniejszony
   ================================================ */

#about .content { padding-bottom: 60px !important; }
#gallery .content { padding-top: 60px !important; }

/* ================================================
   KONTAKT — DANE KONTAKTOWE
   ================================================ */

.contact-info-block {
    padding-top: 40px;
    margin-bottom: 40px;
}

.contact-brewery-address,
.contact-brewery-email {
    font-size: 16px;
    color: #2a2a2a;
    margin-bottom: 6px;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-people-list {
    margin-top: 40px;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.contact-person {
    margin-bottom: 24px;
}

.contact-person-name,
.contact-brewery-name {
    font-weight: 700 !important;
    font-size: 20px;
    color: #1a1a1a;
    margin-bottom: 8px;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.contact-person-details {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.contact-person-data {
    color: #2a2a2a;
    font-size: 15px;
    text-transform: none;
}

@media (max-width: 576px) {
    .contact-people-list {
        text-align: center;
    }
    .contact-brewery-address,
    .contact-brewery-email {
        text-align: center;
    }
    .contact-person-details {
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }
}

.contact-form-heading {
    max-width: 600px;
    margin: 40px auto 0;
    font-weight: 700;
    font-size: 20px;
    color: #1a1a1a;
    text-transform: none;
    letter-spacing: 0;
    text-align: center;
}

.contact-social-icons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}

.contact-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 6px;
    background: #c9a227;
    color: #fff;
    font-size: 18px;
    transition: filter 0.2s, transform 0.2s;
    text-decoration: none;
}

.contact-social-icon:hover {
    color: #fff;
    text-decoration: none;
    filter: brightness(1.15);
    transform: translateY(-2px);
}

.contact-social-icon--facebook { background: #1877F2; }
.contact-social-icon--instagram { background: #E1306C; }

.contact-social-icon:has(.social-brand-icon) {
    background: transparent;
    border-radius: 0;
}

/* ================================================
   FOUNDER MODAL
   ================================================ */

.founder-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.88);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.founder-modal.active {
    display: flex;
}

.founder-modal-close {
    position: fixed;
    top: 15px;
    right: 20px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    z-index: 10000;
    line-height: 1;
    transition: transform 0.2s ease;
}

.founder-modal-close:hover { transform: scale(1.2); }

.founder-modal-inner {
    background: #faf8f4;
    border-radius: 10px;
    padding: 40px;
    max-width: 460px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.4);
}

.founder-modal-inner img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 3px solid #c9a227;
}

.founder-modal-inner h3 {
    font-size: 22px;
    color: #2a2a2a;
    margin-bottom: 16px;
    text-transform: none;
    letter-spacing: 0;
}

.founder-modal-inner p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    text-align: left;
    margin: 0;
}

/* Klikalne imiona założycieli */
.founder-link {
    color: #2a2a2a;
    font-weight: 700;
    border-bottom: 1px solid #2a2a2a;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
}

.founder-link:hover {
    color: #555;
    border-bottom-color: #555;
}
