/* =========================================
   ZÁKLADNÍ NASTAVENÍ
========================================= */

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

html, body {
  height: 100%;
  font-family: "Raleway", sans-serif;
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: transparent;
  color: #222;
  overflow-x: hidden;
}

/* =========================================
   VIDEO POZADÍ
========================================= */

#video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

#myVideo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================================
   HLAVIČKA A NAVIGACE
========================================= */

#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.container-fluid {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 2rem;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  gap: 3rem; /* Větší mezera mezi logem a menu */
}

.logo-link img {
  height: 5.5rem;
  width: auto;
  max-width: 100%;
}

/* Hamburger menu ikona */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.menu-toggle span {
  width: 30px;
  height: 3px;
  background-color: #0077bf;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

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

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.navigation-row {
  display: flex;
}

.navigation-menu {
  display: flex;
  list-style: none;
  gap: 2.5rem; /* Větší mezera mezi položkami menu */
  align-items: center;
  margin-left: auto; /* Posune menu více doprava */
}

.navigation-menu li a {
  color: #0077bf;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.34rem;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
}

.navigation-menu li a:hover,
.navigation-menu li.active a {
  color: #005a94;
}

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

.section {
  min-height: 100vh;
  padding: 8rem 2rem 4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

#fullpage {
  position: relative;
  z-index: 1;
}

.section-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
text-align: left;
}

/* =========================================
   ÚVODNÍ SEKCE
========================================= */

.welcome-box {
    color: #fff;
    text-align: center;
    background: linear-gradient(135deg, #0082D0 0%, #0066A6 100%);
    padding: 3rem 2rem;
    border-radius: 1rem;
    max-width: 800px;
    margin: 0 auto;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 130, 208, 0.3);
}

.welcome-first {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 1rem;
  text-transform: none;
  letter-spacing: 2px;
  color: #B3E5FC; /* Velmi světle modrá */
}

.welcome-title {
  font-size: 3.5rem;
  margin: 1rem 0;
  font-weight: 700;
  line-height: 1.2;
}

.welcome-box p {
  font-size: 1.2rem;
  margin-top: 1.5rem;
  line-height: 1.6;
color:#E0E0E0;
}

/* =========================================
   O NÁS SEKCE
========================================= */

.about-contentbox {
  background-color: rgba(255, 255, 255, 0.95);

  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}


.about-contentbox h4 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: #002654;
  font-weight: bold;
  text-align: left;    /* ← ZMĚNIT z justify na left */
}

.about-contentbox p {
  line-height: 1.75;
  font-size: 1.25rem;
color: #000;

}



.about-thumbnail {
    position: relative;
    margin-bottom: 0;
    border: 0;
    border-color: transparent; 


  
}



.about-caption {
  position: absolute;
  top: 7%;
  left: 1rem;
  width: 98%;
  margin: 1rem 0 0 0;
  text-align: left !important;
}



/* =========================================
   PRODUKTY / SLUŽBY
========================================= */

.title-block {
  text-align: center;
 text-transform: none;

  background: #007bff; 
   

  border-radius: 1rem;
  padding: 0.81rem;
 
 
}




.title-block-2 {
  text-align: center;
 background-color: #FFF;
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
 
}


.title-block span {
  font-weight: 600;
    color: #B3E5FC;
  font-size: 2.8rem;
  letter-spacing: 1px;
 text-transform: none !important; 
}


 .title-block h1 {
  font-size: 2.5rem;
  margin-top: 0.5rem;
  font-weight: 700;
  color: #E0E0E0;
  text-transform: none !important;
}

.title-block h2 {
  font-size: 2.5rem;
  margin-top: 0.5rem;
  font-weight: 700;
  color: #E0E0E0;
text-transform: none; 
}



.title-block h4 {
  font-size: 2.75rem;
  margin-bottom: 1.5rem;
  color:  #000;
 text-shadow: 2px 2px 4px #fff;
 font-weight: bold;

}


.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 1.1rem;
}

.meeting-item {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);

}

.meeting-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.meeting-item .thumb {
  position: relative;
  overflow: hidden;
}

.meeting-item img {
  width: 100%;
  height: 20rem;
  object-fit: cover;
  display: block;
}

.meeting-item .price {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,119,191,1), rgba(0,119,191,1));
  color: #fff;
  text-align: center;
  padding: 0.35rem;
  font-weight: 700;
  font-size: 1rem;
}

.down-content {
  padding: 1.5rem;

}

.down-content .date {
  text-align: center;
  margin-bottom: 1rem;
}

.down-content h4 {
  font-size: 1.2rem;
  margin: 1rem 0;
  color: #0077bf;
}

.down-content p {
  line-height: 1.6;

  color: #000;
}

.button {
  background: #0077bf;
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
  font-weight: 600;
  margin-top: 1rem;
  transition: background 0.3s ease;

  width: 97%;           /* 👈 šířka vůči nadřazenému prvku */
  display: block;       /* 👈 zajistí, že se chová jako blok a šířka se aplikuje */
  margin-left: auto;    /* 👇 centrování vodorovně */
  margin-right: auto;
}

.button a {

 color: #fff;
}

.button:hover {
  background: #005a94;
}

/* =========================================
   MODAL
========================================= */

.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0,0,0,0.7);
}



