/* Uwielbiam Angielski — LIGHT VERSION */

:root{
  --bg:#ffffff;
  --card:#ffffffee;
  --stroke:#00000014;
  --text:#111111;
  --muted:#444444;
  --blue:#2f6bff;
  --red:#ff2f47;
  --shadow: 0 12px 30px rgba(0,0,0,.08);
  --radius:22px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color:var(--text);
  background:
    radial-gradient(700px 300px at 20% 10%, #2f6bff22, transparent 60%),
    radial-gradient(700px 300px at 80% 20%, #ff2f4720, transparent 60%),
    #ffffff;
  min-height:100vh;
}

.container{
  width:min(1080px, calc(100% - 40px));
  margin:0 auto;
}

.topbar{
  position:sticky;
  top:0;
  z-index:50;
  background:#ffffffdd;
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--stroke);
}
.topbar__inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:14px 0;
}

.brand-mini__text{
  font-weight:700;
  color:#000;
}

.nav{ display:flex; gap:16px; }
.nav__link{
  color:#000;
  text-decoration:none;
  font-weight:600;
}

.hero{
  padding:50px 0 30px;
  text-align:center;
}

.logo{
  width:min(720px,92vw);
  display:block;
  margin:0 auto 20px;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.12));
}

.lead{
  max-width:860px;
  margin:0 auto;
  font-size:18px;
  line-height:1.6;
}

.section{ padding:30px 0; }
.section__title{
  font-size:24px;
  margin-bottom:16px;
}

.card{
  background:var(--card);
  border:1px solid var(--stroke);
  border-radius:var(--radius);
  padding:24px;
  box-shadow:var(--shadow);
}

.grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}

.info{
  border:1px solid var(--stroke);
  border-radius:16px;
  padding:14px;
  background:#fff;
}

.tiles{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}

.tile{
  border:1px solid var(--stroke);
  border-radius:var(--radius);
  padding:18px;
  background:#fff;
  box-shadow:var(--shadow);
}

.tile__title{ margin:0 0 8px; }

.schedule{
  margin-top:14px;
  border:1px solid var(--stroke);
  border-radius:var(--radius);
  overflow:hidden;
}
.schedule__row{
  display:flex;
  justify-content:space-between;
  padding:12px 14px;
  border-top:1px solid var(--stroke);
}
.schedule__row:first-child{ border-top:none; }

.contact{
  background:#fff;
  border:1px solid var(--stroke);
  border-radius:var(--radius);
  padding:24px;
  box-shadow:var(--shadow);
}

.contact__grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:12px;
}

.contact__item{
  display:flex;
  gap:12px;
  align-items:center;
  text-decoration:none;
  color:#000;
  border:1px solid var(--stroke);
  border-radius:14px;
  padding:14px;
  background:#fff;
}

.footer-note{
  margin-top:14px;
  font-size:13px;
  color:#555;
}

@media (max-width:920px){
  .grid{ grid-template-columns:1fr; }
  .tiles{ grid-template-columns:1fr; }
  .contact__grid{ grid-template-columns:1fr; }
}

/* Hamburger domyślnie ukryty na desktop */
.hamburger {
  display: none;
  border: 0;
  background: transparent;
  padding: 10px;
  cursor: pointer;
  line-height: 0;
}

/* Trzy kreski */
.hamburger__bar {
  display: block;
  width: 26px;
  height: 2px;
  margin: 6px 0;
  background: #111;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Mobile: pokazujemy hamburger i chowamy menu dopóki nie otwarte */
@media (max-width: 768px) {
  .hamburger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Upewnij się, że topbar__inner układa elementy w linii */
  .topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  /* Menu jako panel (dropdown) */
  .nav {
    position: absolute;
    top: 100%;
    right: 16px;
    left: 16px;
    display: none;               /* zamknięte */
    flex-direction: column;
    gap: 10px;
    padding: 14px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    z-index: 1000;
  }

  /* Gdy otwarte */
  .nav.is-open {
    display: flex;
  }

  /* Linki większe pod palec */
  .nav__link {
    padding: 10px 8px;
    display: block;
  }

  /* Żeby panel miał punkt odniesienia */
  .topbar {
    position: relative;
  }
}

/* Animacja hamburgera w "X" gdy otwarte */
.hamburger.is-open .hamburger__bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.is-open .hamburger__bar:nth-child(2) {
  opacity: 0;
}
.hamburger.is-open .hamburger__bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}