body { 
  font-family: 'Inter', sans-serif; 
  margin: 0; 
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: url("pozadi.jpg") no-repeat center center fixed;
  background-size: cover;
}
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.45);
  z-index: -1;
}

/* HEADER */
header { 
  background: linear-gradient(135deg, #004085, #0d6efd);
  color: #fff; 
  padding: 1rem 2rem; 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  margin-bottom:.9rem; 
}
header h1 { 
  font-size: 1.5rem; 
  margin: 0; 
  font-weight: 700;
  letter-spacing: 1px;
}
nav a { 
  color: #fff !important; 
  margin-left: 1.5rem; 
  text-decoration: none; 
  font-weight: 600; 
}
nav a:hover { text-decoration: underline; }

.headerico {
  font-size: 1rem;     /* velikost ikony */
  color: #ffcc00;        /* barva (žlutá jako zvýraznění) */
  margin-right: 0.4rem;  /* mezera mezi ikonou a textem */
  vertical-align: middle; /* zarovnání s textem */
}

/* MAIN */
main { 
  flex: 1; 
  display: flex; 
  flex-direction: column; 
  justify-content: center; 
  align-items: center; 
  text-align: center; 
  padding: 2rem; 
  color: #fff;
}

/* hero sekce */
.hero {
  position: relative;
  padding: 4rem 2rem;
  overflow: hidden;
  z-index: 1;
}
.hero h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color:#c0c1c2;;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.5);
  margin-bottom: 0.5rem;
}
.hero h2 span  {
  color: yellow;
}

.spennadpisu {
  color: #ffcc00;
}

.hero p {
  font-size: 1.2rem;
  color: #eee;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
}
.hero {
  position: relative;
  padding: 2rem 2rem;
  overflow: hidden;
  z-index: 1;
  text-align: center;
}

.hero-content {
  position: relative;
  display: inline-block; /* zmenší šířku jen na obsah */
  z-index: 10;           /* text vždy nad pruhem */
}

/* pruh bude mít šířku jako textový blok */
.hero-content::before {
  content: "";
  position: absolute;
  top: 10px;
  left: -50%; /* start animace mimo */
  width: 10%; /* přesně šířka textu */
  height: 40%;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,204,0,0.7) 50%,
    rgba(255,255,255,0) 100%
  );
  transform: skewX(-80deg);
  animation: heroStripe 8s linear infinite;
  z-index: -1;
}

/* animace pohybu pruhu */
@keyframes heroStripe {
  0%   { left: -120%; }
  100% { left: 120%; }
}

/* FOOTER */
footer {
  background: linear-gradient(135deg, #0d6efd, #004085);
  color: #fff;
  padding: 1rem;
  margin-top: auto;
  margin-top:.9rem; 
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.footer-brand h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
}
.footer-brand p {
  margin: 0.2rem 0 0;
  font-size: 0.85rem;
  color: #ddd;
}
.footer-copy {
  font-size: 0.8rem;
  color: #ccc;
}
.footer-copy a {
  color: #fff;
  text-decoration: none;
}
.footer-copy a:hover {
  text-decoration: underline;
}

/* LOGIN FORM */
.login-form {
  background: rgba(255,255,255,0.95);   /* bílé pole, odlišené od hero */
  border-radius: 1rem;
  padding: 2rem;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  
  text-align: left;
}

.login-form label {
  font-weight: 600;
  color: #004085;  /* modrá jako hlavička/patička */
}

.login-form .form-control {
  border-radius: 0.5rem;
  padding: 0.75rem;
  border: 1px solid #ccc;
  box-shadow: none;
}

.btn-login {
  background: linear-gradient(135deg, #004085, #0d6efd);
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  padding: 0.75rem;
  color: #fff;
  transition: all 0.3s;
}
.btn-login:hover {
  background: linear-gradient(135deg, #0b5ed7, #003566);
  transform: translateY(-2px);
}

/* Sidebar menu */
/* Sidebar menu */
.menu-buttons {
  display: flex;
  flex-direction: column; /* tlačítka pod sebou */
  gap: 0.8rem;
  align-items: stretch;   /* tlačítka se natáhnou na plnou šířku */
}

/* Menší tlačítka do sidebaru */
.menu-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  background: linear-gradient(135deg, #004085, #0d6efd);
  color: #fff;
  text-decoration: none;
  border-radius: 0.6rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: transform 0.2s, box-shadow 0.2s;
  width: 100%;     /* roztáhne přes celý sidebar */
  height: 4rem;
  border: none;    /* odstraní defaultní rámeček buttonu */
  cursor: pointer; /* ručička jako u odkazu */
  text-align: left;/* obsah vlevo uvnitř */
}
/* stejné hover efekty */
.menu-btn:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  text-decoration: none;
  color: #fff;
}

.menu-btn i {
  font-size: 1.2rem;
  color: #ffcc00; /* ikonka kontrastní */
}

.menu-btn .menu-label {
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
}

/* Kontejner pro hledání */
.search-box {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

/* řádek hledání */
.search-row {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;  /* stejné výšky */
  margin-bottom: 1rem;
}

/* input */
.search-input {
  flex: 1;               /* zabere maximum prostoru */
  border-radius: 0.6rem;
  padding: 0.6rem 0.8rem;
  font-size: 0.95rem;
  border: 1px solid #ccc;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}

/* tlačítko */
.search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0 1.2rem;       /* stejné jako input */
  background: linear-gradient(135deg, #004085, #0d6efd);
  color: #fff;
  border: none;
  border-radius: 0.6rem;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: transform 0.2s, box-shadow 0.2s;
  width:150px;
}

.search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.search-btn i {
  font-size: 1.1rem;
  color: #ffcc00;
}

.search-btn .menu-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
}

.headsort {
  font-size: 1.4rem;   /* velikost ikony, např. 22px */
  color: #004085;      /* barva ikony */
  vertical-align: middle;
  margin-left: 0.25rem;
  cursor: pointer;
}

.headsort:hover {
  color: #0d6efd;      /* jiná barva při hoveru */
}



