/* ===== Proměnné a základ ===== */
:root {
  --brown-dark: #4b2e1f;
  --brown: #79502f;
  --brown-light: #c79a6b;
  --green: #5c7a4a;
  --green-light: #8aa873;
  --cream: #fbf4e7;
  --cream-dark: #f1e3c9;
  --text-dark: #3a2c1d;
  --white: #fffaf2;
  --radius: 14px;
  --shadow: 0 6px 18px rgba(75, 46, 31, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Nunito Sans", "Segoe UI", sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--brown-dark);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

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

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

/* ===== Header & navigace ===== */
header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(75, 46, 31, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 24px;
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--brown-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
}

nav a {
  font-weight: 600;
  color: var(--brown);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

nav a:hover,
nav a.active {
  color: var(--green);
  border-bottom-color: var(--green);
}

#nav-toggle {
  display: none;
}

.hamburger {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--brown-dark);
}

@media (max-width: 720px) {
  .hamburger {
    display: block;
  }

  nav ul {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--white);
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
    box-shadow: 0 8px 12px rgba(75, 46, 31, 0.08);
  }

  nav ul li {
    border-top: 1px solid var(--cream-dark);
  }

  nav a {
    display: block;
    padding: 14px 24px;
  }

  #nav-toggle:checked ~ nav ul {
    max-height: 320px;
  }
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--brown) 0%, var(--green) 100%);
  color: var(--white);
  padding: 90px 24px;
  text-align: center;
}

.hero h1 {
  color: var(--white);
  font-size: 2.8rem;
  margin-bottom: 16px;
}

.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 32px;
  opacity: 0.95;
}

.btn-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
  background: var(--white);
  color: var(--brown-dark);
}

.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* ===== Sekce obecně ===== */
section {
  padding: 70px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.section-title p {
  color: var(--brown);
  max-width: 560px;
  margin: 0 auto;
}

/* ===== Karty (Domů - nabídka) ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}

.card:hover {
  transform: translateY(-4px);
}

.card .icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.card p {
  color: var(--brown);
  font-size: 0.97rem;
}

/* ===== O nás ===== */
.about-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-photo {
  background: linear-gradient(135deg, var(--brown-light), var(--green-light));
  border-radius: var(--radius);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  box-shadow: var(--shadow);
}

@media (max-width: 720px) {
  .about-block {
    grid-template-columns: 1fr;
  }
}

.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.value-item {
  background: var(--cream-dark);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

.value-item .icon {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

/* ===== Koně ===== */
.horse-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.horse-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}

.horse-card:hover {
  transform: translateY(-4px);
}

.horse-photo {
  height: 180px;
  background: linear-gradient(135deg, var(--brown-light), var(--brown));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.4rem;
}

.horse-info {
  padding: 20px;
}

.horse-info h3 {
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.horse-breed {
  color: var(--green);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.horse-info p {
  font-size: 0.95rem;
  color: var(--text-dark);
}

.note-box {
  margin-top: 40px;
  background: var(--cream-dark);
  border-radius: var(--radius);
  padding: 20px 24px;
  font-size: 0.95rem;
  color: var(--brown-dark);
}

/* ===== Kontakt ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}

@media (max-width: 720px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info .item {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
}

.contact-info .icon {
  font-size: 1.4rem;
}

.contact-info h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-info p {
  color: var(--brown);
}

form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

label {
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 6px;
  display: block;
}

input,
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--cream-dark);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--cream);
}

input:focus,
textarea:focus {
  outline: 2px solid var(--green-light);
}

button[type="submit"] {
  background: var(--green);
  color: var(--white);
  font-weight: 700;
  padding: 14px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s;
}

button[type="submit"]:hover {
  background: var(--brown);
}

.map-placeholder {
  margin-top: 40px;
  background: var(--cream-dark);
  border-radius: var(--radius);
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brown);
  font-weight: 600;
  text-align: center;
  padding: 20px;
}

/* ===== Footer ===== */
footer {
  background: var(--brown-dark);
  color: var(--cream);
  padding: 40px 24px 24px;
  text-align: center;
}

footer .footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

footer a:hover {
  color: var(--brown-light);
}

footer .copyright {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-top: 16px;
}
