/* === ZÁKLADNÍ NASTAVENÍ === */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 18px;
    background: linear-gradient(to right, #f0f2f5, #e2e8f0);
    color: #2d3748;
    line-height: 1.8;
    transition: background 0.5s ease, color 0.3s ease;
}

/* === HLAVIČKA A NAVIGACE === */
header {
  background: linear-gradient(90deg, #3a3a60, #4a90e2);
  color: white;
  padding: 0 20px;
  min-height: 140px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.logo-container h1 {
  font-size: 2rem;
  font-weight: bold;
  color: white;
}

footer { 
  background: linear-gradient(90deg, #3a3a60, #4a90e2);
  color: white;
  padding: 1.2rem 0;
  position: relative;
  width: 100%;
}

.footer-content {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 2rem;
  max-width: 100%;
}

footer p {
  margin: 0;
  font-size: 1.2rem; 
  font-weight: 500;
  color: #fefefe;
  text-align: center;
}

.footer-bar-right {
  position: absolute;
  right: 20px;
  display: flex;
  gap: 10px;
}

.aukro-logo,
.facebook-logo {
  height: 30px;
  border-radius: 80px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 220px;
}

.logo-container h1 {
  font-size: 1.8rem;
  margin: 0;
}

.site-logo {
  height: 70px;
  width: auto;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  font-size: 1.2rem;
  color: whitesmoke;
}

.top-bar a {
  color: whitesmoke;
  text-decoration: none;
}

.navbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem 2rem;
  color: white;
  flex-wrap: wrap;
  width: 100%;
}

.contact-info {
  font-size: 1.3rem;
  color: whitesmoke;
  white-space: nowrap;
}

.simple-nav {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  flex-wrap: wrap;
  margin-left: auto;
}

.simple-nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  font-size: 1.3rem;
  transition: color 0.2s ease;
}

.simple-nav a:hover {
  color: #ffd166;
  text-decoration: underline;
}

.mobile-lang-switch {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.mobile-lang-switch button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  transition: transform 0.2s ease-in-out;
}

.mobile-lang-switch button:hover {
  transform: scale(1.1);
}

.mobile-lang-switch img {
  width: 24px;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 0 3px rgba(0,0,0,0.3);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 0.6rem;
  background: none;
  border: none;
  z-index: 1001;
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
  background-color: #ffd166;
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
  background-color: #ffd166;
}


.mobile-contact-lang {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  margin-left: 2rem;
}

.mobile-contact a {
  background-color: #ffd166;
  color: #2d3748;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  font-size: 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.mobile-contact a:hover {
  background-color: #ffb703;
  transform: translateY(-2px);
  color: #2d3748;
}



/* === HLAVNÍ OBSAH === */
.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 3rem 2rem;
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
    animation: fadeIn 0.8s ease;
}

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

.section {
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease both;
    animation-delay: 0.2s;
    transition: all 0.5s ease;
}

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

.section h2 {
    color: #333;
    margin-bottom: 2rem;
    font-size: 2.2rem;
    font-weight: 700;
    border-left: 5px solid #4a90e2;
    padding-left: 1rem;
}

.main_about{
    font-size: 1.5rem;
}

.about-section .about-content {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
}

.about-text {
  flex: 1 1 300px;
  font-size: 1.4rem;
}

.about-text p {
  margin-top: 1rem;
  line-height: 1.8;
}

.about-image {
  flex: 1 1 300px;
}

.about-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.about-image img:hover {
  transform: scale(1.03);
}

.contact-card3 {
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
  font-size: 1.3rem;
  background-color: #fff;
}

.contact-card3 p,
.contact-card3 ul {
  font-size: 1.4rem;
  color: #4a4a4a;
  margin: 0.5rem 0;
  padding-left: 0;
  list-style-position: inside;
  list-style: none;
  text-align: left;
}

.contact-card3 ul li {
  position: relative;
  margin-bottom: 0.6rem;
  font-size: 1.2rem;
  padding-left: 2rem;
}

.contact-card3 ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0.1rem;
  font-size: 1.2rem;
  color: #4a90e2;
}

/* === VIDEO === */
.video-bg {
  position: absolute; /* přidej! */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* === OVERLAY PRO LEPŠÍ PŘECHOD === */
.overlay {
  position: absolute; /* změň z fixed na absolute! */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* === ÚVODNÍ TEXT NA VIDEU === */
.hero-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}


.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #f39810;
  text-shadow: 6px 6px 30px #000;
  z-index: 1;
  opacity: 0;
  padding: 0 20px;
  max-width: 90vw;
  animation: fadeIn 2s ease-in-out forwards;
}

.hero-text h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  margin: 0;
  padding: 0 1rem;
  max-width: 90vw;
  text-align: center;
  word-wrap: break-word;
}

    @keyframes fadeIn {
      to {
        opacity: 1;
      }
    }

/* === SLUŽBY – KARTY === */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.card {
    background-color: #ffffff;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.4s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInCard 0.6s forwards;
}

