/* ==========================================================================
   Psychologie Klegová — vlastní web (náhrada za Wix)
   ========================================================================== */

:root {
  --color-blush: #f7e6e6;      /* světle růžové sekce (hero) */
  --color-blush-dark: #e2c4c4; /* tmavší růžová (Seznamte se, karty) */
  --color-mauve: #c9a19b;      /* větvička / strom, akcentní hnědorůžová */
  --color-purple: #6d63a6;     /* logo / puzzle akcent */
  --color-ink: #030303;        /* téměř černý text */
  --color-white: #ffffff;
  --color-offwhite: #fafafa;
  --color-line: #d8c9c9;

  --font-heading: 'Cinzel', 'Times New Roman', serif;
  --font-body: 'Caudex', Georgia, serif;

  --container: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-white);
  line-height: 1.6;
  font-size: 17px;
}

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

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

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

/* ---------- Nadpisy v "Trajan" stylu (velké kapitálky) ---------- */
h1, h2, h3, .caps-heading {
  font-family: var(--font-heading);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0 0 20px;
}

h1 { font-size: 3.2rem; line-height: 1.1; }
h2 { font-size: 2.1rem; }
h3.eyebrow {
  font-size: 0.95rem;
  letter-spacing: 0.25em;
  color: var(--color-ink);
  margin-bottom: 10px;
}

p { margin: 0 0 18px; }
p:last-child { margin-bottom: 0; }

/* ---------- Header / navigace ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 40px;
  background: var(--color-white);
  border-bottom: 1px solid #eee;
  position: relative;
  z-index: 50;
}

.logo img { height: 56px; }

.main-nav ul {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-bottom: 6px;
  border-bottom: 1px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
  border-bottom-color: var(--color-ink);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
}

@media (max-width: 820px) {
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--color-white); border-bottom: 1px solid #eee; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 10px 40px 20px; }
  .main-nav a { display: block; padding: 12px 0; }
  .main-nav[data-open="false"] { display: none; }
  .nav-toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--color-blush);
  padding: 90px 0 100px;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
}

.hero .tree-graphic { max-width: 520px; margin: 0 auto; }

.hero .eyebrow-name { font-size: 0.95rem; letter-spacing: 0.15em; margin-bottom: 20px; }

.hero h1 .drop { font-size: 1.6em; }

.hero .subtitle {
  font-family: var(--font-body);
  text-transform: none;
  font-size: 1.3rem;
  margin: 18px 0 10px;
  font-style: italic;
}

.hero .tagline { font-size: 1rem; color: #333; }

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero .tree-graphic { max-width: 320px; }
  h1 { font-size: 2.3rem; }
}

/* ---------- Sekce se službami (homepage) ---------- */
.services-intro {
  background: var(--color-white);
  padding: 70px 0 40px;
  text-align: center;
}

.services-intro h3.eyebrow { text-align: center; }

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  max-width: 900px;
  margin: 30px auto 40px;
  text-align: center;
}

