/* 
ZdravýFilter - Modern CSS 
Color Palette:
- Primary: #3E92CC (Blue)
- Secondary: #2A628F (Dark Blue)
- Accent: #16DB93 (Fresh Green)
- Background: #F7F9FB (Light Gray)
- Dark: #18435A (Navy)
- Text: #333F48 (Dark Grey)
- Light Text: #F7F9FB (Almost White)
*/

/* ===== Base Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #333F48;
  background-color: #F7F9FB;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5em;
  color: #18435A;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
  position: relative;
  margin-bottom: 1.5rem;
}

h2:after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: #16DB93;
  position: absolute;
  left: 0;
  bottom: -0.5rem;
}

.section-title h2:after {
  left: 50%;
  transform: translateX(-50%);
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: #3E92CC;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #16DB93;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.section-padding {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

/* ===== Buttons ===== */
.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: #3E92CC;
  color: #F7F9FB;
  box-shadow: 0 4px 15px rgba(62, 146, 204, 0.2);
}

.btn-primary:hover {
  background: #2A628F;
  color: #F7F9FB;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(62, 146, 204, 0.25);
}

.btn-secondary {
  background: transparent;
  color: #333F48;
  border: 2px solid #3E92CC;
}

.btn-secondary:hover {
  background: rgba(62, 146, 204, 0.1);
  color: #2A628F;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
}

/* ===== Header ===== */
header {
  background: white;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
  transition: all 0.3s ease;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  display: block;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.nav-menu li a {
  color: #333F48;
  font-weight: 500;
  position: relative;
}

.nav-menu li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #16DB93;
  transition: width 0.3s ease;
}

.nav-menu li a:hover::after {
  width: 100%;
}

.nav-menu li:last-child a {
  color: #F7F9FB;
}

.nav-menu li:last-child a::after {
  display: none;
}

.menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  cursor: pointer;
}

/* ===== Hero Section ===== */
.hero {
  background: linear-gradient(135deg, #3E92CC 0%, #2A628F 100%);
  color: #F7F9FB;
  padding: 150px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.05)"/></svg>');
  opacity: 0.4;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: #F7F9FB;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 40px;
}

/* ===== About Section ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-content h3 {
  color: #18435A;
  margin-top: 1.5rem;
}

.about-content h3:first-child {
  margin-top: 0;
}

/* ===== Benefits Section ===== */
#vyhody {
  background-color: #F0F4F8;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.benefit-card {
  background-color: white;
  padding: 40px 30px;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.benefit-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(22, 219, 147, 0.1);
  border-radius: 50%;
}

.benefit-icon svg {
  width: 40px;
  height: 40px;
}

.benefit-icon path {
  fill: #16DB93;
}

.benefit-card h3 {
  margin-bottom: 15px;
}

/* ===== Services Section ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.service-image {
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  border-radius: 12px 12px 0 0;
  box-shadow: none;
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-content {
  padding: 30px;
}

.service-price {
  font-size: 2rem;
  font-weight: 700;
  margin: 15px 0;
  color: #3E92CC;
}

.service-card .btn-primary {
  width: 100%;
  margin-top: 15px;
}

/* ===== Testimonials Section ===== */
#recenzie {
  background-color: #18435A;
  color: #F7F9FB;
}

#recenzie h2 {
  color: #F7F9FB;
}

.testimonial {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 40px;
  position: relative;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.testimonial::before {
  content: '"';
  font-size: 5rem;
  line-height: 0;
  position: absolute;
  top: 40px;
  left: 20px;
  color: rgba(255, 255, 255, 0.1);
  font-family: Georgia, serif;
}

.testimonial-text {
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  font-weight: 700;
  color: #16DB93;
}

/* ===== FAQ Section ===== */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  background-color: white;
}

.faq-item input {
  display: none;
}

.faq-question {
  padding: 20px;
  display: block;
  cursor: pointer;
  position: relative;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: rgba(62, 146, 204, 0.05);
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: #3E92CC;
  transition: transform 0.3s ease;
}

.faq-item input:checked + .faq-question {
  background-color: #3E92CC;
  color: white;
}

.faq-item input:checked + .faq-question::after {
  content: '−';
  color: white;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: white;
  padding: 0 20px;
}

.faq-item input:checked ~ .faq-answer {
  max-height: 500px;
  padding: 20px;
}

