/* === Tokens === */
:root {
  --bg: #faf6f0;
  --bg-alt: #f0e9dd;
  --text: #2a2a2a;
  --text-muted: #6b6b6b;
  --accent: #5a7a3d;
  --accent-dark: #3d5a2c;
  --accent-light: #8ba66f;
  --warm: #8b6f47;
  --warm-light: #b89678;
  --shadow: 0 8px 30px rgba(60, 50, 30, 0.08);
  --shadow-lg: 0 20px 60px rgba(60, 50, 30, 0.15);
  --radius: 14px;
  --radius-sm: 8px;
  --max-width: 1200px;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* === Layout === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }
.center { text-align: center; }

/* === Typography === */
h1, h2, h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
}
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.5em; }
h3 { font-size: 1.5rem; margin-bottom: 0.4em; }
h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.3em;
  color: var(--accent-dark);
}
.eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1rem;
}
.eyebrow-light { color: rgba(255, 255, 255, 0.85); }
.section-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 3rem;
}
.lead {
  font-size: 1.2rem;
  color: var(--text-muted);
}

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-primary {
  background: var(--accent);
  color: white;
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}

/* === Header === */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250, 246, 240, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(60, 90, 44, 0.08);
}
/* === Work-in-progress bar (fixed below the header, always visible) === */
.wip-bar {
  position: fixed;
  top: 70px; /* directly under the fixed header */
  left: 0;
  right: 0;
  z-index: 99; /* below header (100), above content */
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 45%, var(--warm) 100%);
  color: white;
  text-align: center;
  padding: 14px 24px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  box-shadow: 0 6px 18px rgba(60, 50, 30, 0.12);
}
@media (max-width: 540px) {
  .wip-bar {
    padding: 12px 16px;
    font-size: 0.88rem;
  }
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
}
.brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--accent-dark);
}
.brand span { margin: 0 5px; color: var(--warm); }
.nav-menu {
  display: flex;
  gap: 32px;
  list-style: none;
  padding: 0;
}
.nav-menu a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.95rem;
  transition: color 0.2s;
}
.nav-menu a:hover { color: var(--accent); }
.nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  padding: 8px;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}

/* === Hero === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: white;
  overflow: hidden;
}
/* Pro výměnu hero obrázku — odstraňte gradient níže a vložte background-image: url('images/hero.jpg'); */
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top, rgba(139, 111, 71, 0.6), transparent 60%),
    radial-gradient(ellipse at bottom right, rgba(58, 90, 44, 0.5), transparent 70%),
    linear-gradient(135deg, #6a8a4d 0%, #8b6f47 60%, #b89678 100%);
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(40, 30, 20, 0.25) 0%, rgba(40, 30, 20, 0.5) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 200px 24px 80px; /* clears fixed header + WIP bar */
}
.hero h1 {
  color: white;
  margin-bottom: 1rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.hero .lead {
  color: rgba(255, 255, 255, 0.92);
  max-width: 580px;
  margin: 0 auto 2.5rem;
}
.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 40px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  z-index: 2;
}
.scroll-indicator span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 2px;
  height: 8px;
  background: white;
  border-radius: 1px;
  animation: scroll-dot 2s infinite;
}
@keyframes scroll-dot {
  0% { transform: translate(-50%, 0); opacity: 1; }
  100% { transform: translate(-50%, 14px); opacity: 0; }
}

/* === About (split) === */
.split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.split-img img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%;
}
.split-text p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}
.credentials {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
}
.credentials li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: var(--text);
}
.credentials li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 16px;
  height: 2px;
  background: var(--accent);
}

/* === Service cards === */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 3rem;
}
.card {
  background: var(--bg);
  padding: 40px 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}
.section-alt .card { background: white; }
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.card-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1rem;
  color: var(--accent);
}
.card-icon svg { width: 100%; height: 100%; }
.card p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.card ul {
  padding-left: 1.2rem;
  color: var(--text-muted);
}
.card li { padding: 2px 0; }

/* === Horses === */
.horses {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  margin: 3rem auto 0;
  max-width: 760px;
}
.horse { text-align: center; }
.horse img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow);
}
.horse-meta {
  color: var(--accent);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.horse p:not(.horse-meta) { color: var(--text-muted); }

/* === Pricing === */
.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 3rem;
}
.price {
  background: white;
  padding: 36px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 0.3s;
}
.price:hover { transform: translateY(-4px); }
.price-featured {
  background: var(--accent);
  color: white;
  transform: scale(1.03);
}
.price-featured h3,
.price-featured .amount { color: white; }
.price-featured > p:not(.amount):not(.badge) { color: rgba(255, 255, 255, 0.88); }
.price h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}
.amount {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-weight: 600;
  margin: 0.5rem 0 1rem;
  color: var(--accent-dark);
  line-height: 1.1;
}
.amount span {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}
.price-featured .amount span { color: rgba(255, 255, 255, 0.75); }
.badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--warm);
  color: white;
  padding: 5px 16px;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.price > p { color: var(--text-muted); }

/* === Gallery === */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
  margin-top: 3rem;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
  transition: transform 0.4s;
}
.gallery img:hover { transform: scale(1.03); }
.gallery img:nth-child(3) { grid-row: span 2; }

/* === Contact === */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  margin-top: 3rem;
}
.contact-info {
  display: grid;
  gap: 2rem;
  align-content: start;
}
.contact-item a {
  color: var(--text);
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.2s;
}
.contact-item a:hover { color: var(--accent); }
.contact-note {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.3rem;
  font-style: italic;
}
.contact-form {
  display: grid;
  gap: 1rem;
  background: white;
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}
.contact-form input,
.contact-form textarea {
  font: inherit;
  font-size: 1rem;
  padding: 12px 16px;
  border: 1.5px solid #e5dcc8;
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.contact-form textarea { resize: vertical; }
.contact-form button {
  justify-self: start;
  margin-top: 0.5rem;
}

/* === Footer === */
.footer {
  background: var(--accent-dark);
  color: rgba(255, 255, 255, 0.9);
  padding: 40px 0;
  text-align: center;
}
.footer p { margin-bottom: 0.4rem; }
.footer-small {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* === Reveal animation === */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === Responsive === */
@media (max-width: 860px) {
  .section { padding: 70px 0; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .contact { grid-template-columns: 1fr; gap: 40px; }
  .gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }
  .gallery img:nth-child(3) { grid-row: span 1; }

  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: 130px; /* below header (70px) + WIP bar (~60px on mobile) */
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    gap: 0;
    padding: 20px 0;
    box-shadow: var(--shadow);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-menu li {
    width: 100%;
    text-align: center;
  }
  .nav-menu a {
    display: block;
    padding: 14px 24px;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  .price-featured { transform: none; }
  .contact-form { padding: 28px; }
}
@media (max-width: 540px) {
  .gallery { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; text-align: center; }
}

/* === Form status === */
.form-status {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}
.form-status-error {
  background: #fcecec;
  color: #b03030;
  border: 1px solid #f0c5c5;
}
.form-success {
  text-align: center;
  padding: 2rem 1rem;
}
.form-success h3 {
  color: var(--accent);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}
.form-success p {
  color: var(--text-muted);
}
