/* ===================================================
   Arpoko s.r.o. – hlavní styly
   =================================================== */

/* ---------- Reset & základy ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #222;
  background: #f8f9fa;
}

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

img {
  max-width: 100%;
  display: block;
}

/* ---------- Typografie ---------- */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ---------- Barvy ---------- */
:root {
  --blue:      #1a4f8a;
  --blue-dark: #0d2f55;
  --blue-light:#2d75c4;
  --accent:    #e8a020;
  --gray:      #6c757d;
  --light:     #f0f4f8;
  --white:     #ffffff;
}

/* ---------- Layout ---------- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 4rem 0;
}

/* ---------- HEADER / NAVIGACE ---------- */
header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,.1);
  border-bottom: 1px solid #e0e6ed;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .4rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.logo-mark {
  width: 44px;
  height: 44px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--blue-dark);
  letter-spacing: -1px;
}

.logo-text {
  color: var(--blue-dark);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.logo-text span {
  color: var(--accent);
}

/* Real logo image (replaces CSS mark+text when present) */
.logo-img {
  height: 56px;
  width: auto;
  display: block;
}

.logo-img-footer {
  height: 36px;
  width: auto;
  display: block;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.75rem;
}

nav ul li a {
  color: var(--blue-dark);
  font-size: .95rem;
  font-weight: 600;
  transition: color .2s;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--blue);
  border-bottom-color: var(--accent);
}

/* Hamburger (mobilní menu) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--blue-dark);
  border-radius: 3px;
  transition: all .3s;
}

/* ---------- HERO ---------- */
.hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 60%, var(--blue-light) 100%);
  color: var(--white);
  padding: 5rem 0 4.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('images/blueprint-bg.png') repeat;
  background-size: 600px;
  opacity: 0.15;
  pointer-events: none;
}

.hero .container {
  position: relative;
}

.hero h1 {
  margin-bottom: 1.1rem;
  text-shadow: 0 2px 8px rgba(0,0,0,.3);
}

.hero p.subtitle {
  font-size: 1.2rem;
  color: #c8daf0;
  max-width: 700px;
  margin: 0 auto 2rem;
}

.hero-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 2.5rem;
}

.badge {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  color: var(--white);
  padding: .4rem 1rem;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 500;
}

.btn {
  display: inline-block;
  padding: .85rem 2rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  transition: all .2s;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: var(--blue-dark);
}

.btn-primary:hover {
  background: #f5b72a;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(232,160,32,.45);
}

.btn-outline {
  border: 2px solid rgba(255,255,255,.6);
  color: var(--white);
  margin-left: .75rem;
}

.btn-outline:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
}

/* ---------- SEKCE: Výhody ---------- */
.advantages {
  background: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  color: var(--blue-dark);
  margin-bottom: .5rem;
}

.section-header p {
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
}

.card {
  background: var(--light);
  border-radius: 10px;
  padding: 2rem 1.5rem;
  text-align: center;
  border-top: 4px solid var(--blue);
  transition: transform .2s, box-shadow .2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(26,79,138,.12);
}

.card-icon {
  font-size: 2.8rem;
  margin-bottom: 1rem;
  line-height: 1;
  color: var(--blue);
}

.card h3 {
  color: var(--blue-dark);
  margin-bottom: .5rem;
}

.card p {
  color: var(--gray);
  font-size: .95rem;
}

/* ---------- SEKCE: Služby (přehled) ---------- */
.services-overview {
  background: var(--light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}

.service-item {
  background: var(--white);
  border-radius: 8px;
  padding: 1.5rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border-left: 4px solid var(--blue-light);
  transition: box-shadow .2s;
}

.service-item:hover {
  box-shadow: 0 4px 16px rgba(26,79,138,.1);
}

.service-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  color: var(--blue);
}

.service-item h3 {
  font-size: 1rem;
  color: var(--blue-dark);
  margin-bottom: .2rem;
}

.service-item p {
  font-size: .88rem;
  color: var(--gray);
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('images/blueprint-bg.png') repeat;
  background-size: 600px;
  opacity: 0.1;
  pointer-events: none;
}

.cta-banner .container {
  position: relative;
}

.cta-banner h2 {
  margin-bottom: .75rem;
}

.cta-banner p {
  color: #c8daf0;
  margin-bottom: 1.75rem;
  font-size: 1.05rem;
}

/* ---------- STRÁNKA: O nás ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  color: var(--white);
  padding: 3.5rem 0 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('images/blueprint-bg.png') repeat;
  background-size: 600px;
  opacity: 0.15;
  pointer-events: none;
}

.page-hero .container {
  position: relative;
}

.page-hero h1 {
  margin-bottom: .5rem;
}

.page-hero p {
  color: #c8daf0;
  font-size: 1.1rem;
}

.timeline {
  position: relative;
  padding-left: 2.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--blue-light);
  border-radius: 3px;
}

.timeline-item {
  position: relative;
  margin-bottom: 2.25rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.07rem;
  top: .45rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--blue-light);
}

.timeline-year {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  font-size: .85rem;
  padding: .15rem .6rem;
  border-radius: 4px;
  margin-bottom: .4rem;
  letter-spacing: .5px;
}

.timeline-item h3 {
  color: var(--blue-dark);
  margin-bottom: .3rem;
}

.timeline-item p {
  color: #444;
  font-size: .95rem;
}

/* Certifikace tabulka */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.cert-card {
  background: var(--light);
  border-radius: 8px;
  padding: 1.5rem;
  border-left: 4px solid var(--accent);
}

.cert-card .cert-icon {
  font-size: 2rem;
  margin-bottom: .5rem;
  color: var(--blue);
}

