* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/*/////////////////// HEADER ////////////////////*/

/* Flexbox pro header */
header {
    width: 100%;
    height: 90vh;
    background: linear-gradient(rgba(37, 45, 65, 0.753), rgba(6, 75, 165, 0.726)),
                url(../img/bazén2.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    clip-path: polygon(0% 0%, 100% 0%, 100% 65%, 50% 100%, 0 65%);
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}


/* Navigace (menu) */
nav {
    width: 100%;
    height:100px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5); /* Poloprůhledné pozadí */
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
}

/* Uspořádání seznamu položek menu */
nav ul {
    display: flex;
    list-style: none;
}

nav li {
    padding: 0px 30px 0px 30px;
}

nav a {
    text-decoration: none;
    color: white;
    font-size: 1.5rem;
    text-transform: uppercase;
    font-weight: 500;
    padding: 5px 20px;
    border-radius: 2px;
    transition: background 0.3s ease, color 0.3s ease;
    letter-spacing: 2px;
}

nav a:hover {
    transition:0.5s linear;
	box-shadow: 0 6px 5px -7px rgba(255, 255, 255, 1);
}

.uvod h1 {
    color: white;
    font-size: 4.5rem; /* Moderní a responsivní velikost */
    letter-spacing: 7px;
    text-transform:uppercase;
    margin: 100px 0px 80px 0px;
    font-weight: bold;
    text-shadow: 5px 5px 20px rgba(0, 0, 0, 1); /* Efekt stínu pro lepší čitelnost */
}

.uvod h2{
    color: white;
    font-size: 2.5rem; /* Moderní a responsivní velikost */
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-weight: 500; 
}
.poptat {
    margin-top:100px;
}


.poptat a {
    border-radius: 5px;
    padding:15px 15px;
    color: white;
	width:250px;
    text-decoration: none;
    height:40px;
	background:rgb(214, 110, 24);
	cursor: pointer;
	border:none;
    font-weight: 500;
	font-size:2rem;
	text-transform: uppercase;
    letter-spacing: 2px;
}

.poptat a:hover{
	transition:0.5s linear;
	box-shadow: 0 6px 5px -5px rgba(255, 255, 255, 1);
}

/*///////////////////////////////////////////////////////////// MAIN /////////////////////////////////////////////////////*/


.nabidka h1 {
    color: black;
    font-size: 4.5rem; 
    letter-spacing: 7px;
    text-transform:uppercase;
    margin-top: 100px;
    font-weight: bold;
    display: flex;
    justify-content: center;
}

.naseSluzby1 {
    /*background-color: rgba(6, 75, 165, 0.2);*/
   /* clip-path: polygon(0 35%, 50% 0, 100% 35%, 100% 100%, 0 100%);
    height:30vh;*/
   margin:100px auto;
}

.naseSluzby2 {
    /*background-color: rgba(6, 75, 165, 0.2);*/
   /* clip-path: polygon(0% 0%, 100% 0%, 100% 65%, 50% 100%, 0 65%);*/
    /*height: 50vh;*/
    margin:100px auto;
}


.naseSluzby1, .naseSluzby2  {
   display: flex;
   justify-content: space-evenly;
    align-items: center;
    text-align: center;
}
.naseSluzby1 h1, .naseSluzby2 h1 {
    padding: 20px;
    font-size: 40px;
}


.ridiciSystemy {

    background: 
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),  /* gradient vrstva */
        url('../img/ridiciSystem.jpg');                                  /* obrázek na pozadí */
}

.navrh {
    background: 
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),  /* gradient vrstva */
        url('../img/navrhAVyrobaRozvadecu.jpg');                                  /* obrázek na pozadí */

}

.sauny{
    background: 
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),  /* gradient vrstva */
    url('../img/sauna.jpg');    
}
.dokumentace {
    background: 
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),  /* gradient vrstva */
    url('../img/dokumentace.jpg');    
}

.zamecnickePrace{
    background: 
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),  /* gradient vrstva */
    url('../img/zamecnik.jpg');    
}

.rele{
    background: 
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),  /* gradient vrstva */
    url('../img/rele_easyE4.jpg');    
}

.ridiciSystemy, .navrh, .sauny, .dokumentace, .zamecnickePrace, .rele {
    
    width: 450px;
    height: 250px;

    background-size: cover;     /* roztáhne obrázek přes celý blok */
    background-position: center; /* vystředí obrázek */
    background-repeat: no-repeat;

    display: flex;
    justify-content: center;
    align-items: center;

    color: white; /* pro lepší čitelnost textu */
    text-align: center;
    border-radius: 8px;
}

/*///////////////////////////////////////////// Sekce O Nas//////////////////////////////////////////// */



.oNas{

  background-color: rgba(6, 75, 165, 0.2);
  clip-path: polygon(0 35%, 50% 0, 100% 35%, 100% 100%, 0 100%);
  height:90vh;
  display:flex;                 /* dva sloupce vedle sebe */
  width:100%;
  box-sizing:border-box;
  align-items: center;          /* Vertikální centrování */
  justify-content: center;      /* Horizontální centrování */

}


