/**
* Template Name: eStartup
* Template URL: https://bootstrapmade.com/estartup-bootstrap-landing-page-template/
* Updated: Aug 07 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway",  sans-serif;
  --nav-font: "Poppins",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #212529; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #101f0c; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #0b7bc1; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #e0f5fa; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #212529;  /* The default color of the main navmenu links */
  --nav-hover-color: #71c55d; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #212529; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #71c55d; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #d1e5ea;
  --surface-color: #ffffff;
}

.light-background2 {
  --background-color: #d1e5ea;
  --surface-color: #ffffff;
	background-image: url(../img/dum2.png);
	background-repeat: no-repeat;
}

.light-background3 {
  --background-color: #d1e5ea;
  --surface-color: #ffffff;
	border-top: 4px solid #0B7BC1;
}


.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

.form-group:has(#souhlas) {
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Zvětší prostor mezi jednotlivými řádky formuláře */
.contact-form .form-group {
    margin-bottom: 20px; /* Upravte hodnotu dle potřeby */
}

/* Pokud používáte moderní prohlížeče, můžete na obalovací prvek přidat */
.contact-form .col-sm-12 {
    display: flex;
    flex-direction: column;
    /*gap: 15px; /* Nastaví jednotný rozestup mezi všemi prvky */
}

.contact-form .form-control {
    padding: 10px 15px; /* Vnitřní prostor v políčkách */
    height: auto;      /* Zruší pevnou výšku, pokud ji máte nastavenou */
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

.hr {
	color: #FFFFFF;	
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@media (min-width: 992px) {
  #hero .hero-img img,
  #hero .col-lg-6 img {
    max-height: 75vh;     /* Obrázek nepřesáhne 75 % výšky obrazovky */
    width: auto;          /* Zachová poměr stran */
    object-fit: contain;  /* Zabrání deformaci */
    display: block;
    margin: 0 auto;       /* Vycentruje obrázek v jeho sloupci */
  }
}

/* Úpravy pro mobily a tablety */
@media (max-width: 991.98px) {
  #hero {
    padding-top: 20px !important;
    padding-bottom: 40px !important;
    overflow: hidden;
  }

  /* Přidáme prostor mezi obrázek a nadpis, pokud je obrázek nahoře */
  #hero .order-1 {
    margin-bottom: 20px;
    display: d-flex;
    justify-content: center;
  }

  /* Stabilizace obrázku na mobilu – roztáhne se na plnou šířku containeru, ale nezdeformuje se */
  #hero .order-1 img {
    max-height: 40vh !important; /* Na mobilu omezíme výšku, aby nezabíral celou obrazovku */
    width: 100% !important;
    object-fit: cover; /* Ořízne okraje obrázku tak, aby vyplnil prostor a nedeformoval se */
    border-radius: 8px; /* Volitelné: lehce zaoblí rohy obrázku, aby to ladilo s designem */
  }

  /* Úprava textů na mobilu pro lepší čitelnost */
  #hero h2 {
    font-size: 28px !important; /* Zmenšíme obří nadpis, aby se vešel na displej */
    line-height: 1.2 !important;
    margin-bottom: 15px !important;
  }

  #hero h3 {
    font-size: 20px !important;
    line-height: 1.3 !important;
  }
}

.portfolio-image img {
    width: 100%;
    height: 200px; /* Nastavte pevnou výšku, která vám vyhovuje */
    object-fit: contain; /* Nebo 'cover', pokud chcete vyplnit celý prostor */
}

/* Zvětšení obrázků v galerii */
.portfolio-image img {
	width: 100%;       /* Obrázek využije celou šířku sloupce */
	height: auto;      /* Zachová poměr stran */
	max-width: 300px;  /* Zde si nastavte požadovanou maximální šířku v px */
	margin-top: 10px;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 10px;    /* Vycentruje obrázek ve sloupci */
}

/* Volitelné: zmenšení mezer mezi sloupci pro více místa */
.col-md-3 {
    padding-left: 5px;
    padding-right: 5px;
}