.modal-content {
  background-color: #fff;
  margin: 5vh auto;
  padding: 0;
  border-radius: 1rem;
  
 
  max-height: 85vh;
  overflow-y: auto;
  animation: slideDown 0.3s ease;

  width: 90%; /* Větší než současných 90% */
  height: 90vh; /* 90% výšky obrazovky */
  
  max-width: 1200px; /* Maximální šířka */
}


@keyframes slideDown {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.okraj {
  padding: 2rem;
}

.close {
  color: #aaa;
  float: right;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
}

.close:hover {
  color: #000;
}

/* Nadpis v modalu */
.modal .okraj h4 {
  font-size: 1.8rem !important;
  font-weight: 700 !important;
  color: #000 !important;
  text-align: center !important;
  margin-bottom: 2rem !important;
}

/* =========================================
   MODAL GRID - NOVÁ STRUKTURA
========================================= */

.modal-grid {
  display: grid !important;
  grid-template-columns: 1fr 2fr 1fr !important;
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 2rem;
  width: 100%;
  box-sizing: border-box;
}

.modal-grid > img {
  width: 100% !important;
  max-width: 250px;
  height: auto !important;
  border-radius: 0.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  margin: 0 auto;
  display: block !important;
  float: none !important;
}

.modal-text {
  padding: 0 1rem;
  display: block !important;
  overflow: visible !important;
  min-width: 0;
}

.modal-text p {
  margin-bottom: 1rem;
  line-height: 1.6;
  text-align: left;
}

.modal-text ul {
  list-style: none;
  padding-left: 0;
}

.modal-text ul li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.modal-text ul li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #0077bf;
  font-weight: bold;
}

/* Responzivita pro tablety a mobily */
@media (max-width: 992px) {
  .modal-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .modal-grid img {
    max-width: 70%;
  }
  
  .modal-text {
    padding: 1rem 0;
  }
}

/* Odstraníme staré CSS pro tabulky */
.modal-table {
  display: none !important;
}

/* =========================================
   KONTAKTY
========================================= */

.grid-contacts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 1.1rem;
  margin-bottom: 3rem;

}

.google-map iframe {
  width: 100%;
  height: 500px;
  border: none;
  border-radius: 1rem;
}

/* =========================================
   RESPONZIVITA - TABLET (do 992px)
========================================= */

@media (max-width: 992px) {
  .welcome-title {
    font-size: 2.5rem;
  }
  
  .title-block h2 {
    font-size: 2rem;
  }
  
  .grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .about-contentbox {
    padding: 2rem;
  }
}

/* =========================================
   RESPONZIVITA - TABLET A MOBIL (do 1024px)
========================================= */

@media (max-width: 1024px) {
  .container-fluid {
    padding: 0 1rem;
  }
  
  /* Hamburger menu */
  .menu-toggle {
    display: flex;
  }
  
  .navigation-row {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }
  
  .navigation-row.active {
    transform: translateX(0);
  }
  
  .navigation-menu {
    flex-direction: column;
    gap: 0;
    width: 100%;
    padding: 1rem 0;
  }
  
  .navigation-menu li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #eee;
  }
  
  .navigation-menu li a {
    display: block;
    padding: 1rem;
    font-size: 1.1rem;
  }
}

/* =========================================
   RESPONZIVITA - MOBIL (do 768px)
========================================= */

@media (max-width: 768px) {
  .container-fluid {
    padding: 0 1rem;
  }
  
  /* Hamburger menu */
  .menu-toggle {
    display: flex;
  }
  
  .navigation-row {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }
  
  .navigation-row.active {
    transform: translateX(0);
  }
  
  .navigation-menu {
    flex-direction: column;
    gap: 0;
    width: 100%;
    padding: 1rem 0;
  }
  
  .navigation-menu li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #eee;
  }
  
  

  .navigation-menu li a {
    font-size: 2rem;  /* ← menší písmo */
    gap: 1.5rem;      /* ← menší mezery */
  }
  
  .section {
    padding: 6rem 1rem 3rem;
  }
  
  .welcome-box {
    padding: 2rem 1.5rem;
  }
  
  .welcome-first {
    font-size: 1.2rem;
  }
  
  .welcome-title {
    font-size: 2rem;
  }
  
  .welcome-box p {
    font-size: 1rem;

  }
  
  .title-block h2 {
    font-size: 1.15rem;
color : #B3E5FC;
  }


 .title-block span {
    font-size: 1.89rem;
color : #E0E0E0;
  text-transform: none !important;
  }
  
  .grid,
  .grid-contacts {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .about-contentbox {
    padding: 1.5rem;
  }
  
  .logo-link img {
    height: 3rem;
  }
  
  .google-map iframe {
    height: 400px;
  }
}

/* =========================================
   RESPONZIVITA - MALÉ MOBILY (do 480px)
========================================= */

@media (max-width: 480px) {
  .welcome-title {
    font-size: 1.5rem;
  }
  
  .title-block h2 {
    font-size: 1.3rem;
  }

.title-block h2 {
  font-size: 2.5rem;
  margin-top: 0.5rem;
  font-weight: 700;
  color: #E0E0E0;
  text-transform: none !important;  /* ← PŘIDAT */
}
  
  .about-contentbox h4 {
    font-size: 1.5rem;
  }
  
  .container-fluid {
    padding: 0 0.5rem;
  }
  
  .welcome-box {
    padding: 1.5rem 1rem;
  }
  
  .button {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
}

.title-block span {
  text-transform: none !important;
}