/* Radovan Gaura – jednostránkový web */

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #eff6ff;
  --text: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;
  --bg-alt: #f9fafb;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border: 1.5px solid transparent;
  border-radius: 8px;
  font-family: inherit;
  font-size: .925rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn--ghost { border-color: var(--border); color: var(--text); }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn--full { width: 100%; }

/* ---- Header ---- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 68px;
}
.logo {
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -.3px;
}
.logo strong { font-weight: 700; }
.logo span { color: var(--primary); }
.nav__actions { display: flex; gap: 10px; }

/* ---- Hero ---- */
.hero {
  padding: 96px 0 88px;
  background: linear-gradient(160deg, var(--primary-light) 0%, #fff 70%);
  border-bottom: 1px solid var(--border);
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.8px;
  max-width: 680px;
}
.hero h1 em { font-style: normal; color: var(--primary); }
.hero p {
  margin-top: 18px;
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 560px;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.tags span {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 7px 16px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--muted);
}

/* ---- Contact ---- */
.contact { padding: 88px 0; }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.contact h2 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -.4px;
  margin-bottom: 28px;
}

dl { display: grid; gap: 18px; }
dt {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--muted);
  margin-bottom: 3px;
}
dd { font-size: .975rem; font-weight: 500; }
dd a:hover { color: var(--primary); }

.remote {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 36px;
  padding: 20px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.remote strong { display: block; font-size: .95rem; }
.remote span { font-size: .85rem; color: var(--muted); }

/* ---- Form ---- */
.contact__form {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
}
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: .825rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.field input,
.field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: .95rem;
  color: var(--text);
  background: #fff;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
.field textarea { min-height: 130px; resize: vertical; }
.field--captcha input { max-width: 120px; }

/* Honeypot – skryté pole pro roboty, nikdy nezobrazovat */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.note { margin-top: 14px; font-size: .8rem; color: var(--muted); text-align: center; }
.note a { color: var(--primary); }

.alert {
  padding: 14px 16px;
  border-radius: 8px;
  font-size: .9rem;
  margin-bottom: 22px;
}
.alert--ok  { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }
.alert--err { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }

/* ---- Footer ---- */
.footer {
  border-top: 1px solid var(--border);
  padding: 26px 0;
}
.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .85rem;
  color: var(--muted);
}
.footer a:hover { color: var(--primary); }

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .contact__grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 560px) {
  .hero { padding: 64px 0 56px; }
  .contact { padding: 56px 0; }
  .nav { height: auto; padding: 14px 0; flex-wrap: wrap; }
  .nav__actions { width: 100%; }
  .nav__actions .btn { flex: 1; }
  .row { grid-template-columns: 1fr; }
  .contact__form { padding: 22px; }
  .remote { flex-direction: column; align-items: flex-start; }
  .remote .btn { width: 100%; }
}