.portfolio-image img {
    width: 100%;
    height: 300px; /* Upravte výšku podle potřeby */
    object-fit: cover; /* Ořízne obrázek tak, aby vyplnil prostor */
}
.portfolio {
    margin-bottom: 30px; /* Mezera mezi řádky */
}

.filterDiv {
    display: none; /* Ve výchozím stavu jsou všechny skryté */
}
.filterDiv.show {
    display: block; /* Po přidání třídy show se zobrazí */
}

/* Toto je klíčové pro správné zobrazení */
.filterDiv {
    display: none; /* Skryje vše */
}

.filterDiv.show {
    display: block; /* Zobrazí jen to, co má třídu show */
}

.portfolio-image {
    position: relative; /* Důležité pro pozicování popisku */
    overflow: hidden;
}

.caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6); /* Tmavé pozadí */
    color: #fff;
    padding: 10px;
    text-align: center;
}

.mask2 h2 {
    font-size: 14px;
    margin: 0;
    color: white;
}

.modra {    
    color: #0b7bc1;
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.podkladpaticka {
	background-image: url(../img/perokrsba.png);
	background-repeat: no-repeat;
}

.podkladvrch {
	background-image: url(../img/perokrsba.png);
	background-repeat: no-repeat;
}

.header {
	color: var(--default-color);
	background-color: var(--background-color);
	padding: 7px 0;
	transition: all 0.5s;
	z-index: 997;
	border-bottom: 3px solid #0B7BC1;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 32px;
  margin-right: 8px;
}

.logo {
  max-height: 32px;
  margin-right: 60px;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.header .logo h1 span {
  color: var(--accent-color);
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    /*color: var(--nav-color);*/
    padding: 18px 15px;
    font-size: 16px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--accent-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
	color: var(--default-color);
	background-color: var(--accent-color);
	font-size: 14px;
	padding: 10px 0;
	position: relative;
}

.footer .copyright p {
	margin-bottom: 0;
	color: #FFFFFF;
}

.footer .social-links {
  margin-top: 20px;
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  margin: 0 5px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.footer .credits {
  margin-top: 10px;
  font-size: 13px;
  text-align: center;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background-color: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid var(--accent-color);
  border-top-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
	position: fixed;
	visibility: hidden;
	opacity: 0;
	right: 15px;
	bottom: -15px;
	z-index: 99999;
	background-color: var(--accent-color);
	width: 44px;
	height: 44px;
	border-radius: 50px;
	transition: all 0.4s;
	border: 2px solid #FFFFFF;
	color: #FFFFFF;
}

.scroll-top i {
	font-size: 24px;
	color: var(--contrast-color);
	line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  position: relative;
}

.page-title .heading {
	padding: 80px 0;
	border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.page-title .heading h1 {
  font-size: 38px;
  font-weight: 700;
}

.page-title nav {
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
  padding: 20px 0;
}

.page-title nav ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.page-title nav ol li+li {
  padding-left: 10px;
}

.page-title nav ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
	color: var(--default-color);
	background-color: var(--background-color);
	padding: 60px 0;
	scroll-margin-top: 90px;
	overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 13px;
  letter-spacing: 1px;
  font-weight: 700;
  padding: 8px 20px;
  margin: 0;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  display: inline-block;
  text-transform: uppercase;
  border-radius: 50px;
  font-family: var(--default-font);
}

.section-title div {
  color: var(--heading-color);
  margin: 10px 0 0 0;
  font-size: 32px;
  font-weight: 700;
  font-family: var(--heading-font);
}

.section-title div .description-title {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  position: relative;
  /* Odstraněno background-image, jelikož kresbu pozicujeme jako samostatný prvek níže */
}

/* --- ÚPRAVA HERO SEKCE PRO PŘEKRYV --- */

/* 1. Hlavní blok Hero s vyšším z-indexem pro překryvy */
.hero-top {
    position: relative;
    /*padding-top: 80px; /* Větší horní padding, aby text nezačínal hned pod menu */
    padding-bottom: 20px; /* Menší spodní padding, protože najedou ikony */
    overflow: visible !important; /* Aby ikony ze spodu mohly vylézt ven */
    z-index: 1;
}

/* 2. Nové absolutní pozicování perokresby - začíná nahoře */
.hero-background-sketch {
    position: absolute;
    top: 70px; /* Začíná hned pod headerem */
    left: 0;
    width: 60%; /* Zabírá zhruba plochu textového sloupce */
    height: auto;
    max-height: 100%; /* Nezastavuje se u spodní hrany textu */
    object-fit: cover; /* Aby se nedeformovala */
    object-position: top;
    opacity: 0.7; /* Jemné podbarvení */
    pointer-events: none;
    z-index: 2; /* Nižší z-index než texty, ale vyšší než samotné modré pozadí sekce */
}

/* 3. Úprava textů a fotky, aby byly NAD perokresbou */
.hero-text-content {
    position: relative;
    z-index: 5; /* Texty nad perokresbou */
    padding-right: 20px;
}

.hero-main-image {
    position: relative;
    z-index: 5; /* Fotka nad perokresbou */
}

/* 4. POSUN IKON (BANNERS) ABY PŘEKRYLY PEROKRESBU */
.icon-boxes {
    position: relative;
    margin-top: -60px; /* Záporný margin: Posune celý blok IKON nahoru */
    z-index: 10; /* Nejvyšší z-index: Ikony jsou "úplně nahoře" a překryjí perokresbu */
}

/* Responzivní chování - na mobilech perokresbu zarovnat */
@media (max-width: 991.98px) {
    .hero-background-sketch {
        width: 100%;
        top: 0;
        object-position: center;
        max-height: 70%; /* Aby na mobilu nezabrala celou výšku */
    }
    .icon-boxes {
        margin-top: -30px; /* Menší posun na mobilech */
    }
}


/* Samotná perokresba přesně podle ChatGPT Image 23. 6. 2026 13_38_16.png */
.hero-sketch {
  position: absolute;
  top: 55%;               /* Posune kresbu vertikálně pod texty */
  left: -20px;            /* Zarovnání k levému okraji */
  transform: translateY(-50%);
  width: 50%;             /* Zabere maximálně levou polovinu prostoru */
  max-width: 600px;       /* Aby na obřích monitorech nebyla příliš veliká */
  height: auto;
  z-index: -1;            /* Schová se za texty */
  pointer-events: none;   /* Zajistí, že nepůjde omylem označit nebo na ni kliknout */
  opacity: 0.5;           /* Průhlednost pro jemný vzhled perokresby */
}

/* Ochrana textového sloupce, aby byl vždy čitelný nad kresbou */
.hero-top .col-lg-6:first-child {
  position: relative;
  z-index: 2;
}


.hero .container {
  position: relative;
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero h2 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero h2 .accent {
  color: var(--accent-color);
}

.hero p {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-weight: 400;
  margin-bottom: 30px;
}

.hero .btn-get-started {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 36px;
  border-radius: 50px;
  transition: 0.5s;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.hero .btn-get-started:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
}

.hero .btn-watch-video {
  font-size: 16px;
  transition: 0.5s;
  margin-left: 25px;
  font-weight: 600;
}

.hero .btn-watch-video i {
  color: var(--accent-color);
  font-size: 32px;
  transition: 0.3s;
  line-height: 0;
  margin-right: 8px;
}

.hero .btn-watch-video:hover {
  color: var(--accent-color);
}

.hero .btn-watch-video:hover i {
  color: color-mix(in srgb, var(--accent-color), transparent 15%);
}

@media (max-width: 640px) {
  .hero h2 {
    font-size: 36px;
  }

  .hero .btn-get-started,
  .hero .btn-watch-video {
    font-size: 14px;
  }
}

.hero .icon-boxes {
  padding-bottom: 60px;
  z-index: 4;
}

.hero .icon-box {
	background: var(--surface-color);
	padding: 60px 30px;
	position: relative;
	overflow: hidden;
	box-shadow: 0 0 29px 0 rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease-in-out;
	border-radius: 8px;
	z-index: 1;
	height: 100%;
	width: 100%;
	text-align: center;
	/*border-bottom: 5px solid var(--surface-color);*/
	border-top: 5px solid #0b7bc1;
}

.hero .icon-box .title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 24px;
}

.hero .icon-box .title a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.hero .icon-box .icon {
  margin-bottom: 20px;
  padding-top: 10px;
  display: inline-block;
  transition: all 0.3s ease-in-out;
  font-size: 48px;
  line-height: 1;
  color: var(--accent-color);
}

.hero .icon-box:hover {
  background-color: var(--accent-color);
}

.hero .icon-box:hover .title a,
.hero .icon-box:hover .icon {
  color: var(--contrast-color);
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content .who-we-are {
  text-transform: uppercase;
  margin-bottom: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.about .content h3 {
  font-size: 2rem;
  font-weight: 700;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  padding-bottom: 10px;
}

.about .content ul i {
  font-size: 1.25rem;
  margin-right: 4px;
  color: var(--accent-color);
}

.about .content p:last-child {
  margin-bottom: 0;
}

.about .content .read-more {
  background: var(--accent-color);
  color: var(--contrast-color);
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  padding: 12px 24px;
  border-radius: 5px;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.about .content .read-more i {
  font-size: 18px;
  margin-left: 5px;
  line-height: 0;
  transition: 0.3s;
}

.about .content .read-more:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  padding-right: 19px;
}

.about .content .read-more:hover i {
  margin-left: 10px;
}

.about .about-images img {
  border-radius: 10px;
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
	background-color: var(--surface-color);
	box-shadow: 0px 5px 90px 0px rgba(0, 0, 0, 0.1);
	/*padding-right: 30px;
	padding-left: 30px;
	padding-bottom: 60px;*/
	transition: all ease-in-out 0.3s;
	border-radius: 18px;
	height: 100%;
	border-top: 5px solid #0B7BC1;
}

.services .service-item2 {
	background-color: #EEEEE0;
	box-shadow: 0px 5px 90px 0px rgba(0, 0, 0, 0.1);
	/*padding-right: 30px;
	padding-left: 30px;
	padding-bottom: 60px;*/
	transition: all ease-in-out 0.3s;
	border-radius: 18px;
	height: 100%;
	border-top: 5px solid #0B7BC1;
}

.services .service-item .icon {
	color: var(--contrast-color);
	background: var(--accent-color);
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 20px;
	width: 64px;
	height: 64px;
	border-radius: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
	font-size: 28px;
	transition: ease-in-out 0.3s;
	margin-top: 0px;
}

.services .service-item2 .icon {
	color: var(--contrast-color);
	background: var(--accent-color);
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 20px;
	width: 64px;
	height: 64px;
	border-radius: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
	font-size: 28px;
	transition: ease-in-out 0.3s;
	margin-top: 0px;
}

.services .service-item h3 {
	font-weight: 700;
	margin-top: 10px;
	margin-bottom: 15px;
	font-size: 22px;
	transition: ease-in-out 0.3s;
	text-align: center;
	color: var(--accent-color);
}

.services .service-item2 h3 {
  font-weight: 700;
  margin: 10px 0 15px 0;
  font-size: 22px;
  transition: ease-in-out 0.3s;
  text-align: center;
  color: var(--accent-color);
}

.services .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.services .service-item2 p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

/* Úprava pozice ikon v sekci Naše činnost */
#services .service-item, 
#services .service-item2 {
  position: relative;
  /*margin-top: 30px; /* Vytvoří prostor nad boxem pro přečnívající ikonu */
  padding-top: 50px; /* Přidá vnitřní prostor, aby text nezačínal hned pod ikonou */
}

#services .service-item .icon, 
#services .service-item2 .icon {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%); /* Posune ikonu přesně o polovinu její výšky nahoru */
  z-index: 10; /* Zajistí, že ikona bude vždy nad modrou linkou/hranou boxu */
}

@media (min-width: 1365px) {
  .services .service-item:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
  }

  .services .service-item:hover h3 {
    color: var(--accent-color);
  }
}

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features .feature-box {
  background-color: var(--surface-color);
  padding: 24px 20px;
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
  height: 100%;
}

.features .feature-box h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}

.features .feature-box i {
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  color: var(--accent-color);
  line-height: 0;
  padding: 4px;
  margin-right: 10px;
  font-size: 24px;
  border-radius: 3px;
  transition: 0.3s;
}

.features .feature-box:hover i {
  background: var(--accent-color);
  color: var(--contrast-color);
}

/*--------------------------------------------------------------
# Pricing Section
--------------------------------------------------------------*/
.pricing .pricing-tem {
  background-color: var(--surface-color);
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
  padding: 40px 20px;
  text-align: center;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  transition: 0.3s;
  height: 100%;
}

@media (min-width: 1200px) {
  .pricing .pricing-tem:hover {
    transform: scale(1.1);
  }
}

.pricing h3 {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 15px;
}

.pricing .price {
  font-size: 36px;
  color: var(--heading-color);
  font-weight: 600;
  font-family: var(--heading-font);
}

.pricing .price sup {
  font-size: 20px;
  top: -15px;
  left: -3px;
}

.pricing .price span {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  font-weight: 300;
}

.pricing .icon {
  padding: 20px 0;
}

.pricing .icon i {
  font-size: 48px;
}

.pricing ul {
  padding: 0;
  list-style: none;
  color: var(--default-color);
  text-align: center;
  line-height: 26px;
  font-size: 16px;
  margin-bottom: 25px;
}

.pricing ul li {
  padding-bottom: 10px;
}

.pricing ul .na {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
  text-decoration: line-through;
}

.pricing .btn-buy {
  display: inline-block;
  padding: 8px 40px 10px 40px;
  border-radius: 50px;
  color: var(--accent-color);
  transition: none;
  font-size: 16px;
  font-weight: 400;
  font-family: var(--heading-font);
  font-weight: 600;
  transition: 0.3s;
  border: 1px solid var(--accent-color);
}

.pricing .btn-buy:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.pricing .featured {
  width: 200px;
  position: absolute;
  top: 18px;
  right: -68px;
  transform: rotate(45deg);
  z-index: 1;
  font-size: 14px;
  padding: 1px 0 3px 0;
  background: var(--accent-color);
  color: var(--contrast-color);
}

/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/
.faq .content h3 {
  font-weight: 400;
  font-size: 34px;
}

.faq .content p {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.faq .faq-container .faq-item {
  background-color: var(--surface-color);
  position: relative;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.faq .faq-container .faq-item:last-child {
  margin-bottom: 0;
}

.faq .faq-container .faq-item h3 {
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  margin: 0 30px 0 0;
  transition: 0.3s;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
}

.faq .faq-container .faq-item h3 .num {
  color: var(--accent-color);
  padding-right: 5px;
}

.faq .faq-container .faq-item h3:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.3s ease-in-out;
  visibility: hidden;
  opacity: 0;
}

.faq .faq-container .faq-item .faq-content p {
  margin-bottom: 0;
  overflow: hidden;
}

.faq .faq-container .faq-item .faq-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 16px;
  line-height: 0;
  transition: 0.3s;
  cursor: pointer;
}

.faq .faq-container .faq-item .faq-toggle:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-active h3 {
  color: var(--accent-color);
}

.faq .faq-container .faq-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  padding-top: 10px;
}

