/* ============================================================
   ZÁKLADNÍ NASTAVENÍ A CSS PROMĚNNÉ
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --blue-primary: #1e5bb0;
  --blue-dark:    #163a70;
  --blue-soft:    #f0f6ff;
  --accent:       #38bdf8;
  --red-alert:    #c53030;
  --red-bg:       #fff5f5;
  --text-main:    #2d3748;
  --text-muted:   #718096;
  --border:       #e2e8f0;
  --white:        #ffffff;
  --shadow:    0 10px 15px -3px rgba(0,0,0,.05), 0 4px 6px -2px rgba(0,0,0,.03);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,.10), 0 10px 10px -5px rgba(0,0,0,.04);
  --font:   "Plus Jakarta Sans", sans-serif;
  --radius: 12px;
}

html,
body {
  overflow-x: hidden;
  width: 100%;
  padding-top: 40px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 16px;
  color: var(--text-main);
  background: #fff;
  line-height: 1.6;
}

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

a {
  color: var(--blue-primary);
  text-decoration: none;
  transition: 0.2s;
}


/* ============================================================
   NAVIGACE
   ============================================================ */
.nav {
  position: fixed;   /* místo sticky */
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

/* Logo – obrázek + text */

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.nav-overlay.active {
  display: block;
  opacity: 1;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-img-logo {
  width: 4em;
}

.nav-name {
  display: block;
  font-weight: 700;
  font-size: 18px;
  color: var(--blue-dark);
  line-height: 1;
}

.nav-subtitle {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: var(--text-muted);
}

/* Odkaz­ové položky */
.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-main);
}

.nav-fb {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: 0.2s;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-fb:hover {
  border-color: var(--blue-primary);
  background: var(--blue-soft);
}

.nav-fb img {
  width: 18px;
  height: 18px;
}

/* Tlačítko "Objednat se" */
.nav-btn {
  display: inline-block;
  padding: 10px 24px;
  background: var(--blue-primary);
  color: #fff !important;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
}

/* Hamburger ikona (3 čárky) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blue-dark);
  border-radius: 2px;
}

/* Položka viditelná pouze v mobilním menu */
.mobile-only {
  display: none;
}


/* ============================================================
   HERO SEKCE
   ============================================================ */
.hero {
  padding: 80px 0;
  background: radial-gradient(circle at top right, #f8fbff, #eef5ff);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

/* Badge "Přijímáme registrace" */
.hero-badge {
  display: inline-block;
  margin-bottom: 24px;
  padding: 6px 16px;
  background: var(--blue-soft);
  color: var(--blue-primary);
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
}

.hero h1 {
  font-size: 48px;
  line-height: 1.15;
  color: var(--blue-dark);
  margin-bottom: 20px;
}

/* Zvýrazněný text v nadpisu */
.hero h1 em {
  color: var(--blue-primary);
  font-style: normal;
}

.hero p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-btns {
  display: flex;
  gap: 16px;
}

/* Primární tlačítko */
.btn-primary {
  padding: 16px 32px;
  background: var(--blue-primary);
  color: #fff !important;
  border-radius: var(--radius);
  font-weight: 600;
  text-align: center;
  box-shadow: 0 4px 14px rgba(30, 91, 176, 0.3);
}

/* Sekundární tlačítko (outline) */
.btn-secondary {
  padding: 16px 32px;
  background: #fff;
  color: var(--text-main) !important;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-weight: 600;
  text-align: center;
}

/* Pravá strana hero – obal fotky */
.hero-image-wrapper {
  display: flex;
  justify-content: center;
}

.hero-card-context {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* Rámeček s fotkou */
.hero-main-img {
  position: relative;
  width: 100%;
  max-width: 450px;
  aspect-ratio: 4 / 5;
  border-radius: 30px;
  overflow: hidden;
  border: 8px solid #fff;
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.hero-main-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Jmenovka pod fotkou */
.hero-doctor-name {
  margin-top: 16px;
  padding: 8px 20px;
  font-weight: 700;
  font-size: 18px;
  color: var(--blue-dark);
  text-align: center;
  background: var(--blue-soft);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

/* Plovoucí kartička "Přijímáme pacienty" uvnitř fotky */
.hero-floating-card {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 2;
}

.hc-status {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  background: #ecfdf5;
  color: #065f46;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
}

/* Animovaná zelená tečka */
.pulse-icon {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  margin-right: 10px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0   rgba(16, 185, 129, 0.7); }
  70%  { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);   }
  100% { box-shadow: 0 0 0 0   rgba(16, 185, 129, 0);   }
}


/* ============================================================
   UPOZORNĚNÍ (červené)
   ============================================================ */
.alert-section {
  padding: 40px 0;
}

.alert-box {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 30px;
  background: var(--red-bg);
  border: 2px solid #feb2b2;
  border-radius: 20px;
}

.alert-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: #fff;
  border: 1px solid #feb2b2;
  border-radius: 50%;
}

.alert-content p {
  font-size: 17px;
  color: #4a5568;
  line-height: 1.5;
}

.alert-content strong {
  display: block;
  margin-bottom: 4px;
  font-size: 18px;
  color: var(--red-alert);
}

.alert-phone {
  color: var(--red-alert) !important;
  font-weight: 800;
  font-size: 20px;
  text-decoration: underline;
}


/* ============================================================
   SDÍLENÉ STYLY SEKCÍ
   ============================================================ */
.section {
  padding: 100px 0;
}

.section-bg {
  background: #f9fbff;
}

.section-header {
  margin-bottom: 60px;
  text-align: center;
}

.section-label {
  margin-bottom: 10px;
  color: var(--blue-primary);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
}

.section-sub {
  color: var(--text-muted);
}


/* ============================================================
   KARTY SLUŽEB
   ============================================================ */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.card {
  padding: 40px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  border-color: var(--blue-primary);
  box-shadow: var(--shadow-lg);
}

.icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 24px;
  background: var(--blue-soft);
  border-radius: 14px;
}

.card h3 {
  margin-bottom: 12px;
  font-size: 18px;
  color: var(--blue-dark);
}

.card p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ============================================================
   SEKCE: POJIŠŤOVNY
   ============================================================ */


.insurance-card {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.insurance-list {
  list-style: none;
}

.insurance-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 28px;
  font-size: 15px;
  color: var(--text-main);
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.insurance-list li:last-child {
  border-bottom: none;
}

.insurance-list li:hover {
  background: var(--blue-soft);
}

.insurance-list li::before {
  content: "›";
  color: var(--blue-primary);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}

.insurance-list li span {
  margin-left: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-primary);
  background: var(--blue-soft);
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}


/* ============================================================
   ORDINAČNÍ HODINY – karty po dnech
   ============================================================ */
.hours-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 80%;
  margin: auto;
}

.day-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: 0.2s;
}

