/* ============================================
   Opravna oděvů Turnov – styly
   Barvy a písma lze snadno upravit zde:
   ============================================ */
:root {
  --cream: #faf6ef;
  --paper: #ffffff;
  --ink: #2e2a26;
  --ink-soft: #6b625a;
  --accent: #a84e32;        /* terakotová – hlavní barva */
  --accent-dark: #8c3f27;
  --accent-soft: #f3e2da;
  --sage: #7a8b6f;
  --line: #e6ddd1;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(46, 42, 38, 0.08);
  --font-head: Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.2; }

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

a { color: var(--accent); }

/* ---------- Hlavička ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 239, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 1.15rem;
}

.logo em { color: var(--accent); font-style: normal; }

.logo-icon {
  width: 28px;
  height: 28px;
  color: var(--accent);
  flex-shrink: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.95rem;
  transition: color 0.2s;
}

.main-nav a:hover { color: var(--accent); }

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  transition: background 0.2s;
}

.nav-cta:hover { background: var(--accent-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* ---------- Hero ---------- */
.hero {
  padding: 5rem 0 4rem;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 3rem;
}

.hero-eyebrow,
.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.9rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.3rem);
  margin-bottom: 1.2rem;
}

.accent { color: var(--accent); }

.hero-lead {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 34rem;
  margin-bottom: 2rem;
}

.hero-buttons { display: flex; gap: 0.9rem; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 0.8rem 1.7rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform 0.15s, background 0.2s, color 0.2s;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }

.btn-outline {
  border: 2px solid var(--accent);
  color: var(--accent);
}

.btn-outline:hover { background: var(--accent-soft); }

.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
}

.art-circle {
  width: clamp(200px, 24vw, 300px);
  height: clamp(200px, 24vw, 300px);
  border-radius: 50%;
  background: var(--accent-soft);
  border: 2px dashed var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.art-circle svg { width: 55%; height: 55%; }

.stitch-line {
  position: absolute;
  bottom: -2.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  border-top: 3px dashed var(--line);
}

/* ---------- Výhody ---------- */
.features {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 3rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.feature { text-align: center; }

.feature-icon { font-size: 2rem; margin-bottom: 0.6rem; }

.feature h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }

.feature p { font-size: 0.92rem; color: var(--ink-soft); }

/* ---------- Sekce obecně ---------- */
section { scroll-margin-top: 4.5rem; }

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

.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }

/* ---------- Služby ---------- */
.services { padding: 5rem 0; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(46, 42, 38, 0.12);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.service-icon svg { width: 26px; height: 26px; }

.service-card h3 { font-size: 1.12rem; margin-bottom: 0.5rem; }

.service-card p { font-size: 0.94rem; color: var(--ink-soft); }

.services-note {
  text-align: center;
  margin-top: 2.4rem;
  color: var(--ink-soft);
}

/* ---------- Jak to probíhá ---------- */
.process {
  background: var(--ink);
  color: var(--cream);
  padding: 5rem 0;
}

.process .section-eyebrow { color: #e0a58e; }

.process-steps {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 1.5rem;
}

.step {
  flex: 1;
  max-width: 300px;
  text-align: center;
  padding: 0 0.5rem;
}

.step-number {
  width: 52px;
  height: 52px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  border: 2px dashed #e0a58e;
  color: #e0a58e;
  font-family: var(--font-head);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }

.step p { font-size: 0.92rem; color: #bdb4aa; }

.step-arrow {
  align-self: center;
  font-size: 1.6rem;
  color: #e0a58e;
}

/* ---------- Cena dohodou ---------- */
.consult { padding: 4.5rem 0; }

.consult-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: var(--paper);
  border: 2px dashed var(--accent);
  border-radius: var(--radius);
  padding: 2.4rem 2.6rem;
  box-shadow: var(--shadow);
}

.consult-icon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.consult-icon svg { width: 32px; height: 32px; }

.consult-text { flex: 1; }

.consult-text h2 { font-size: 1.5rem; margin-bottom: 0.5rem; }

.consult-text p { color: var(--ink-soft); max-width: 40rem; }

.consult-btn { flex-shrink: 0; }

/* ---------- O nás ---------- */
.about {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 5rem 0;
}

.about-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3rem;
  align-items: center;
}

.about-frame {
  aspect-ratio: 4 / 5;
  max-width: 340px;
  margin: 0 auto;
  border-radius: var(--radius);
  background: var(--cream);
  border: 2px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.about-frame svg { width: 45%; height: 45%; }

.about-text h2 { margin-bottom: 1.2rem; }

.about-text p { color: var(--ink-soft); margin-bottom: 1rem; max-width: 36rem; }

.about-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 1.8rem;
  flex-wrap: wrap;
}

.stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.9rem;
  color: var(--accent);
}

.stat span { font-size: 0.88rem; color: var(--ink-soft); }

/* ---------- Kontakt ---------- */
.contact { padding: 5rem 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  align-items: stretch;
}

.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.contact-card h3 { font-size: 1.2rem; margin-bottom: 1rem; }

.contact-list { list-style: none; }

.contact-list li { margin-bottom: 1rem; }

.contact-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.contact-list a { color: var(--ink); text-decoration: none; }

.contact-list a:hover { color: var(--accent); }

.hours-title { margin-top: 1.8rem; }

.hours-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }

.hours-table td {
  padding: 0.4rem 0;
  border-bottom: 1px dashed var(--line);
  color: var(--ink-soft);
}

.hours-table td:last-child { text-align: right; font-weight: 600; color: var(--ink); }

.hours-table tr:last-child td { border-bottom: none; }

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 380px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  display: block;
}

.map-placeholder {
  height: 100%;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  color: var(--ink-soft);
  text-align: center;
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 32px 32px;
  background-color: #fdfaf5;
}

.map-placeholder svg { width: 46px; height: 46px; color: var(--accent); }

.map-placeholder small { color: #a39a90; }

/* ---------- Patička ---------- */
.site-footer {
  background: var(--ink);
  color: #bdb4aa;
  padding: 1.6rem 0;
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-tagline { color: #8f857b; }

/* ---------- Responzivita ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-lead { margin-inline: auto; }
  .hero-buttons { justify-content: center; }
  .hero-art { margin-top: 1rem; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; }
  .about-frame { max-width: 260px; }
  .consult-inner { flex-direction: column; text-align: center; padding: 2.2rem 1.6rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .process-steps { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); }
}

@media (max-width: 640px) {
  .nav-toggle { display: flex; }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    display: none;
  }

  .main-nav.open { display: flex; }

  .main-nav a {
    padding: 0.9rem 1.4rem;
    width: 100%;
    border-top: 1px solid var(--line);
  }

  .nav-cta {
    border-radius: 0;
    text-align: center;
  }

  .services-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; gap: 1.4rem; }
  .hero { padding: 3.5rem 0 3rem; }
  .footer-inner { justify-content: center; text-align: center; }
}
