/* Navigation */
#mainNav {
  transition: all 0.3s ease-in-out;
  padding: 1rem;
}

#mainNav.navbar-scrolled {
  background-color: rgba(0, 0, 0, 0.4);
  padding: 0.5rem 1rem;
}

#mainNav .nav-link {
  transition: all 0.3s ease-in-out;
  padding: 0.5rem 1rem;
  color: black;
  background-color: white;
  border-radius: 0;
  margin-left: 1rem;
  width: 120px;
}

#mainNav .nav-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#navbarResponsive {
  justify-content: flex-end;
}

.navbar-brand img {
  height: 40px;
  opacity: 1;
}

.navbar-toggler:focus {
  border: 0 !important;
  box-shadow: none !important;
}

.navbar-toggler {
  border: 0 !important;
}


.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('assets/img/header.jpg');
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-section h1 {
  position: relative;
  padding-bottom: 2rem;
  margin-bottom: 1rem;
}

.hero-section h1::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100px;
  height: 4px;
  background-color: #10543c; /*#096948; */
  transform: translateX(-50%);
}

/* About Us Section */
.about-us {
  background-color: #fff;
  color: #000;
}

.about-us-image {
  max-height: 500px;
  object-fit: cover;
  object-position: top;
  width: 100%;
  transition: transform 0.3s ease;
}

/* Services Section (Content Grid) */
.content-grid .grid-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.content-grid .grid-item {
  flex: 1 1 calc(50% - 2rem);
  margin: 1rem;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.content-grid .grid-item-white {
  background-color: white;
  color: black;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 2rem;
}

.content-grid .grid-item-white h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.content-grid .grid-item-white h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background-color: #10543c; /* #096948; */
}

.content-grid .grid-item-white p {
  font-size: 1rem;
  line-height: 1.6;
}

.content-grid .grid-item-black {
  background-size: cover;
  background-position: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Přidaný stín */
}

.content-grid .grid-item-black-1 { background-image: url('assets/img/img-black-1.jpg'); }
.content-grid .grid-item-black-2 { background-image: url('assets/img/img-black-2.jpg'); }
.content-grid .grid-item-black-3 { background-image: url('assets/img/img-black-3.jpg'); }
.content-grid .grid-item-black-4 { background-image: url('assets/img/img-black-4.jpg'); }

.content-grid .grid-item-sluzby-1 { background-image: url('assets/img/img-sluzby-1.jpg'); }
.content-grid .grid-item-sluzby-2 { background-image: url('assets/img/img-sluzby-2.jpg'); }
.content-grid .grid-item-sluzby-3 { background-image: url('assets/img/img-sluzby-3.jpg'); }
.content-grid .grid-item-sluzby-4 { background-image: url('assets/img/img-sluzby-4.jpg'); }

/* What We Offer Section */
.what-we-offer .main-heading {
  font-size: 2.5rem;
  font-weight: bold;
  line-height: 1.2;
}

.what-we-offer .content-wrapper {
  height: 100%;
}

.what-we-offer .btn-primary {
  background-color: #10543c; /* #096948;*/
  border-color: #096948;
  color: white;
}

.what-we-offer .btn-primary:hover {
  background-color: #10543c /* #096948; */
  border-color: #10543c; /* #096948; */
}

.what-we-offer .btn-outline-secondary {
  border-color: #ccc;
  color: #333;
}

.what-we-offer .btn-outline-secondary:hover {
  background-color: #f8f9fa;
}

/* Team Section */
.team-section {
  background-color: white;
  padding: 4rem 0;
}

.team-member {
  /* Změněno z pink na tmavší odstín růžové pro lepší kontrast */
  background-color: #10543c; /* #096948; */
  border-radius: 0;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}


.team-member h3 {
  color: #000000; /* Změněno z #333 na černou pro maximální kontrast */
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.team-member h3::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 50px;
  height: 3px;
  background-color: #fff;
  transform: translateX(-50%);
}

.team-member-position {
  color: #ffffffd6;
  font-size: 1rem;
  font-weight: bold;
}

.team-member-bio {
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.4;
  text-align: left;
}

