@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Source+Serif+4:ital,wght@0,300;0,400;0,600;1,300&display=swap');

:root {
  --blue-dark:    #001833;
  --blue-mid:     #003080;
  --blue-main:    #0044aa;
  --blue-bright:  #0066ff;
  --blue-accent:  #007dfc;
  --silver:       #c8d4e8;
  --silver-light: #e8eef8;
  --white:        #f5f8ff;
  --text:         #0d1f3c;
  --text-muted:   #4a5f80;
  --border:       rgba(0,68,170,0.15);
  --grid-line:    rgba(0,68,170,0.06);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 300;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

/* ── GRID TEXTURE ─────────────────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* ── TYPOGRAPHY ───────────────────────────────────────────────── */
h1, h2, h3, h4, nav, .label, button, .btn {
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.02em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 700; line-height: 1.05; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 600; }
h3 { font-size: 1.3rem; font-weight: 600; }

p { line-height: 1.75; }

a { color: var(--blue-main); text-decoration: none; }
a:hover { color: var(--blue-bright); }

/* ── LAYOUT ───────────────────────────────────────────────────── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

section { padding: 80px 0; }

/* ── NAV ──────────────────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
}

#nav.scrolled {
  background: rgba(0,24,51,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,125,252,0.2);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo img {
  height: 40px;
  filter: drop-shadow(0 0 6px rgba(0,125,252,0.5));
}

.nav-logo span {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--silver);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--blue-accent);
  transform: scaleX(0);
  transition: transform 0.2s;
}

.nav-links a:hover { color: white; }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta {
  background: var(--blue-main);
  color: white !important;
  padding: 8px 20px;
  border: 1px solid var(--blue-accent);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s, border-color 0.2s !important;
}

.nav-cta:hover { background: var(--blue-bright) !important; }
.nav-cta::after { display: none !important; }

.nav-login {
  color: var(--blue-accent) !important;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s !important;
}
.nav-login:hover { color: white !important; }
.nav-login::after { display: none !important; }

/* hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: white;
  transition: all 0.3s;
}

/* ── JEŠTĚD SILHOUETA ─────────────────────────────────────────── */
.hero-jestedek {
  position: absolute;
  right: -1%;
  top: 50%;
  transform: translateY(-50%);
  width: 38%;
  height: auto;
  fill: rgba(0,68,170,0.055);
  pointer-events: none;
  z-index: 0;
}


/* ── HERO ─────────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  background: linear-gradient(160deg, #ffffff 0%, #eef4ff 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  padding-bottom: 80px;
}

/* Ještěd SVG silhoueta je vložena přímo v HTML */
#hero::before { content: none; }
#hero::after  { content: none; }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-main);
  margin-bottom: 24px;
}

.hero-label::before {
  content: '';
  display: block;
  width: 32px; height: 1px;
  background: var(--blue-main);
}

#hero h1 {
  color: var(--blue-dark);
  margin-bottom: 24px;
}

#hero h1 em {
  font-style: normal;
  color: var(--blue-main);
}

.hero-sub {
  color: var(--text-muted);
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 48px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 48px;
}

.btn-primary {
  display: inline-block;
  background: var(--blue-main);
  color: white;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: 1px solid var(--blue-accent);
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--blue-bright);
  transform: translateX(-100%);
  transition: transform 0.25s;
}

.btn-primary:hover { color: white; }
.btn-primary:hover::before { transform: translateX(0); }
.btn-primary span { position: relative; z-index: 1; }

.btn-ghost {
  display: inline-block;
  color: var(--blue-main);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: 1px solid rgba(0,68,170,0.3);
  transition: all 0.25s;
}

.btn-ghost:hover {
  color: var(--blue-dark);
  border-color: var(--blue-main);
  background: rgba(0,68,170,0.05);
}

.hero-stats {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 0;
  margin-top: 56px;
}

.stat {
  text-align: left;
  padding-right: 40px;
  margin-right: 40px;
  border-right: 1px solid var(--border);
}

.stat:last-child {
  border-right: none;
  padding-right: 0;
  margin-right: 0;
}

.stat-num {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--blue-main);
  line-height: 1;
}

.stat-label {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ── INTRO STRIP ──────────────────────────────────────────────── */
#intro {
  background: var(--blue-main);
  padding: 40px 0;
}

.intro-text {
  color: white;
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.7;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.intro-text strong {
  font-weight: 600;
  color: var(--silver-light);
}

/* ── SECTION HEADER ───────────────────────────────────────────── */
.section-header {
  margin-bottom: 56px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-main);
  margin-bottom: 12px;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px; height: 1px;
  background: var(--blue-main);
}

.section-header h2 { color: var(--blue-dark); }
.section-header p { color: var(--text-muted); margin-top: 12px; max-width: 600px; font-size: 1.05rem; }

/* ── SERVICES ─────────────────────────────────────────────────── */
#sluzby { background: var(--white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2px;
  background: var(--border);
}

.service-card {
  background: white;
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--blue-main);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s;
}

.service-card:hover::before { transform: scaleY(1); }
.service-card:hover { background: var(--silver-light); }

.service-icon {
  width: 48px; height: 48px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon svg {
  width: 40px; height: 40px;
  stroke: var(--blue-main);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  color: var(--blue-dark);
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.service-card ul {
  list-style: none;
  margin-top: 16px;
}

.service-card ul li {
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 5px 0;
  padding-left: 16px;
  position: relative;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.service-card ul li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--blue-accent);
  font-weight: 700;
}

/* ── ABOUT ────────────────────────────────────────────────────── */
#o-nas {
  background: var(--blue-dark);
  color: white;
  position: relative;
  overflow: hidden;
}

