/* ═══════════════════════════════════════════════════════════════
   KFBZ – sluzba-detail.css
   Styly pro šablonu detail služby (sluzba.php)
   ═══════════════════════════════════════════════════════════════ */

:root {
  --teal:       #0097a7;
  --teal-dark:  #007a8a;
  --teal-deep:  #005f6b;
  --teal-light: #e0f4f7;
  --navy:       #1b2f3f;
  --ink:        #1b3a4b;
  --mid:        #5a7a8a;
  --orange:     #E8601A;
  --green:      #5c8430;
  --bg:         #f2f7f8;
  --white:      #ffffff;
  --border:     #d0e4e8;
}

/* ── BREADCRUMB ─────────────────────────────────────────────── */
.breadcrumb-wrap {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: .65rem 0;
}
.breadcrumb {
  max-width: 1360px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; gap: .5rem;
  font-size: .83rem; color: var(--mid); flex-wrap: wrap;
}
.breadcrumb a { color: var(--teal); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { color: var(--border); }

/* ── PAGE HERO ──────────────────────────────────────────────── */
.page-hero {
  background: var(--teal); position: relative; overflow: hidden;
  padding: 2.5rem 2rem 2.25rem;
}
.page-hero::before {
  content: ''; position: absolute; top: -70px; right: -50px;
  width: 280px; height: 280px; border-radius: 28px;
  background: rgba(255,255,255,.07); transform: rotate(28deg); pointer-events: none;
}
.page-hero::after {
  content: ''; position: absolute; top: -10px; right: 70px;
  width: 130px; height: 400px; border-radius: 28px;
  background: rgba(255,255,255,.05); transform: rotate(28deg); pointer-events: none;
}
.page-hero-inner {
  max-width: 1360px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 1;
}
.page-hero__cat {
  font-size: .75rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .12em; color: rgba(255,255,255,.7); margin-bottom: .4rem;
  display: flex; align-items: center; gap: .5rem;
}
.page-hero__cat a { color: rgba(255,255,255,.7); text-decoration: none; }
.page-hero__cat a:hover { color: white; }
.page-hero h1 {
  font-family: 'Zilla Slab', serif; font-size: 2.4rem; font-weight: 700;
  color: white; line-height: 1.15; margin-bottom: .7rem;
}
.page-hero__lead {
  font-size: 1.05rem; color: rgba(255,255,255,.95);
  font-weight: 700; max-width: 640px; line-height: 1.6; margin-bottom: 1.25rem;
}
.page-hero__tags { display: flex; gap: .5rem; flex-wrap: wrap; }
.page-hero__tag {
  background: rgba(255,255,255,.15); color: white;
  font-size: .78rem; font-weight: 700; padding: .28rem .75rem;
  border-radius: 999px; border: 1px solid rgba(255,255,255,.25);
}

/* ── MAIN PAGE LAYOUT ───────────────────────────────────────── */
.page-layout {
  max-width: 1360px; margin: 0 auto; padding: 2.5rem 32px 4rem;
  display: grid; grid-template-columns: 1fr 300px;
  gap: 2.5rem; align-items: start;
}
.main-col { display: flex; flex-direction: column; gap: 3rem; }

/* ── CONTENT BLOCK (obrázek + text) ─────────────────────────── */
.content-block {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
}
.content-block__header { padding: 1.75rem 2rem 0; }
.content-block__header h2 {
  font-family: 'Zilla Slab', serif; font-size: 1.6rem; font-weight: 700;
  color: var(--teal); margin-bottom: .75rem;
  display: flex; align-items: center; gap: .6rem;
}

/* ── MEDIA + TEXT (střídání stran) ──────────────────────────── */
.media-text {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; align-items: stretch;
}
.media-text.flip { direction: rtl; }
.media-text.flip > * { direction: ltr; }

.media-text__img { overflow: hidden; }
.media-text__img img { width: 100%; height: auto; display: block; }
.media-text__img-placeholder {
  width: 100%; height: 100%; min-height: 260px;
  display: flex; align-items: center; justify-content: center; font-size: 4rem;
  background: var(--teal-light);
}
.media-text__body {
  padding: 2rem; display: flex; flex-direction: column; justify-content: center;
}
.media-text__body h3 {
  font-family: 'Zilla Slab', serif; font-size: 1.25rem; font-weight: 700;
  color: var(--ink); margin-bottom: .75rem;
}
.media-text__body p {
  font-size: .97rem; color: var(--ink); line-height: 1.7; margin-bottom: .8rem;
}
.media-text__body p:last-child { margin-bottom: 0; }

/* ── INFO PILLS ─────────────────────────────────────────────── */
.info-pill {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--teal-light); color: var(--teal-deep);
  font-size: .8rem; font-weight: 700; padding: .28rem .75rem;
  border-radius: 999px; margin-right: .4rem; margin-bottom: .4rem;
}
.info-pill svg { width: 13px; height: 13px; flex-shrink: 0; }

/* ── FAQ ────────────────────────────────────────────────────── */
.faq-block {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
}
.faq-block__header {
  padding: 1.75rem 2rem 1.25rem;
  border-bottom: 2px solid var(--teal-light);
}
.faq-block__header h2 {
  font-family: 'Zilla Slab', serif; font-size: 1.5rem; font-weight: 700;
  color: var(--teal); display: flex; align-items: center; gap: .6rem;
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 1.1rem 2rem; display: flex; align-items: center;
  justify-content: space-between; gap: 1rem;
  font-family: 'Nunito', sans-serif; font-size: 1rem; font-weight: 800;
  color: var(--ink); transition: background .15s;
}
.faq-q:hover { background: var(--bg); }
.faq-q.open { color: var(--teal); }
.faq-q svg { flex-shrink: 0; color: var(--mid); transition: transform .25s; }
.faq-q.open svg { transform: rotate(45deg); color: var(--teal); }
.faq-a { display: none; padding: 0 2rem 1.25rem; }
.faq-a.open { display: block; }
.faq-a p { font-size: .95rem; color: var(--ink); line-height: 1.7; margin-bottom: .75rem; }
.faq-a p:last-child { margin-bottom: 0; }