.faq .faq-container .faq-active .faq-toggle {
  transform: rotate(90deg);
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-item+.info-item {
  margin-top: 40px;
}

.contact .info-item i {
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  font-size: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  margin-right: 15px;
}

.contact .info-item h3 {
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.contact .info-item:hover i {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.contact .php-email-form {
  height: 100%;
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 25%);
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .service-box {
  background-color: var(--surface-color);
  padding: 20px;
  box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1);
}

.service-details .service-box+.service-box {
  margin-top: 30px;
}

.service-details .service-box h4 {
  font-size: 20px;
  font-weight: 700;
  border-bottom: 2px solid color-mix(in srgb, var(--default-color), transparent 92%);
  padding-bottom: 15px;
  margin-bottom: 15px;
}

.service-details .services-list {
  background-color: var(--surface-color);
}

.service-details .services-list a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  display: flex;
  align-items: center;
  padding: 12px 15px;
  margin-top: 15px;
  transition: 0.3s;
}

.service-details .services-list a:first-child {
  margin-top: 0;
}

.service-details .services-list a i {
  font-size: 16px;
  margin-right: 8px;
  color: var(--accent-color);
}

.service-details .services-list a.active {
  color: var(--contrast-color);
  background-color: var(--accent-color);
}

.service-details .services-list a.active i {
  color: var(--contrast-color);
}

.service-details .services-list a:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  color: var(--accent-color);
}

