/* ======== RESET STRUKTURY ======== */
html, body {
    margin: 0;
    padding: 0;
}

body.site {
    margin: 0;
    padding: 0;
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: 'Saira', sans-serif;
    line-height: 1.6;
}

/* ======== HERO ======== */
.hero {
    width: 100%;
    height: 380px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0;
    padding: 0;
    border-bottom: 4px solid var(--orange);
}

.hero-content {
    max-width: 800px;
    z-index: 2;
}

.logo {
    max-width: 400px;
    height: auto;
    margin-bottom: 15px;
    filter: drop-shadow(0px 4px 10px rgba(0,0,0,0.5));
}

.hero p {
    font-size: 1.2rem;
    color: var(--blue);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ======== KARTA GŁÓWNA ======== */
.container {
    max-width: 900px;
    margin: -40px auto 40px auto;
    padding: 0 20px;
}

.card {
    background-color: var(--card-bg);
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* ======== DATA WYDARZENIA ======== */
.event-date-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: transparent;
    border: 2px solid var(--orange);
    border-radius: 50px;
    padding: 10px 28px;
    margin: 0 auto 35px auto;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

.event-date-box i {
    font-size: 1.4rem;
    color: var(--orange);
}

/* ======== PRZYCISKI ======== */
.button-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap; /* nie zawija przycisków */
    margin-bottom: 40px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 220px; /* stała szerokość dla równego układu */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn i {
    font-size: 1.2rem;
    margin-right: 8px;
}

.btn-fb { background-color: var(--blue); color: #fff; }
.btn-pdf { background-color: var(--green); color: #fff; }
.btn-map { background-color: var(--orange); color: #fff; }

.btn:hover {
    transform: translateY(-3px);
}

/* ======== KONTAKT ======== */
.contact-section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-top: 10px;
    text-align: center;
}

.contact-section h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--orange);
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.contact-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.contact-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-weight: 600;
}

.contact-item i {
    font-size: 1.2rem;
    color: var(--green);
}

.contact-item a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
}

/* ======== STOPKA ======== */
footer {
    margin-top: auto;
    text-align: center;
    padding: 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Ograniczenie obrazków w artykułach */
.container-component img,
.item-image img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Dodatkowo zabezpieczenie dla figure */
.container-component figure,
.item-image {
    max-width: 100%;
    overflow: hidden;
}

/* Ukryj komponent na stronie głównej */
.hide_comp {
    display: none;
}

/* ======== RESPONSYWNOŚĆ ======== */
@media (max-width: 768px) {
    .hero {
        height: 260px;
    }
    .logo {
        max-width: 260px;
    }
        .button-group {
        flex-wrap: wrap; /* na telefonach przyciski mogą się zawijać */
    }
    .btn {
        width: 100%;
        max-width: 300px;
    }
}


