/* ==========================================================================
   Kopírka Centrum Slovakia — hlavný štýl
   ========================================================================== */

:root {
  --color-primary: #1a56db;
  --color-primary-dark: #15409e;
  --color-primary-light: #e8f0fe;
  --color-accent: #f59e0b;
  --color-text: #1a1a1a;
  --color-text-muted: #5b6472;
  --color-bg: #ffffff;
  --color-bg-alt: #f6f8fb;
  --color-border: #e3e8ef;
  --radius: 10px;
  --shadow-sm: 0 1px 3px rgba(16, 24, 40, 0.08);
  --shadow-md: 0 8px 24px rgba(16, 24, 40, 0.10);
  --container-width: 1180px;
  --font-base: "Segoe UI", Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  font-size: 16px;
}

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

a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 16px; font-weight: 700; }
h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 16px; color: var(--color-text-muted); }

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 72px 0; }
.section--alt { background: var(--color-bg-alt); }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head p { margin-bottom: 0; }
.eyebrow {
  display: inline-block;
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 12px;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-dark); }
.btn-outline { background: transparent; border-color: #ffffff; color: #ffffff; }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-outline-dark { background: transparent; border-color: var(--color-primary); color: var(--color-primary); }
.btn-outline-dark:hover { background: var(--color-primary-light); }
.btn-block { width: 100%; text-align: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
}
.topbar {
  background: var(--color-primary-dark);
  color: #fff;
  font-size: 0.85rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 6px;
  padding-bottom: 6px;
  gap: 12px;
  flex-wrap: wrap;
}
.topbar a { color: #fff; }
.topbar-links { display: flex; gap: 18px; }

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.navbar .logo img { height: 40px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.95rem;
}
.nav-links a:hover, .nav-links a.active { color: var(--color-primary); text-decoration: none; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone { font-weight: 700; color: var(--color-primary); white-space: nowrap; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--color-text);
  margin: 5px 0;
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(10, 30, 80, 0.88) 0%, rgba(10, 30, 80, 0.62) 55%, rgba(10, 30, 80, 0.35) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 110px 0 96px;
  max-width: 640px;
}
.hero-content .eyebrow { color: #a9c3ff; }
.hero-content h1 { color: #fff; margin-bottom: 18px; }
.hero-content p { color: #e6ecfb; font-size: 1.1rem; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-stats {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 40px;
  padding: 28px 0 46px;
  flex-wrap: wrap;
}
.hero-stats div strong { display: block; font-size: 1.8rem; color: #fff; }
.hero-stats div span { color: #cfdcfb; font-size: 0.9rem; }

.page-hero {
  background: var(--color-primary-dark);
  color: #fff;
  padding: 64px 0;
  text-align: center;
}
.page-hero h1 { color: #fff; margin-bottom: 8px; }
.breadcrumbs { font-size: 0.9rem; color: #c9d7fb; }
.breadcrumbs a { color: #e6ecfb; }

/* ---------- Cards / Grid ---------- */
.grid {
  display: grid;
  gap: 28px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.card h3 { margin-bottom: 8px; }
.card p { margin-bottom: 0; }
.card-link { display: inline-block; margin-top: 12px; font-weight: 600; }

.service-card-photo {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.service-card-photo:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.service-card-photo img { width: 100%; height: 190px; object-fit: cover; }
.service-card-photo .body { padding: 22px; }
.service-card-photo h3 { margin-bottom: 8px; }
.service-card-photo p { margin-bottom: 10px; }

/* ---------- About split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}
.split img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; height: 100%; object-fit: cover; }
.split-reverse { direction: rtl; }
.split-reverse > * { direction: ltr; }

.checklist { list-style: none; margin: 0 0 20px; padding: 0; }
.checklist li {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--color-text);
}
.checklist li::before {
  content: "✓";
  color: var(--color-primary);
  font-weight: 700;
  flex-shrink: 0;
}

/* ---------- Stats band ---------- */
.stats-band {
  background: var(--color-primary);
  color: #fff;
  padding: 44px 0;
}
.stats-band .grid { text-align: center; }
.stats-band strong { display: block; font-size: 2.2rem; }
.stats-band span { color: #d6e3ff; font-size: 0.95rem; }

/* ---------- Pricing ---------- */
.price-table-wrap { overflow-x: auto; }
table.price-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
table.price-table th, table.price-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}
table.price-table th {
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
}
table.price-table tr:last-child td { border-bottom: none; }
table.price-table tr:hover td { background: var(--color-bg-alt); }
table.price-table td.price { font-weight: 700; color: var(--color-primary); white-space: nowrap; }
.price-note { margin-top: 14px; font-size: 0.9rem; }

.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.plan-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.plan-card.featured { border: 2px solid var(--color-primary); box-shadow: var(--shadow-md); position: relative; }
.plan-card.featured::before {
  content: "Najobľúbenejšie";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: #1a1a1a;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
}
.plan-price { font-size: 2.2rem; font-weight: 800; color: var(--color-primary); margin: 10px 0; }
.plan-price span { font-size: 0.95rem; color: var(--color-text-muted); font-weight: 500; }

/* ---------- Testimonials ---------- */
.testimonial {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.testimonial .stars { color: var(--color-accent); margin-bottom: 10px; letter-spacing: 2px; }
.testimonial .author { font-weight: 700; margin-top: 12px; color: var(--color-text); }
.testimonial .role { font-size: 0.85rem; color: var(--color-text-muted); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--color-primary-dark), var(--color-primary));
  color: #fff;
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #e6ecfb; max-width: 560px; margin: 0 auto 24px; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-grid img { width: 100%; height: 170px; object-fit: cover; border-radius: var(--radius); }

/* ---------- Forms ---------- */
.form-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.92rem;
}
.form-row .required { color: #d33; }
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  color: var(--color-text);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-light);
}
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-check { display: flex; align-items: flex-start; gap: 10px; font-size: 0.88rem; color: var(--color-text-muted); }
.form-check input { width: auto; margin-top: 4px; }
.form-feedback {
  display: none;
  padding: 14px 16px;
  border-radius: 8px;
  margin-bottom: 18px;
  font-weight: 600;
  font-size: 0.92rem;
}
.form-feedback.success { display: block; background: #e7f6ec; color: #1a7a3d; border: 1px solid #b7e4c7; }
.form-feedback.error { display: block; background: #fdecec; color: #b3261e; border: 1px solid #f3b9b6; }

/* ---------- Contact info blocks ---------- */
.contact-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px; }
.contact-info-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}
.contact-info-card .icon {
  width: 48px; height: 48px; margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  height: 360px;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ---------- FAQ ---------- */
.faq-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-text);
}
.faq-question::after { content: "+"; font-size: 1.4rem; color: var(--color-primary); transition: transform 0.2s ease; }
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; padding: 0 22px; }
.faq-item.open .faq-answer { max-height: 320px; padding-bottom: 18px; }

/* ---------- Footer ---------- */
.site-footer {
  background: #111827;
  color: #cbd5e1;
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 32px;
  margin-bottom: 36px;
}
.footer-grid h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; font-size: 0.92rem; }
.footer-grid a { color: #cbd5e1; }
.footer-grid a:hover { color: #fff; }
.footer-logo img { height: 38px; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer-about p { color: #9aa5b4; font-size: 0.9rem; }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
  color: #8a94a3;
}
.footer-bottom a { color: #8a94a3; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Legal pages ---------- */
.legal-content { max-width: 760px; margin: 0 auto; }
.legal-content h2 { margin-top: 36px; }
.legal-content ul { color: var(--color-text-muted); }

/* ---------- 404 ---------- */
.error-page { text-align: center; padding: 120px 0; }
.error-page .code { font-size: 6rem; font-weight: 800; color: var(--color-primary); margin-bottom: 0; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .plan-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split-reverse { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-info-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .nav-links, .nav-cta .nav-phone { display: none; }
  .nav-toggle { display: block; }
  .navbar.open .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    border-top: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    gap: 16px;
    z-index: 50;
  }
  .navbar { position: relative; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .hero-content { padding: 72px 0 56px; }
  .hero-stats { padding-bottom: 32px; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  topbar .container { flex-direction: column; align-items: flex-start; }
}
