.region-header-wrapper-shrink {
    background: #fff; /* Bílé pozadí */
    height: 100px; /* Minimální výška */
    width: 100%; /* Šířka přes celou obrazovku */
    position:  fixed; /* Fixní pozice */
    top: 0;
    left: 0;
    box-shadow: 1px 2px 5px -1px rgba(0,0,0,0.2);
   -webkit-box-shadow: 1px 2px 5px -1px rgba(0,0,0,0.2);
   -moz-box-shadow: 1px 2px 5px -1px rgba(0,0,0,0.2);
    z-index: 500; /* Viditelnost nad ostatními prvky */
}


.region-header-wrapper-shrink::after {
    content: ''; /* Virtuální obsah */
    display: block; /* Blokový element */
    height: 100%; /* Vynucení výšky */
}



.menu-tel {
   display: flex;
   flex-wrap: wrap;
}



.tel {
    
    border-radius: 10px;
    color: #fff;
    padding: 12px 20px 0px 20px;
    min-width: 100px;
    background:#B80831;
    height: 50px;
    font-weight: 900;
    box-sizing: border-box;
    line-height: 30px;
    display: flex;
    
    z-index: 500;
    position: relative;
   
}

.tel a, .tel a:link {
  color: #fff;  
}

.tel img {
    margin-right: 10px;
    width: 25px;
}

.headhp {
    position:relative;
}

.region-header-logo-menu-shrink {
    position: fixed;
    top: 0; /* Fixace k hornímu okraji */
    left: 0;
    right: 0;
    margin: 0 auto;
    
    padding: 15px 15px;
    z-index: 500; /* Ujistěte se, že se element zobrazuje nad ostatním obsahem */
    background: #fff; /* Bílé pozadí */
    height: 100px; /* Minimální výška */
    display: flex;
    justify-content: space-between;
}

.region-header-logo-menu {
    display: flex;
    justify-content: space-between;
}

.region-header-content {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.logo {
    width: 200px;
    z-index: 500;
    position: relative;
    padding-left: 20px;
}

.logo-in-shrink {
    width: 150px;
}


.logo img{
    width: 100%;
}

@media (max-width: 900px) {
    .logo {
    width: 130px;
    margin: 10px 0px 0px 10px;
}
.logo-in-shrink {
    width: 130px;
}
}


header.head-hp-main {
    width: 100%;
    height: 100vh ;
}

header.head-dekujeme {
    background: #105E7F;
    width: 100%;
    height: 130px;
}

header.inner-page-header {
    background: #105E7F !important;
    
    width: 100%;
    height: 130px ; 
}


.head-hp-strech {
    background: url("/images/head-hp-2.jpg");
    background-repeat: no-repeat ; 
    background-position: top;
    background-size: cover;
    width: 100%;
    height: 55vh ;    
}

.head-hp-strech2 {
    background: url("/images/head-hp-4.jpg");
    background-repeat: no-repeat ; 
    background-position: top;
    background-size: cover;
    width: 100%;
    height: 55vh ;    
}

.head-hp-fasad {
    background: url("/images/head-hp-3.jpg");
    background-repeat: no-repeat ; 
    background-position: top;
    background-size: cover;
    width: 100%;
    height: 55vh ;    
}

.head-hp-brany {
    background: #105E7F;
    width: 100%;
    height: 30vh ;    
}

.head-hp-kontakt {
    background: url("/images/head-hp-6.jpg");
    background-repeat: no-repeat ; 
    background-position: top;
    background-size: cover;
    width: 100%;
    height: 55vh ;    
}

.head-hp-nas {
    background: url("/images/head-hp-7.jpg");
    background-repeat: no-repeat ; 
    background-position: top;
    background-size: cover;
    width: 100%;
    height: 55vh ;    
}

.hp-main-top {
    
    padding-top: 150px;
    position:relative;
    
}



.page-top {
    
    width: 100%; 
    
}



.hp-main-top h1, .hp-main-top h2, .page-top h1, .page-top h2 {
    color:#fff;
    font-size: 60px;
    line-height: 55px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8), 0 1px 3px rgba(0,0,0,0.6);
    font-weight: 900;
    text-align: center;
}

h1.h1sm, h2.h1sm {
   font-size: 16px; 
   font-weight: 400;
   line-height: 1.4;
   border: 1px solid #fff;
   border-radius: 50px;
   padding: 4px 20px;
   text-align: center;
   margin: 0 auto 12px;
   width: fit-content;
}

