/* TáboryIT.cz — implementace designu PythonTabor.dc.html */

*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:'Nunito Sans',system-ui,sans-serif;color:#213040;background:#FBFAF6;-webkit-font-smoothing:antialiased}
a{color:#2C6899;text-decoration:none}
a:hover{color:#1d4a6f}
h1,h2,h3,h4{font-family:'Baloo 2',system-ui,sans-serif;line-height:1.08;color:#173049}
::selection{background:#FFD43B;color:#173049}

@keyframes floaty{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
@keyframes blink{0%,49%{opacity:1}50%,100%{opacity:0}}

.page{max-width:100%;overflow-x:hidden}
.container{max-width:1160px;margin:0 auto;padding-left:24px;padding-right:24px}
.section{padding-top:78px;padding-bottom:78px}

/* Buttons */
.btn{display:inline-block;font-weight:800;border-radius:999px;text-align:center}
.btn-yellow{background:#FFD43B;color:#173049;box-shadow:0 4px 0 #d8ae1e}
.btn-yellow:hover{color:#173049;filter:brightness(1.04)}
.btn-nav{padding:10px 20px;font-size:15px}
.btn-lg{padding:15px 28px;font-size:17px}
.btn-lg.btn-yellow{box-shadow:0 5px 0 #d8ae1e}
.btn-ghost{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.25);color:#fff;padding:15px 26px}
.btn-ghost:hover{color:#fff;background:rgba(255,255,255,.14)}
.btn-block{display:block;padding:13px;font-size:16px}

/* Nav */
.site-header{position:sticky;top:0;z-index:50;background:rgba(251,250,246,.88);backdrop-filter:blur(10px);border-bottom:1px solid #ece7db}
.nav{max-width:1160px;margin:0 auto;padding:14px 24px;display:flex;align-items:center;gap:24px}
.brand{display:flex;align-items:center;gap:10px;font-family:'Baloo 2',system-ui,sans-serif;font-weight:800;font-size:20px;color:#173049}
.brand:hover{color:#173049}
.brand-mark{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#173049;color:#FFD43B;font-size:20px;transform:rotate(-6deg)}
.nav-links{margin-left:auto;display:flex;align-items:center;gap:26px;font-weight:700;font-size:15px}
.nav-links a{color:#3a4a5a}
.nav-links a:hover{color:#173049}

/* Hero */
.hero{position:relative;background:linear-gradient(180deg,#173049 0%,#1d3d5c 100%);color:#fff;overflow:hidden}
.hero-dots{position:absolute;inset:0;opacity:.5;background-image:radial-gradient(#2c5478 1.2px,transparent 1.2px);background-size:26px 26px}
.hero-inner{position:relative;max-width:1160px;margin:0 auto;padding:72px 24px 88px;display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:center}
.hero-badge{display:inline-flex;align-items:center;gap:8px;background:rgba(255,212,59,.16);color:#FFD43B;font-weight:800;font-size:13px;letter-spacing:.04em;text-transform:uppercase;padding:7px 14px;border-radius:999px;border:1px solid rgba(255,212,59,.35)}
.hero h1{font-size:58px;font-weight:800;margin:20px 0 18px;letter-spacing:-.01em;color:#fff}
.hero .accent{color:#FFD43B}
.hero-lead{font-size:20px;line-height:1.5;color:#c6d5e2;max-width:520px;font-weight:600}
.hero-ctas{display:flex;flex-wrap:wrap;gap:14px;margin-top:30px}
.hero-stats{display:flex;gap:28px;margin-top:36px;flex-wrap:wrap}
.stat-value{font-family:'Baloo 2',system-ui,sans-serif;font-weight:800;font-size:28px;color:#FFD43B}
.stat-label{font-size:14px;color:#9db2c4;font-weight:700}
.hero-visual{position:relative}
.code-window{animation:floaty 6s ease-in-out infinite;background:#0f2135;border:1px solid #2c4a68;border-radius:18px;box-shadow:0 30px 60px -20px rgba(0,0,0,.5);overflow:hidden}
.code-titlebar{display:flex;align-items:center;gap:8px;padding:12px 16px;background:#13273d;border-bottom:1px solid #24405c}
.dot{width:12px;height:12px;border-radius:50%}
.dot-red{background:#ff5f57}
.dot-yellow{background:#febc2e}
.dot-green{background:#28c840}
.code-filename{margin-left:8px;color:#6f8ba6;font-size:13px;font-family:ui-monospace,monospace}
.code-window pre{margin:0;padding:22px;font-family:ui-monospace,'SF Mono',monospace;font-size:15px;line-height:1.7;color:#dfe9f2}
.tok-kw{color:#c586c0}
.tok-fn{color:#dcdcaa}
.tok-var{color:#9cdcfe}
.tok-num{color:#b5cea8}
.tok-str{color:#ce9178}
.cursor{display:inline-block;width:9px;height:19px;background:#FFD43B;vertical-align:-3px;animation:blink 1.1s step-end infinite}
.hero-sticker{position:absolute;bottom:-22px;right:-14px;background:#FFD43B;color:#173049;font-family:'Baloo 2',system-ui,sans-serif;font-weight:800;padding:10px 18px;border-radius:14px;transform:rotate(-5deg);box-shadow:0 8px 20px -6px rgba(0,0,0,.4)}
.hero-curve{height:44px;background:#FBFAF6;border-radius:44px 44px 0 0;margin-bottom:-1px;position:relative}

/* Section headings */
.section-head{text-align:center;max-width:680px;margin:0 auto 52px}
.eyebrow{color:#2C6899;font-weight:800;text-transform:uppercase;letter-spacing:.08em;font-size:14px;margin-bottom:12px}
.eyebrow-yellow{color:#FFD43B}
.section-head h2{font-size:42px;font-weight:800;margin-bottom:16px}
.section-head p{font-size:18px;line-height:1.6;color:#5a6b7a;font-weight:600}
h2.on-dark{color:#fff}
.on-dark-muted{color:#b9cadb!important}

/* Features */
.features-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.feature-card{background:#fff;border:1px solid #ece7db;border-radius:18px;padding:26px 22px;box-shadow:0 2px 0 #ece7db}
.feature-icon{width:52px;height:52px;border-radius:14px;display:grid;place-items:center;font-size:26px;background:#FFF4CE;margin-bottom:16px}
.feature-card h3{font-size:20px;font-weight:700;margin-bottom:8px}
.feature-card p{font-size:15px;line-height:1.55;color:#66788a;font-weight:600}

/* Program */
.section-dark{background:#173049;color:#fff;padding:80px 0}
.days-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}
.day-card{background:#1e3d5c;border:1px solid #2c4a68;border-radius:16px;padding:22px 18px;display:flex;flex-direction:column;gap:12px;min-height:210px}
.day-pill{font-family:'Baloo 2',system-ui,sans-serif;font-weight:800;font-size:14px;color:#173049;background:#FFD43B;align-self:flex-start;padding:3px 12px;border-radius:999px}
.day-card h3{font-size:20px;color:#fff;font-weight:700}
.day-card p{font-size:14px;line-height:1.5;color:#a9bccf;font-weight:600;margin-top:auto}

/* Termíny */
.terms-wrap{display:flex;justify-content:center}
.term-card{position:relative;background:#fff;border:2px solid #FFD43B;border-radius:22px;padding:34px 32px;width:440px;max-width:100%;box-shadow:0 8px 24px -14px rgba(23,48,73,.25)}
.term-month{font-weight:800;color:#2C6899;font-size:15px}
.term-card h3{font-size:26px;font-weight:800;margin:4px 0 2px}
.term-theme{font-size:15px;color:#66788a;font-weight:700;margin-bottom:18px}
.term-price-row{display:flex;align-items:baseline;gap:8px;margin-bottom:6px}
.term-price{font-family:'Baloo 2',system-ui,sans-serif;font-weight:800;font-size:38px;color:#173049}
.term-per{color:#8a9aab;font-weight:700}
.term-spots{font-size:14px;font-weight:700;color:#c8791b;margin-bottom:20px}
.earlybird{margin-top:26px;background:#FFF4CE;border:1px dashed #e2bd2e;border-radius:16px;padding:18px 24px;display:flex;align-items:center;gap:14px;justify-content:center;flex-wrap:wrap}
.earlybird-icon{font-size:24px}
.earlybird span:last-child{font-weight:700;font-size:16px;color:#7a5f0a}

/* Lektoři */
.section-sand{background:#F4F0E6;padding:78px 0}
.teachers-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.teacher-card{background:#fff;border:1px solid #e6dfcd;border-radius:20px;overflow:hidden;box-shadow:0 2px 0 #e6dfcd}
.teacher-photo{aspect-ratio:4/3;background-color:#e9e2cf;background-image:repeating-linear-gradient(45deg,#e2dabf 0 12px,#ece5d4 12px 24px);display:grid;place-items:center}
.teacher-photo span{font-family:ui-monospace,monospace;font-size:12px;color:#a99f83;background:#fff;padding:5px 10px;border-radius:8px}
.teacher-body{padding:22px}
.teacher-body h3{font-size:21px;font-weight:700}
.teacher-role{color:#2C6899;font-weight:800;font-size:14px;margin:2px 0 10px}
.teacher-body p{font-size:15px;line-height:1.55;color:#66788a;font-weight:600}

/* FAQ */
.faq-container{max-width:820px;margin:0 auto;padding-left:24px;padding-right:24px}
.faq-container .section-head{margin-bottom:44px}
.faq-list{display:flex;flex-direction:column;gap:12px}
.faq-item{background:#fff;border:1px solid #ece7db;border-radius:16px;overflow:hidden}
.faq-toggle{width:100%;text-align:left;background:none;border:none;cursor:pointer;padding:20px 22px;display:flex;align-items:center;gap:16px;font-family:'Baloo 2',system-ui,sans-serif;font-weight:700;font-size:18px;color:#173049}
.faq-q{flex:1}
.faq-plus{font-size:24px;color:#2C6899;transform:rotate(0deg);transition:transform .2s;line-height:1}
.faq-item.open .faq-plus{transform:rotate(45deg)}
.faq-answer{display:none;padding:0 22px 22px;font-size:16px;line-height:1.6;color:#5a6b7a;font-weight:600}
.faq-item.open .faq-answer{display:block}

/* Přihláška */
.signup-grid{display:grid;grid-template-columns:1fr 1.05fr;gap:52px;align-items:start;padding-top:0;padding-bottom:0}
.section-dark .signup-info{color:#fff}
.signup-info h2{font-size:42px;font-weight:800;color:#fff;margin-bottom:18px}
.signup-lead{font-size:18px;line-height:1.6;font-weight:600;margin-bottom:32px}
.contact-rows{display:flex;flex-direction:column;gap:18px}
.contact-row{display:flex;align-items:center;gap:14px}
.contact-icon{width:44px;height:44px;border-radius:12px;background:#1e3d5c;display:grid;place-items:center;font-size:20px;flex-shrink:0}
.contact-label{font-weight:800;color:#fff}
.contact-value{color:#a9bccf;font-weight:600}
.contact-link{color:#FFD43B;font-weight:700}
.contact-link:hover{color:#ffe27a}
.signup-form{background:#fff;border-radius:22px;padding:30px;display:grid;grid-template-columns:1fr 1fr;gap:16px}
.signup-form label{display:flex;flex-direction:column;gap:6px}
.signup-form .span-2{grid-column:1/3}
.signup-form label span{font-weight:800;font-size:14px;color:#173049}
.signup-form input,.signup-form select{padding:13px 15px;border:1px solid #d9d2c2;border-radius:12px;font-family:inherit;font-size:15px;font-weight:600;background:#FBFAF6}
.signup-form input:focus,.signup-form select:focus{outline:2px solid #FFD43B;outline-offset:1px}
.submit-btn{grid-column:1/3;margin-top:4px;background:#FFD43B;color:#173049;font-family:'Baloo 2',system-ui,sans-serif;font-weight:800;font-size:18px;padding:15px;border:none;border-radius:999px;cursor:pointer;box-shadow:0 5px 0 #d8ae1e}
.submit-btn:hover{filter:brightness(1.04)}
.form-note{grid-column:1/3;text-align:center;font-size:13px;color:#8a9aab;font-weight:600;margin-top:2px}

/* Footer */
.site-footer{background:#0f2135;color:#8ba0b5;padding:44px 24px}
.footer-top{max-width:1160px;margin:0 auto;display:flex;flex-wrap:wrap;gap:28px;justify-content:space-between;border-bottom:1px solid #1c3247;padding-bottom:26px;margin-bottom:20px}
.footer-brand{display:flex;align-items:center;gap:10px;font-family:'Baloo 2',system-ui,sans-serif;font-weight:800;font-size:18px;color:#fff;margin-bottom:12px}
.footer-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#FFD43B;color:#173049;transform:rotate(-6deg)}
.footer-info{font-weight:600;font-size:14px;line-height:1.7}
.footer-info a{color:#FFD43B}
.footer-company{font-size:13px;line-height:1.75;font-weight:600;max-width:420px}
.footer-company-name{color:#c3d2e0;font-weight:800;margin-bottom:5px}
.footer-bottom{max-width:1160px;margin:0 auto;font-weight:600;font-size:13px}

/* Responsive */
@media (max-width:1020px){
  .features-grid{grid-template-columns:repeat(2,1fr)}
  .days-grid{grid-template-columns:repeat(3,1fr)}
  .day-card{min-height:0}
  .hero h1{font-size:48px}
}
@media (max-width:880px){
  .nav-links{display:none}
  .hero-inner{grid-template-columns:1fr;padding-top:56px;padding-bottom:72px}
  .hero-visual{max-width:520px}
  .signup-grid{grid-template-columns:1fr;gap:40px}
  .teachers-grid{grid-template-columns:repeat(2,1fr)}
  .section-head h2,.signup-info h2{font-size:36px}
}
@media (max-width:640px){
  .hero h1{font-size:38px}
  .hero-lead{font-size:18px}
  .features-grid,.days-grid,.teachers-grid{grid-template-columns:1fr}
  .section{padding-top:56px;padding-bottom:56px}
  .section-dark,.section-sand{padding-top:56px;padding-bottom:56px}
  .signup-form{grid-template-columns:1fr;padding:22px}
  .signup-form .span-2,.submit-btn,.form-note{grid-column:1/2}
  .term-card{padding:28px 22px}
  .hero-sticker{right:0;bottom:-18px}
  .btn-nav{padding:9px 16px;font-size:14px}
  .brand{font-size:18px}
}
