/*==============================================
    Main Header Css        
===============================================*/
:root {
  --z-header: 100;
  --z-sticky: 2;
  --z-overlay: 900;
  --z-menu: 1000;
  --m-header: #FF8C00;
  --box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  --custom-border: 0.5rem solid var(--theme-green-ekor-2);
}

.main-header {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  z-index: var(--z-header);
  background: #fff;
}

.main-header{
    border-bottom: 0.2rem solid var(--theme-green-ekor-2);
    -webkit-box-shadow: var(--box-shadow);
            box-shadow: var(--box-shadow);
}

.main-header.fixed-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: var(--z-sticky);
  /* 👇 sem patří glass efekt */
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(10px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  animation: slideDown 1s ease;
}

/* ❌ VYPNUTÍ NA MOBILECH */

@media (max-width: 991px) {
  .main-header.fixed-header {
    position: relative;
  }
}


.fadeInDown {
  -webkit-animation-name: slideDown;
  animation-name: slideDown;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

/* =========================
   LOGO HOVER EFFECT
========================= */

.logo-wrap img {
  width: 100%;
  max-width: 165px;
}

footer .logo-wrap {
  width: 100%;
  max-width: 165px;
  margin-top: -24px;
}

footer .logo-wrap img {
  width: 100%;
  max-width: 165px;
}

.footer-logo {
  margin-bottom: 25px;
}
.footer-logo img {
  width: 100%;
  max-width: 165px;
}

.logo-link {
  display: inline-block;
  position: relative;
  overflow: visible;
  border-color: var(--theme-color-3); /* zelená */
}

.logo-link img {
  display: block;
  transition: transform 0.35s ease, filter 0.35s ease;
}


.logo-link::after {
  content: "";
  position: absolute;
  left: -50%;
  bottom: 0;
  width: 50%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(var(--theme-base-rgb), 0.3),
    transparent
  );
  transition: left 0.4s ease;
}

.logo-link:hover::after {
  left: 100%;
}

/* klik efekt */
.logo-link:active img {
  transform: scale(0.96);
  transition: transform 0.1s ease;
}


.logo-link:hover img {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.15)); /* 🔥 neutrální */
}

/* =========================
   LOGO FOOTER HOVER
========================= */
.logo-link-footer {
  display: inline-block;
  position: relative;
  overflow: visible;
}

.logo-link-footer img {
  display: block;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.logo-link-footer::after {
  content: "";
  position: absolute;
  left: -50%;
  bottom: 0;
  width: 50%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(var(--white-color-rgb), 0.8),
    transparent
  );
  transition: left 0.4s ease;
}

.logo-link-footer:hover::after {
  left: 100%;
}

/* klik efekt */
.logo-link-footer:active img {
  transform: scale(0.96);
  transition: transform 0.1s ease;
}


.logo-link-footer:hover img {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.15)); /* 🔥 neutrální */
}

/* =========================
   LOGO MOBILE HOVER
========================= */
.logo-link-mobile {
  display: inline-block;
  position: relative;
  overflow: visible;
}

.logo-link-mobile img {
  display: block;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.logo-link-mobile::after {
  content: "";
  position: absolute;
  left: -10%;
  bottom: 0;
  width: 60%;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(var(--white-color-rgb), 0.8),
    transparent
  );
  transition: left 0.4s ease;
}

.logo-link-mobile:hover::after {
  left: 60%;
}


/* klik efekt */
.logo-link-mobile:active img {
  transform: scale(0.96);
  transition: transform 0.1s ease;
}


.logo-link-mobile:hover img {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.15)); /* 🔥 neutrální */
}

/*==============================================
    Main Header Css        
===============================================*/
.header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
@media (min-width: 1200px) and (max-width: 1399px) {
  .header-info {
    gap: 5px;
  }
}
@media (min-width: 1400px) and (max-width: 1700px) {
  .header-info .header-info-content p {
    font-size: 16px;
  }
}
@media (min-width: 1200px) and (max-width: 1399px) {
  .header-info .header-info-content p {
    font-size: 16px;
  }
}

.header-info .header-info-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: rgba(var(--theme-base-rgb), .10);
    border-radius: 50%;
    z-index: 1;
}

.header-info .header-info-icon:before {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    border-radius: 50%;
    background: var(--theme-black);
    content: "";
    z-index: -1;
    transform: scale(0.0);
    transform-origin: center;
    transform-style: preserve-3d;
    transition: all 0.4s cubic-bezier(0.62, 0.21, 0.45, 1.52);
}

