/* Kadeřnictví — Style Sheet */
:root {
  --primary:        oklch(0.72 0.16 70);
  --primary-light:  oklch(0.87 0.10 70);
  --primary-dark:   oklch(0.52 0.13 70);
  --accent:         oklch(0.62 0.14 100);
  --accent-light:   oklch(0.82 0.08 100);
  --surface:        oklch(0.97 0.005 70);
  --surface-alt:    oklch(0.93 0.01 70);
  --dark:           oklch(0.15 0.02 70);
  --light:          oklch(0.97 0.005 70);
  --muted:          oklch(0.45 0.02 70);
  --white:          #ffffff;
  --font-display:   'Playfair Display', Georgia, serif;
  --font-body:      'Inter', system-ui, sans-serif;
  --max-width:      1200px;
  --header-height:  72px;
  --radius:         8px;
  --shadow:         0 2px 12px oklch(0.15 0.02 70 / 0.12);
  --shadow-lg:      0 8px 32px oklch(0.15 0.02 70 / 0.16);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

::selection { background: var(--accent); color: var(--white); }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-dark); }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--primary);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius);
  z-index: 1000;
  font-weight: 600;
}
.skip-link:focus { top: 8px; }

/* Typography — fluid clamp */
h1 { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; line-height: 1.15; }
h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 4vw, 2.5rem); font-weight: 700; line-height: 1.2; }
h3 { font-family: var(--font-display); font-size: clamp(1.2rem, 3vw, 1.6rem); font-weight: 600; line-height: 1.3; }
h4 { font-family: var(--font-display); font-size: clamp(1rem, 2.5vw, 1.25rem); font-weight: 600; line-height: 1.4; }

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

/* ====== HEADER ====== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-height);
  z-index: 900;
  background: oklch(1 0 0 / 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: box-shadow 0.3s, background 0.3s;
  display: flex;
  align-items: center;
}
.site-header.scrolled {
  background: oklch(1 0 0 / 0.96);
  box-shadow: var(--shadow);
}
.site-header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}
.site-header__logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark);
  text-decoration: none;
}
.site-header__logo:hover { color: var(--primary); }

.nav-links {
  display: none;
  list-style: none;
  gap: 4px;
}
.nav-links a {
  display: block;
  padding: 8px 14px;
  color: var(--dark);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover,
.nav-links a.is-active {
  color: var(--primary);
  background: oklch(0.55 0.16 70 / 0.08);
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-links.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: var(--header-height);
  left: 0; right: 0;
  background: var(--white);
  padding: 16px 20px;
  box-shadow: var(--shadow);
}

@media (min-width: 768px) {
  .hamburger { display: none; }
  .nav-links { display: flex; }
}

/* ====== HERO ====== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  margin-top: var(--header-height);
  background: var(--dark);
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}
.hero__content {
  position: relative;
  z-index: 2;
  padding: 60px 20px;
  max-width: 700px;
}
.hero__content h1 { color: var(--white); margin-bottom: 16px; }
.hero__content p { color: oklch(0.9 0.01 70); font-size: clamp(1rem, 2.5vw, 1.25rem); margin-bottom: 32px; }

/* Hero entrance animation */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero__content h1 { animation: fadeInUp 0.8s ease both; animation-delay: 0.1s; }
.hero__content p  { animation: fadeInUp 0.8s ease both; animation-delay: 0.3s; }
.hero__content .btn { animation: fadeInUp 0.8s ease both; animation-delay: 0.5s; }

/* ====== BUTTONS ====== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px oklch(0.15 0.02 70 / 0.2);
}
.btn--primary { background: var(--primary); color: var(--white); }
.btn--primary:hover { background: var(--primary-dark); color: var(--white); }
.btn--ghost { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn--ghost:hover { background: oklch(1 0 0 / 0.15); color: var(--white); }

/* ====== SECTIONS ====== */
section { padding: 80px 0; }
section:nth-child(even) { background: var(--surface-alt); }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { color: var(--muted); max-width: 560px; margin: 0 auto; }

