/* Vlastní styly pro Web šablonu 6: Expert */
:root {
  --background-light: #f3f4f6;
  --background-white: #ffffff;
  --text-dark: #111827;
  --text-muted: #4b5563;
  --primary-blue: #1e3a8a;
  --accent-gold: #ca8a04;
  --accent-gold-hover: #a16207;
}

body {
  scroll-behavior: smooth;
  font-family: 'Montserrat', sans-serif;
  background-color: var(--background-white);
  color: var(--text-dark);
}
.font-playfair { font-family: 'Playfair Display', serif; }

/* === NAVIGACE === */
#header .h-20 { height: 5rem; }
#header.scrolled .h-20 { height: 4rem; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); background-color: var(--background-white); }
.nav-link { position: relative; font-weight: 600; color: var(--text-muted); transition: color 0.3s ease; }
.nav-link:hover { color: var(--primary-blue); }
.nav-link::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -4px; left: 50%; transform: translateX(-50%); background-color: var(--accent-gold); transition: width 0.3s ease; }
.nav-link:hover::after { width: 100%; }
.nav-link-cta { background-color: var(--accent-gold); color: white; padding: 0.5rem 1.25rem; border-radius: 9999px; font-weight: 600; transition: all 0.3s ease; white-space: nowrap; }
.nav-link-cta:hover { background-color: var(--accent-gold-hover); transform: scale(1.05); }

