/* ========== RESET ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root{
  --bg: #0b0b0f;
  --text: #e8e8e8;
  --muted: #b8b8b8;

  --card: rgba(30, 30, 30, 0.82);
  --card-2: rgba(40, 40, 40, 0.72);
  --border: rgba(255, 255, 255, 0.10);

  --accent: #ff0000;
  --accent-2: #cc0000;

  --shadow: 0 10px 30px rgba(0,0,0,0.35);
  --radius: 14px;
}

html, body {
  height: 100%;
  overflow-x: hidden;
}

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;

  /* Uwaga: jeśli możesz, zmień nazwy plików bez polskich znaków */
  background-image: url("glowne-tlo.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}

/* focus (pro) */
:focus-visible{
  outline: 3px solid rgba(255,0,0,0.75);
  outline-offset: 3px;
  border-radius: 10px;
}

/* dostępność */
.skip-link{
  position: absolute;
  left: -999px;
  top: 10px;
  background: #fff;
  color: #000;
  padding: 10px 12px;
  border-radius: 10px;
  z-index: 9999;
}
.skip-link:focus{ left: 10px; }

/* ========== NAVBAR ========== */
.navbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;

  height: 88px;
  display: flex;
  align-items: center;

  background-color: rgba(14, 14, 18, 0.78);
  backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.navbar-container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 48px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.navbar-logo {
  color: white;
  font-weight: 800;
  letter-spacing: 0.3px;
  font-size: 1.5rem;
  flex: 0 0 auto;
}

.navbar-menu {
  margin-left: auto;
}

.navbar-menu ul {
  list-style: none;
  display: flex;
  gap: 0.6rem;
  align-items: center;
  justify-content: flex-end;
}

@media (max-width: 768px) {
  .navbar-container {
    padding: 0 16px;
  }
}

.navbar-menu a {
  text-decoration: none;
  color: white;
  font-weight: 650;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  border: 1px solid transparent;
}

.navbar-menu a:hover {
  color: var(--accent);
  background: rgba(255,255,255,0.06);
}

.navbar-menu a.active{
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.10);
}

/* ========== MAIN WRAP ========== */
main {
  width: min(1100px, calc(100% - 32px));
  margin: 110px auto 2.5rem auto;
  flex-grow: 1;
}

/* ========== HERO ========== */
.hero-section {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("glowne-tlo-2.png");
  background-size: cover;
  background-position: center;

  border: none;
  box-shadow: none;
  border-radius: 0;
}


.hero-content{
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);

  width: 100%;
  max-width: 1100px;
  margin: 0 auto;

  padding: 4rem 3rem;

  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.08);

  text-align: center;
}

.hero-kicker{
  color: rgba(255,255,255,0.85);
  font-weight: 800;
  letter-spacing: 0.35px;
  margin-bottom: 0.7rem;
}

.hero-content h1 {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  line-height: 1.05;
  margin-bottom: 1.4rem;
}

.hero-subtitle{
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  max-width: 850px;
  margin: 0 auto 2rem auto;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.hero-badges{
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}

.badge{
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.92);
  font-weight: 650;
  font-size: 0.95rem;
}

/* ========== BUTTONS ========== */
.btn {
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
}

.btn:active { transform: translateY(1px); }

.primary-btn {
  background-color: var(--accent-2);
  color: #ffffff;
  border-color: var(--accent);
}

.primary-btn:hover {
  background-color: var(--accent);
  box-shadow: 0 0 18px rgba(255, 0, 0, 0.45);
}

.secondary-btn {
  background-color: rgba(0,0,0,0.25);
  border-color: rgba(255,255,255,0.20);
  color: #ffffff;
}

.secondary-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 18px rgba(255, 0, 0, 0.25);
}

#btn-zapis{
  padding: 1rem 1.4rem;
  font-size: 1.05rem;
}

/* ========== TILES ========== */
.tiles-section {
  padding: 0;
  margin-top: 15px;
}

