/* ============================================
   Zdeněk Podaný - Webové stránky pro byznys
   Primární barva: #006DEC
   ============================================ */

:root {
  --primary: #006DEC;
  --primary-dark: #005bc4;
  --primary-light: #3d8ef7;
  --primary-soft: rgba(0, 109, 236, 0.08);
  --text: #1a1a2e;
  --text-muted: #5c5c7a;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --border: #e8ecf1;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 48px rgba(0, 109, 236, 0.12);
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== Navigace ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
  transition: color var(--transition);
}

.logo:hover {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  position: relative;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a.active {
  color: var(--primary);
  font-weight: 600;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

.nav-cta {
  color: var(--primary) !important;
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 100px;
  background: var(--bg-alt);
  color: var(--text-muted);
  white-space: nowrap;
}

.availability--open {
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
}

.availability-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse-dot 2s ease-in-out infinite;
}

.availability--open .availability-dot {
  background: #22c55e;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.availability--closed {
  background: rgba(239, 68, 68, 0.12);
  color: #b91c1c;
}

.availability--closed .availability-dot {
  background: #ef4444;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ========== Tlačítka ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 16px rgba(0, 109, 236, 0.35);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 109, 236, 0.4);
}

.btn-secondary {
  background: var(--bg-alt);
  color: var(--text);
  border: 2px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-full {
  width: 100%;
}

.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, var(--primary-soft) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(0, 109, 236, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse 50% 30% at 0% 80%, rgba(0, 109, 236, 0.04) 0%, transparent 50%);
}

.hero-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  opacity: 0.06;
  animation: float 20s ease-in-out infinite;
}

.shape-1 {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.shape-2 {
  width: 300px;
  height: 300px;
  bottom: 20%;
  left: -80px;
  animation-delay: -7s;
}

.shape-3 {
  width: 200px;
  height: 200px;
  top: 50%;
  right: 10%;
  animation-delay: -14s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease forwards;
}

.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease 0.1s forwards;
  opacity: 0;
  animation-fill-mode: forwards;
}

.hero-title .highlight {
  color: var(--primary);
  position: relative;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 680px;
  animation: fadeInUp 0.6s ease 0.2s forwards;
  opacity: 0;
  animation-fill-mode: forwards;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  animation: fadeInUp 0.6s ease 0.3s forwards;
  opacity: 0;
  animation-fill-mode: forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== Metriky ========== */
.metrics-bar {
  padding: 48px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  text-align: center;
}

.metric-item {
  padding: 0 24px;
}

.metric-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 4px;
}

.metric-label {
  font-size: 0.95rem;
  color: var(--text-muted);
}

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

.section:nth-child(even) {
  background: var(--bg-alt);
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  text-align: center;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

/* ========== Služby ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.service-card {
  background: var(--bg);
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

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

.service-icon {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.3;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 1rem;
}

.services-cta {
  text-align: center;
  margin-top: 48px;
}

/* ========== Jak spolupracujeme ========== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

.process-step {
  text-align: center;
  padding: 32px 24px;
}

.step-number {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: white;
  font-weight: 800;
  font-size: 1.25rem;
  border-radius: 50%;
}

.process-step h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.process-step p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ========== Reference ========== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.testimonial-card {
  background: var(--bg);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  font-style: italic;
}

.testimonial-text {
  margin-bottom: 24px;
  color: var(--text);
}

.testimonial-author {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.testimonial-author strong {
  color: var(--text);
}

.testimonial-author a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

.testimonial-author a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* ========== Ceník ========== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.pricing-card {
  position: relative;
  background: var(--bg);
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border);
  transition: all var(--transition);
}

.pricing-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.pricing-card.featured {
  border-color: var(--primary);
  background: var(--primary-soft);
  box-shadow: var(--shadow-lg);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  background: var(--primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 100px;
}

.pricing-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.price {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}

.pricing-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.pricing-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ========== Scroll reveal efekt ========== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.services-grid .reveal:nth-child(1) { transition-delay: 0s; }
.services-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.services-grid .reveal:nth-child(3) { transition-delay: 0.2s; }

.process-steps .reveal:nth-child(1) { transition-delay: 0s; }
.process-steps .reveal:nth-child(2) { transition-delay: 0.08s; }
.process-steps .reveal:nth-child(3) { transition-delay: 0.16s; }
.process-steps .reveal:nth-child(4) { transition-delay: 0.24s; }

.testimonials-grid .reveal:nth-child(1) { transition-delay: 0s; }
.testimonials-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.testimonials-grid .reveal:nth-child(3) { transition-delay: 0.2s; }

.pricing-grid .reveal:nth-child(1) { transition-delay: 0s; }
.pricing-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.pricing-grid .reveal:nth-child(3) { transition-delay: 0.2s; }

/* ========== Kontakt ========== */
.contact-form {
  max-width: 620px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: inherit;
  font-size: 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  transition: border-color var(--transition);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235c5c7a' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-feedback {
  max-width: 620px;
  margin: 24px auto 0;
  padding: 16px 20px;
  border-radius: var(--radius);
  font-weight: 500;
  text-align: center;
}

.form-feedback--success {
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.form-feedback--error {
  background: rgba(239, 68, 68, 0.12);
  color: #b91c1c;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.contact-alternative {
  text-align: center;
  margin-top: 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-alternative a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition);
}

.contact-alternative a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* ========== Footer ========== */
.footer {
  background: var(--text);
  color: rgba(255, 255, 255, 0.85);
  padding: 60px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer .logo {
  color: white;
  display: block;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.95rem;
  opacity: 0.8;
}

.footer h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: white;
}

.footer a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color var(--transition);
}

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

.footer p {
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.footer-legal p:last-child {
  margin-bottom: 0;
}

/* ========== Mobilní menu ========== */
@media (max-width: 768px) {
  .availability-text {
    display: none;
  }

  .availability {
    padding: 6px 10px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .hero {
    min-height: auto;
    padding: 100px 0 60px;
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .section {
    padding: 60px 0;
  }
}