/* ===== Form Section ===== */
.form-section {
  max-width: 600px;
  margin: 0 auto;
  background-color: white;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.form-error {
  background-color: rgba(255, 76, 76, 0.1);
  border-left: 4px solid #ff4c4c;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 4px;
}

.form-error p {
  margin-bottom: 5px;
  color: #d32f2f;
}

.form-group {
  margin-bottom: 20px;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: border 0.3s ease;
  outline: none;
  color: #333F48;
}

.form-control:focus {
  border-color: #3E92CC;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.radio-group {
    margin-top: 10px;
    display: flex;
    gap: 10px;
}
.checkbox-group {
    margin-top: 10px;
  display: flex;
  gap: 10px;
}

.radio-label, .checkbox-group label {
  display: flex;
  align-items: center;
  margin: 10px 0;
  cursor: pointer;
}

.radio-group input, .checkbox-group input {
  margin-right: 10px;
  cursor: pointer;
}

input[type="radio"] {
  accent-color: #3E92CC;
}

input[type="checkbox"] {
  accent-color: #3E92CC;
}

form .btn-primary {
  margin-top: 20px;
  width: 100%;
}

/* ===== Contact Section ===== */
#kontakt {
  background-color: #F0F4F8;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.contact-info {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.contact-info-item {
  display: flex;
  margin-bottom: 20px;
}

.contact-info-item svg {
  width: 24px;
  height: 24px;
  margin-right: 15px;
  flex-shrink: 0;
}

.contact-info-item path {
  fill: #3E92CC;
}

.contact-map {
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  min-height: 300px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ===== Footer ===== */
footer {
  background-color: #18435A;
  color: #F7F9FB;
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section h3 {
  color: #F7F9FB;
  margin-bottom: 20px;
  font-size: 1.4rem;
}

.footer-section a {
  color: #F7F9FB;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-section a:hover {
  opacity: 1;
  color: #16DB93;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 10px;
}

.company-info {
  margin-top: 20px;
  line-height: 1.8;
}

.copyright {
  padding-top: 30px;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* ===== Cookie Banner ===== */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  padding: 15px 30px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
  z-index: 1001;
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-banner .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.cookie-content {
  display: flex;
  align-items: center;
}

.cookie-icon {
  margin-right: 15px;
}

.cookie-buttons {
  display: flex;
  gap: 15px;
}



.loaded {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Media Queries ===== */
@media (max-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  .radio-group{
    flex-direction: column;
  }

  .section-padding {
    padding: 80px 0;
  }
  
  .about-grid, 
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  .menu-icon {
    display: block;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 2;
  }
  
  .menu-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background: #333F48;
    position: absolute;
    transition: all 0.3s ease;
  }
  
  .menu-icon span:nth-child(1) {
    top: 0;
  }
  
  .menu-icon span:nth-child(2) {
    top: 9px;
  }
  
  .menu-icon span:nth-child(3) {
    top: 18px;
  }
  
  .menu-toggle:checked + .menu-icon span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
  }
  
  .menu-toggle:checked + .menu-icon span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle:checked + .menu-icon span:nth-child(3) {
    transform: rotate(-45deg);
    top: 9px;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 30px 30px;
    transition: right 0.3s ease;
    z-index: 1;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }
  
  .menu-toggle:checked ~ .nav-menu {
    right: 0;
  }
  
  .nav-menu li {
    width: 100%;
  }
  
  .nav-menu li a {
    display: block;
    padding: 15px 0;
  }
  
  .nav-menu li:last-child {
    margin-top: 20px;
  }
  
  .nav-menu li:last-child a {
    width: 100%;
    text-align: center;
  }
  
  .hero {
    padding: 100px 0;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .benefits-grid, 
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .cookie-banner .container {
    flex-direction: column;
  }
  
  .cookie-content {
    margin-bottom: 20px;
    text-align: center;
  }
  
  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .section-padding {
    padding: 60px 0;
  }
  
  .hero {
    padding: 80px 0;
  }
  
  .service-card {
    max-width: 300px;
    margin: 0 auto;
  }
  
  .testimonial {
    padding: 30px;
  }
  
  .form-section {
    padding: 25px;
  }
}

/* Add JavaScript to the bottom of your HTML files to enable animations */