/* ── RELATED SERVICES ───────────────────────────────────────── */
.related-block__header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.25rem;
}
.related-block__header h2 {
  font-family: 'Zilla Slab', serif; font-size: 1.5rem;
  font-weight: 700; color: var(--ink);
}
.related-block__header a {
  font-size: .82rem; font-weight: 700; color: var(--green);
  text-decoration: none; text-transform: uppercase; letter-spacing: .04em;
}
.related-block__header a:hover { text-decoration: underline; }
.related-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
.rel-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 10px; overflow: hidden; text-decoration: none;
  color: inherit; display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.rel-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,100,120,.12); }
.rel-card__img { aspect-ratio: 16/9; overflow: hidden; }
.rel-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.rel-card:hover .rel-card__img img { transform: scale(1.04); }
.rel-card__img-ph { width: 100%; aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; font-size: 2rem; background: var(--teal-light); }
.rel-card__body { padding: .85rem; flex: 1; }
.rel-card__cat { font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--teal); margin-bottom: .25rem; }
.rel-card__name { font-family: 'Zilla Slab', serif; font-size: .95rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.rel-card:hover .rel-card__name { color: var(--teal); }

/* ── SIDEBAR ────────────────────────────────────────────────── */
.side-col {
  display: flex; flex-direction: column; gap: 1.25rem;
  position: sticky; top: 1rem;
}
.side-box {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
}
.side-box__header { background: var(--teal); padding: 1rem 1.25rem; }
.side-box__header h3 {
  font-family: 'Zilla Slab', serif; font-size: 1rem; font-weight: 700;
  color: white; display: flex; align-items: center; gap: .5rem;
}
.side-box__body { padding: 1.1rem 1.25rem; }
.side-info-row {
  display: flex; align-items: flex-start; gap: .6rem;
  padding: .6rem 0; border-bottom: 1px solid #eef3f5;
}
.side-info-row:last-child { border-bottom: none; }
.side-info-icon {
  width: 28px; height: 28px; border-radius: 6px;
  background: var(--teal-light); display: flex; align-items: center;
  justify-content: center; flex-shrink: 0; margin-top: 1px;
}
.side-info-icon svg { width: 14px; height: 14px; color: var(--teal); }
.side-info-text strong { display: block; font-size: .78rem; font-weight: 800; color: var(--ink); line-height: 1.2; margin-bottom: .1rem; }
.side-info-text span { font-size: .8rem; color: var(--mid); line-height: 1.4; }

/* ── HOURS BOX ──────────────────────────────────────────────── */
.hours-box {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
}
.hours-box__header {
  background: var(--teal-light); padding: .85rem 1.25rem;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.hours-box__header h3 {
  font-size: .9rem; font-weight: 800; color: var(--teal-deep);
  display: flex; align-items: center; gap: .4rem;
}
.hours-open {
  font-size: .72rem; font-weight: 800; color: #16a34a;
  background: #dcfce7; padding: .18rem .55rem; border-radius: 999px;
}
.hours-list { padding: .85rem 1.25rem; }
.hours-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: .3rem 0; font-size: .83rem; border-bottom: 1px solid #f0f4f5;
}
.hours-row:last-child { border-bottom: none; }
.hours-row .day { color: var(--mid); font-weight: 600; }
.hours-row .time { color: var(--ink); font-weight: 700; }
.hours-row.today .day,
.hours-row.today .time { color: var(--teal); }
.hours-row.closed .time { color: #aaa; }
.hours-all {
  display: block; text-align: center; font-size: .78rem; font-weight: 700;
  color: var(--teal); text-decoration: none;
  padding: .75rem; border-top: 1px solid var(--border);
}
.hours-all:hover { background: var(--bg); }

/* ── CTA BOX ────────────────────────────────────────────────── */
.cta-box { background: var(--navy); border-radius: 12px; padding: 1.5rem; }
.cta-box h3 {
  font-family: 'Zilla Slab', serif; font-size: 1.05rem; font-weight: 700;
  color: white; margin-bottom: .5rem; line-height: 1.3;
}
.cta-box p { font-size: .85rem; color: rgba(255,255,255,.7); line-height: 1.6; margin-bottom: 1.1rem; }
.cta-btn {
  display: block; background: var(--orange); color: white;
  text-align: center; text-decoration: none;
  padding: .75rem 1rem; border-radius: 8px;
  font-size: .9rem; font-weight: 800; transition: background .2s;
}
.cta-btn:hover { background: #c04010; }
.cta-btn-outline {
  display: block; border: 2px solid rgba(255,255,255,.35);
  color: rgba(255,255,255,.85); text-align: center; text-decoration: none;
  padding: .7rem 1rem; border-radius: 8px;
  font-size: .85rem; font-weight: 700; margin-top: .6rem;
  transition: border-color .2s, color .2s;
}
.cta-btn-outline:hover { border-color: white; color: white; }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .page-layout { grid-template-columns: 1fr; }
  .side-col { position: static; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .media-text { grid-template-columns: 1fr; }
  .media-text.flip { direction: ltr; }
  .page-hero h1 { font-size: 1.7rem; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .page-layout { padding: 1.5rem 16px 3rem; }
  .breadcrumb { padding: 0 16px; }
  .page-hero-inner { padding: 0 16px; }
}
@media (max-width: 480px) {
  .related-grid { grid-template-columns: 1fr; }
}
