/* Minimalistický moderní design - Zdravé a krásné vlasy | Eva Víšková */
:root {
  --bg-main: #faf8f5;
  --bg-card: #ffffff;
  --bg-soft: #f2ede6;
  --text-main: #1f1d1b;
  --text-muted: #6b645e;
  --accent: #8c6d53;
  --accent-dark: #6b513b;
  --border: #e5dfd7;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(31, 29, 27, 0.05);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigace */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.brand img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 6px 0;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-main);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
}

.nav-cta {
  background: var(--text-main);
  color: #fff !important;
  padding: 9px 18px !important;
  border-radius: 99px;
  font-size: 0.9rem !important;
}

.nav-cta:hover {
  background: var(--accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 1.1rem;
  cursor: pointer;
}

/* Tlačítka */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 99px;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--text-main);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--text-main);
  background: var(--bg-soft);
}

/* Sekce & Karty */
section { padding: 72px 0; }
.section-alt { background: var(--bg-soft); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 10px;
  display: block;
}

h1, h2, h3 {
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); margin-bottom: 20px; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 10px; }

.lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 28px;
}

/* Hero */
.hero {
  padding: 80px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero-img-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/5;
  background: var(--bg-soft);
}

.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Gridy */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.card-img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}

/* Ceník */
.pricelist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  align-items: start;
}

.pricelist-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.pricelist-box h2 {
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent-dark);
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.pl-group-title {
  font-weight: 600;
  font-size: 1rem;
  margin-top: 16px;
  margin-bottom: 6px;
  color: var(--text-main);
}

.pl-group-title:first-of-type {
  margin-top: 0;
}

.pl-sub {
  display: block;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pl-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 0.96rem;
}

.pl-row:last-child { border-bottom: none; }
.pl-name { color: var(--text-muted); }
.pl-name.strong { color: var(--text-main); font-weight: 500; }
.pl-price { font-weight: 600; color: var(--accent-dark); white-space: nowrap; }

/* Galerie */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.filter-btn {
  padding: 8px 18px;
  border-radius: 99px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.9rem;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--text-main);
  color: #fff;
  border-color: var(--text-main);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1/1;
  background: var(--bg-soft);
  border: 1px solid var(--border);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
  display: block;
}

.gallery-item:hover img { transform: scale(1.04); }

/* Formulář */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 0.9rem; font-weight: 500; margin-bottom: 6px; }
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-main);
  font-family: inherit;
  font-size: 0.95rem;
}
.form-control:focus { outline: none; border-color: var(--accent); background: #fff; }

.alert {
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 0.95rem;
}
.alert-success { background: #e8f5e9; color: #1b5e20; border: 1px solid #c8e6c9; }
.alert-error { background: #ffebee; color: #b71c1c; border: 1px solid #ffcdd2; }

/* Details / Rozbalovač */
details.more {
  margin-top: 16px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}
details.more summary {
  cursor: pointer;
  font-weight: 500;
  color: var(--accent-dark);
}
details.more .more-body {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 0.95rem;
}
details.more h4 { color: var(--text-main); margin: 16px 0 6px; }

/* Patička */
.site-footer {
  background: #1a1816;
  color: #d6cfc7;
  padding: 64px 0 32px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.site-footer h4 {
  color: #fff;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.site-footer p, .site-footer a {
  color: #b5aca3;
  font-size: 0.92rem;
}

.site-footer a:hover { color: #fff; }

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: #8a8179;
}

@media (max-width: 860px) {
  .hero-grid, .grid-2, .grid-3, .footer-grid, .pricelist-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--bg-main);
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
}