.page-top h3 {
    color:#fff;
    font-size: 40px;
    text-align: center;
    text-shadow: -1px 1px 5px rgba(0,0,0,0.6);
    font-weight: 900;
}

span.ring {
   background: url("/images/ring.svg");
   background-repeat: no-repeat ; 
   background-size: 100%;
   width: 190px;
   display:inline-block;
   padding: 15px;
   
}

span.flag {
    display:inline-block;
    margin-left: 20px;
}

span.flag img{
    width: 100%;
    padding-bottom: 10px;
}






.arrow {
    width: 72px;
    height: 72px;
    margin: 60px auto 0;
    position: relative;
    z-index: 600;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 50%;
    animation: arrowBounce 2s ease-in-out infinite;
    cursor: pointer;
}

.arrow::after {
    content: '';
    position: absolute;
    top: 42%;
    left: 50%;
    width: 14px;
    height: 14px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: translate(-50%, -50%) rotate(45deg);
}

@keyframes arrowBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

@media (max-width: 1540px)  {
    .arrow {margin-top: 0px;  }
}


@media (max-width: 1300px)  {
    .hp-main-top h1, .hp-main-top h2 { font-size: 45px;line-height: 40px; }
    h1.h1sm, h2.h1sm {font-size: 20px;font-weight: 400;}
    span.flag { width: 100px; margin: 0 auto;margin-left: 10px;}
    span.flag img {width: 100%;padding-bottom: 0px; height: auto;}
}

@media (max-width: 968px) {
    .page-top h1, .page-top h2 {
      font-size: 40px;
    
    } 
    .hp-main-top h1, .hp-main-top h2 { font-size: 45px; }
    h1.h1sm, h2.h1sm {font-size: 20px;font-weight: 400;}
    .arrow {
        width: 64px;
        height: 64px;
        margin: 40px auto 0;
    }
    
    span.ring {
        width: 130px;
    }
    
    header.head-hp-main {
        height: 100vh ;
    }
   
    .tel {
       border-radius: 10px;
       color: #105e7f;
       padding: 8px 20px 0px 25px;
       min-width: 100px;
       background: #b80831;
       height: 40px;
       font-weight: 900;
       box-sizing: border-box;
       line-height: 30px;
       display: flex;
       z-index: 500;
       position: relative;
       margin-left: 15px;
       text-align: center;
    
    }
    
    .tel a {
      text-align: center;  
    }
    .tel p {
        font-size: 13px;
        text-align: center;
    }

    .tel img {
        margin-right: 5px;
        width: 18px;
    }
    .hp-main-top {
        padding: 100px 15px 0px 15px;
       
    }
    .menu-tel {
        padding-top: 20px;
    } 
    .header-fixed.shrink {    
        padding: 1px 15px;
    }
    .header-fixed {
        padding: 1px 15px;
    }
    .header-hero {
        margin-top: 80px;
    }
    .page-top h3 {
        color:#fff;
        font-size: 30px;
        text-align: center;
        text-shadow: -1px 1px 5px rgba(0,0,0,0.6);
        font-weight: 900;
    }
}
@media (max-width: 700px)  {
    .hp-main-top h1, .hp-main-top h2 {
    font-size: 35px;
  }
  h1.h1sm, h2.h1sm {font-size: 20px;font-weight: 400;}
  span.flag {
        width: 90px;
        height: 50px;
        margin-left: 10px;
        
    }
    span.flag img {
  width: 100%;
  padding-bottom: 0px;
  height: 50px;
  
}
}

@media (max-width: 400px)  {
    
       .arrow {
        width: 56px;
        height: 56px;
        margin: 30px auto 0;
      }
      span.flag {
        width: 90px;
        
        
    }
}



@keyframes headerSlide {
    0%, 17%   { background-image: url("/images/header_1.jpg"); }
    20%, 37%  { background-image: url("/images/header_2.jpg"); }
    40%, 57%  { background-image: url("/images/header_3.jpg"); }
    60%, 77%  { background-image: url("/images/header_4.jpg"); }
    80%, 97%  { background-image: url("/images/header_1.jpg"); }
    100%      { background-image: url("/images/header_1.jpg"); }
}

/* Gradient overlay for header slideshow */
header.head-hp-main::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.45) 25%,
    rgba(0, 0, 0, 0.2) 50%,
    rgba(0, 0, 0, 0) 70%
  );
}