/* MOBILNÍ NAVIGACE */
#mobile-menu { background: linear-gradient(to bottom, var(--primary-blue), #1e40af); animation: fadeIn 0.3s ease-in-out; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.mobile-nav-link { font-family: 'Playfair Display', serif; font-size: 2rem; color: white; transition: transform 0.2s ease, color 0.2s ease; }
.mobile-nav-link:hover { transform: scale(1.1); color: #f59e0b; }
.mobile-nav-link-cta { background-color: var(--accent-gold); color: white; padding: 0.75rem 2rem; border-radius: 9999px; font-weight: 600; font-size: 1.25rem; transition: all 0.3s ease; }

/* === PRVKY A KARTY === */
.section-title { font-family: 'Playfair Display', serif; font-size: 2.25rem; font-weight: 700; color: var(--primary-blue); }
.section-paragraph { font-size: 1.125rem; line-height: 1.75; color: var(--text-muted); }
.cta-button { display: inline-block; background-color: var(--accent-gold); color: white; font-weight: 600; padding: 0.75rem 2rem; border-radius: 9999px; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.cta-button:hover { background-color: var(--accent-gold-hover); transform: translateY(-3px); box-shadow: 0 7px 20px rgba(202, 138, 4, 0.3); }

/* === NOVÉ SEKCE === */
.benefit-card { background-color: var(--background-white); padding: 2rem; border-radius: 0.5rem; }
.benefit-icon { display: inline-block; background-color: #dbeafe; color: var(--primary-blue); padding: 0.75rem; border-radius: 50%; margin-bottom: 1rem; }
.benefit-icon svg { width: 2rem; height: 2rem; }

.chart-container { background-color: var(--background-white); padding: 2rem; border-radius: 0.5rem; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); border: 1px solid #e5e7eb; }
.chart { display: flex; justify-content: space-around; align-items: flex-end; height: 200px; padding: 0 1rem; border-left: 2px solid #e5e7eb; border-bottom: 2px solid #e5e7eb; }
.bar-group { display: flex; flex-direction: column; align-items: center; height: 100%; justify-content: flex-end; flex-grow: 1; text-align: center; }
.bar { width: 50px; background-color: var(--primary-blue); border-radius: 4px 4px 0 0; }
.bar-value { margin-bottom: 0.5rem; font-weight: 600; color: var(--primary-blue); opacity: 0; transition: opacity 0.5s ease 1s; transform: translateY(10px); }
.bar.is-animated .bar-value { opacity: 1; transform: translateY(0); }
.bar-label { font-size: 0.875rem; color: var(--text-muted); margin-top: 0.5rem; }

.process-line { position: absolute; top: 1.25rem; left: 16.66%; right: 16.66%; height: 2px; background-color: #d1d5db; z-index: -1; }
.process-step { text-align: center; position: relative; }
.process-dot { width: 2.5rem; height: 2.5rem; line-height: 2.5rem; background-color: var(--background-white); border: 2px solid var(--primary-blue); color: var(--primary-blue); font-weight: 700; border-radius: 50%; margin: 0 auto; }

/* KARTY SLUŽEB */
.service-card { background-color: var(--background-white); border-radius: 0.5rem; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); border: 1px solid #e5e7eb; transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; overflow: hidden; display: flex; flex-direction: column; }
.service-card:hover { transform: translateY(-8px); box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); border-color: var(--primary-blue); }
.service-card .p-6 { flex-grow: 1; }

/* KARTY REFERENCÍ */
.testimonial-card { background-color: var(--background-white); padding: 2rem; border-radius: 0.5rem; border-left: 4px solid var(--accent-gold); box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); }
.testimonial-logo { height: 2rem; filter: grayscale(100%); opacity: 0.5; margin-bottom: 1rem; font-weight: 600; color: var(--text-muted); }
.testimonial-text { font-style: italic; color: var(--text-muted); line-height: 1.6; margin-bottom: 1rem; }
.testimonial-author { font-weight: 600; color: var(--primary-blue); }

/* FAQ AKORDEON */
.faq-item { border: 1px solid #e5e7eb; border-radius: 0.5rem; overflow: hidden; }
.faq-question { width: 100%; text-align: left; padding: 1.5rem; font-size: 1.125rem; font-weight: 600; display: flex; justify-content: space-between; align-items: center; transition: background-color 0.3s ease; cursor: pointer; }
.faq-question:hover { background-color: #f9fafb; }
.faq-question svg { transition: transform 0.3s ease; }
.faq-question svg.is-rotated { transform: rotate(180deg); }
.faq-answer { display: none; padding: 0 1.5rem 1.5rem 1.5rem; color: var(--text-muted); }
.faq-answer.is-open { display: block; }

/* FORMULÁŘE */
.form-input { width: 100%; padding: 0.75rem; border: 1px solid #d1d5db; border-radius: 0.375rem; transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.form-input:focus { outline: none; border-color: var(--primary-blue); box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.2); }

/* PLOVOUCÍ NAVIGACE */
.floating-nav-button { display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; background-color: var(--primary-blue); color: white; border-radius: 50%; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); transition: all 0.3s ease; z-index: 50; }
.floating-nav-button:hover { background-color: var(--accent-gold); transform: scale(1.1); }

/* PATIČKA */
footer .footer-text { color: #9ca3af; }
footer .footer-text a { color: #d1d5db; font-weight: 600; transition: color 0.3s ease; }
footer .footer-text a:hover { color: var(--accent-gold); }


/* ================================================= */
/* === RESPONZIVNÍ DESIGN (MOBILNÍ ZAŘÍZENÍ) === */
/* ================================================= */
@media (max-width: 767px) {
  body {
    padding-bottom: 1rem; /* Zabrání překrytí patičky plovoucími tlačítky */
  }
  
  /* Obecné úpravy velikosti textů */
  .section-title { font-size: 1.75rem; }
  .section-paragraph { font-size: 1rem; }
  .service-title { font-size: 1.25rem; }
  .testimonial-text { font-size: 1rem; }
  .faq-question { font-size: 1rem; padding: 1rem; }
  .faq-answer { padding: 0 1rem 1rem 1rem; }
  
  /* Úvodní sekce pro mobily */
  #home {
    /* ZMĚNA ZDE: Přidáno odsazení shora */
    padding-top: 3rem; 
    padding-bottom: 3rem;
  }
  #home .grid { 
    display: block; 
    min-height: auto; 
  }
  .mobile-hero-text {
    text-align: center;
    background: linear-gradient(to right, var(--primary-blue), #1e40af);
    color: white;
    padding: 3rem 1.5rem;
    border-radius: 0.5rem;
  }
  .mobile-hero-text h1 {
    color: white;
    font-size: 2.25rem;
  }
  .mobile-hero-text p {
    color: #dbeafe;
  }
  
  /* Graf pro mobily */
  .chart-container { padding: 1.5rem; }
  .chart { height: 150px; }
  .bar { width: 35px; }
  .bar-value, .bar-label { font-size: 0.75rem; }

  /* Proces pro mobily */
  .process-line { display: none; }
  .process-step { margin-bottom: 2rem; text-align: center; }
  #process .grid > .process-step:last-child { margin-bottom: 0; }
  
  /* Karty pro mobily */
  .service-card, .testimonial-card, .benefit-card { text-align: center; }

  /* Plovoucí navigační tlačítka */
  .floating-nav-button { width: 45px; height: 45px; }
}