.leftCol{
  flex:0 0 60%;
  display:flex;
  flex-direction:column;
  justify-content: flex; /* Vycentrování obsahu vertikálně */
  margin: 200px 0px 0px 0px;
  justify-content:center;
  align-items:center;
}

.kdoJsme {
    position: absolute;
    display: flex;
    text-align: center;
    width:100%;
    justify-content: center;
    transform: translateY(-270%);
}
.kdoJsme h1{
    color: black;
    font-size: 4.5rem; 
    letter-spacing: 7px;
    text-transform:uppercase;
    font-weight: bold;
}



/* --- Text --- */
.specializace{
  width:100%;
  max-width:1000px;
  display:flex;
  font-size:25px;
}

.specializace p{
  line-height:1.6;
  text-align:left;
}

/* --- Obrázek --- */
.rightCol{
  flex:0 0 25%;
  display:flex;
  justify-content:center;
  align-items:center;
  margin:200px 0px 0px 0px;
}

.rightCol img{
  width:100%;
  max-width:300px;
  border-radius:10px;
  object-fit:cover;
}

/* --- BasicInfo --- */
.basicInfo{
  background-color: rgba(6, 75, 165, 0.2);
  width:100%;
  display:flex;
  justify-content:center;   /* vycentrování pod textem */
  align-items:stretch;
  text-align:center;
 }



.basicInfo h1{
  font-size:3rem;
  margin:20px 0;
}

.basicInfo p{
  font-size:25px;
  margin:0;
  width:80%;
}
.infoBox{
  display:flex;
  flex-direction:column;
  align-items:center;
  max-width:300px;

}

/* --- Kruh s číslem --- */
.cisla{
  font-family:'Poppins',sans-serif;
  width:150px;
  height:150px;
  border-radius:50%;
  background: linear-gradient(135deg, #1e3c72, #2a5298); /* Jemnější modrý přechod */
  color: #ffffff;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.15),
    0 0 0 4px rgba(255, 255, 255, 0.1),
    inset 0 0 15px rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 1;
}

.cisla::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(rgba(5, 93, 209, 0.4), transparent 70%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cisla:hover {
  transform: scale(1.08);
  box-shadow:
    0 15px 30px rgba(0, 0, 0, 0.25),
    0 0 0 5px rgba(255, 255, 255, 0.15),
    inset 0 0 20px rgba(255, 255, 255, 0.15);
}

.cisla:hover::before {
  opacity: 1;
}



.blue-gap {
  height: 100px;
  background-color: rgba(6, 75, 165, 0.2);
}


/*****************************************FOOTER******************************************/

footer{
    width: 100%;
	height: 100%;
	background-color: rgba(6, 75, 165, 0.2);
	position: relative;
	overflow: hidden;
}

.zapati {
    width: 100%;
	height:90vh;
	background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
				url(../img/bazén2.jpg);
	background-size:cover;
	background-position: top;
	background-repeat:no-repeat;
	clip-path: polygon(50% 0, 100% 30%, 100% 100%, 0 100%, 0 30%);
	background-attachment: fixed;
    display:flex;
    justify-content:space-evenly;

}

.kariera h1{
color:red;
font-size:30px;
display:flex;
justify-content: center;
margin-bottom:20px;
}

.kontakt{
  flex:0 0 60%;
  display:flex;
  flex-direction:column;
  align-items:center;
  width:100%;
  margin-top:180px;
  height: inherit;
}


.kontakt h1 {
    text-transform: uppercase;
    display:flex;
    color:white;
    letter-spacing: 2px;
    font-size: 50px;
    font-weight: 500;
    margin-bottom: 50px;
}

.kontakt h2{

    text-decoration: none;
    color: white;
    font-size: 35px;
    font-weight: 500;
	color:white;
    padding-bottom:15px;
}

iframe {
	width:500px;
	height: 250px;
    margin-top: 20px;
    border-radius: 5px;
}

.formular {
  flex:0 0 40%;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  margin-top:180px;
  gap:50px;
}

.formular h1 {
	display: flex;
	font-size: 50px;
	font-weight: bold;
	color:white;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

.form {
    font-family:sans-serif;
}

input{
	margin-bottom: 20px;
	width:300px;
    height:50px;
    padding: 10px;
	background:white;
	border:2px solid white;
	border-radius: 5px;
	text-decoration: none;
	font-size: 20px;
    font-family:sans-serif;
	outline:none;
}

textarea{
	width: 600px;
	height:280px;
    padding:10px;
	background:white;
	border:2px solid white;
	border-radius: 5px;
	font-size: 20px;
	outline:none;
    text-decoration: none;
    font-family:sans-serif;
}


input[type="submit"]{
	border-radius: 5px;
    padding:15px 15px;
	width:350px;
    height:60px;
	background:rgb(214, 110, 24);
	color:white;
	cursor: pointer;
	border:none;
	margin: 20px 0px 40px 0px;
    font-weight: 500;
	font-size:2rem;
	text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 2px;
    font-family: inherit;
    font-weight: inherit;
    
}

input[type="submit"]:hover{
	transition:0.5s linear;
	box-shadow: 0 6px 5px -5px rgba(255, 255, 255, 1);
}



.copyRight{
    color: black;
    background: rgba(6, 75, 165, 0.2);
    text-align: center;
    font-size: 20px;
}