.service-details .download-catalog a {
  color: var(--default-color);
  display: flex;
  align-items: center;
  padding: 10px 0;
  transition: 0.3s;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.service-details .download-catalog a:first-child {
  border-top: 0;
  padding-top: 0;
}

.service-details .download-catalog a:last-child {
  padding-bottom: 0;
}

.bila {
	color: #FFFFFF;
}

.service-details .download-catalog a i {
  font-size: 24px;
  margin-right: 8px;
  color: var(--accent-color);
}

.service-details .download-catalog a:hover {
  color: var(--accent-color);
}

.service-details .help-box2 {
	background-color: var(--accent-color);
	color: #FFFFFF;
	margin-top: 10px;
	padding: 10px 15px;
}

.service-details .help-box {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  /*margin-top: 30px;*/
  padding: 30px 15px;
}

.service-details2 .help-box {
    background-color: #F8F8F8;
    color: var(--contrast-color);
    /*margin-top: 30px;*/
    padding: 30px 15px;
}

.service-details .help-box .help-icon {
  font-size: 48px;
}

.service-details .help-box h4,
.service-details .help-box a {
  color: var(--contrast-color);
}

.service-details .services-img {
  margin-bottom: 20px;
}

.service-details h3 {
  font-size: 26px;
  font-weight: 700;
}

.service-details p {
  font-size: 15px;
}

.service-details ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.service-details ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.service-details2 ul li {
  padding: 5px 0;
  /*display: flex;*/
  align-items: center;
}

.service-details ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here */
}


    /* Výška carouselu v Bootstrapu */
    #heroCarousel,
    #heroCarousel .carousel-inner,
    #heroCarousel .carousel-item {
      height: 420px !important;
    }

    .triptych-container {
      width: 100%;
      height: 100%;
      display: block;
    }

    /* Podpora responzivity pro tablety a mobily */
    @media (max-width: 992px) {
      #heroCarousel, #heroCarousel .carousel-inner, #heroCarousel .carousel-item {
        height: 300px !important;
      }
    }
    @media (max-width: 576px) {
      #heroCarousel, #heroCarousel .carousel-inner, #heroCarousel .carousel-item {
        height: 220px !important;
      }
    }