.card:nth-child(1) { animation-delay: 0.2s; }
.card:nth-child(2) { animation-delay: 0.4s; }
.card:nth-child(3) { animation-delay: 0.6s; }
.card:nth-child(4) { animation-delay: 0.8s; }
.card:nth-child(5) { animation-delay: 1s; }

@keyframes fadeInCard {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card:hover {
    transform: translateY(-6px);
    background-color: #f9fcff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.5);
}

.card h3 {
   color: #2c3e50;
  margin-bottom: 0.5rem;
}

/* === ROZBALOVACÍ KARTY === */
.toggle-card {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.toggle-card:hover {
    transform: translateY(-6px);
    background-color: #f9fcff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.card,
.toggle-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #dce3eb;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover,
.toggle-card:hover {
    transform: translateY(-5px);
    background-color: #f6f9fc;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
}

.toggle-card .card-header {
    position: relative;
    font-size: 1.2rem; 
    padding: 1.2rem 1.5rem;
    background-color: #edf2fa;
    font-weight: 600;
    color: #3a5ba0;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.toggle-card .card-header:hover {
    background-color: #e0f3ff;
}

.toggle-card .card-body {
    height: 0;
    overflow: hidden;
    transition: height 0.4s ease;
    padding: 0 1.5rem;
    font-size: 1.2rem;
    color: #2c3e50;
    line-height: 1.6;
}

.toggle-card.active .card-body {
    padding: 1rem 1.5rem;
}

.toggle-card .card-header:hover,
.toggle-card .card-header:focus {
    background-color: #d3eaff;
    color: #084b9c;
    outline: none;
}

.toggle-card .card-header::after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.3rem;
    color: #666;
    transition: transform 0.3s ease, color 0.3s ease, content 0.3s ease;
}

.toggle-card.active .card-header::after {
    content: "−";
    color: #3a5ba0;
}

.service-group-heading {
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
    color: #4a90e2;
    padding-left: 0.75rem;
}

/* === TABULKA CENÍKU === */
table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  background: white;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  margin-top: 1.5rem;
}

th, td {
  padding: 14px 18px;
  word-wrap: break-word;
  word-break: break-word;
  white-space: normal;
  vertical-align: top;
  font-size: 1.15rem;
}

th {
  background-color: #4a90e2;
  color: white;
  font-weight: 600;
  text-align: left;
}

td {
  border-bottom: 1px solid #eee;
  background-color: #fdfdfd;
}

tbody tr:nth-child(even) td {
  background-color: #f7fafd;
}

tbody tr:hover td {
  background-color: #e6f0ff;
  transition: background-color 0.3s ease;
}

/* Sloupec šířky */
th:first-child,
td:first-child {
  width: 75%;
}

th:last-child,
td:last-child {
  width: 25%;
}

/* === TLAČÍTKO STÁHNOUT === */
a.download-link {
  display: inline-block;
  font-size: 1.05rem;
  margin-top: 1.5rem;
  padding: 0.8rem 1.4rem;
  background-color: #4a90e2;
  color: white;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

a.download-link:hover {
  background-color: #357abd;
  transform: translateY(-2px);
  text-decoration: none;
}

/* === SEKCE SERVISNÍHO ŘÁDU === */
.section:nth-of-type(2),
.policy-section {
  border-radius: 12px;
}

/* Google Map */
iframe {
    width: 100%;
    height: 350px;
    border: none;
    border-radius: 8px;
    margin-top: 1rem;
}

/* === KONTAKT === */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
  width: 100%;
}

.contact-card {
  background-color: #ffffff;
  border: 1px solid #dce3eb;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 0.6s ease-in-out both;
}

.contact-card:nth-child(1) { animation-delay: 0.1s; }
.contact-card:nth-child(2) { animation-delay: 0.2s; }
.contact-card:nth-child(3) { animation-delay: 0.3s; }
.contact-card:nth-child(4) { animation-delay: 0.4s; }

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.contact-card h3 {
  color: #4a90e2;
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
  transition: color 0.3s ease;
}

.contact-card:hover h3 {
  color: #084b9c;
}

/* === STYL: PROFILY DOPRAVCŮ === */
.contact-grid2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2.5rem;
  margin: 2rem 0;
}

.contact-card2 {
  background: #ffffff;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
  text-align: center;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
  font-size: 1.3rem;
}

.contact-card2:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.contact-card2:hover h3 {
    color: #084b9c;
    transition: color 0.3s ease;
}

.contact-card2 h3 {
  font-size: 1.7rem;
  color: #1a202c;
  margin-bottom: 0.5rem;
}

.contact-card2 h4 {
  font-size: 1.5rem;
  color: #4a90e2;
  margin-top: 1.2rem;
  margin-bottom: 0.4rem;
  border-bottom: 1px solid #dce3eb;
  padding-bottom: 0.3rem;
}

.contact-card2 p,
.contact-card2 ul {
  font-size: 1.3rem;
  color: #4a4a4a;
  margin: 0.5rem 0;
  padding-left: 0;
  list-style-position: inside;
}