/* ====== FEATURES / SERVICES GRID ====== */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.feature-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: oklch(0.55 0.16 70 / 0.1);
  border-radius: 50%;
}
.feature-card__icon svg { width: 28px; height: 28px; stroke: var(--primary); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 0.95rem; }

/* ====== TEAM ====== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
@media (min-width: 768px) {
  .team-grid { grid-template-columns: repeat(4, 1fr); }
}
.team-card {
  text-align: center;
}
.team-card__photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 3px solid var(--primary-light);
}
.team-card h3 { margin-bottom: 4px; }
.team-card p { color: var(--muted); font-size: 0.9rem; }

/* ====== TESTIMONIALS ====== */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  position: relative;
}
.testimonial-card::before {
  content: "\201E";
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--primary-light);
  position: absolute;
  top: 12px;
  left: 24px;
  line-height: 1;
}
.testimonial-card blockquote {
  font-style: italic;
  margin-bottom: 16px;
  padding-top: 24px;
  color: var(--dark);
  line-height: 1.6;
}
.testimonial-card cite {
  font-style: normal;
  font-weight: 600;
  color: var(--primary);
  font-size: 0.95rem;
}
.stars { color: var(--primary); letter-spacing: 2px; margin-bottom: 8px; }

/* ====== PRICING ====== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}
.pricing-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--surface-alt);
  transition: transform 0.3s;
}
.pricing-card--featured {
  border-top-color: var(--primary);
  transform: scale(1.03);
}
.pricing-card:hover { transform: translateY(-4px); }
.pricing-card h3 { margin-bottom: 8px; }
.pricing-card .price {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}
.pricing-card ul {
  list-style: none;
  margin-bottom: 24px;
  text-align: left;
}
.pricing-card li {
  padding: 8px 0;
  border-bottom: 1px solid var(--surface-alt);
  font-size: 0.95rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.pricing-card li svg {
  width: 16px;
  height: 16px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
}

/* ====== CONTACT ====== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}
.contact-info h3 { margin-bottom: 16px; }
.contact-info address {
  font-style: normal;
  margin-bottom: 24px;
  line-height: 2;
}
.contact-info a { color: var(--primary); font-weight: 500; }
.contact-info a:hover { color: var(--primary-dark); }

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
}
.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 2px solid var(--surface-alt);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s;
  background: var(--white);
  color: var(--dark);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  outline: none;
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-status { font-size: 0.95rem; min-height: 1.5em; }
.form-status--success { color: oklch(0.55 0.15 150); }
.form-status--error { color: oklch(0.55 0.15 25); }

.map-embed {
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: var(--radius);
  margin-top: 24px;
}

/* ====== FOOTER ====== */
.site-footer {
  background: var(--dark);
  color: oklch(0.75 0.01 70);
  padding: 40px 0;
  text-align: center;
  font-size: 0.9rem;
}
.site-footer a { color: var(--primary-light); }
.site-footer a:hover { color: var(--primary); }

/* ====== MOBILE CTA BAR ====== */
.mobile-cta {
  display: flex;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 800;
  background: var(--white);
  box-shadow: 0 -2px 12px oklch(0.15 0.02 70 / 0.12);
  padding: 10px 16px;
  gap: 12px;
}
.mobile-cta a {
  flex: 1;
  text-align: center;
  padding: 12px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
}
.mobile-cta__call { background: var(--primary); color: var(--white) !important; }
.mobile-cta__contact { background: transparent; color: var(--primary) !important; border: 2px solid var(--primary); }

@media (min-width: 768px) {
  .mobile-cta { display: none; }
}

/* Extra bottom padding on mobile for CTA bar */
@media (max-width: 767px) {
  .site-footer { padding-bottom: 90px; }
}

/* ====== PRINT ====== */
@media print {
  .site-header, .site-footer, .mobile-cta, .contact-form, .map-embed { display: none !important; }
  body { color: #000; background: #fff; }
  a::after { content: " (" attr(href) ")"; font-size: 0.8em; color: #555; }
  section { page-break-inside: avoid; padding: 20px 0; }
}