.cert-card h4 {
  color: var(--blue-dark);
  font-size: 1rem;
  margin-bottom: .25rem;
}

.cert-card p {
  color: var(--gray);
  font-size: .88rem;
}

/* Dvou-sloupcový layout */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 720px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Fakta/statistiky */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.stat-box {
  background: var(--blue-dark);
  color: var(--white);
  border-radius: 8px;
  padding: 1.5rem 1rem;
  text-align: center;
}

.stat-box .stat-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}

.stat-box .stat-label {
  font-size: .85rem;
  color: #c8daf0;
  margin-top: .35rem;
}

/* ---------- STRÁNKA: Služby ---------- */
.services-detail {
  background: var(--white);
}

.service-block {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  align-items: start;
  background: var(--light);
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  border-left: 5px solid var(--blue);
}

.service-block:nth-child(even) {
  border-left-color: var(--blue-light);
}

.service-block-icon {
  font-size: 3rem;
  text-align: center;
  line-height: 1;
  color: var(--blue);
}

.service-block h3 {
  color: var(--blue-dark);
  font-size: 1.3rem;
  margin-bottom: .5rem;
}

.service-block p {
  color: #444;
  font-size: .96rem;
}

.service-block ul {
  margin: .75rem 0 0 1.2rem;
  color: #444;
  font-size: .95rem;
}

.service-block ul li {
  margin-bottom: .3rem;
}

/* ---------- STRÁNKA: Ke stažení ---------- */
.download-section {
  background: var(--white);
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.download-card {
  background: var(--light);
  border-radius: 10px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-top: 4px solid var(--blue);
  transition: transform .2s, box-shadow .2s;
}

.download-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(26,79,138,.13);
}

.download-card .dl-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: var(--blue);
}

.download-card h3 {
  color: var(--blue-dark);
  margin-bottom: .5rem;
  font-size: 1.15rem;
}

.download-card p {
  color: var(--gray);
  font-size: .9rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.download-card .file-meta {
  font-size: .8rem;
  color: #999;
  margin-bottom: 1rem;
}

.btn-download {
  background: var(--blue);
  color: var(--white);
  padding: .65rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: .9rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: background .2s, transform .2s;
  text-decoration: none;
}

.btn-download:hover {
  background: var(--blue-light);
  transform: translateY(-1px);
}

/* ---------- STRÁNKA: Kontakt ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

@media (max-width: 720px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info-block h2 {
  color: var(--blue-dark);
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.contact-item-icon {
  font-size: 1.5rem;
  width: 40px;
  flex-shrink: 0;
  text-align: center;
}

.contact-item h4 {
  color: var(--blue-dark);
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: .15rem;
}

.contact-item p, .contact-item a {
  color: #444;
  font-size: .95rem;
}

.contact-item a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.contact-form {
  background: var(--light);
  border-radius: 10px;
  padding: 2rem;
}

.contact-form h2 {
  color: var(--blue-dark);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--blue-dark);
  margin-bottom: .3rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .65rem .9rem;
  border: 1.5px solid #d0d8e4;
  border-radius: 6px;
  font-size: .95rem;
  font-family: inherit;
  background: var(--white);
  transition: border-color .2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue-light);
  box-shadow: 0 0 0 3px rgba(45,117,196,.15);
}

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

.btn-submit {
  background: var(--blue);
  color: var(--white);
  border: none;
  padding: .8rem 2rem;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, transform .2s;
  width: 100%;
}

.btn-submit:hover {
  background: var(--blue-light);
  transform: translateY(-1px);
}

/* Mapa placeholder */
.map-placeholder {
  background: #dce5f0;
  border-radius: 10px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--gray);
  margin-top: 2rem;
  flex-direction: column;
  gap: .5rem;
}

.map-placeholder .map-icon {
  font-size: 2.5rem;
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--blue-dark);
  color: #a0b4cc;
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

@media (max-width: 720px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.footer-brand .logo-mark {
  margin-bottom: .75rem;
}

.footer-brand p {
  font-size: .9rem;
  line-height: 1.6;
  margin-top: .5rem;
}

footer h4 {
  color: var(--white);
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: .75rem;
}

footer ul {
  list-style: none;
}

footer ul li {
  margin-bottom: .4rem;
}

footer ul li a {
  color: #a0b4cc;
  font-size: .9rem;
  transition: color .2s;
}

footer ul li a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}

.footer-bottom p {
  font-size: .82rem;
  color: #7a90a8;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1rem 1.5rem;
    box-shadow: 0 8px 16px rgba(0,0,0,.1);
    border-top: 1px solid #e0e6ed;
  }

  nav.open {
    display: block;
  }

  nav ul {
    flex-direction: column;
    gap: 0;
  }

  nav ul li a {
    display: block;
    padding: .65rem 0;
    border-bottom: 1px solid rgba(0,0,0,.06);
  }

  .hamburger {
    display: flex;
  }

  header {
    position: relative;
  }

  .hero {
    padding: 3.5rem 0 3rem;
  }

  .hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .75rem;
  }

  .btn-outline {
    margin-left: 0;
  }

  .service-block {
    grid-template-columns: 1fr;
  }

  .service-block-icon {
    font-size: 2.2rem;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-blue { color: var(--blue); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

.divider {
  width: 60px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin: .75rem auto 1.5rem;
}

.bg-white { background: var(--white); }
.bg-light { background: var(--light); }

/* Breadcrumb */
.breadcrumb {
  font-size: .85rem;
  color: #c8daf0;
  margin-top: .5rem;
}

.breadcrumb a {
  color: #a8c4e0;
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb span {
  margin: 0 .4rem;
}