/*Welcome Section*/
#welcome {
	min-height: 350px;
	background: #fff;
	padding-top: 80px;
	padding-right: 0;
	padding-bottom: 80px;
	padding-left: 0;
}

.wel_header {
	text-align: center;
	color: #222222;
	padding-bottom: 40px;
}
.fw-heading.fw-heading-center {
    padding-bottom: 40px;

}
.wel_header h2 {
    font-size: 36px;
    text-transform: uppercase;
    font-weight: 700;
    padding-bottom: 25px;
    font-family: 'Roboto Slab', serif !important;
    color: #222222;
}
.wel_header p {
    font-size: 16px;
    font-family: 'Open Sans', sans-serif;
}
#welcome .single_item {
    /*padding-top: 10px;*/
    /*text-align: center;*/
}
#welcome .single_item2 {
	text-align: center;
	padding-bottom: 25px;
	height: 135px;
	padding-top: 20px;
}
#welcome .single_item3 {
	float: left;
}
#welcome .welcome_icon {
	width: 140px;
	height: 140px;
	border-radius: 50%;
	text-align: center;
	border: 1px solid #C4C4C4;
	transition: .7s;
	background-color: #FF0;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
	padding-top: 15px;
}
#welcome .welcome_icon i {
    margin-top: 25%;
    font-size: 50px;
    transition: .7s;
}
#welcome .item_list h3 {
    padding: 20px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 14px;
    color: #393939;
    transition: 0.7s;
    font-family: 'Roboto Slab', serif;
}