.contact-card2 ul {
  list-style: none;
  padding-left: 0;
  text-align: left;
}

.contact-card2 ul li {
  position: relative;
  margin-bottom: 0.6rem;
  font-size: 1.2rem;
  padding-left: 2rem;
}

.contact-card2 ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0.1rem;
  font-size: 1.2rem;
  color: #4a90e2;
}

.contact-card2 img {
  max-width: 110px;
  height: auto;
  margin-bottom: 1.2rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  object-fit: contain;
}

/* ============================
   Mobilní režim (max-width: 768px)
   ============================ */
@media (max-width: 768px) {
  /* Základní úpravy */
  body {
    font-size: 16px;
  }

header {
  padding-top: 1.2rem;
  padding-bottom: 1.2rem;
}

.navbar {
  flex-direction: column;
  align-items: flex-start;
}

  .container {
    padding: 2rem 1rem;
    margin: 1rem auto;
  }

  h2,
  .section h2 {
    font-size: 1.4rem;
  }

  footer p {
  font-size: 0.6rem;
  }

  .aukro-logo,
.facebook-logo {
  height: 20px;
  border-radius: 80px;
}

  /* Navigace */
.simple-nav {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  background-color: #3a3a60;
  padding: 1rem;
  width: 100%;
  z-index: 1000;
}

  .simple-nav.active {
    display: flex;
  }

.simple-nav a {
  padding: 1rem 1rem;
  font-size: 0.9rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Kontakt + jazyk */
.mobile-contact-lang {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  align-items: flex-start;
}

.mobile-contact a {
  background-color: #f39810;
  color: #2d3748;
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.mobile-contact a:hover {
  background-color: #f39810;
  transform: translateY(-2px);
  color: #2d3748;
}

.mobile-lang-switch {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

  .mobile-lang-switch button {
    background: none;
    border: none;
    margin: 0 5px;
    cursor: pointer;
  }

  .mobile-lang-switch img {
    width: 24px;
  }

.hamburger {
  display: flex;
}

  .hamburger span {
    height: 3px;
    width: 25px;
    background: #fff;
    display: block;
  }

  /* Logo */
.logo-container {
  align-items: center;
  justify-content: center;
  text-align: center;
}

.logo-container h1 {
  font-size: 1.5rem;
  margin: 0;
}

.site-logo {
  height: 60px;
}

 /* HERO TEXT */
  .hero-text {
    width: 100vw;
    padding: 0 1rem;
  }

  .hero-text h1 {
    font-size: clamp(1.4rem, 6vw, 2rem);
    padding: 0;
    max-width: 100%;
    text-align: center;
  }

  .main_about{
    font-size: 1.1rem;
}

  #main_about{
    font-size: 1.1rem;
  }

  .about-section .about-content {
    flex-direction: column;
  }

  /* Tabulky */
  table {
    font-size: 0.8rem;
  }

  td,
  th {
    padding: 10px;
    font-size: 0.8rem;
  }
.table-wrapper {
    overflow-x: auto;
  }

  /* Odkazy ke stažení */
  a.download-link {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 1rem;
  }

  /* Mapa nebo iframe */
  iframe {
    height: 250px;
    width: 100%;
  }

  /* Sekce kontaktu */
  .contact-card2 {
    padding: 2rem;
  }

  .contact-card2 h3 {
    font-size: 1.8rem;
  }

  .contact-card2 h4 {
    font-size: 1.5rem;
  }

  .contact-card2 ul li,
  .contact-card2 p {
    font-size: 1.2rem;
  }

  /* Rozbalovací karty (toggle) */
  .toggle-card .card-header {
    font-size: 0.9rem;
    padding: 1rem;
  }

  .toggle-card .card-body {
    font-size: 0.8rem;
    padding: 0 1rem;
  }

  /* Nadpisy služeb */
  .service-group-heading {
    font-size: 1.3rem;
    margin-top: 1.5rem;
  }

  /* Vylepšení zobrazení profilů dopravců na mobilu */
  .contact-card2 {
    padding: 1.5rem;
    text-align: left;
  }

  .contact-card2 img {
    display: block;
    margin: 0 auto 1rem auto;
    max-width: 90px;
  }

  .contact-card2 h3 {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 1rem;
  }

  .contact-card2 h4 {
    font-size: 1.3rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    text-align: left;
  }

  .contact-card2 ul {
    padding-left: 1.2rem;
  }

  .contact-card2 ul li {
    font-size: 1.1rem;
    padding-left: 1.5rem;
  }

  .contact-card2 ul li::before {
    left: 0;
    font-size: 1.1rem;
  }


.contact-card3 ul li {
  position: relative;
  margin-bottom: 0.6rem;
  font-size: 1.1rem;
  padding-left: 2rem;
}

.contact-card3 ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0.1rem;
  font-size: 1.1rem;
  color: #4a90e2;
}
}

@media (min-width: 1200px) {
  .hero-text h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
  }
}

