@import url('/assets/css/fonts.css');

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

:root {
  --bg:          #FAFAF8;
  --bg-alt:      #F5F0EE;
  --bg-dark:     #1A1210;
  --bg-wine:     #280C14;
  --text:        #1C1410;
  --text-muted:  #3D3532;
  --accent:      #8B1020;
  --accent-dark: #6B0D18;
  --accent-light:#F5ECEC;
  --border:      #E8E0DC;
  --white:       #FFFFFF;
  --ff-display:  'Cormorant Garamond', Georgia, serif;
  --ff-serif:    'Playfair Display', Georgia, serif;
  --ff-sans:     'Inter', system-ui, sans-serif;
  --max-w:       1100px;
  --section-py:  36px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-sans);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 300;
}

/* ─── LAYOUT ─── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}
section { padding: var(--section-py) 0; }

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250,250,248,0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 72px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}
.nav-logo img {
  height: 48px;
  width: 48px;
  object-fit: contain;
}
.nav-logo-text {
  font-family: var(--ff-serif);
  font-size: 1.125rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.2s;
  transform-origin: left;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  margin: 5px 0;
  transition: all 0.3s;
}

/* ─── HERO ─── */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 72px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
  text-align: center;
}

/* subtle background mandala */
#hero::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(139,16,32,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 680px;
  padding: 0 24px;
}

.hero-logo {
  width: 110px;
  height: 110px;
  object-fit: contain;
  margin-bottom: 36px;
  opacity: 0.9;
}

.hero-eyebrow {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1.05;
  font-weight: 300;
  color: var(--text);
  margin-bottom: 8px;
}
.hero-title em {
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 500;
}

/* thin decorative line */
.hero-divider {
  width: 48px;
  height: 1px;
  background: var(--accent);
  opacity: 0.4;
  margin: 28px auto;
}

.hero-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 44px;
  max-width: 420px;
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* scroll hint */
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 0.3; transform: scaleY(1); }
  50%      { opacity: 1;   transform: scaleY(1.1); }
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  font-family: var(--ff-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1.5px solid transparent;
  border-radius: 2px;
  transition: all 0.25s;
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: rgba(28,20,16,0.25);
}
.btn-outline:hover {
  border-color: var(--text);
  background: var(--text);
  color: #fff;
}

/* ─── SECTION TYPOGRAPHY ─── */
.section-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--text);
}
.section-text {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.85;
  max-width: 520px;
}

/* ─── TWO-COL SECTIONS ─── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.two-col.reverse .col-img { order: -1; }

.col-img {
  aspect-ratio: 4/5;
  border-radius: 3px;
  overflow: hidden;
  background: var(--bg-alt);
  position: relative;
}
/* s fotkou sa rám prispôsobí jej pomeru strán — žiadne orezanie ani mŕtve miesta */
.col-img:has(img) {
  aspect-ratio: auto;
  background: transparent;
}
.col-img img {
  width: 85%;
  max-height: 440px;
  height: auto;
  margin: 0 auto;
  display: block;
  border-radius: 3px;
  object-fit: contain;
}

/* elegant placeholder instead of gray box */
.col-img .img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--bg-alt);
}
.col-img .img-placeholder svg {
  opacity: 0.15;
  width: 40px;
  height: 40px;
  color: var(--text);
}
.col-img .img-placeholder::before {
  content: '';
  position: absolute;
  inset: 24px;
  border: 1px solid var(--border);
  pointer-events: none;
}

/* small decorative accent on section images */
.col-img::after {
  content: '';
  position: absolute;
  bottom: -8px; right: -8px;
  width: 60%; height: 60%;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  opacity: 0.12;
  pointer-events: none;
}
.two-col.reverse .col-img::after {
  right: auto; left: -8px;
  border-right: none; border-left: 2px solid var(--accent);
}

/* ─── QUOTE BAND ─── */
.quote-band {
  background: var(--bg-wine);
  padding: 40px 0;
}

.site-quote {
  font-family: var(--ff-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.82);
  line-height: 1.6;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  padding: 0 24px;
}

.quote-mark {
  font-family: var(--ff-display);
  font-size: 5rem;
  line-height: 0;
  vertical-align: -0.5em;
  color: var(--accent);
  opacity: 0.5;
  margin-right: 4px;
}

.quote-author {
  display: block;
  font-style: normal;
  font-size: 0.75rem;
  font-family: var(--ff-sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 24px;
}

/* ─── SCHEDULE ─── */
#rozvrh { background: var(--bg); }

.schedule-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

/* legend */
.schedule-legend {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.schedule-grid { border-top: 1px solid var(--border); }

.schedule-row {
  display: grid;
  grid-template-columns: 130px 90px 1fr 150px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  transition: all 0.15s;
  gap: 16px;
}
.schedule-row:hover {
  background: var(--bg-alt);
  padding-left: 16px;
  padding-right: 16px;
  margin: 0 -16px;
}

.schedule-day {
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}
.schedule-time {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 300;
}
.schedule-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 20px;
}

.type-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.schedule-location {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-align: right;
  font-weight: 400;
  text-transform: uppercase;
}

/* ─── STUDIOS BAR ─── */
.studios-bar {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.studios-bar .container {
  display: flex;
  align-items: center;
  gap: 24px;
}
.studios-bar-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.6;
  white-space: nowrap;
  flex-shrink: 0;
}
.studios-bar-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.studios-bar-links a {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.01em;
}
.studios-bar-links a:hover { color: var(--accent-dark); }
.studios-divider { color: var(--border); }

/* ─── COURSES ─── */
.courses-box {
  margin-top: 36px;
  padding: 44px 48px;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
/* accent corner */
.courses-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--accent);
  opacity: 0.5;
}