#welcome .item_list2 h2 {
	font-size: 36px;
	text-transform: uppercase;
	font-weight: 700;
	padding-bottom: 40px;
	font-family: 'Roboto Slab', serif !important;
	color: #222222;
}

#welcome .item_list p {
	font-size: 20px;
	color: #646464;
	font-family: 'Open Sans', sans-serif;
	text-align: center;
	padding-top: 15px;
}
#welcome .item_list2 p {
	font-size: 14px;
	color: #000000;
	font-family: 'Open Sans', sans-serif;
}
#welcome .item_list:hover .welcome_icon {
	background: #43a906;
	cursor: pointer;
	color: #FFF;
}
#welcome .item_list:hover .welcome_icon i {
    color: #fff;
}
#welcome .item_list:hover h4 {
    color: #43a906;
    cursor: pointer;
}

/* Toto zajistí, že tabulky budou responzivní globálně */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Pokud tabulky vypadají na mobilu špatně, vynutíme 100% šířku */
table {
    width: 100% !important;
    max-width: 100%;
}

section#counter3 {
	color: #fff;
	background-attachment: scroll;
	background-image: url(../../../_cms7/upload/podklad/okna.jpg);
	background-repeat: no-repeat;
	background-position: center top;
	padding-bottom: 20px;
	/*height: 460px;*/
	padding-top: 20px;
	background-color: #b7bfb2;
}

