* {margin: 0; padding: 0; font-family: Arial, Helvetica, sans-serif;}
.header {min-height: 100vh; width: 100%; position: relative; overflow: hidden;}
.bg-video {position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1;}
.header::after {content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(4, 9, 30, 0.7); z-index: 0;}
nav {display: flex; padding: 2% 6%; justify-content: space-between; align-items: center; position: relative; z-index: 1;}
nav img {
  width: 82px;
  height: auto;
  display: block;
}
.nav-links { flex: 1; text-align: right; }
.nav-links ul li { list-style: none; display: inline-block; padding: 8px 12px; position: relative; }
.nav-links ul li a { color: #fff; text-decoration: none; font-size: 13px; }
.nav-links ul li::after {content: ''; width: 0%; height: 2px; background: #2bd415; display: block; margin: auto; transition: 0.5s;}
.nav-links ul li:hover::after { width: 100%; }
.text-box {width: 90%; color: #fff; position: fixed; top: 50%; left: 50%; transform: translate(-50%,-50%); text-align: center; z-index: 1;}
.text-box h1 { font-size: 62px; padding-bottom: 480px; }
.intro { padding: 4rem 2rem; text-align: center; background: #f9f9f9; }
.intro .container { max-width: 900px; margin: 0 auto; }
.intro h1 { font-size: 2.2rem; margin-bottom: 1rem; color: #333; }
.intro p { font-size: 1.2rem; line-height: 1.6; color: #555; }
.offers-grid { background-color: rgb(238, 233, 233); position: relative; display: grid; grid-template-columns: repeat(2, auto); gap: 150px; justify-content: center; padding: 40px 16px; }
.offer-card { background: rgba(0,0,0,0.6); border-radius: 12px; overflow: hidden; box-shadow: 0 4px 8px rgba(0,0,0,.2); width: 550px; height: 420px; display: flex; justify-content: center; align-items: center; text-align: center; cursor: pointer; transition: all 0.6s ease; position: relative; z-index: 1; background-size: cover; background-position: center;}
.offer-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); z-index: 0; }
.offer-content { position: relative; z-index: 1; color: #fff; padding: 20px;}
.offer-card:hover { transform: translateY(-5px); box-shadow: 0 20px 30px rgba(0,0,0,.3); }
.offer-card.placeholder { visibility: hidden; }
.zoom-clone { position: absolute; z-index: 100; background-size: cover; background-position: center; cursor: pointer; transition: all 0.8s ease; box-shadow: 0 20px 30px rgba(0,0,0,.3); }
.contact{ margin: 100px auto; width: 80%; background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(images/pobytovy_tabor_spolku_Semik_na_Vysocine.jpg); background-position: center; background-size: cover; border-radius: 10px; text-align: center; padding: 100px 0;}
.contact h1{ color: #fff; margin-bottom: 40px; padding: 0;}
.footer{ width: 100%; text-align: center; padding: 30px 0; }
.icons .fa{ color: #2bd415; margin: 0 13px; cursor: pointer; padding: 18px 0; }

.login-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #ffffff;
  border: 3px solid #2bd415;
  border-radius: 15px;
  padding: 60px;
  width: 320px;
  text-align: center;
  z-index: 2;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.login-box h2 {
  margin-bottom: 20px;
  color: #000000;
}

.input-group {
  text-align: left;
  margin-bottom: 15px;
}

.input-group label {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  color: #333;
}

.input-group input {
  width: 100%;
  padding: 10px;
  border: 1px solid #aaa;
  border-radius: 8px;
  outline: none;
  font-size: 14px;
}

.input-group input:focus {
  border-color: #2bd415;
}

.login-button {
  background-color: #2bd415;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
  width: 100%;
}

.login-button:hover {
  background-color: #26b112;
}
/* === ZOOM-IN efekt při načtení === */
@keyframes zoomIn {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}

.login-box {
  animation: zoomIn 0.7s ease-out forwards;
}

nav > .fa {
  display: none;
}

nav > .fa-bars::before {
  content: "\2630";
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
}

nav > .fa-times::before {
  content: "\00d7";
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
}

@media (max-width: 980px) {
  html,
  body {
    overflow-x: hidden;
  }

  body.menu-open {
    overflow: hidden;
  }

  nav {
    padding: 18px 22px;
    z-index: 1300;
  }

  nav img {
    width: 72px;
  }

  nav > .fa {
    display: block;
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    position: relative;
    z-index: 1201;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -320px;
    width: min(82vw, 300px);
    height: 100vh;
    padding: 82px 24px 28px;
    background: #12341f;
    text-align: left;
    z-index: 1200;
    box-shadow: -16px 0 32px rgba(0,0,0,0.25);
    transition: right 0.32s ease;
    box-sizing: border-box;
  }

  nav.nav-open .nav-links {
    right: 0;
  }

  .nav-links ul li {
    display: block;
    padding: 0;
    margin: 0;
  }

  .nav-links ul li a {
    display: block;
    padding: 13px 0;
    font-size: 14px;
    line-height: 1.25;
  }

  .text-box {
    width: 92%;
    top: 26%;
  }

  .text-box h1 {
    font-size: clamp(2rem, 9vw, 3.8rem);
    padding-bottom: 0;
  }

  .login-box {
    width: min(88vw, 360px);
    padding: 28px 22px;
    top: 56%;
    box-sizing: border-box;
  }
}

@media (max-width: 520px) {
  nav {
    padding: 14px 16px;
  }

  .login-box h2 {
    font-size: 1.45rem;
  }

  .input-group input,
  .login-button {
    width: 100%;
    box-sizing: border-box;
  }
}
