/* css styly */

/* preddefinovane farby */
:root{
  --bg: #ffffff;
  --surface: #f7f9fc;
  --surface-2:#eef3fb;
  --text:#0f172a;
  --muted:#475569;
  --brand:#2563eb;
  --brand-600:#1d4ed8;
  --border:#e2e8f0;
  --ring:#93c5fd;
  --shadow: 0 10px 30px rgba(2, 8, 23, 0.06);
  --radius: 16px;
}

*{box-sizing:border-box}


html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, "Helvetica Neue", Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background:var(--bg);
  line-height:1.6;
}

a{color:var(--brand); text-decoration: none}
a:hover{text-decoration: underline}

.container{
  width:min(1100px, 92%);
  margin-inline:auto;
}

.header{
  position:sticky; top:0; z-index:50;
  backdrop-filter:saturate(180%) blur(10px);
  background:rgba(255,255,255,0.8);
  border-bottom:1px solid var(--border);
}

.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
}

.brand{
  display:flex; align-items:center; gap:12px;
  font-weight:700; letter-spacing:.3px;
}

.logo{
  width:40px; height:40px; border-radius:10px;
  background:linear-gradient(135deg, var(--brand), var(--surface-2));
  box-shadow: var(--shadow);
}

.navlinks{
  display:flex; gap:8px; flex-wrap:wrap;
}

.navlinks a{
  padding:10px 14px; border-radius:10px; font-weight:600;
  color:var(--muted);
  border:1px solid transparent;
}

.navlinks a:hover{background:var(--surface)}
.navlinks a.active{
  color:var(--brand-600);
  background:var(--surface-2);
  border:1px solid var(--border);
}
/* zaciatok */
.hero{
  padding:48px 0 24px;
}

.hero h1{
  font-size: clamp(22px, 3vw, 36px);
  line-height:1.2;
  letter-spacing:.2px;
  margin:0 0 14px;
  text-wrap:balance;
}

.hero p{
  color:var(--muted);
  margin:0;
}

.section{
  margin:24px auto 48px;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.section .content{
  padding:28px;
}
/* grid na karticky */
.grid{
  display:grid;
  gap:24px;
}

.grid-2{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 800px){
  .grid-2{grid-template-columns:1fr}
}

.card{
  background:var(--bg);
  border:1px solid var(--border);
  border-radius:14px;
  padding:22px;
  height:100%;
}

.card h3{
  margin:0 0 10px; font-size:18px;
}

.figure{
  display:flex; flex-direction:column; align-items:center; gap:12px;
}

.figure img{
  width:100%; height:auto; border-radius:12px; border:1px solid var(--border);
}

.centered{
  text-align:center;
}

.lead{
  font-size: 18px;
  color:var(--muted);
}

.footer{
  padding:28px 0; border-top:1px solid var(--border); color:var(--muted); font-size:14px;
}

 
.table-wrap{
  overflow:auto; border:1px solid var(--border);
  border-radius:12px; background:var(--bg);
}

table{
  width:100%;
  border-collapse:collapse;
  font-size:14px;
}

caption{
  caption-side: top;
  font-weight:700;
  color:var(--brand-600);
  padding:16px;
}

thead th{
  background:var(--surface-2);
}

th, td{
  padding:10px 12px; border-bottom:1px solid var(--border); text-align:center;
}

tbody tr:hover{background:var(--surface)}

.badge{
  display:inline-block; padding:2px 8px; border-radius:999px; background:var(--surface-2); border:1px solid var(--border); font-size:12px;
}

 
img.responsive{max-width:100%; height:auto;}

 


 
.hero-grid{grid-template-columns: 1.15fr .85fr; align-items:center}
@media (max-width: 900px){ .hero-grid{grid-template-columns:1fr} }

.balance{text-wrap:balance}


.max-520{max-width:520px}



.list{margin:0; padding-left:18px}
.list li{margin:6px 0}
.muted{color:var(--muted)}



.icon{width:24px;height:24px;stroke:var(--brand);stroke-width:2;fill:none;display:inline-block;margin-right:8px;vertical-align:-4px}
h1 > span > .icon, h2 > span > .icon, h3 > span > .icon{margin-right:8px}
h2, h3 { display: flex; align-items: center; gap: 8px; }



.link-card{ display:block; text-decoration:none; transition: transform .12s ease, box-shadow .12s ease; }
.link-card:hover{ transform: translateY(-2px); box-shadow: var(--shadow); }
.link-card h3{ margin:0 0 6px; }

