/* BASE */
body {
  margin: 0;
  background-color: #121212;
  color: #f0f0f0;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  font-size: 18px;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 60px 30px;
}

.container.narrow {
  max-width: 600px;
  margin: auto;
}

/* HEADER */
.header {
  background: linear-gradient(90deg, #007bbd, #00b4d8);
  padding: 40px 20px 60px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 180, 216, 0.5);
  border-radius: 0 0 40px 40px;
  margin-bottom: 50px;
}

.header h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: #f0f0f0;
  margin: 0 0 12px;
  text-shadow: 0 2px 6px rgba(0, 80, 120, 0.7);
}

.subtitle {
  font-size: 1.3rem;
  color: #d0f0ff;
  font-weight: 500;
}

/* SCRIPT CARDS */
.scripts-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
}

.script-card {
  background: linear-gradient(145deg, #1e1e1e, #232323);
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0, 180, 216, 0.3), inset 0 0 10px #00b4d8;
  width: 360px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  user-select: none;
}

.script-card:hover {
  transform: translateY(-14px) scale(1.05);
  box-shadow: 0 16px 45px rgba(0, 180, 216, 0.6), inset 0 0 14px #00e0ff;
}

.script-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  filter: brightness(0.95);
  transition: filter 0.3s ease;
}

.script-card:hover img {
  filter: brightness(1);
}

.card-content {
  padding: 25px 30px 35px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.script-card h2 {
  margin: 0 0 15px;
  font-weight: 700;
  font-size: 1.8rem;
  color: #00b4d8;
  text-shadow: 0 2px 5px rgba(0, 180, 216, 0.8);
}

.card-content p {
  flex-grow: 1;
  color: #bbb;
  font-size: 1.1rem;
  line-height: 1.5;
  margin-bottom: 22px;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 14px 32px;
  background: #00b4d8;
  color: #0f0f0f;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 14px;
  box-shadow: 0 8px 16px rgba(0, 180, 216, 0.5);
  transition: background 0.3s ease, box-shadow 0.3s ease;
  align-self: flex-start;
}

.btn:hover {
  background: #00d3ff;
  box-shadow: 0 10px 25px rgba(0, 211, 255, 0.7);
}

.btn.small {
  font-size: 0.95rem;
  padding: 10px 20px;
  margin-top: 15px;
}

/* FOOTER */
.footer {
  background-color: #181818;
  padding: 25px 20px;
  text-align: center;
  font-size: 1rem;
  color: #555;
  font-weight: 400;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  margin-top: 80px;
}

/* BACK LINK */
.back-btn {
  display: block;
  margin: 40px auto;
  text-align: center;
  font-size: 1rem;
  color: #00b4d8;
  font-weight: 600;
}

/* GALLERY */
.gallery-image-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 450px; /* výška můžeš upravit podle designu */
}

.gimg {
  display: none;
  width: 1000px; /* pevná šířka */
  height: 650px; /* pevná výška */
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 180, 216, 0.2);
}

.gimg.active {
  display: block;
}


.gallery-controls {
  margin-top: 20px;
}

.gallery-controls button {
  margin: 0 10px;
  padding: 10px 20px;
  background: #00b4d8;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  color: #121212;
  cursor: pointer;
  transition: background 0.3s ease;
  display: inline-block;
}

.gallery-controls button:hover {
  background: #00d3ff;
}

/* BANNER */
.banner-wrapper {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
}

.banner-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.banner-gradient {
  position: absolute;
  bottom: 0;
  height: 40%;
  width: 100%;
  background: linear-gradient(to bottom, transparent, #121212);
}

/* SCRIPT INFO */
.script-info {
  margin-top: 50px;
}

.script-info h1 {
  font-size: 2.8rem;
  color: #00b4d8;
  margin-bottom: 10px;
}

.script-info .description {
  font-size: 1.2rem;
  color: #ccc;
  max-width: 800px;
  margin-bottom: 30px;
}

.features-heading {
  margin-top: 30px;
  margin-bottom: 10px;
  font-size: 1.4rem;
  color: #00b4d8;
}

.features {
  list-style-type: disc;
  list-style-position: inside;
  padding-left: 0;
  margin-top: 0;
  margin-bottom: 40px;
  color: #ccc;
  font-size: 1.05rem;
  line-height: 1.6;
}

.features li {
  margin-bottom: 10px;
}

/* SHOWCASE LINKS */
.showcase-links {
  margin-top: 30px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.showcase-links a {
  color: #00d3ff;
  font-weight: 600;
  transition: color 0.3s ease;
}

.showcase-links a:hover {
  color: #ffffff;
}

/* RESPONSIVE */
/* Mobile phones */
@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  .container {
    padding: 40px 20px;
  }

  .header {
    padding: 30px 15px 40px;
  }

  .header h1 {
    font-size: 2.8rem;
  }

  .subtitle {
    font-size: 1.1rem;
  }

  .scripts-container {
    flex-direction: column;
    gap: 40px;
    align-items: center;
  }

  .script-card {
    width: 90%;
    max-width: 420px;
  }

  .script-card img {
    height: 220px;
  }

  .script-card h2 {
    font-size: 1.5rem;
  }

  .card-content p {
    font-size: 1rem;
  }

  .btn {
    padding: 14px 28px;
    font-size: 1rem;
  }

  .banner-wrapper {
    height: 200px;
  }

  .script-info h1 {
    font-size: 2.2rem;
  }

  .script-info .description {
    font-size: 1.05rem;
  }
}

/* Tablets and smaller laptops */
@media (max-width: 1024px) and (min-width: 769px) {
  .scripts-container {
    gap: 45px;
  }

  .script-card {
    width: 45%;
    max-width: none;
  }
}

/* COMING SOON STYLE */
.script-card.coming-soon {
  box-shadow: 0 0 0 2px #555 inset, inset 0 0 10px #333;
  cursor: default;
  filter: grayscale(1) brightness(0.7);
  position: relative;
  overflow: hidden;
}

.script-card.coming-soon img {
  filter: grayscale(1) brightness(0.6);
}

.script-card.coming-soon .btn {
  pointer-events: none;
  background: #444;
  color: #aaa;
  box-shadow: none;
  opacity: 0.6;
  cursor: not-allowed;
}

/* OVERLAY TEXT */
.coming-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(20, 20, 20, 0.7);
  color: #ccc;
  font-size: 2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  z-index: 2;
  pointer-events: none;
  backdrop-filter: blur(2px);
}

