/* ==========================================
   1. CSS Proměnné (Barevná paleta & Písma)
   ========================================== */
:root {
  /* Fialový základ */
  --color-navy: #3b234a;          /* Sytá prémiová tmavě fialová pro h1, h2, tlačítka a akcenty */
  --color-navy-dark: #2a1836;     /* Tmavší fialová pro patičku */
  --color-navy-light: #5c3873;    /* Jemnější fialová pro hover stavy */

  /* Teplá zlatavá / Bronzová paleta (místo staré zelené) */
  --color-gold: #9c6644;          /* Teplá zlatavá pro štítky, h3 a akcentní ikony */
  --color-gold-hover: #7b4f33;    /* Tmavší zlatavá při najetí */
  --color-gold-bg: #f9f5f0;       /* Světle zlatavé pozadí pro odlišení bloku (Příběh, Kolečko) */

  /* Neutrální tóny pozadí a textu (bez ostré černé) */
  --color-white: #ffffff;
  --color-beige: #fcfaff;         /* Pozadí s lehkým fialovým podtónem */
  --color-text: #2d283e;          /* Tmavá břidlicově-fialová pro tělo textu */
  --color-text-light: #6e6680;    /* Měkčí šedofialová pro podnadpisy */

  /* Písma */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Source Sans 3', system-ui, sans-serif;

  /* Stíny a zaoblení */
  --shadow-sm: 0 2px 8px rgba(59, 35, 74, 0.06);
  --shadow-md: 0 8px 30px rgba(59, 35, 74, 0.1);
  --shadow-lg: 0 16px 48px rgba(59, 35, 74, 0.14);

  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.25s ease;
}

/* ==========================================
   2. Reset & Základní nastavení
   ========================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================
   3. Typografie & Štítky (Bez černé a zelené)
   ========================================== */
h1, h2, .section-title {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-navy);
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.875rem, 3.5vw, 2.5rem);
}

/* Podnadpisy v kartách a menší nadpisy v teplé zlatavé */
h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.375rem;
  color: var(--color-gold);
}

/* Malé nadpisové štítky nad nadpisem */
.section-label,
.hero-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-gold) !important;
  margin-bottom: 0.5rem;
}

.section-title {
  text-align: center;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  text-align: center;
  color: var(--color-gold);
  font-size: 1.1rem;
  font-weight: 500;
  max-width: 580px;
  margin: 0 auto 3rem;
}

/* ==========================================
   4. Tlačítka
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background-color: var(--color-navy);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background-color: var(--color-navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-full {
  width: 100%;
}

/* ==========================================
   5. Hlavička & Navigace
   ========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(59, 35, 74, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-navy);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text);
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--color-gold);
}

.nav-cta {
  padding: 0.5rem 1.25rem;
  background-color: var(--color-navy);
  color: var(--color-white) !important;
  border-radius: 50px;
}

.nav-cta:hover {
  background-color: var(--color-navy-light);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-navy);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ==========================================
   6. Hero Sekce
   ========================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(156, 102, 68, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(59, 35, 74, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, var(--color-beige) 0%, var(--color-white) 100%);
  z-index: -1;
}

.hero-content {
  max-width: 680px;
}

.hero-text {
  font-size: 1.1875rem;
  color: var(--color-text-light);
  margin: 1.5rem 0 2.5rem;
  max-width: 540px;
}

/* ==========================================
   7. Obecné Sekce (Moje motto & Můj příběh)
   ========================================== */
.section {
  padding: 6rem 0;
}

.about {
  background-color: var(--color-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  margin-bottom: 1.5rem;
}

.about-text p {
  margin-bottom: 1.2rem;
  line-height: 1.7;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  object-fit: cover;
  width: 100%;
}

/* Příběh – Jemné teplé odlišení pozadí */
.story {
  background-color: var(--color-gold-bg);
}

/* ==========================================
   8. Sekce Služby
   ========================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--color-white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(59, 35, 74, 0.06);
  transition: all var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-gold);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: rgba(156, 102, 68, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--color-gold);
}

.service-icon svg {
  width: 26px;
  height: 26px;
  color: var(--color-gold);
}

.service-card h3 {
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--color-text-light);
  font-size: 1rem;
}

/* ==========================================
   9. Sekce Jak to probíhá
   ========================================== */
.process {
  background-color: var(--color-white);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.step {
  text-align: center;
  padding: 2rem 1.5rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--color-gold-bg);
  color: var(--color-gold);
  border: 1.5px solid var(--color-gold);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  border-radius: 50%;
  margin-bottom: 1.25rem;
}

.step-content h3 {
  margin-bottom: 0.75rem;
}

.step-content p {
  color: var(--color-text-light);
  font-size: 0.9375rem;
}

/* ==========================================
   10. Sekce Reference
   ========================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.testimonial-card {
  background-color: var(--color-white);
  border: 1px solid rgba(59, 35, 74, 0.08);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-gold);
}

.testimonial-quote-icon {
  font-size: 4rem;
  line-height: 1;
  color: var(--color-gold);
  font-family: Georgia, serif;
  opacity: 0.4;
  margin-bottom: -1rem;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: 2rem;
  flex-grow: 1;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid rgba(59, 35, 74, 0.06);
  padding-top: 1.25rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-gold-bg);
  color: var(--color-gold);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.author-info strong {
  display: block;
  font-size: 1rem;
  color: var(--color-navy);
}

.author-info span {
  display: block;
  font-size: 0.85rem;
  color: var(--color-text-light);
}

/* ==========================================
   11. Sekce Kontakt & Formulář
   ========================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--color-text-light);
  margin-bottom: 2rem;
}

.linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 600;
  color: var(--color-gold);
  padding: 0.75rem 1.25rem;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(156, 102, 68, 0.2);
  transition: all var(--transition);
}

.linkedin-link svg {
  width: 20px;
  height: 20px;
  fill: var(--color-gold);
}

.linkedin-link:hover {
  background: var(--color-gold);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.linkedin-link:hover svg {
  fill: var(--color-white);
}

.contact-form {
  background: var(--color-white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(59, 35, 74, 0.06);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 0.375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-beige);
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: all var(--transition);
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  background: var(--color-white);
  box-shadow: 0 0 0 3px rgba(156, 102, 68, 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #a0adb8;
}

.form-success {
  margin-top: 1rem;
  padding: 0.875rem 1rem;
  background: #f0f7f4;
  color: #2b6e4f;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  text-align: center;
}

/* ==========================================
   12. Patička (Footer)
   ========================================== */
.footer {
  background: var(--color-navy-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 2rem 0;
  text-align: center;
  font-size: 0.875rem;
}

/* ==========================================
   13. Mobilní verze & Responsivita
   ========================================== */
@media (max-width: 900px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-image {
    max-width: 320px;
    margin: 0 auto;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--color-white);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(59, 35, 74, 0.08);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 0.875rem 1.5rem;
  }

  .nav-cta {
    margin: 0.5rem 1.5rem 0;
    text-align: center;
    display: block;
  }

  .nav-toggle.is-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.is-active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.is-active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero {
    min-height: auto;
    padding: 7rem 0 4rem;
  }

  .section {
    padding: 4rem 0;
  }

  .service-card,
  .contact-form {
    padding: 1.75rem;
  }
}

/* ===== Prepinac jazyku (CZ | EN) ===== */
.lang-switch {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-left: 1rem;
}

.lang-switch a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.25s ease;
}

.lang-switch a:hover {
  color: var(--color-accent);
}

.lang-switch .active {
  color: var(--color-accent); /* Zlatavy akcent pro aktivni jazyk */
  font-weight: 700;
}