section#counter4 {
	color: #fff;
	background-attachment: scroll;
	background-image: url(../../../_cms7/upload/podklad/zahrada.jpg);
	background-repeat: no-repeat;
	background-position: center top;
	padding-bottom: 20px;
	height: 460px;
	padding-top: 20px;
}

section#counter7 {
	color: #fff;
	background-attachment: scroll;
	background-image: url(../../../_cms7/upload/podklad/dvere.jpg);
	background-repeat: no-repeat;
	background-position: center top;
	padding-bottom: 20px;
	height: 460px;
	padding-top: 20px;
}

section#counter8 {
	color: #fff;
	background-attachment: scroll;
	background-image: url(../../../_cms7/upload/podklad/markyza.jpg);
	background-repeat: no-repeat;
	background-position: center top;
	padding-bottom: 20px;
	height: 460px;
	padding-top: 20px;
}

.counter_text_4 p {
	font-size: 14px;
	position: relative;
	background: #fff;
	color: #000;
	z-index: 1;
	/*height: 120px;*/
	overflow: hidden;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 20px;
	margin-left: 0;
	padding-top: 20px;
	padding-right: 20px;
	padding-bottom: 10px;
	padding-left: 20px;
	line-height: 1.4em;
}

.foto {
            position: relative;
            width: 800px;  /* Nastavte šířku podle svých potřeb */
            height: 500px; /* Nastavte výšku podle svých potřeb */
            margin: 0 auto; /* Vycentruje samotný kontejner na stránce */
            overflow: hidden; /* Ořeže případné přesahy */
        }

        .img-swap {
            position: absolute;
            top: 0;
            left: 0;
            width: 75%;
            height: 75%;
            /* Tato vlastnost zajistí, že se fotky vycentrují a oříznou tak, 
               aby vyplnily prostor a dům seděl na stejném místě */
            object-fit: cover;
            object-position: center; 
            transition: opacity 5s ease-in-out;
        }

        #img1 { z-index: 2; opacity: 1; }
        #img2 { z-index: 1; opacity: 1; }

        .fade-out { opacity: 0 !important; }