.tiles-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.tile {
  background: var(--card);
  color: #f5f5f5;
  text-align: left;
  padding: 1.6rem;
  border-radius: var(--radius);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.2s ease;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.tile:hover {
  transform: translateY(-3px);
  background: rgba(45, 45, 45, 0.85);
  border-color: rgba(255,255,255,0.16);
}

.tile-icon { font-size: 2.1rem; }
.tile h2 { font-size: 1.25rem; color: #ffffff; }
.tile p { font-size: 1rem; color: #cccccc; }

/* ========== SECTION CARDS ========== */
.section-card{
  margin-top: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.75rem;
}

.section-card h2{
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.muted{ color: var(--muted); margin-top: 0.8rem; }

.grid-3{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.mini-card{
  background: var(--card-2);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 1rem;
}

.mini-card h3{ font-size: 1.05rem; margin-bottom: 0.5rem; }
.mini-card p{ color: #d0d0d0; }

.testimonials blockquote{ color: #f1f1f1; }
.testimonials figcaption{ margin-top: 0.6rem; color: var(--muted); }

/* Krótko o mnie */
.short-about-container{
  background: rgba(0,0,0,0.15);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 1.1rem;
}
.expandable p + p { margin-top: 0.75rem; }

/* ========== CONTACT ========== */
.contact-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.contact-card{
  text-decoration: none;
  color: #f5f5f5;
  background: rgba(10,10,10,0.20);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.2s ease;
}

.contact-card:hover{
  transform: translateY(-2px);
  background: rgba(10,10,10,0.30);
  border-color: rgba(255,255,255,0.16);
}
.contact-card span{ color: #cccccc; }

.contact-actions{
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

/* ========== RULES ========== */
.rules-list{ padding-left: 1.1rem; color: #d6d6d6; }
.rules-list li{ margin: 0.45rem 0; }

/* ========== FOOTER ========== */
.footer {
  background-color: rgba(14, 14, 18, 0.9);
  color: white;
  padding: 2rem 1rem 1rem 1rem;
  font-size: 1rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  max-width: 1200px;
  margin: 0 auto 1rem auto;
  justify-content: space-between;
}

.footer-contact,
.footer-socials,
.footer-location,
.footer-menu { flex: 1 1 200px; }

.footer h3 {
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
  border-bottom: 2px solid var(--accent-2);
  padding-bottom: 0.2rem;
  font-weight: 900;
}

.footer a {
  color: white;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer a:hover { color: var(--accent); }

.footer-menu ul { list-style: none; padding: 0; }
.footer-menu ul li { margin-bottom: 0.5rem; }

.footer-copy {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1rem;
  font-size: 0.9rem;
  color: #aaa;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 980px){
  .tiles-container, .grid-3, .contact-grid{ grid-template-columns: 1fr; }

  .navbar-menu ul{
    gap: 0.25rem;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .navbar-menu a{ padding: 0.45rem 0.6rem; }
  main{ margin-top: 105px; }
  .hero-section{ min-height: 58vh; }
}

@media (prefers-reduced-motion: reduce){
  * { scroll-behavior: auto !important; }
  .btn, .tile, .contact-card, .navbar-menu a { transition: none !important; }
}

body {
  background-image: url("głównatło.png");
}

/* ===== ALERT OVERLAY ===== */
.site-alert {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.site-alert-box {
  background: rgba(20,20,20,0.95);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 2.5rem;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 0 40px rgba(255,0,0,0.25);
}

.site-alert-box h2 {
  margin-bottom: 1rem;
  font-size: 1.6rem;
}

.site-alert-box p {
  margin-bottom: 1.8rem;
  color: #ccc;
}

.hero-rating {
  margin-top: 1.5rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255,255,255,0.10);
}

.rating-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
  font-size: 1.05rem;
  font-weight: 700;
  flex-wrap: wrap;
  text-align: center;
}

.rating-stars {
  color: #FFD700;
  font-size: 1.35rem;
  letter-spacing: 2px;
}

.rating-score {
  font-size: 1.2rem;
  color: #ffffff;
}

.rating-source {
  color: #d0d0d0;
}

.rating-breakdown {
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  color: #d0d0d0;
  font-weight: 600;
  text-align: center;
  font-size: 0.95rem;
}
.contact-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;

  margin-top: 1.2rem;
}

.contact-cta-text h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.contact-cta-text p {
  color: #cccccc;
}

.contact-cta-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.contact-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;

  padding: 0.7rem 1rem;
  border-radius: 999px;

  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);

  color: #ffffff;
  text-decoration: none;
  font-weight: 700;

  transition: transform 0.18s ease, background 0.18s ease;
}

.contact-cta-btn:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.10);
}

.contact-icon {
  font-size: 1rem;
}
@media (max-width: 700px){

.contact-cta{
grid-template-columns: 1fr;
text-align:center;
}

.contact-cta-actions{
justify-content:center;
}

}

.lessons-main {
  width: min(900px, calc(100% - 32px));
}

.lessons-intro {
  margin-bottom: 2rem;
  padding: 0.5rem 0 1rem 0;
}

.lessons-kicker {
  color: rgba(255,255,255,0.72);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

.lessons-intro h1 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.08;
  margin-bottom: 1rem;
}

.lessons-lead {
  max-width: 760px;
  font-size: 1.12rem;
  color: rgba(255,255,255,0.88);
}

.lessons-section {
  padding: 1.6rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.lessons-section:first-of-type {
  border-top: none;
}

.lessons-section-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.lessons-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 48px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
}

.lessons-section h2 {
  font-size: 1.5rem;
  line-height: 1.2;
}

.lessons-text {
  max-width: 760px;
}

.lessons-text p {
  color: #d4d4d4;
  margin-bottom: 1rem;
}

.lessons-text p:last-child {
  margin-bottom: 0;
}

.lessons-skills {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.lessons-skill {
  padding: 0.95rem 1rem;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: #e8e8e8;
  font-weight: 600;
}

.lessons-cta {
  margin-top: 2rem;
  padding: 1.6rem;
  border-radius: 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}

.lessons-cta h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.lessons-cta p {
  color: #d0d0d0;
  margin-bottom: 1.2rem;
}

.lessons-cta-actions {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

@media (max-width: 700px) {
  .lessons-section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }

  .lessons-skills {
    grid-template-columns: 1fr;
  }

  .lessons-cta {
    padding: 1.25rem;
  }
}

/* ===== CONTACT HERO ===== */

.contact-main{
width:min(1100px,calc(100% - 32px));
margin:110px auto 2rem auto;
}

.contact-hero{
margin-bottom:1rem;
}

.contact-hero-inner{
background:rgba(0,0,0,0.55);
border:1px solid rgba(255,255,255,0.10);
border-radius:18px;
padding:2.8rem 2.4rem;
box-shadow:var(--shadow);
text-align:center;
}

.contact-kicker{
color:#ddd;
font-weight:800;
letter-spacing:0.05em;
margin-bottom:0.6rem;
}

.contact-hero-inner h1{
font-size:clamp(2.2rem,4vw,3.4rem);
margin-bottom:1rem;
}

.contact-lead{
max-width:720px;
margin:0 auto;
color:#d4d4d4;
font-size:1.08rem;
}

/* ===== BIG CONTACT CARDS ===== */

.contact-grid-big{
display:grid;
grid-template-columns:repeat(2,minmax(0,1fr));
gap:1rem;
margin-top:1rem;
}

.contact-card-big{
background:rgba(30,30,30,0.82);
border:1px solid rgba(255,255,255,0.10);
border-radius:16px;
padding:2rem;
text-decoration:none;
color:#fff;
transition:transform .18s ease,background .18s ease,border-color .2s ease;
box-shadow:var(--shadow);
}

.contact-card-big:hover{
transform:translateY(-3px);
background:rgba(45,45,45,0.88);
border-color:rgba(255,255,255,0.18);
}

.contact-big-title{
font-size:1.1rem;
color:#ccc;
margin-bottom:0.3rem;
}

.contact-big-value{
font-size:1.6rem;
font-weight:900;
margin-bottom:0.5rem;
}

.contact-big-desc{
color:#cfcfcf;
}

@media(max-width:900px){
.contact-grid-big{
grid-template-columns:1fr;
}
}