.services-grid h3 { font-size: 1.3rem; margin-bottom: 12px; }
.services-grid p { color: #444; }

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

.btn {
  display: inline-block;
  background: var(--color-ink);
  color: var(--color-white);
  padding: 14px 34px;
  font-family: var(--font-body);
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.btn:hover { opacity: 0.85; }
.btn.btn-outline { background: transparent; color: var(--color-ink); border: 1px solid var(--color-ink); }

.center { text-align: center; }

/* ---------- Seznamte se / About teaser ---------- */
.about-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.about-teaser .photo { background-size: cover; background-position: center; min-height: 460px; }
.about-teaser .text-panel {
  background: var(--color-blush-dark);
  padding: 70px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-teaser .text-panel h3.eyebrow { margin-bottom: 4px; }
.about-teaser .text-panel h2 { margin-bottom: 20px; }
.about-teaser .text-panel p { color: #333; }
.about-teaser .more-link { margin-top: 20px; font-family: var(--font-heading); letter-spacing: 0.1em; text-decoration: underline; font-size: 0.9rem; }

@media (max-width: 820px) {
  .about-teaser { grid-template-columns: 1fr; }
  .about-teaser .photo { min-height: 320px; }
  .about-teaser .text-panel { padding: 50px 30px; }
}

/* ---------- Generic page hero (O mně / O terapii / Rezervace) ---------- */
.page-hero {
  background: var(--color-blush);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

.page-hero .branch-deco {
  position: absolute;
  right: 40px;
  top: 20px;
  width: 260px;
  opacity: 0.9;
}

.page-hero h1 { max-width: 700px; }
.page-hero .lead { max-width: 760px; font-size: 1.05rem; }

/* ---------- O mně stránka ---------- */
.intro-block { padding: 70px 0; max-width: 820px; margin: 0 auto; }
.intro-block p { color: #333; }

/* ---------- info-row (Vzdělání / Praxe a stáže se střídavou kytičkou) ---------- */
.info-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.info-row .cell { padding: 60px; }
.info-row .cell.bg-white { background: var(--color-white); }
.info-row .cell.bg-gray { background: var(--color-offwhite); }
.info-row .cell.image-cell {
  display: flex;
  align-items: center;
  justify-content: center;
}
.info-row .cell.image-cell img { max-width: 200px; }

.info-row h3.eyebrow { margin-bottom: 20px; }
.info-row ul { padding-left: 20px; margin: 0; color: #333; }
.info-row li { margin-bottom: 10px; }

@media (max-width: 820px) {
  .info-row { grid-template-columns: 1fr; }
  .info-row .cell { padding: 40px 30px; }
  .info-row .cell.image-cell img { max-width: 140px; }
}

/* ---------- O terapii stránka ---------- */
.therapy-services { padding: 70px 0 20px; }

.service-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 50px;
}

.service-row .caption { text-align: center; font-family: var(--font-heading); text-transform: uppercase; font-size: 1rem; letter-spacing: 0.04em; }
.service-row .caption img.caption-flower { display: block; max-width: 150px; margin: 0 auto 14px; }
.service-row .box { background: var(--color-blush); padding: 34px 40px; text-align: center; color: #333; }

@media (max-width: 760px) {
  .service-row { grid-template-columns: 1fr; text-align: center; }
}

.therapy-room-photo { max-height: 560px; width: 100%; object-fit: cover; }

.therapy-address {
  background: var(--color-blush);
  text-align: center;
  padding: 30px 20px 60px;
  font-size: 1.05rem;
}

.therapy-address a { text-decoration: underline; }

/* ---------- Rezervace stránka ---------- */
.reservation-notice {
  padding: 60px 0 10px;
}

.reservation-notice .lead { max-width: 760px; }

.pricing-list { padding: 30px 0 70px; display: flex; flex-direction: column; gap: 40px; }

.price-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--color-line);
  min-height: 320px;
}

.price-card .photo { background-size: cover; background-position: center; }
.price-card .details {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 40px;
  text-align: center;
}

.price-card .details h3 { font-family: var(--font-body); text-transform: none; font-size: 1.3rem; margin: 0; }
.price-card .details .more { text-decoration: underline; font-size: 0.9rem; }
.price-card .details .duration,
.price-card .details .price { font-size: 1.05rem; }

@media (max-width: 760px) {
  .price-card { grid-template-columns: 1fr; }
  .price-card .photo { min-height: 220px; }
}

/* ---------- Booking form ---------- */
.booking-form-section {
  background: var(--color-blush);
  padding: 70px 0;
}

.booking-form {
  max-width: 640px;
  margin: 0 auto;
  background: var(--color-white);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.booking-form label { font-size: 0.9rem; color: #444; display: block; margin-bottom: 6px; }
.booking-form input, .booking-form select, .booking-form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 10px 4px;
  border: none;
  border-bottom: 1px solid #999;
  background: transparent;
}
.booking-form input:focus, .booking-form select:focus, .booking-form textarea:focus { outline: none; border-bottom-color: var(--color-ink); }

.booking-note {
  font-size: 0.85rem;
  color: #555;
  background: var(--color-offwhite);
  border-left: 3px solid var(--color-mauve);
  padding: 14px 18px;
  margin-bottom: 10px;
}

.form-success { display: none; color: #2c6b2f; font-weight: bold; }

/* ---------- Kontakt / footer (na každé stránce) ---------- */
.contact-section {
  padding: 70px 0 30px;
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 960px;
  margin: 40px auto 0;
  text-align: left;
}

.contact-grid h4.caps-heading { font-size: 1.05rem; margin-bottom: 16px; }
.contact-grid p { margin-bottom: 6px; }

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form .row { display: flex; gap: 20px; border-bottom: 1px solid #999; padding-bottom: 6px; }
.contact-form input, .contact-form textarea {
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  width: 100%;
  padding: 4px 0;
}
.contact-form textarea { border-bottom: 1px solid #999; padding-bottom: 8px; resize: vertical; min-height: 70px; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; }
.contact-form button { align-self: center; margin-top: 10px; }

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

.map-embed {
  margin: 50px auto 0;
  max-width: 960px;
}

.map-embed iframe { display: block; width: 100%; }

footer.site-footer {
  text-align: center;
  padding: 30px 0 60px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: #666;
}

/* misc */
.visually-hidden { position: absolute; left: -9999px; }
