:root {
  --bg: #fffaf5;
  --card: #ffffff;
  --text: #2e1e00;
  --muted: #705b43;
  --brand: #f97316;       /* hlavná oranžová */
  --brand-2: #f59e0b;     /* doplnková zlatá */
  --radius: 16px;
  --shadow: 0 8px 20px rgba(0,0,0,.06);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* ===== Header & Navigácia ===== */
header {
  position: sticky;
  top: 0;
  background: #ffffffcc;
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 6px rgba(0,0,0,.05);
  z-index: 10;
}

nav {
  width: min(1100px, 92%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .75rem 0;
}

nav ul {
  list-style: none;
  display: flex;
  gap: .75rem;
  margin: 0;
  padding: 0;
}

nav a {
  color: var(--text);
  text-decoration: none;
  padding: .5rem 1rem;
  border-radius: 999px;
  transition: background .2s, color .2s;
}

nav a:hover {
  background: rgba(249,115,22,.15);
}

nav a.btn {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  font-weight: 600;
  border: none;
  box-shadow: 0 2px 6px rgba(249,115,22,.4);
}

nav a.btn:hover {
  opacity: 0.9;
}

/* ===== Main layout ===== */
main {
  width: min(1100px, 92%);
  margin: 3rem auto;
}

h1, h2, h3 {
  color: var(--brand);
  margin-bottom: 1rem;
}

/* ===== Cards & Sections ===== */
.card, .hero-card, .doc, form {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.docs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.docs div {
  border: 1px solid rgba(249,115,22,.15);
  border-radius: var(--radius);
  padding: 1rem;
  background: var(--card);
  box-shadow: var(--shadow);
}

.docs a {
  display: inline-block;
  margin-top: .5rem;
  color: var(--brand);
  font-weight: 500;
  text-decoration: none;
}

.docs a:hover {
  text-decoration: underline;
}

/* ===== Buttons ===== */
button {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: white;
  border: none;
  padding: .75rem 1.25rem;
  border-radius: var(--radius);
  font-size: 1rem;
  cursor: pointer;
  transition: opacity .2s ease-in-out;
  box-shadow: 0 2px 6px rgba(249,115,22,.4);
}

button:hover {
  opacity: 0.9;
}

/* ===== Forms ===== */
form label {
  display: block;
  font-weight: 500;
  margin-top: .75rem;
  color: var(--text);
}

input, textarea {
  width: 100%;
  padding: .7rem;
  border-radius: var(--radius);
  border: 1px solid #e2e8f0;
  margin-top: .25rem;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
}

input:focus, textarea:focus {
  outline: 2px solid var(--brand);
  border-color: transparent;
}

textarea {
  min-height: 120px;
}

/* ===== Footer ===== */
footer {
  background: #fff;
  color: var(--muted);
  text-align: center;
  padding: 1.5rem;
  box-shadow: 0 -3px 10px rgba(0,0,0,.05);
  margin-top: auto;
}

footer a {
  color: var(--brand);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

footer p:last-child {
  color: #9a7e58;
  font-size: 0.9rem;
  margin-top: .5rem;
}

/* ===== Responsivita ===== */
@media (max-width: 800px) {
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  main {
    margin: 2rem auto;
  }
}