/* ─── CONTACT ─── */
#kontakt {
  background: var(--bg-wine);
  color: var(--white);
}
#kontakt .section-label { color: #D4657A; }
#kontakt .section-title { color: var(--white); font-weight: 300; }
#kontakt .section-text  { color: rgba(255,255,255,0.5); }

.contact-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  border-top: 1px solid rgba(255,255,255,0.08);
}
.contact-item {
  padding: 36px 32px 36px 0;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.contact-item + .contact-item { padding-left: 32px; }
.contact-item:last-child { border-right: none; padding-right: 0; }

.contact-item-label {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #D4657A;
  margin-bottom: 10px;
  font-weight: 500;
}
.contact-item-value {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  word-break: break-word;
  color: rgba(255,255,255,0.85);
  font-weight: 300;
}
.contact-item-value a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.contact-item-value a:hover { color: var(--accent); }

/* ─── FOOTER ─── */
.site-footer {
  background: var(--bg-wine);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 64px 0 0;
  color: rgba(255,255,255,0.68);
  font-size: 0.875rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: rgba(255,255,255,0.8);
  margin-bottom: 16px;
}
.footer-logo img { height: 36px; width: 36px; opacity: 0.85; }
.footer-logo span { font-family: var(--ff-serif); font-size: 1rem; }

.footer-tagline {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

.footer-col-title {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255,255,255,0.85); }

.footer-contact-line {
  display: block;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.875rem;
  margin-bottom: 8px;
  transition: color 0.2s;
}
.footer-contact-line:hover { color: rgba(255,255,255,0.85); }

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.footer-social a {
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
  display: flex;
  align-items: center;
}
.footer-social a:hover { color: var(--accent); }

.footer-ig-handle {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.02em;
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.04em;
}
.footer-admin-link {
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  font-size: 0.7rem;
  transition: color 0.2s;
}
.footer-admin-link:hover { color: rgba(255,255,255,0.4); }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  :root { --section-py: 28px; }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--bg);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--border);
    padding: 8px 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 14px 32px; }
  .nav-links a::after { display: none; }
  .nav-toggle { display: block; }

  .two-col { grid-template-columns: 1fr; gap: 48px; }
  .two-col.reverse .col-img { order: 0; }

  .schedule-row { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
  .schedule-location { text-align: left; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding: 28px 0; }
  .contact-item:last-child { border-bottom: none; }
  .contact-item:nth-child(2), .contact-item:last-child { padding-left: 0; }

  .courses-box { padding: 32px 24px; }

  .hero-btns { flex-direction: column; align-items: center; }
}


/* ─── VEĽKÝ ČERVENÝ ŠTÍTOK SEKCIE (namiesto label + čierny nadpis) ─── */
.section-title--label {
  font-family: var(--ff-sans);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  font-weight: 300;
}

/* ─── MENŠIE FOTKY V SEKCIÁCH ─── */
.col-img img,
.col-img .img-placeholder {
  width: 85%;
  margin: 0 auto;
  display: block;
}

/* ─── KOTVY KAPITOL (hypnoterapia / masáže) ─── */
#hypnoterapia, #masaze {
  scroll-margin-top: 96px;
}

/* ─── MOBIL: VEĽKOSTI NADPISOV ─── */
@media (max-width: 480px) {
  .section-title.section-title--label {
    font-size: clamp(1.5rem, 7.5vw, 2rem);
    letter-spacing: 0.05em;
  }
  /* hero nadpisy podstránok (majú inline clamp, preto !important) */
  .page-hero .section-title--label,
  h1.section-title--label {
    font-size: clamp(1.7rem, 8vw, 2.4rem) !important;
  }
  .page-hero-intro { font-size: 1rem; }
  .hero-eyebrow { letter-spacing: 0.05em; }
}


/* Prázdny riadok v admine = skutočná medzera medzi odsekmi aj na webe */
.jp-p + .jp-p { margin-top: 1em; }

/* ── Certifikáty (O mne, Joga, Hypnoterapia) ── */
.certs-strip { padding: 28px 0 36px; }
.certs-strip-label { margin-bottom: 16px; }
.certs-strip-list { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.cert-thumb { padding: 0; border: 0; background: none; cursor: pointer; line-height: 0; transition: transform .2s ease, box-shadow .2s ease; }
.cert-thumb img { display: block; }
.cert-thumb--certifikat { background: #fff; padding: 6px; border: 1px solid rgba(0,0,0,0.08); box-shadow: 0 2px 8px rgba(40,12,20,0.08); }
.cert-thumb--certifikat img { height: 92px; width: auto; max-width: 150px; object-fit: contain; }
.cert-thumb--odznak img { height: 92px; width: auto; max-width: 110px; object-fit: contain; }
.cert-thumb:hover { transform: translateY(-2px); }
.cert-thumb--certifikat:hover { box-shadow: 0 6px 16px rgba(40,12,20,0.14); }
.cert-thumb:focus-visible { outline: 2px solid var(--accent, #8B1020); outline-offset: 3px; }
.cert-lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(20,8,12,0.88); display: flex; align-items: center; justify-content: center; padding: 24px; cursor: pointer; }
.cert-lightbox[hidden] { display: none; }
.cert-lightbox img { max-width: 100%; max-height: 90vh; background: #fff; box-shadow: 0 10px 40px rgba(0,0,0,0.4); cursor: default; }
.cert-lightbox-close { position: absolute; top: 14px; right: 18px; background: none; border: 0; color: #fff; font-size: 40px; line-height: 1; cursor: pointer; }
@media (max-width: 600px) {
  .certs-strip-list { gap: 12px; }
  .cert-thumb--certifikat img, .cert-thumb--odznak img { height: 72px; }
}
