*,
*:after{
  box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Oxanium", sans-serif;
    background: #fff;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  height: 100px;
  background-color: rgb(7, 14, 22,0.8);
  color: #fff;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: height 0.3s ease, padding 0.3s ease;
}

.navbar.shrink{
  height: 60px;
}

.navbar.shrink + .menu {
  top: 60px;
}

.nav-left {
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  color: #fff;
    margin-left: 1.5rem;
}

.nav-right a {
  font-size: 22px;
  font-weight: bold;
  text-decoration: none;
  background-color: white;
  color: black;
    padding: 5px;
    padding-top: 8px;
    margin-right: 1.5rem;
    border-radius: 3px;
    font-weight: 400;
}

.nav-right a:hover {
  background-color: #737373;
  color: white;
    transition: .4s;
}

.logo {
    width: 8rem;
     transition: width 0.3s ease; /* hladká animace při zmenšení */
}

.navbar.shrink .logo {
  width: 5rem;
}

.nav-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

/* Hamburger */
.menu-btn {
  width: 35px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
}

.bar {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #fff;
  margin: 7px 0;
  transition: all 0.3s ease;
}

.menu-btn.open .top {
  transform: rotate(45deg) translate(7px, 7px);
}

.menu-btn.open .middle {
  opacity: 0;
}

.menu-btn.open .bottom {
  transform: rotate(-45deg) translate(7px, -7px);
}


.menu {
  position: fixed;
  top: 100px;
  left: 25%;
  width: 50%;
  height: auto;
  background-color: rgb(7, 14, 22,0.8);
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
    transform: translateY(-10px); /* jemný skluz shora */
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  z-index: 999; /* pod navbarem 1000 */
    font-weight: 200;
}

.menu.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.menu a {
  position: relative;
  color: white;
  text-decoration: none;
  font-size: 24px;
  margin: 15px 0;
  transition: color 0.3s ease;
    margin: 20px 0;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px; /* vzdálenost pod textem */
  width: 0;
  height: 3px;
  background: white;
  transition: width 0.4s ease;
}

.menu a:hover::after {
  width: 100%;
}

.menu.active a {
  opacity: 1;
  transform: translateY(0);
}

.menu.active a:nth-child(1) {
  transition-delay: 0.1s;
}
.menu.active a:nth-child(2) {
  transition-delay: 0.2s;
}
.menu.active a:nth-child(3) {
  transition-delay: 0.3s;
}

header {
    background-image: url(../obr/header1.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    top: 0;
    left: 0;
    z-index: 1;
}

.logo_header {
    width: 480px;
    position: relative;
    top: 60%;
    display: flex;
    flex-direction: column;
    left: 50px;
}

#sluzby {
    background-color: #070e16;
}

.container_karty{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 80%;
    margin: 0 auto;
}

.container_karty2{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 80%;
    margin: 0 auto;
}

.karty_column {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex-wrap: wrap;
    width: 48%;
}

.nadpis {
    color: white;
    font-size: 80px;
    margin: 30px 0;
}

.nadpisPC {
    color: white;
    font-size: 80px;
    margin: 30px 0;
}

.nadpisMobile {
    color: white;
    font-size: 80px;
    margin: 30px 0;
    display: none;
}

.karta {
    width: 100%;
    padding: 15px;
    background-color: white;
    margin: 50px 0;
}

.karta {
    width: 100%;
    padding: 15px;
    background-color: white;
    margin: 50px 0;
}

.kartaText {
    font-size: 20px;
}

.icon {
    width: 100%;
}

.kartaNadpis {
    font-size: 42px;
    margin: 10px 0;
}

h5 {
    font-size: 22px;
    margin: 5px 0;
}

.karta ul {
    padding-left: 3%;
    line-height: 36px;
    font-size: 18px;
}

.karta ul li ul{
    padding:0;
    padding-left: 5%;
}

#reference {
    background-color: white;
}

.container_reference {
    width: 80%;
    display: flex;
    flex-direction: column;
     margin: 100px auto;
}

.nadpis_reference {
    font-size: 80px;
    color: #070e16;
}

.referecni_zakazka {
    margin: 50px 0;
}

.referecni_zakazka ul {
    list-style: none;
    font-size: 24px;
    font-weight: 500;
}

.firma {
    font-size: 36px;
}

#pronajem {
    background-color: #070e16;
}

.pripravujeme {
    font-weight: 300;
}

#kontakt {
    width: 100%;
}

.container_kontakt {
    background-color: #070e16;
    width: 80%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 50px auto;
    padding: 50px 100px;
}

.kontakty_adresy {
    width: 45%;
    color: white;
}

.formular {
    width: 45%;
}


.Nadpis_kontakty {
    font-size: 60px;
    margin: 20px 0;
    color: white;
}

.seznam_kontakty {
    font-size: 18px;
    line-height: 34px;
    margin-bottom: 50px;
    list-style: none;
}

form {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    }

label, input, textarea {
    display: block;
    width: 100%;
    font-size: 24px;
    color: white;
    margin-bottom: 10px;
}

input, textarea {
    background-color: white;
    border: 1px solid #757575;
    padding: 10px;
    color: black;
    border-radius: 4px;
}

input[type="submit"] {
    background-color: white;
    color: black;
    cursor: pointer;
    transition: background-color 0.3s;
    width: auto;
    font-size: 20px;
    font-family: "Oxanium", sans-serif;
}

input[type="submit"]:hover {
    background-color: #757575;
}

.hidden-field {
     display: none;
}

footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    background-color: #070e16;
    padding: 50px 10%;
    border-top: 10px solid white;
}

.logo_footer {
    width: 30%;
    margin-right: 10%;
}

.logo_footer img {
    width: 100%;
}

.odkazy {
    width: 40%;
}

.odkazy ul {
    list-style: none;
}

.odkazy h4 {
    font-size: 42px;
    color: white;
}

.odkazy a {
    font-size: 20px;
    color: white;
    text-decoration: none;
    line-height: 40px;
}

.odkazy a:hover {
    text-decoration: underline;
}

.soc_site {
    width: 20%;
    text-align: right;
}

.soc_site a {
    color: white;
    font-size: 48px;
    padding: 0 5px;
    text-decoration: none;
}

.soc_site a:hover {
    color: #757575;
}


.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}

.lightbox-content {
  position: absolute;
  top: 12%;
  left: 50%;
  max-width: 90%;
  max-height: 80%;
  transform: translateX(-50%);
  border: 5px solid white;
}


.close {
  position: absolute;
  top: 60px;
  right: 50px;
  color: white;
  font-size: 80px;
  font-weight: bold;
  cursor: pointer;
}

.podpis {
    color: white;
    margin-top: 20px;
}

.podpis img {
    width: 40%;
}





