/* 
  Mužská Síla & Vitalita - Blog Trenéra Jana Nováka
  Theme: Czech Flag Colors (#003865 Deep Blue, #D7141A Flag Red, #FFFFFF Clean White)
  Compliance: Google Ads / Healthcare content layout with clear disclaimers
*/

:root {
  --primary: #003865;
  --primary-dark: #002240;
  --primary-light: #1a5891;
  --accent: #D7141A;
  --accent-hover: #b50c12;
  --accent-light: #fff0f1;
  
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --text-main: #0f172a;
  --text-muted: #475569;
  --border: #e2e8f0;
  
  --success: #16a34a;
  --warning: #eab308;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0, 56, 101, 0.08);
  --shadow-lg: 0 10px 25px rgba(0, 56, 101, 0.12);
  --radius: 12px;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

a:hover {
  color: var(--accent);
}

/* Top Disclaimer Header (Google Compliance) */
.compliance-top-bar {
  background-color: #0f172a;
  color: #94a3b8;
  font-size: 13px;
  text-align: center;
  padding: 8px 16px;
  border-bottom: 3px solid var(--accent);
}

.compliance-top-bar span {
  color: #f1f5f9;
  font-weight: 600;
}

/* Navigation Bar */
.navbar {
  background-color: var(--bg-card);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
}

.logo-badge {
  background: linear-gradient(135deg, var(--primary) 50%, var(--accent) 50%);
  color: white;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.5px;
}

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

.nav-links a {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-main);
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background-color: #f1f5f9;
}

.btn-nav-quiz {
  background-color: var(--accent) !important;
  color: white !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 8px rgba(215, 20, 26, 0.3);
}

.btn-nav-quiz:hover {
  background-color: var(--accent-hover) !important;
  color: white !important;
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--primary);
}

/* Layout Containers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
  width: 100%;
}

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

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: white;
  padding: 50px 30px;
  border-radius: var(--radius);
  margin-bottom: 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-tag {
  display: inline-block;
  background-color: var(--accent);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
}

.hero p {
  font-size: 17px;
  color: #e2e8f0;
  margin-bottom: 26px;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.trainer-hero-img-box {
  position: relative;
  text-align: center;
}

.trainer-hero-img {
  width: 100%;
  max-width: 320px;
  height: 380px;
  object-fit: cover;
  border-radius: 16px;
  border: 4px solid white;
  box-shadow: var(--shadow-lg);
}

.trainer-badge-overlay {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 34, 64, 0.9);
  backdrop-filter: blur(8px);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.2);
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
  background-color: var(--accent);
  color: white;
  box-shadow: 0 4px 14px rgba(215, 20, 26, 0.4);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(215, 20, 26, 0.5);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.15);
  color: white;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.25);
  color: white;
}

/* Section Titles */
.section-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-title::before {
  content: '';
  width: 6px;
  height: 28px;
  background-color: var(--accent);
  border-radius: 3px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* Lead Form Box Styling (Without discounts) */
.lead-form-box {
  background: white;
  border-radius: 16px;
  padding: 36px;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--primary);
  margin: 40px 0;
  position: relative;
  overflow: hidden;
}

.lead-form-box::before {
  content: '🇨🇿 CERTIFIKOVANÝ PRODUKT';
  position: absolute;
  top: 16px;
  right: -30px;
  transform: rotate(15deg);
  background: var(--primary);
  color: white;
  font-size: 11px;
  font-weight: 900;
  padding: 4px 30px;
  letter-spacing: 1px;
}

.lead-form-header {
  text-align: center;
  margin-bottom: 24px;
}

.lead-form-header h3 {
  font-size: 26px;
  color: var(--primary-dark);
  font-weight: 800;
  margin-bottom: 8px;
}

.lead-form-header p {
  color: var(--text-muted);
  font-size: 15px;
}

/* Fixed Clean Price Tag Box (No discount ribbons) */
.price-tag-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: #f0f7ff;
  padding: 16px 24px;
  border-radius: 12px;
  margin-bottom: 24px;
  border: 1px solid var(--primary-light);
}

.price-label {
  font-size: 15px;
  color: var(--primary-dark);
  font-weight: 700;
}

.price-new {
  font-size: 32px;
  color: var(--primary-dark);
  font-weight: 900;
}

.price-cert-badge {
  background: var(--primary);
  color: white;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}

.lead-form-group {
  margin-bottom: 20px;
}

.lead-form-group label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.lead-form-input {
  width: 100%;
  padding: 16px;
  font-size: 16px;
  border: 2px solid var(--border);
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
}

