/* ── Reset & base ──────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  color: #2c2c2c;
  background: #faf8f5;
  line-height: 1.75;
}

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

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

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", "Noto Serif", serif;
  font-weight: normal;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.2rem, 6vw, 3.8rem);
}
h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 1.25rem;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

/* ── Layout ───────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

section {
  padding: 5rem 0;
}

section ul {
  padding-left: 1.25rem;
}

.section-alt {
  background: #f0ebe3;
}

/* ── Navigation ───────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #e4ddd5;
}

.nav-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-family: Georgia, "Times New Roman", "Noto Serif", serif;
  font-size: 1.15rem;
  font-weight: normal;
  letter-spacing: 0.02em;
  color: #2c2c2c;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.2rem;
}

.nav-links a {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5a5a5a;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #7a9e7e;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: #2c2c2c;
  padding: 0.25rem;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(155deg, #e8efe8 0%, #faf8f5 55%);
  padding: 6.5rem 0 5.5rem;
  text-align: center;
}

.hero-label {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7a9e7e;
  margin-bottom: 1.1rem;
}

.hero h1 {
  color: #1a2e1a;
  margin-bottom: 1.1rem;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #5a5a5a;
  max-width: 460px;
  margin: 0 auto 2.25rem;
}

.elegant-pink {
  font-family: 'Dancing Script', cursive;
  color: #ff69b4; /* hotpink */
  font-size: 1.6em;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

/* ── Button ───────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.8rem 2.25rem;
  background: #7a9e7e;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}

.btn:hover {
  background: #5e8462;
}
.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* ── O mně ────────────────────────────────────────────────── */
.section-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.section-text p {
  margin-bottom: 1rem;
  color: #444;
}

.section-photo img {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* ── Ceník ────────────────────────────────────────────────── */
#cenik h2 {
  text-align: center;
}

.price-table {
  width: 100%;
  max-width: 420px;
  margin: 0 auto 1.75rem;
  border-collapse: collapse;
}

.price-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #e8e4df;
  font-size: 1.05rem;
}

.price-table td.price {
  font-family: Georgia, "Times New Roman", "Noto Serif", serif;
  font-size: 1.6rem;
  color: #4e7a52;
  text-align: right;
  white-space: nowrap;
}

.price-note {
  font-size: 0.85rem;
  color: #706b65;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.6;
}

/* ── Kontakt ──────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 0.75rem;
}

.contact-info > p {
  color: #555;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.contact-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon-wrap {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 10px;
  background: #edf3ee;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon {
  width: 1.15rem;
  height: 1.15rem;
  fill: #4e7a52;
}

.contact-item-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.contact-item-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888;
  font-weight: 600;
}

.contact-item-text a {
  color: #2c2c2c;
  text-decoration: none;
  font-size: 0.95rem;
}

.contact-item-text a:hover {
  color: #4e7a52;
  text-decoration: underline;
}

.contact-form-wrap {
  background: #fff;
  border: 1px solid #e4ddd5;
  border-radius: 14px;
  padding: 2rem 2rem 1.5rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.5rem;
}

/* Form */
.form-group {
  margin-bottom: 1.25rem;
}

label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 0.4rem;
}

input,
textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid #d4cdc5;
  border-radius: 4px;
  background: #fff;
  font-family: inherit;
  font-size: 1rem;
  color: #2c2c2c;
  transition: border-color 0.2s;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #7a9e7e;
  box-shadow: 0 0 0 3px rgba(122, 158, 126, 0.15);
}

textarea {
  resize: vertical;
}

#form-status {
  margin-top: 1rem;
  font-size: 0.9rem;
  min-height: 1.4em;
}

.status-ok {
  color: #4a7c59;
}
.status-err {
  color: #b94a48;
}

/* ── Form success state ───────────────────────────────────── */
.form-success {
  text-align: center;
  padding: 2.5rem 1rem;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.form-success.active {
  opacity: 1;
  transform: translateY(0);
}

.form-success h3 {
  font-size: 1.5rem;
  color: #1a2e1a;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.form-success p {
  color: #5a5a5a;
  font-size: 1.05rem;
}

/* Animated checkmark */
.checkmark {
  width: 64px;
  height: 64px;
  margin: 0 auto;
}

.checkmark-circle {
  stroke: #7a9e7e;
  stroke-width: 2.5;
  stroke-dasharray: 151;
  stroke-dashoffset: 151;
  stroke-linecap: round;
}

.checkmark-tick {
  stroke: #7a9e7e;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 36;
  stroke-dashoffset: 36;
}

.form-success.active .checkmark-circle {
  animation: circle-draw 0.5s ease forwards;
}

.form-success.active .checkmark-tick {
  animation: tick-draw 0.35s 0.4s ease forwards;
}

@keyframes circle-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes tick-draw {
  to {
    stroke-dashoffset: 0;
  }
}

/* ── Footer ───────────────────────────────────────────────── */
footer {
  background: #2c2c2c;
  color: #aaa;
  text-align: center;
  padding: 1.75rem 0;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}

/* ── Responsive — tablet & desktop ───────────────────────── */
@media (min-width: 768px) {
  .section-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr 1.3fr;
    align-items: start;
  }
}

/* ── Responsive — mobile nav ──────────────────────────────── */
@media (max-width: 960px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: #faf8f5;
    border-bottom: 1px solid #e4ddd5;
    padding: 0.5rem 0;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li a {
    display: block;
    padding: 0.9rem 1.5rem;
  }
}
