@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&display=swap'); /* font na nadpisy */
@import url('https://fonts.googleapis.com/css2?family=Caudex:ital,wght@0,400;0,700;1,400;1,700&display=swap'); /* font na texty */
/* CÉLÁ STRÍNKA DEXÍ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Caudex", serif; /* font na texty */
} 

* h1,h2,h3 {
  font-family: "Cinzel", serif; /* font na nadpisy */
}
 /* ZDE JSEM NASTAVIL JAK JE TO PRI SCROLLOVANI */
html {
  scroll-behavior: smooth;
}
/* ČÁST UZAVŘENÁ V KOLONKÁCH BODY DEXÍ */
body {
  background: #0b0f1a;
  color: #fff;
  overflow-x: hidden;
}
/* ZDE KONČÍ NASTAVENÍ ANIMACE NAČÍTÁNÍ */
/* HEADER DEXITECKU ZDE SE NECHAZI V CELE SEKCI HEADERU NASE HAMBURGER MENU A I LOGO TAKZE VSE CO SE S NAMI HYBE DOLU A JE TO PRILEPENE NA VRCHU OBRAZOVKY */
header {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: rgba(10, 15, 30, 0.8);
  backdrop-filter: blur(10px);
}
/* LOGO VLEVO NAHORE */
.logo img {
  height: 40px;
}
/* NAŠE MENU JAKOBY JAKÝ JE TO ČTVEREC */
nav {
  display: flex;
  gap: 20px;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: #ccc;
  font-weight: 500;
  position: relative;
  transition: 0.3s;
}
nav a:hover {
  color: #cd9948;
}
nav a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #cd9948;
  transition: 0.3s;
}
nav a:hover::after {
  width: 100%;
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}
.hamburger span {
  height: 3px;
  width: 25px;
  background: #fff;
  margin: 4px 0;
  transition: 0.3s;
}

.btn_zpet{
  margin-top: 5%;
  margin-left: 4%;
}


.nadpisonas{
    margin-top: 2%;
    width: 100%;
    text-align: center;
    font-size: 200%;
    color: #cd9948;
}

.abttxt{
  color: #cd9948;
  width: 60%;
  background-color: #00000020;
  border: #cd9948 1px solid;
  border-radius: 10px;
  padding: 1%;
}

h1{
  color: #cd9948;
}

.team-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap; 
    max-width: 1100px;
    margin: 0 auto;
    margin-top: 2%;
    margin-bottom: 5%;
}

.card {
    position: relative;
    width: 320px;
    height: 420px;
    border-radius: 25px;
    overflow: hidden; 
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: #cd9948 2px solid;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: transform 0.5s ease;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75); 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0; 
    transition: opacity 0.4s ease;
}

.card:hover .card-overlay {
    opacity: 1;
}

.card:hover img {
    transform: scale(1.1); 
}

.card-overlay h2 {
    color: #fff;
    font-size: 2rem;
    letter-spacing: 4px;
    margin-bottom: 10px;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.card-overlay p {
    color: #ccc;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}
.card:hover h2, .card:hover p {
    transform: translateY(0);
}

/* FOOTER */
footer {
  text-align: center;
  padding: 30px;
  color: #777;
  font-size: 14px;
  border-top: 1px solid#1f2937; 
  margin-top: 2%;
  background-color: #00000020;
}

/* Mresponzivita */
@media (max-width: 900px) {
  nav {
    position: absolute;
    top: 70px;
    right: 0;
    background: #0b0f1a;
    flex-direction: column;
    width: 220px;
    padding: 20px;
    display: none;
  }
  header{
    z-index: 9999;
  }
  nav.active {
    display: flex;
  }
  .hamburger {
    display: flex;
  }

      .btn_zpet{
  margin-top: 30%;
  margin-left: 4%;
}
  .nadpisonas{
    margin-top: 10%;
    width: 100%;
    text-align: center;
    font-size: 200%;
}


.abttxt{
  color: #cd9948;
  width: 81%;
  background-color: #00000020;
  border: #cd9948 1px solid;
  border-radius: 10px;
  padding: 1%;
}

h1{
  color: #cd9948;
}

}

/* ANIMACE */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}