.header-info:hover .header-info-icon:before {
    transform: scaleX(1.0);
}

.header-info .header-info-icon i::before {
    position: relative;
    display: block;
    color: var(--theme-base);
    font-size: 20px;
    line-height: 60px;
    text-align: center;
    transition: all 200ms linear;
    transition-delay: 0.1s;
}

.header-info:hover .header-info-icon i::before {
    color: #fff;
}

.header-info .header-info-content {
    position: relative;
    display: block;
    padding-left: 20px;
}

.header-info .header-info-content span {
    position: relative;
    display: block;
    top: 5px;
    font-size: 14px;
    /*line-height: 16px;*/
    font-weight: 500;
    margin: 0 0 3px;
    line-height: 100%;
    color: rgba(56, 56, 56, 0.8);
}

.header-info .header-info-content p a {
    position: relative;
    display: inline-block;
  color: var(--theme-color-3);

  /*color: var(--theme-black);*/
    font-size: 16px;
    line-height: 16px;
    font-weight: 700;
    transition: all 200ms linear;
    transition-delay: 0.1s;
}

.header-info .header-info-content p a:hover {
    color: var(--theme-primary);
}

.logo-wrap-2 {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(14.75px);
  border-radius: 0 0 16px 0;
  padding: 20px 52px;
  border-right: 1.5px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 1399px) {
  .logo-wrap-2 {
    padding: 20px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .logo-wrap-2 {
    padding: 15px 25px;
  }
}

@media (max-width: 767px) {
  .logo-wrap-2 {
    padding: 15px 20px;
  }
}

  .logo-wrap-2 img {
  max-width: 165px;
}

@media (min-width: 1200px) and (max-width: 1399px) {
  .logo-wrap-2 img {
    max-width: 125px;
  }
}

  .header-bottom {
  padding-top: 20px;
  padding-bottom: 20px;
}

@media (min-width: 992px) and (max-width: 1199px) {
  .header-bottom {
    padding: 10px 0;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .header-bottom {
    padding: 10px 0;
  }
}

@media (max-width: 767px) {
  .header-bottom {
    padding: 10px 0;
  }
}

.header-bottom-2 {
  padding-left: 85px;
  padding-right: 85px;
  padding-top: 20px;
  padding-bottom: 20px;
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  z-index: 2;
}

@media (min-width: 1400px) and (max-width: 1700px) {
  .header-bottom-2 {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (min-width: 1200px) and (max-width: 1399px) {
  .header-bottom-2 {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .header-bottom-2 {
    padding: 10px 0;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .header-bottom-2 {
    padding: 10px 0;
  }
}

@media (max-width: 767px) {
  .header-bottom-2 {
    padding: 10px 0;
  }
}

  .header-bottom-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

  .header-bottom-layout-2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

  .header-left {
  display: flex;
  align-items: center;
  gap: 100px;
}

@media (min-width: 1400px) and (max-width: 1700px) {
  .header-left {
    gap: 40px;
  }
}

@media (min-width: 1200px) and (max-width: 1399px) {
  .header-left {
    gap: 10px;
  }
}

  .header-left-2 {
  display: flex;
  align-items: center;
  gap: 20px;
}

@media (min-width: 1400px) and (max-width: 1700px) {
  .header-left-2 {
    gap: 40px;
  }
}

@media (min-width: 1200px) and (max-width: 1399px) {
  .header-left-2 {
    gap: 10px;
  }
}

  .header-left-4 {
  display: flex;
  align-items: center;
  gap: 40px;
}

@media (min-width: 1400px) and (max-width: 1700px) {
  .header-left-4 {
    gap: 100px;
  }
}

@media (min-width: 1200px) and (max-width: 1399px) {
  .header-left-4 {
    gap: 10px;
  }
}

.header-left-3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 69%;
  gap: 20px;
}

@media (min-width: 1200px) and (max-width: 1399px) {
  .header-left-3 {
    width: 66%;
  }
}

.header-middle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(14.75px);
  border-radius: 0 0 16px 16px;
  border-left: 1.5px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 1200px) and (max-width: 1399px) {
  .header-middle {
    padding: 10px 12px;
  }
}

.header-middle .header-info-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

@media (min-width: 1200px) and (max-width: 1399px) {
  .header-right {
    gap: 10px;
  }
}

.header-section-1 {
  width: 100%;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
}

/***** MAIN MENU *****/



/* =========================================
   MENU ALIGN FIX
========================================= */

.main-menu {
  display:inline-block;
  width: 100%;
  margin : 0 auto;
  padding: 1;
  border-radius:10px;
  color: var(--theme-color-3);
  
  /*box-shadow:0 2px 2px rgba(0,0,0, .5);*/
}

.manu-menu,
.main-menu li:hover > a {
  background: var(--theme-green-ekor);
  color:#fff;
  /*border-radius:10px;*/
  text-shadow:0 2px 2px rgba(0,0,0, 0.7);
}

@media (min-width: 1700px) and (max-width: 1800px) {
  .main-menu {
    padding: 15px;
  }
}

@media (min-width: 1400px) and (max-width: 1699px) {
  .main-menu {
    padding: 15px;
  }
}

@media (min-width: 1200px) and (max-width: 1399px) {
  .main-menu {
    padding: 10px;
  }
}


.main-menu > ul {
  display: flex;
  align-items: center;
  gap: 0;
  
}

.main-menu > ul > li {
  display: flex;
  align-items: center;
  height: 100%;
}

.main-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-menu ul li {
  display: inline-block;
}

/* Aktivní stránka*/
.main-menu ul li.active a {
  color: var(--border);
  text-shadow:0 1px 1px rgba(200,200,200, .5);
}

.main-menu ul li.active:hover a {
  background: none;
  color: var(--border);
}

.main-menu ul li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 16px;
  font-weight: 500;
  font-family: var(--font-family-2);
  /*font-size: 18px;*/
  font-size: 1.6rem;
  line-height: 167%;
  color: var(--theme-color-3);
  border-radius:100px;
  gap: 5px;
  text-decoration:none;
  text-shadow:0 2px 2px rgba(200,200,200, .7);
}


@media (min-width: 1699px) and (max-width: 3000px) {
  .main-menu ul li a {
    padding: 5px 12px;
    font-size: 16px;
  }
}

/*@media (max-width: 1800px) {
  .main-menu ul li a {
    padding: 5px 12px;
    font-size: 16px;
  }
}

@media (max-width: 1700px) {
  .main-menu ul li a {
    padding: 5px 12px;
    font-size: 16px;
  }
}*/

@media (min-width: 1400px) and (max-width: 1699px) {
  .main-menu ul li a {
    padding: 5px 12px;
    font-size: 16px;
  }
}

@media (min-width: 1200px) and (max-width: 1399px) {
  .main-menu ul li a {
    padding: 4px 10px;
    font-size: 16px;
  }
}

@media (min-width: 1199px) and (max-width: 991px) {
  .main-menu ul li a {
    padding: 4px 10px;
    font-size: 16px;
  }
}

.main-menu ul .has-dropdown {
  position: relative;
  z-index: 1;
}

.main-menu ul .has-dropdown>a:after {
  content: "\f0d7";
  font-family: var(--icon-font);
  font-weight: 900;
  font-size: 12px;
  -webkit-transition: all 0.3s linear 0s;
  -o-transition: all 0.3s linear 0s;
  transition: all 0.3s linear 0s;
}

.main-menu ul .has-dropdown:hover>a:after {
  transform: rotate(180deg);
}

.main-menu ul .has-dropdown:hover .sub-menu {
    opacity:1;
    visibility:visible;
    top: 100%;
    border-bottom: var(--custom-border);
}

.main-menu ul .has-dropdown .sub-menu {
    opacity:0;
    visibility:hidden;
    padding: 10px 0;
    width:255px;
    left: 0;
    top: calc(100% + 10px);
    position:absolute;
    border-radius:10px;
    box-shadow:0 2px 2px rgba(200,200,200, .5);
    transition: all 0.3s linear 0s;  
    background: #fff;
}

.main-menu ul .has-dropdown .sub-menu::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 38px;
    width: 14px;
    height: 14px;
    background: #fff;
    transform: rotate(45deg);
    box-shadow: -2px -2px 4px rgba(0,0,0,.05);
}

.main-menu ul .has-dropdown .sub-menu li {
  display: block;
  transition: all .25s ease;
}

.main-menu ul .has-dropdown .sub-menu li:before {
  display: none;
}

.main-menu ul .has-dropdown .sub-menu li a {
  display: block;
  color: var(--theme-color-3);
  /*color: #383838;*/
  font-size: 16px;
  border-radius: 0;
  background: none;
  padding: 5px 20px;
}

.main-menu ul .has-dropdown .sub-menu li i {
  color: var(--theme-orange);
  transition: all .25s ease;
}


.main-menu ul .has-dropdown .sub-menu li:hover i {
  color: var(--theme-color-2);
  margin-left: 5px;
  transition: var(--transition);
  transform: scale(1.15);
}

.main-menu ul .has-dropdown .sub-menu li a:hover {
  background: var(--theme-green-ekor);
  color: #fff;
  border-radius:10px;
  text-shadow:0 2px 2px rgba(0,0,0, 0.7);
}

/*.main-menu ul .has-dropdown .sub-menu li a:hover {
  color: #383838;
  background: var(--theme-color-2);
}*/

.main-menu .has-dropdown .sub-menu li.active,
.main-menu .has-dropdown .sub-menu li.active a,
.main-menu .has-dropdown .sub-menu li.active i
.main-menu .has-dropdown .sub-menu li.active:hover,
.main-menu .has-dropdown .sub-menu li.active:hover a,
.main-menu .has-dropdown .sub-menu li.active:hover i {
  color: var(--border);
  background-color: var(--white-color);
  transition: none;
  transform: none;
  margin-left: 0;
  text-shadow:0 1px 1px rgba(200,200,200, .5);
}

.header-info .header-info-icon-2 {
  width: 50px;
  height: 50px;
  border-radius: 100%;
  background: rgba(0, 69, 64, 0.1);
  border: 1.5px solid rgba(0, 69, 64, 0.15);
  backdrop-filter: blur(4.1px);
  color: var(--theme-color-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

@media (min-width: 1400px) and (max-width: 1700px) {
  .header-info .header-info-icon-2 {
    font-size: 16px;
  }
}

@media (min-width: 1200px) and (max-width: 1399px) {
  .header-info .header-info-icon-2 {
    font-size: 16px;
    width: 40px;
    height: 40px;
  }
}

.header-bar {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(0, 69, 64, 0.1);
  backdrop-filter: blur(4.1px);
  border-radius: 100%;
  overflow: hidden;
  flex: none;
  cursor: pointer;
  -webkit-transition: all 0.3s linear 0s;
  -o-transition: all 0.3s linear 0s;
  transition: all 0.3s linear 0s;
}

@media (min-width: 1200px) and (max-width: 1399px) {
  .header-bar {
    width: 45px;
    height: 45px;
  }
}

.header-bar .bar {
  background: var(--theme-color-3);
  width: 20px;
  height: 1.9px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  -webkit-transition: all 0.3s linear 0s;
  -o-transition: all 0.3s linear 0s;
  transition: all 0.3s linear 0s;
}

@media (min-width: 1200px) and (max-width: 1399px) {
  .header-bar .bar {
    width: 18px;
  }
}

.header-bar .bar-1 {
  margin-top: -6px;
}

.header-bar .bar-2 {
  margin-top: auto;
}

.header-bar .bar-3 {
  margin-top: 6px;
}

.header-bar.active {
  background: var(--theme-color-3);
  border-color: var(--theme-color-3);
}

.header-bar.active .bar {
  background: var(--white-color);
}

.header-bar.active .bar-1 {
  transform: rotate(45deg) translate(-50%, -50%);
  top: 78%;
  left: 44%;
}

@media (min-width: 1200px) and (max-width: 1399px) {
  .header-bar.active .bar-1 {
    top: 81%;
    left: 45%;
  }
}

.header-bar.active .bar-2 {
  left: 200%;
}

.header-bar.active .bar-3 {
  transform: rotate(-45deg) translate(-50%, -50%);
  top: 22%;
  left: 45%;
}

@media (min-width: 1200px) and (max-width: 1399px) {
  .header-bar.active .bar-3 {
    top: 20%;
    left: 45%;
  }
}

.header-divider-bar {
  width: 30px;
  height: 1.6px;
  opacity: 0.15;
  border: 1px solid #004540;
  transform: rotate(90deg);
}

.header-section {
  position: relative;
  z-index: 99;
}

/* =========================================
   MENU - KONTAKTNÍ FORMULÁŘ
========================================= */

/*.menu-kontakt-form {
  white-space: normal !important;
  line-height: 1.2;
  display: inline-block;
  max-width: 130px;
}*/

@media (max-width: 1450px) {

  .menu-kontakt-form {
    white-space: normal !important;
    line-height: 1.2;
    display: inline-block;
    max-width: 113px;
    text-align: center;
    word-break: keep-all;
  }
}
