/* 
   domain.com - Hlavní CSS soubor
   Autor: domain
   Verze: 1.0
*/

/* Reset a základní styly */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth; 
  scroll-padding-top: 40px;
  font-size: 16px;
  font-family: 'Roboto', 'Arial', sans-serif;
}

body {
  background-color: #F8F9FA;
  color: #2E2E2E;
  line-height: 1.6;
}

div {
  word-break: break-word;
  overflow-wrap: break-word;
}

section[id] {
  scroll-margin-top: 40px;
}

a {
  color: #1AB6B3;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #064273;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Glassmorphism efekty */
.glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 20px;
}

/* Tlačítka */
.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: #1AB6B3;
  color: white;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  text-align: center;
}

.btn:hover {
  background-color: #064273;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-accent {
  background-color: #FFC857;
  color: #2E2E2E;
}

.btn-accent:hover {
  background-color: #e6b037;
}

/* Hlavička */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1AB6B3;
}

/* Navigace */
.main-nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

.main-nav a {
  font-weight: 500;
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #1AB6B3;
  transition: width 0.3s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

/* Burger menu */
.burger-menu {
  display: none;
}

.burger-input {
  display: none;
}

.burger-label {
  display: none;
  width: 30px;
  height: 20px;
  position: relative;
  cursor: pointer;
}

.burger-label span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: #1AB6B3;
  border-radius: 3px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

.burger-label span:nth-child(1) {
  top: 0px;
}

.burger-label span:nth-child(2) {
  top: 8px;
}

.burger-label span:nth-child(3) {
  top: 16px;
}

.burger-input:checked ~ .burger-label span:nth-child(1) {
  top: 8px;
  transform: rotate(135deg);
}

.burger-input:checked ~ .burger-label span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

.burger-input:checked ~ .burger-label span:nth-child(3) {
  top: 8px;
  transform: rotate(-135deg);
}

/* Hero sekce */
.hero {
  height: 100vh;
  min-height: 600px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom right, rgba(26, 182, 179, 0.7), rgba(6, 66, 115, 0.7));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-description {
  font-size: 1.2rem;
  max-width: 600px;
  margin-bottom: 30px;
}

/* Sekce O společnosti */
.about {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: #1AB6B3;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, #1AB6B3, #064273);
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-image {
  flex: 1;
  min-width: 300px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Sekce Služby */
.services {
  padding: 80px 0;
  background-color: rgba(26, 182, 179, 0.05);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-image {
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-content {
  padding: 20px;
}

.service-title {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #1AB6B3;
}

/* Sekce Výhody */
.benefits {
  padding: 80px 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.benefit-card {
  padding: 30px;
  text-align: center;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(26, 182, 179, 0.1);
  border-radius: 50%;
  color: #1AB6B3;
  font-size: 2rem;
}

.benefit-title {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #1AB6B3;
}

/* Sekce Reference */
.testimonials {
  padding: 80px 0;
  background-color: rgba(26, 182, 179, 0.05);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
}

.testimonial-text {
  margin-bottom: 20px;
  font-style: italic;
  position: relative;
  padding-left: 20px;
}

.testimonial-text::before {
  content: '"';
  position: absolute;
  left: 0;
  top: -10px;
  font-size: 40px;
  color: #1AB6B3;
  opacity: 0.3;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-name {
  font-weight: 600;
}

.testimonial-position {
  color: #777;
  font-size: 0.9rem;
}

/* Sekce Formulář */
.contact-form {
  padding: 80px 0;
}

.form-container {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s;
}

.form-select option {
  background-color: white;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: #1AB6B3;
  box-shadow: 0 0 0 3px rgba(26, 182, 179, 0.2);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.form-checkbox {
  margin-right: 10px;
  margin-top: 3px;
}

.checkbox-label {
  font-size: 0.9rem;
}

.checkbox-label a {
  text-decoration: underline;
}

.form-submit {
  width: 100%;
  padding: 15px;
  margin-top: 10px;
  background-color: #1AB6B3;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
}

.form-submit:hover {
  background-color: #064273;
}

/* Sekce FAQ */
.faq {
  padding: 80px 0;
  background-color: rgba(26, 182, 179, 0.05);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
}

.faq-question {
  display: none;
}

.faq-question-label {
  display: block;
  padding: 15px 20px;
  background-color: white;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  position: relative;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
}

.faq-question-label::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: #1AB6B3;
}

.faq-question:checked ~ .faq-question-label {
  background-color: #1AB6B3;
  color: white;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.faq-question:checked ~ .faq-question-label::after {
  content: '−';
  color: white;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: white;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  transition: max-height 0.3s ease;
}

.faq-question:checked ~ .faq-answer {
  max-height: 500px;
}

.faq-answer-content {
  padding: 15px 20px;
}

/* Sekce Kontakty */
.contacts {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.contact-icon {
  min-width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(26, 182, 179, 0.1);
  border-radius: 50%;
  color: #1AB6B3;
  font-size: 1.2rem;
}

.contact-map {
  height: 400px;
  border-radius: 10px;
  overflow: hidden;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Footer */
footer {
  background-color: #1AB6B3;
  color: white;
  padding: 50px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-column h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: #FFC857;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: white;
}

.footer-links a:hover {
  color: #FFC857;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

/* Stránka Děkuji */
.thank-you {
  margin: 8rem auto 5rem;
  max-width: 600px;
  text-align: center;
  padding: 40px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid #1AB6B3;
}

.thank-you h2 {
  color: #1AB6B3;
  margin-bottom: 20px;
}

/* Stránky politik */
.policy-page {
  padding: 120px 0 60px;
}

.policy-container {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.policy-title {
  color: #1AB6B3;
  margin-bottom: 30px;
  text-align: center;
  font-size: 2rem;
}

.policy-content h2 {
  color: #1AB6B3;
  margin-top: 30px;
  margin-bottom: 15px;
}

.policy-content p, 
.policy-content ul {
  margin-bottom: 15px;
}

.policy-content ul {
  padding-left: 20px;
}

/* Cookie popup */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  padding: 20px;
  border-radius: 10px;
  z-index: 9999;
  max-width: 400px;
  text-align: center;
  display: none;
}

.cookie-popup p {
  margin-bottom: 15px;
}

.cookie-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #1AB6B3;
  color: white;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s;
}

.cookie-btn:hover {
  background-color: #064273;
}

/* Responzivní design */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .burger-label {
    display: block;
  }
  
  .main-nav {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: white;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }
  
  .burger-input:checked ~ .main-nav {
    max-height: 300px;
  }
  
  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }
  
  .main-nav li {
    width: 100%;
  }
  
  .main-nav a {
    display: block;
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
  }
  
  .main-nav a::after {
    display: none;
  }
  
  .hero-title {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  html {
    font-size: 14px;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .form-container,
  .policy-container {
    padding: 20px;
  }
}