.lead-form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 56, 101, 0.1);
}

.btn-lead-submit {
  width: 100%;
  padding: 18px;
  font-size: 18px;
  font-weight: 900;
  background-color: var(--accent);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(215, 20, 26, 0.4);
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-lead-submit:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(215, 20, 26, 0.5);
}

.lead-form-guarantee {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Certificate Card Badge Styles */
.cert-badge-box {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cert-badge-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.cert-icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #f0f7ff;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin-bottom: 16px;
  border: 2px solid var(--primary-light);
}

/* Articles Grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.card {
  background-color: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

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

.card-img-placeholder {
  height: 180px;
  background: linear-gradient(135deg, var(--primary) 0%, #1e40af 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 18px;
  text-align: center;
  padding: 20px;
}

.card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-tag {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
  line-height: 1.3;
}

.card-text {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 20px;
  flex-grow: 1;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  font-size: 14px;
  color: var(--text-muted);
}

/* Article Detail Styles */
.article-header {
  margin-bottom: 32px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 16px;
}

.article-author-avatar-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
}

.article-content {
  background: white;
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  font-size: 17px;
  line-height: 1.8;
  color: #1e293b;
}

.article-content h2 {
  font-size: 24px;
  color: var(--primary-dark);
  margin: 32px 0 16px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid #f1f5f9;
}

.article-content h3 {
  font-size: 20px;
  color: var(--primary);
  margin: 24px 0 12px 0;
}

.article-content p {
  margin-bottom: 20px;
}

.article-content ul, .article-content ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

.article-content li {
  margin-bottom: 8px;
}

.article-box {
  background-color: #f0f7ff;
  border-left: 4px solid var(--primary);
  padding: 20px 24px;
  border-radius: 0 8px 8px 0;
  margin: 28px 0;
}

.article-box-accent {
  background-color: #fff0f1;
  border-left: 4px solid var(--accent);
  padding: 20px 24px;
  border-radius: 0 8px 8px 0;
  margin: 28px 0;
}

.product-review-showcase {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  align-items: center;
  background: #f8fafc;
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--border);
  margin: 32px 0;
}

.product-review-showcase img {
  width: 100%;
  max-height: 320px;
  object-fit: contain;
  border-radius: 8px;
}

/* Quiz Container */
.quiz-wrapper {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 40px;
  border-top: 5px solid var(--accent);
}

.quiz-progress-bar {
  height: 8px;
  background-color: #e2e8f0;
  border-radius: 4px;
  margin-bottom: 30px;
  overflow: hidden;
}

.quiz-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  width: 20%;
  transition: width 0.3s ease;
}

.quiz-step {
  display: none;
}

.quiz-step.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

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

.quiz-question {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 24px;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 30px;
}

.quiz-option {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border: 2px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 16px;
  font-weight: 600;
}

.quiz-option:hover {
  border-color: var(--primary-light);
  background-color: #f8fafc;
}

.quiz-option.selected {
  border-color: var(--accent);
  background-color: #fff0f1;
  color: var(--accent);
}

.quiz-option input[type="radio"] {
  margin-right: 14px;
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
}

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

/* Quiz Results Screen */
.quiz-result-header {
  text-align: center;
  margin-bottom: 32px;
}

.score-gauge {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: conic-gradient(var(--accent) 0%, var(--primary) 70%, #e2e8f0 0%);
  margin: 20px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.score-gauge-inner {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.score-number {
  font-size: 36px;
  font-weight: 900;
  color: var(--primary-dark);
  line-height: 1;
}

.score-label {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
}

.recommendation-box {
  background-color: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin: 24px 0;
}

.recommendation-box h4 {
  color: var(--primary-dark);
  font-size: 18px;
  margin-bottom: 12px;
}

/* Footer & Compliance Notice */
footer {
  background-color: var(--primary-dark);
  color: #94a3b8;
  padding: 60px 24px 20px 24px;
  margin-top: auto;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-about h3 {
  color: white;
  font-size: 20px;
  margin-bottom: 14px;
}

.footer-about p {
  font-size: 14px;
  line-height: 1.6;
}

.footer-links h4 {
  color: white;
  font-size: 16px;
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #cbd5e1;
  font-size: 14px;
}

.footer-links a:hover {
  color: white;
}

.google-disclaimer-box {
  max-width: 1200px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 24px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 30px;
}

.google-disclaimer-box strong {
  color: #e2e8f0;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 13px;
}

/* Responsive Rules */
@media (max-width: 868px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  
  .product-review-showcase {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--border);
  }
  
  .nav-links.show {
    display: flex;
  }
}
