/* ========================================
   HOMEPAGE - Page-specific styles
   ======================================== */

/* Homepage má stejný fixed header jako ostatní stránky */
body {
  padding-top: 55px;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 80px 20px 60px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;               /* znak Tektavo je nad nadpisem (dřív vodoznak starého loga) */
  opacity: 0.1;
  pointer-events: none;
}

/* znak Tektavo nad nadpisem – na červené celý bílý (pravidlo značky) */
.hero-znak {
  display: block;
  width: 96px;
  height: 96px;
  margin: 0 auto 18px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-family: 'Space Grotesk', 'Tektavo Emoji', 'Segoe UI', Roboto, Arial, sans-serif;
  letter-spacing: 0.01em;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
  position: relative;
  z-index: 1;
  color: var(--text-primary);
}

.hero p {
  font-size: 1.3rem;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  color: var(--text-primary);
}

/* Section Title */
.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Service Cards Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.service-card {
  background: var(--bg-secondary);
  border: 1px solid var(--primary-30);
  border-radius: 15px;
  padding: 30px;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--primary-30);
  background: var(--bg-tertiary);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.service-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.card-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 10px;
}

/* Features Section */
.features {
  background: var(--bg-secondary);
  border-radius: 15px;
  padding: 40px;
  margin-bottom: 60px;
}

.features h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
  color: var(--primary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.feature-icon {
  font-size: 1.5rem;
  min-width: 40px;
}

.feature-text h4 {
  color: var(--text-primary);
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.feature-text p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Footer */
footer {
  background: var(--bg-secondary);
  padding: 30px 20px;
  text-align: center;
  border-top: 1px solid var(--border-color);
}

footer p {
  color: var(--text-muted);
  margin-bottom: 10px;
}

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

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

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
}
