html,body{
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font-family: "Chakra Petch", sans-serif;
  font-weight: 700;
  font-style: normal;
}

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html{
  scroll-behavior: smooth;
}

body{
  background-color: #0d1117 !important;
  overflow-x: hidden;
}

.custom-navbar{
  background-color: rgba(11, 15, 20, 0.85);
  backdrop-filter: blur(6px);
  border-bottom: 2px solid #ffc107;
  color: white;
  min-height: 70px;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.nav-link {
  padding-bottom: 0.5rem;
  border-bottom: 2px solid transparent !important;
  transition: color 0.2s, border-bottom-color 0.2s;
}

.nav-link:hover{
  color: #ffc107 !important;
  border-bottom-color: #ffc107 !important;
  transition: 0.75s;
}

.nav-item{
  font-size: 1.5em;
}

#uvod{
  position: relative;
  height: 100vh;
  background: url('Images/banner.png') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.overlay-content{
  background-color: rgba(0, 0, 0, 0.65);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 0 40px rgba(255, 193, 7, 0.5);
}

#uvod p{
  margin-top: 2%;
  font-size: 2em;
  color: whitesmoke;
}

#uvod a{
  color: whitesmoke;
}

#uvod a.btn:hover{
  box-shadow: 0 0 20px 5px rgba(255, 193, 7, 0.6);
  transform: scale(1.05);
  transition: all 0.3s ease-in-out;
}

#kurzy{
  margin-top: 3rem;
  margin-bottom: 3rem;
}

#kurzy h2{
  color: #ffc107;
}

.card-body{
  background-color: black;
}

.card-body h4{
  color: whitesmoke;
}

.card-body a{
  color: whitesmoke;
}

.card{
  border: 2px solid #ffc107;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(255, 193, 7, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover{
  transform: scale(1.02);
  transition: transform 0.3s ease-in-out;
  box-shadow: 0 0 20px rgba(255, 193, 7, 0.3);
}

.card-img-top{
  transition: transform 0.3s ease-in-out;
}

.card:hover .card-img-top{
  transform: scale(1.05);
}

#galerie .carousel.slide.mx-auto{
  max-width: 50%;
}

@media (max-width: 768px) {
  #galerie .carousel.slide.mx-auto {
    max-width: 100% !important;
  }
}

#galerie h2{
  color: #ffc107;
}

.card:hover{
  transform: scale(1.03);
}

#galerie img{
  border: 2px solid #ffc107;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(255, 193, 7, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#galerie img:hover{
  overflow: hidden;
  transform: scale(1.03);
}

#onas{
  border: 2px solid #ffc107;
  background-color: #07080a;
  padding: 3rem 2rem;
  border-radius: 15px;
  position: relative;
  z-index: 1;
}

#reference .card {
  border: 2px solid #ff9800;
  box-shadow: 0 4px 24px 0 rgba(255,193,7,0.15);
  background: linear-gradient(120deg, #1c1f26 80%, #ffc10711 100%);
}

#reference p{
  color: whitesmoke;
}

.section-fade{
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s cubic-bezier(.4,2,.3,1);
}

.section-fade.visible{
  opacity: 1;
  transform: none;
}

.btn-warning{
  box-shadow: 0 0 20px 0 #ffc10799;
  font-weight: 700;
}

.btn-warning:hover{
  box-shadow: 0 0 40px 10px #ffc107cc;
  transform: scale(1.08);
}

#random-icons{
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
}

.random-icon{
  position: absolute;
  width: 40px;
  opacity: 0.15;
  transition: transform 0.4s;
}

#kontakty{
  position: relative;
  z-index: 1;
}

.custom-footer{
  background-color: rgba(11, 15, 20, 0.85);
  backdrop-filter: blur(6px);
  border-top: 2px solid #ffc107;
  color: white;
}