/* Contact Section */
.contact-section {
  background-color: #fff;
  color: #000;
  padding: 4rem 0;
}

/* General Styles */
.section-heading {
  font-size: 2.5rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.section-heading::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100px;
  height: 3px;
  background-color: #096948;
  transform: translateX(-50%);
}

/* Footer */
.footer {
  background-color: #000;
  color: #fff;
  padding: 1rem 0;
  font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .content-grid .grid-item {
    flex: 1 1 100%;
  }
  .content-grid .grid-item:nth-child(1) { order: 1; }
  .content-grid .grid-item:nth-child(2) { order: 2; }
  .content-grid .grid-item:nth-child(3) { order: 4; }
  .content-grid .grid-item:nth-child(4) { order: 3; }
  .content-grid .grid-item:nth-child(5) { order: 5; }
  .content-grid .grid-item:nth-child(6) { order: 6; }
  .content-grid .grid-item:nth-child(7) { order: 8; }
  .content-grid .grid-item:nth-child(8) { order: 7; }
}

.main_background_color {
  background-color: #10543c; /* #096948; */
}

/* Přidejte nebo upravte ve vašem styles.css */

@media (max-width: 991px) { /* Bootstrap lg breakpoint */
  #mainNav .navbar-nav .nav-item {
      width: 100%; /* Roztáhne položky na celou šířku */
      margin-bottom: 1rem; /* Přidá mezeru mezi položkami */
  }

  #mainNav .nav-link {
      width: 100% !important; /* Přepíše původní fixed width */
      margin-left: 0 !important; /* Odstraní levý margin */
      padding: 0.75rem 1rem; /* Zvětší padding pro lepší klikací plochu */
      text-align: center;
      font-size: 1.1rem; /* Zvětší text */
  }

  .navbar-collapse {
      padding: 1rem 0; /* Přidá padding kolem celého menu */
      /*background-color: rgba(255, 255, 255, 0.95); /* Přidá pozadí pro lepší čitelnost */
  }
  
  /* Pokud chcete menu vycentrovat */
  #navbarResponsive {
      justify-content: center;
      align-items: center;
  }

  /* Animace pro plynulejší otevírání menu */
  .navbar-collapse {
      transition: all 0.3s ease;
  }

  /* Hover efekt pro mobilní zobrazení */
  #mainNav .nav-link:hover {
      background-color: #10543c; /* #096948; /* Váš firemní odstín zelené */
      color: white !important;
  }
}

/* Přidejte do vašeho styles.css */

/* Kontejner pro řádek s kartami */
.team-section .row {
  display: flex;
  flex-wrap: wrap;
}

/* Sloupec obsahující kartu */
.team-section .col-md-4 {
  display: flex;
  margin-bottom: 2rem;
}

/* Samotná karta */
.team-member {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background-color: #10543c; /* #096948; */
  border-radius: 0;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Kontejner pro obsah karty */
.team-member-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Bio text */
.team-member-bio {
  flex-grow: 1;
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.4;
  text-align: justify;
  margin: 0;
}

/* Jméno */
.team-member h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

/* Pozice */
.team-member-position {
  color: #ffffffd6;
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px; /* Mezera mezi ikonou a textem */
  margin-bottom: 0.5rem;
}

.contact-icon {
  width: 25px; /* Upravte podle velikosti vaší ikony */
  height: 25px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* Pro lepší vzhled na tmavém pozadí */
.contact-item p {
  margin: 0;
}

/* Pro hover efekt */
.contact-item:hover .contact-icon {
  opacity: 1;
}

/* Přidejte do styles.css */

/* Základní styl pro aktivní položku */
.nav-link.active {
  background-color: #10543c !important ; /* #096948 !important; /* Váš firemní zelený odstín */
  color: white !important;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Hover efekt pro aktivní položku */
.nav-link.active:hover {
  background-color: #075c3d !important; /* Tmavší odstín při hoveru */
  transform: translateY(-3px);
}


/* Responsivní úpravy pro mobilní zobrazení */
@media (max-width: 991px) {
  .nav-link.active {
      transform: none;
  }
  
  .nav-link.active::after {
      display: none;
  }
}