@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

/* Design tokens: brand colors, typography, spacing, and layout */
:root {
  --brand-primary: #c12cc3;
  --bg-pink-light: #ffeaf3;
  --bg-gray-light: #f4f4f6;
  --text-main: #2b2b2b;
  --text-muted: #6b6b6b;
  --radius-sm: 6px;
  --radius-md: 12px;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
  --content-max: 1100px;
  --font-sans: "Poppins", "Segoe UI", Tahoma, Arial, sans-serif;
  --site-header-bg: #FFEAF3;
  --site-header-border: #FDCEE8;
  --site-footer-bg: var(--brand-primary);
}

/* Base element styles: typography defaults */
body {
  font-family: var(--font-sans);
  color: var(--text-main);
}

html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container.v2 {
  flex: 1;
}

/* Base heading styles: consistent weight */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 500;
}

/* Base paragraph style: comfortable reading rhythm */
p {
  line-height: 1.6;
}

/* Layout utilities: sections and wrappers */
.section {
  padding: 48px 0;
}

.section--pink {
  background: var(--bg-pink-light);
}

.section--gray {
  background: var(--bg-gray-light);
}

.section--white {
  background: #fff;
}

.stack-sm > * + * {
  margin-top: 8px;
}

.stack-md > * + * {
  margin-top: 16px;
}

.wrap {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* Card utilities: simple containers */
.card {
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 24px;
}

.card--soft {
  background: #f5f5f5;
  box-shadow: none;
}

.card-lg {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 32px;
}

/* Text utilities: brand and alignment helpers */
.text-brand {
  color: var(--brand-primary);
}

.text-muted {
  color: var(--text-muted);
}

.text-center {
  text-align: center;
}

/* Button utility: brand call-to-action */
.btn-brand {
  display: inline-block;
  background: var(--brand-primary);
  color: #ffffff;
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  text-decoration: none;
}

/* Primary header navigation */
.site-nav a {
  color: #000000;
  text-decoration: none;
}

.site-nav a:hover {
  color: #000000;
  text-decoration: none;
}

/* Global header layout */
.site-header {
  background-color: var(--site-header-bg);
  border: 1px solid var(--site-header-border);
  position: relative;
  z-index: 3;
}

.site-header__inner {
  padding-top: 5px;
  padding-bottom: 1.5rem;
}

.site-title {
  margin-top: 25px;
  background-color: var(--brand-primary);
  color: #ffffff;
}

.site-nav {
  text-align: center;
  margin-top: 1rem;
}

/* Page-specific fixes: footer text colors */
.site-footer {
  background-color: var(--site-footer-bg);
  position: relative;
  z-index: 0;
  color: #fff;
}

.site-footer::before {
  pointer-events: none;
  z-index: 0;
}

.site-footer .container,
.site-footer .row,
.site-footer a,
.site-footer p {
  position: relative;
  z-index: 1;
}

.site-footer p {
  color: inherit;
  text-align: center;
  margin-bottom: 0;
}

#siteFooter p.fs-lg-14.fs-sm-14 {
  color: rgb(255, 172, 172);
  font-weight: 700;
}

#siteFooter a,
#siteFooter a:link,
#siteFooter a:visited {
  color: #ffd6f3;
  text-decoration: none;
}

#siteFooter a:hover {
  color: #ffffff;
  text-decoration: none;
}

/* Page shell for layouts that wrap the header */
.page-shell {
  padding-top: 5px;
}

.row-white {
  background: #ffffff;
}

/* Page-level backgrounds */
body.page--home {
  background-image: url("/uploads/page/files/zrucnosti-bg.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
}

/* Future variant: alternative footer color */
.site-footer--blue {
  background-color: var(--color-accent-blue, #2d76c5);
}

/* Utilities: brand accent helpers */
.text-brand {
  color: var(--brand-primary);
}

.fw-brand {
  font-weight: 600;
}

.soft-border {
  border: 1px solid #eee;
}

.sprevadzanie-cennik {
  margin-top: 30px;
}

.lead-text {
  max-width: 760px;
  margin: 20px auto;
}

.section-inner-md {
  margin: 20px 0;
  padding: 20px 0;
}

.content-narrow {
  max-width: 720px;
}

.input-narrow {
  max-width: 380px;
}

.btn-rounded-brand {
  background-color: var(--brand-primary);
  border: none;
  border-color: transparent;
  padding: 10px 24px;
  border-radius: 25px;
  color: #ffffff;
  text-decoration: none;
}

.btn-rounded-brand:hover,
.btn-rounded-brand:focus {
  background-color: #a024a4;
  color: #ffffff;
  text-decoration: none;
}

.btn-rounded-brand:focus {
  box-shadow: none;
}

#webinare h4 {
  color: var(--brand-primary);
  font-weight: 600;
}

#webinare a.text-decoration-none {
  color: var(--brand-primary);
  font-weight: 600;
  text-decoration: none;
}

#webinare a.text-decoration-none:hover {
  color: var(--brand-primary);
  text-decoration: none;
}

#online-kurzy h4 {
  color: var(--brand-primary);
  font-weight: 600;
}

#online-kurzy a.text-decoration-none {
  color: var(--brand-primary);
  font-weight: 600;
  text-decoration: none;
}

#online-kurzy a.text-decoration-none:hover {
  color: var(--brand-primary);
  text-decoration: none;
}