#o-nas::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,68,170,0.3) 0%, transparent 70%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text .section-label { color: var(--blue-accent); }
.about-text .section-label::before { background: var(--blue-accent); }
.about-text h2 { color: white; margin-bottom: 24px; }
.about-text p { color: var(--silver); line-height: 1.8; margin-bottom: 16px; }

.about-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: rgba(0,125,252,0.2);
  margin-top: 40px;
}

.fact {
  background: rgba(0,24,51,0.8);
  padding: 24px;
}

.fact-num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue-accent);
  display: block;
  line-height: 1;
}

.fact-desc {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--silver);
  margin-top: 4px;
  display: block;
}

.about-refs h3 {
  color: var(--silver);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 600;
}

.ref-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ref-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--silver);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  font-size: 1rem;
}

.ref-item::before {
  content: '';
  display: block;
  width: 6px; height: 6px;
  background: var(--blue-accent);
  flex-shrink: 0;
  transform: rotate(45deg);
}

/* ── CLOUD SECTION ────────────────────────────────────────────── */
#cloud {
  background: var(--silver-light);
  position: relative;
}

.cloud-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.cloud-modules {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.module-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: white;
  border-left: 3px solid var(--blue-main);
}

.module-tag {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--blue-main);
  letter-spacing: 0.05em;
  min-width: 48px;
}

.module-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.module-desc strong {
  display: block;
  color: var(--text);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 4px;
}

.cloud-features {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 8px;
}

.cloud-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.cloud-feature:last-child { border-bottom: none; }

.cloud-feature::before {
  content: '✓';
  color: var(--blue-main);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── CONTACT ──────────────────────────────────────────────────── */
#kontakt {
  background: var(--blue-dark);
  color: white;
  position: relative;
  overflow: hidden;
}

#kontakt::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue-accent), transparent);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contact-intro h2 { color: white; margin-bottom: 16px; }
.contact-intro p { color: var(--silver); line-height: 1.8; }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-item-icon {
  width: 40px; height: 40px;
  border: 1px solid rgba(0,125,252,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 18px; height: 18px;
  stroke: var(--blue-accent);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
}

.contact-item-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue-accent);
  display: block;
  margin-bottom: 2px;
}

.contact-item a, .contact-item span {
  color: var(--silver-light);
  font-size: 1rem;
}

.contact-item a:hover { color: white; }

.contact-form-area h3 {
  color: white;
  margin-bottom: 24px;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(0,125,252,0.2);
  color: white;
  font-family: 'Source Serif 4', serif;
  font-size: 0.95rem;
  padding: 12px 16px;
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue-accent);
  background: rgba(0,102,255,0.08);
}

.form-group textarea { height: 120px; resize: vertical; }

.form-submit {
  width: 100%;
  background: var(--blue-main);
  color: white;
  border: 1px solid var(--blue-accent);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 8px;
}

.form-submit:hover { background: var(--blue-bright); }

/* ── BANK ACCOUNTS ────────────────────────────────────────────── */
.bank-accounts-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  background: rgba(0,68,170,0.12);
  border: 1px solid rgba(0,125,252,0.2);
  border-left: 3px solid var(--blue-accent);
  margin-top: 8px;
}

.bank-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bank-currency {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  background: var(--blue-main);
  color: white;
  padding: 3px 8px;
  min-width: 40px;
  text-align: center;
  flex-shrink: 0;
}

.bank-currency--eur {
  background: rgba(0,125,252,0.5);
}

.bank-iban {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.9rem;
  color: var(--silver-light);
  letter-spacing: 0.05em;
  font-style: normal;
}

/* ── FOOTER ───────────────────────────────────────────────────── */
footer {
  background: #000d1a;
  padding: 32px 0;
  border-top: 1px solid rgba(0,125,252,0.1);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo img {
  height: 32px;
  opacity: 0.85;
  filter: drop-shadow(0 0 4px rgba(0,125,252,0.3));
}

.footer-logo-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.05em;
}

.footer-reg {
  color: rgba(74,95,128,0.7);
  font-size: 0.75rem;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.05em;
}

/* ── SCROLL REVEAL ────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 900px) {
  .about-grid,
  .cloud-layout,
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: rgba(0,24,51,0.98);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(0,125,252,0.2);
  }
  .services-grid { grid-template-columns: 1fr; }
  .about-facts { grid-template-columns: 1fr 1fr; }

  /* Stats – wrap do dvou řádků, menší mezery */
  .hero-stats {
    flex-wrap: wrap;
    gap: 0;
    margin-top: 40px;
  }
  .stat {
    padding-right: 24px;
    margin-right: 24px;
    margin-bottom: 16px;
  }
}

@media (max-width: 600px) {
  section { padding: 56px 0; }

  /* Tlačítka – celá šířka, pod sebou */
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-primary, .btn-ghost {
    text-align: center;
    width: 100%;
  }

  /* Stats – pod sebou, bez borderu */
  .hero-stats { flex-direction: column; gap: 16px; margin-top: 32px; }
  .stat {
    padding-right: 0;
    margin-right: 0;
    margin-bottom: 0;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
  }
  .stat:last-child { border-bottom: none; padding-bottom: 0; }
  .stat-num { font-size: 2rem; }
  /* Ještěd – na mobilu výkukuje zprava, špička viditelná */
  .hero-jestedek {
    right: -40%;
    top: 2%;
    width: 90%;
    transform: none;
  }
}
