/* ═══════════════════════════════════
   ASKJA.CZ — Site Styles
   ═══════════════════════════════════ */

:root {
  --bg: #faf8f5;
  --bg2: #f2ede6;
  --bg3: #e8e0d6;
  --border: #ddd6cc;
  --border2: #c8bfb4;
  --text: #1a1510;
  --text2: #6b5f54;
  --text3: #a89e94;
  --accent: #e85d04;
  --accent2: #c44d00;
  --accent-light: #fff3ec;
  --dark: #0a0a0a;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 48px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo img { height: 36px; width: auto; }
.nav-logo-text {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
}

.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text2);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--accent); }

.nav-cta {
  background: var(--accent);
  color: #fff;
  padding: 9px 22px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: var(--accent2); transform: translateY(-1px); }

/* ── HAMBURGER ── */
.hamburger {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 28px; height: 20px; position: relative;
  flex-direction: column; justify-content: space-between;
}
.hamburger span {
  display: block; width: 100%; height: 2px;
  background: var(--text); border-radius: 1px;
  transition: all 0.3s;
}

.mobile-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.4); z-index: 200;
}
body.menu-open .mobile-overlay { display: block; }
body.menu-open { overflow: hidden; }

.mobile-menu {
  position: fixed; top: 0; right: -320px; bottom: 0;
  width: 300px; background: var(--bg);
  z-index: 300; padding: 24px;
  display: flex; flex-direction: column;
  transition: right 0.3s ease;
  box-shadow: -4px 0 24px rgba(0,0,0,0.1);
}
body.menu-open .mobile-menu { right: 0; }

.mobile-menu-header {
  display: flex; justify-content: space-between;
  align-items: center; margin-bottom: 32px;
}
.mobile-close {
  background: none; border: none; font-size: 20px;
  color: var(--text2); cursor: pointer;
}

.mobile-links { list-style: none; display: flex; flex-direction: column; gap: 0; }
.mobile-links li { border-bottom: 1px solid var(--border); }
.mobile-links a {
  display: block; padding: 16px 0;
  font-size: 16px; font-weight: 600;
  color: var(--text); text-decoration: none;
}

.mobile-cta {
  margin-top: auto;
  background: var(--accent); color: #fff;
  padding: 14px 24px; border-radius: 4px;
  font-size: 15px; font-weight: 600;
  text-decoration: none; text-align: center;
}

/* ── PAGE HEADER (subpages) ── */
.page-header {
  padding: 92px 48px 40px;
  border-bottom: 1px solid var(--border);
}
.breadcrumb {
  font-size: 12px; color: var(--text3);
  margin-bottom: 16px; display: flex;
  align-items: center; gap: 8px;
}
.breadcrumb a { color: var(--text3); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: var(--border2); }
.breadcrumb .current { color: var(--text2); }

.page-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 900;
  letter-spacing: -1.5px;
  color: var(--text);
  margin-bottom: 8px;
}
.page-sub { font-size: 17px; color: var(--text2); line-height: 1.7; }

/* ── SECTION COMMON ── */
.section-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.section-label::before { content: ''; width: 24px; height: 1px; background: var(--accent); }

.section-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900; line-height: 1.1;
  letter-spacing: -1px; color: var(--text);
  margin-bottom: 12px;
}
.section-sub { font-size: 17px; color: var(--text2); line-height: 1.7; }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--accent); color: #fff;
  padding: 14px 28px; font-size: 15px; font-weight: 600;
  border-radius: 4px; text-decoration: none;
  transition: all 0.2s; display: inline-flex;
  align-items: center; gap: 8px;
}
.btn-primary:hover {
  background: var(--accent2); transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,93,4,0.25);
}

.btn-secondary {
  color: var(--text); padding: 14px 28px;
  font-size: 15px; font-weight: 500;
  border-radius: 4px; text-decoration: none;
  border: 1px solid var(--border2); transition: all 0.2s;
}
.btn-secondary:hover { border-color: var(--text3); background: var(--bg2); }

.btn-light {
  color: #f0ece4; padding: 14px 28px;
  font-size: 15px; font-weight: 500;
  border-radius: 4px; text-decoration: none;
  border: 1px solid #2d2d2d; transition: all 0.2s;
}
.btn-light:hover { border-color: #5a534e; background: #111; }

/* ── TECH PILLS ── */
.tech-pill {
  font-size: 13px; font-weight: 500;
  padding: 6px 14px; background: var(--bg2);
  border: 1px solid var(--border); border-radius: 4px;
  color: var(--text2); transition: all 0.2s;
}
.tech-pill:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-light); }
.tech-pill.hl { border-color: var(--accent); color: var(--accent); background: var(--accent-light); }

/* ── CTA BANNER ── */
.cta-banner {
  background: var(--dark); padding: 60px 48px;
  text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(232,93,4,0.15) 0%, transparent 70%);
}
.cta-banner h2 {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 900; letter-spacing: -1px;
  margin-bottom: 16px; color: #f0ece4; position: relative;
}
.cta-banner p {
  font-size: 17px; color: #9e9890;
  margin-bottom: 32px; max-width: 460px;
  margin-left: auto; margin-right: auto;
  position: relative; line-height: 1.7;
}
.cta-actions {
  display: flex; gap: 16px;
  justify-content: center; flex-wrap: wrap; position: relative;
}

/* ── FOOTER ── */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 60px 48px 36px;
}
.footer-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 36px;
}
.footer-logo {
  display: flex; align-items: center; gap: 8px;
  font-size: 18px; font-weight: 800; color: var(--text);
  margin-bottom: 16px;
}
.footer-desc { font-size: 14px; color: var(--text2); line-height: 1.6; margin-bottom: 16px; }
.footer-legal { font-size: 12px; color: var(--text3); line-height: 1.8; }
.footer-col-title {
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--text3); margin-bottom: 16px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: var(--text2); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.footer-contact-item { margin-bottom: 12px; font-size: 14px; color: var(--text2); line-height: 1.5; }
.footer-contact-item a { color: var(--text2); text-decoration: none; transition: color 0.2s; }
.footer-contact-item a:hover { color: var(--accent); }
.footer-contact-label {
  font-size: 11px; font-weight: 600; color: var(--text3);
  text-transform: uppercase; letter-spacing: 1px;
}
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; }
.footer-copy { font-size: 12px; color: var(--text3); }

/* ═══════════════════════════════════
   RESPONSIVE — TABLET ≤1024px
   ═══════════════════════════════════ */
@media (max-width: 1024px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  nav { padding: 0 24px; }
  .page-header { padding: 92px 24px 32px; }
  .cta-banner { padding: 48px 24px; }
  footer { padding: 48px 24px 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ═══════════════════════════════════
   RESPONSIVE — SMALL TABLET ≤768px
   ═══════════════════════════════════ */
@media (max-width: 768px) {
  .section-title { font-size: clamp(22px, 4vw, 30px); }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ═══════════════════════════════════
   RESPONSIVE — MOBILE ≤480px
   ═══════════════════════════════════ */
@media (max-width: 480px) {
  nav { padding: 0 16px; height: 56px; }
  .nav-logo img { height: 28px; }
  .nav-logo-text { font-size: 17px; }
  .page-header { padding: 76px 16px 24px; }
  .page-title { font-size: 24px; }
  .page-sub { font-size: 15px; }
  .cta-banner { padding: 32px 16px; }
  .cta-banner h2 { font-size: 22px; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn-primary,
  .cta-actions .btn-light { width: 100%; text-align: center; justify-content: center; }
  footer { padding: 32px 16px 20px; }
}