.day-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Záhlaví karty s názvem dne */
.day-title {
  padding: 14px;
  background: #eef3fb;
  text-align: center;
  font-weight: 700;
  font-size: 16px;
  color: var(--blue-dark);
}

/* Řádek dopoledne / odpoledne */
.day-row {
  display: flex;
  justify-content: space-between;
  padding: 14px 16px;
  border-top: 1px solid var(--border);
  font-size: 14px;
}

.day-row span {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.day-row strong {
  color: var(--blue-primary);
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.day-row strong small {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted); /* nebo jiná barva pro odlišení */
  font-style: italic;
}


/* ============================================================
   KONTAKT
   ============================================================ */
.contact-section {
  padding: 100px 0;
  background: #fff;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Levá strana – text a CTA */
.contact-left h2 {
  margin-bottom: 16px;
  font-size: 36px;
  color: var(--blue-dark);
}

.contact-left p {
  margin-bottom: 24px;
  font-size: 16px;
  color: var(--text-muted);
}

.contact-cta {
  display: inline-block;
  padding: 16px 28px;
  background: var(--blue-primary);
  color: #fff !important;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  box-shadow: 0 4px 14px rgba(30, 91, 176, 0.25);
  transition: 0.3s;
}

.contact-cta:hover {
  transform: translateY(-3px);
}

.contact-note {
  margin-top: 10px;
  font-size: 14px;
  color: var(--text-muted);
}

/* Pravá strana – kontaktní karty */
.contact-right {
  display: grid;
  gap: 20px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-6px);
  border-color: var(--blue-primary);
  box-shadow: var(--shadow-lg);
}

.contact-card .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--blue-soft);
  border-radius: 14px;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-card .icon img {
  width: 22px;
  height: 22px;
}

.contact-card span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-card strong {
  display: block;
  font-size: 17px;
  color: var(--blue-dark);
}


/* ============================================================
   CTA PRUH (modrý)
   ============================================================ */
.cta {
  padding: 80px 0;
  background: var(--blue-primary);
  color: #fff;
  text-align: center;
}

.cta h2 {
  font-size: 36px;
  margin-bottom: 16px;
}

.cta-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 18px 40px;
  background: #fff;
  color: var(--blue-primary) !important;
  border-radius: 12px;
  font-weight: 700;
}


/* ============================================================
   PATIČKA
   ============================================================ */
footer {
  padding: 60px 0;
  background: #0a192f;
  color: #718096;
  font-size: 14px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}


/* ============================================================
   RESPONZIVITA – tablet a menší (≤ 992 px)
   ============================================================ */
@media (max-width: 992px) {
  /* Schovat desktop tlačítko, zobrazit mobilní položku v menu */
  .desktop-btn { display: none; }
  .mobile-only { display: block; width: 100%; }
  .mobile-nav-btn { display: block; width: 100%; padding: 14px; text-align: center; }

  /* Navigace */
  .nav { padding: 16px 20px; }
  .nav-toggle { display: flex; }

  /* Rozbalovací mobilní menu */
    .nav-links {
    display: flex;              /* vždy flex, schováme jinak */
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 30px 20px;
    gap: 20px;
    background: #fff;
    box-shadow: var(--shadow-lg);
    align-items: stretch;

    /* Výchozí stav – schováno */
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  /* Otevřený stav */
  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  /* Hero – přepnutí na jeden sloupec */
  .hero { padding: 40px 0; }
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero h1 { font-size: 32px; }
  .hero-btns { flex-direction: column; }
  .hero-main-img {
    height: 500px;
    max-width: 500px;
    aspect-ratio: auto;
    margin: 0 auto;
  }

  /* Kontakt – jeden sloupec */
  .contact-container { grid-template-columns: 1fr; }

  /* Sekce */
  .section { padding: 60px 0; }

  /* Upozornění – svisle */
  .alert-box { flex-direction: column; text-align: center; }

  /* Patička – svisle */
  .footer-content { flex-direction: column; gap: 20px; text-align: center; }
}


/* ============================================================
   RESPONZIVITA – mobil (≤ 480 px)
   ============================================================ */
@media (max-width: 480px) {
  .hero-main-img { height: 350px; }
}
