/* =================================== */
/* RESETOVANI A ZAKLADNI STYLY */
/* =================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Google Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

/* =================================== */
/* SPOLECNE STYLY */
/* =================================== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

a:hover {
  color: #1976d2;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* =================================== */
/* HEADER A NAVIGACE */
/* =================================== */

.header {
  background-color: #fff;
  border-bottom: 1px solid #e0e0e0;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: #333;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #1976d2;
}

.menu-toggle {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-link {
  color: #666;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-link:hover {
  color: #1976d2;
}

/* =================================== */
/* HERO SEKCE */
/* =================================== */

.hero {
  background: url('img/cover.avif') right/cover no-repeat;
  color: white;
  padding: 100px 0;
  text-align: center;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content {
  background: rgba(0, 0, 0, 0.4);
  padding: 40px;
  border-radius: 8px;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: -0.5px;
  color: white;
}

.hero-content .subtitle {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 0;
  color: white;
}

/* =================================== */
/* TLACITKA */
/* =================================== */

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background-color: #fff;
  color: #667eea;
}

.btn-primary:hover {
  background-color: #f5f5f5;
  transform: translateY(-2px);
}

/* =================================== */
/* SEKCE */
/* =================================== */

.section {
  padding: 80px 0;
  border-bottom: 1px solid #f0f0f0;
}

.section h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 50px;
  text-align: center;
  color: #333;
}

/* =================================== */
/* INTRO SEKCE */
/* =================================== */

.intro {
  background-color: #fff;
  padding: 60px 0;
}

.intro-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.intro-content p {
  font-size: 18px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 18px;
}

.intro-closing {
  margin-top: 30px;
  font-weight: 600;
  color: #333;
}

.intro-signature {
  margin-top: 30px;
  font-size: 15px;
  color: #667eea;
  font-weight: 500;
}

/* =================================== */
/* ABOUT SEKCE */
/* =================================== */

.about {
  background-color: #fafafa;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 20px;
}

.about-image img {
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  width: 100%;
}

/* =================================== */
/* SERVICES SEKCE */
/* =================================== */

.services {
  background-color: #ffffff;
}

.services-boxes {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.service-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: #ffffff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: none;
  transition: all 0.3s ease;
}

.service-box:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.service-box-left {
  grid-template-columns: 1fr 1fr;
}

.service-box-left .service-box-image {
  order: 1;
}

.service-box-left .service-box-content {
  order: 2;
}

.service-box-right {
  grid-template-columns: 1fr 1fr;
}

.service-box-right .service-box-image {
  order: 2;
}

.service-box-right .service-box-content {
  order: 1;
}

.service-box-image {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
}

.service-box-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.service-box-content {
  padding: 20px;
}

.service-box-content h3 {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
}

.service-box-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-box-list li {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
}

.service-box-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #667eea;
  font-weight: bold;
  font-size: 18px;
}

.service-box-list li:last-child {
  margin-bottom: 0;
}

/* =================================== */
/* CONTACT SEKCE */
/* =================================== */

.contact {
  background-color: #fff;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 30px;
  color: #333;
}

.contact-block {
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid #f0f0f0;
}

.contact-block:last-of-type {
  border-bottom: none;
}

.contact-block h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #667eea;
}

.contact-info p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 8px;
}

.contact-info a {
  color: #667eea;
  font-weight: 500;
}

.contact-info a:hover {
  text-decoration: underline;
}

.social-links {
  margin-top: 30px;
  display: flex;
  gap: 15px;
}

.social-links a {
  display: inline-block;
  padding: 10px 20px;
  background-color: #f0f0f0;
  border-radius: 4px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: #667eea;
  color: white;
}

.map-container {
  padding: 0;
}

.map-inner {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.map-container iframe {
  border-radius: 8px;
  display: block;
}

.map-image {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* =================================== */
/* FOOTER */
/* =================================== */

.footer {
  background-color: #333;
  color: #ccc;
  padding: 30px 0;
  text-align: center;
  font-size: 14px;
}

.footer a {
  color: #999;
}

.footer a:hover {
  color: #fff;
}

/* =================================== */
/* RESPONSIVE DESIGN */
/* =================================== */

@media (max-width: 768px) {
  .header .container {
    position: relative;
  }

  .hamburger {
    display: flex;
    order: 1;
  }

  .menu-toggle:checked ~ .nav {
    display: block !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 20px;
    z-index: 99;
  }

  .nav {
    display: none;
  }

  .nav-menu {
    flex-direction: column;
    gap: 15px;
    font-size: 14px;
  }

  .menu-toggle:checked ~ .hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle:checked ~ .hamburger span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle:checked ~ .hamburger span:nth-child(3) {
    transform: translateY(-12px) rotate(-45deg);
  }

  .social-icons {
    display: none;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-content .subtitle {
    font-size: 16px;
  }

  .hero {
    padding: 60px 0;
  }

  .section {
    padding: 50px 0;
  }

  .section h2 {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .service-box {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
  }

  .service-box-image {
    order: 1 !important;
  }

  .service-box-content {
    order: 2 !important;
    padding: 0;
  }

  .service-box-image img {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .header .container {
    flex-direction: column;
    gap: 15px;
  }

  .nav-menu {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .nav-link {
    font-size: 14px;
  }

  .hero-content h1 {
    font-size: 24px;
  }

  .hero-content .subtitle {
    font-size: 14px;
  }

  .hero {
    padding: 40px 0;
  }

  .section h2 {
    font-size: 22px;
  }
}
