/* Base */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', sans-serif; color: #222; line-height: 1.6; background: #fafafa; }
a { color: inherit; text-decoration: none; }

/* Header */
header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 2rem; background: #fff; position: sticky; top: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05); z-index: 2;
}
header img { height: 48px; width: auto; }
nav a { margin-left: 1rem; font-weight: 500; transition: color .3s; }
nav a:hover { color: #555; }

/* Sections */
section { padding: 4rem 2rem; max-width: 1200px; margin: 0 auto; }
h2 { font-size: 2rem; margin-bottom: 1.5rem; font-weight: 600; }

/* Festival highlight */
.festival-highlight {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: center;
    background: #fff;
    border-radius: 16px;
    padding: 3rem 2.5rem;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.festival-highlight__content p {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.festival-highlight__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.festival-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.75rem;
    border-radius: 999px;
    font-weight: 600;
    background: #111;
    color: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.festival-button:hover,
.festival-button:focus {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(17, 17, 17, 0.2);
}

.festival-button--ghost {
    background: transparent;
    color: #111;
    border: 2px solid #111;
}

.festival-button--ghost:hover,
.festival-button--ghost:focus {
    color: #fff;
    background: #111;
}

/* Bio cards */
.bio-card { display: flex; flex-wrap: wrap; gap: 2rem; margin-bottom: 3rem; align-items: center; }
.bio-card img { width: 220px; height: auto; border-radius: 8px; flex-shrink: 0; }
.bio-text { flex: 1; min-width: 280px; }
.bio-text h3 { font-size: 1.5rem; margin-bottom: .5rem; font-weight: 600; display: flex; align-items: center; gap: .5rem; }
.role-badge { background: #222; color: #fff; font-size: 0.75rem; padding: 0.25rem 0.5rem; border-radius: 4px; }
.bio-email { font-size: 0.85rem; color: #555; }
.bio-email a { color: inherit; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px,1fr)); gap: 1rem; }
.gallery img { width: 100%; height: 100%; border-radius: 4px; object-fit: cover; transition: transform .3s ease; }
.gallery img:hover { transform: scale(1.03); }

/* Vision & Mission */
#wizja-misja h2 { margin-top: 0; }
#wizja-misja h3 { font-size: 1.75rem; margin-top: 1rem; }
#wizja-misja p { margin-bottom: 1.5rem; }
#wizja-misja ol { list-style: decimal inside; margin-bottom: 1.5rem; }

/* Footer */
footer { background: #111; color: #eee; text-align: center; padding: 2rem; font-size: 0.9rem; }

/* Responsive */
@media(max-width:600px) {
  header { flex-direction: column; }
  .bio-card { flex-direction: column; align-items: flex-start; }
  .bio-card img { width: 100%; max-width: 320px; }
}

/* Mini-galeria pod każdym bio */
.mini-gallery{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(160px,1fr));
  gap:0.5rem;
  margin-top:1rem;
}
.mini-gallery img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:4px;
}
/* ——— Scroll offset dla kotwic ——— */
html {
  scroll-padding-top: 90px;   /* 90 px ≈ wysokość headera */
  scroll-behavior: smooth;    /* płynne przewijanie (opcjonalnie) */
}