.hp-main-top, .hp-main-top h1, .hp-main-top h2, .hp-main-top h3, .page-top, .page-top h1, .page-top h2, .page-top h3 {
  position: relative;
  z-index: 2;
}

/* ==============================================
   Header Top Bar - informační lišta
   ============================================== */
.header-top-bar {
  background: transparent;
  transition: background 0.3s ease;
  color: #fff;
  font-size: 14px;
  padding: 8px 0;
  position: relative;
  z-index: 501;
}

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

.header-top-bar__info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

a.header-top-bar__tel {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

a.header-top-bar__tel:hover {
  color: #fff;
}

.header-top-bar__tel img {
  width: 16px;
  height: 16px;
}

.header-top-bar__stat {
  color: #bbeff7;
  white-space: nowrap;
}

.header-top-bar__stat strong {
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.header-top-bar__partner {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.header-top-bar__partner-label {
  color: #fff;
  font-size: 13px;
}

.header-top-bar__partner-logo {
  height: 15px;
  width: auto;
}

@media (max-width: 968px) {
  .header-top-bar__inner {
    justify-content: center;
    text-align: center;
    gap: 8px;
  }
  .header-top-bar__info {
    justify-content: center;
    gap: 12px;
  }
  .header-top-bar__stat {
    font-size: 12px;
  }
  .header-top-bar__stat strong {
    font-size: 15px;
  }
}

@media (max-width: 700px) {
  .header-top-bar {
    font-size: 12px;
    padding: 6px 0;
  }
  .header-top-bar__info {
    gap: 8px;
  }
  .header-top-bar__stat {
    font-size: 11px;
  }
  .header-top-bar__stat strong {
    font-size: 13px;
  }
  .header-top-bar__partner-label {
    font-size: 11px;
  }
  .header-top-bar__partner-logo {
    height: 14px;
  }
}

/* ==============================================
   Header Top Bar - informační lišta fixní
   ============================================== */
.header-top-bar {
  background: transparent;
  transition: background 0.3s ease;
  color: #fff;
  font-size: 14px;
  padding: 6px 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}

.header-top-bar.scrolled {
  background: #105E7F;
}

.header-top-bar__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 30px;
}

a.header-top-bar__tel {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

a.header-top-bar__tel:hover {
  color: #fff;
}

.header-top-bar__tel img {
  width: 16px;
  height: 16px;
}

.header-top-bar__partner {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.header-top-bar__partner-label {
  color: #fff;
  font-size: 13px;
}

.header-top-bar__partner-logo {
  height: 15px;
  width: auto;
}

/* Posun fixního menu pod top bar */
.region-header-wrapper-shrink,
.region-header-logo-menu-shrink {
  top: 24px !important;
}

/* Fixní header při scrollu (přes JS) také posunout */
.header-fixed {
  top: 24px !important;
}

.header-fixed.shrink {
  top: 24px !important;
}

@media (max-width: 968px) {
  .header-top-bar {
    font-size: 12px;
    padding: 5px 0;
  }
  .header-top-bar__inner {
    justify-content: center;
    gap: 15px;
  }
  .region-header-wrapper-shrink,
  .region-header-logo-menu-shrink,
  .header-fixed,
  .header-fixed.shrink {
    top: 24px !important;
  }
}

@media (max-width: 600px) {
  .header-top-bar__inner {
    gap: 10px;
  }
  .header-top-bar__partner-label {
    font-size: 11px;
  }
  .header-top-bar__partner-logo {
    height: 14px;
  }
  .region-header-wrapper-shrink,
  .region-header-logo-menu-shrink,
  .header-fixed,
  .header-fixed.shrink {
    top: 25px !important;
  }
}



header.inner-page-header.scrolled {
    background: #105E7F !important;
}

/* Header transparentní jen na /kontakt */
.path-kontakt header.inner-page-header {
    background: transparent;
    transition: background 0.3s ease;
}

.path-kontakt header.inner-page-header.scrolled {
    background: #105E7F !important;
}

/* Ikony ve footeru bílé */
.footer-tel img {
  filter: brightness(0) invert(1);
}

/* Fixní menu po scrollu na vnitřních stránkách - modré */


/* header-fixed.shrink na vnitřních stránkách - modré pozadí */
.inner-page-header .header-fixed.shrink {
  background: #105E7F;
}

.path-kontakt .inner-page-header .header-fixed.shrink {
  background: #105E7F;
}
