/* Základní reset a typografie */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f5f5f5;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

a {
  text-decoration: none;
  color: #807300;
  transition: color 0.3s ease;
}

a:hover {
  color: #807300;
}

h1, h2, h3, h4, h5, h6 {
  margin: 1rem 0;
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 1.8rem;
  margin-top: 2rem;
}

h3 {
  font-size: 1.3rem;
}

p {
  margin-bottom: 1rem;
}

ul, ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

/* Header a navigace */
header {
  background-color: #1a1a1a;
  color: #fff;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  font-family: 'BRUSHSTRIKE', sans-serif;
}

nav ul {
  display: flex;
  list-style: none;
  margin: 0;
}

nav ul li {
  margin-left: 1.5rem;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #f8a100;
}

nav ul li a.active {
  color: #f8a100;
}

.hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #1a1a1a;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.loading-wide {
  width: 200px;
  height: 100px;
  position: relative;
}

.color {
  background-color: #f8a100;
}

/* Animační efekty pro loader */
.animation-effect-light {
  animation: light 1.5s infinite;
}

.animation-effect-light-d {
  animation: light 1.5s infinite 0.5s;
}

.animation-effect-rot {
  animation: rotation 2s infinite;
}

.animation-effect-scale {
  animation: scale 1s infinite;
}

@keyframes light {
  0% { opacity: 0.3; }
  50% { opacity: 1; }
  100% { opacity: 0.3; }
}

@keyframes rotation {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes scale {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* Detail hry - hlavní obsah */
.game-detail {
  padding-top: 100px;
  padding-bottom: 50px;
}

.game-detail-header {
  text-align: center;
  margin-bottom: 2rem;
}

.game-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.game-meta span {
  background-color: #f0f0f0;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 500;
  font-size: 0.9rem;
}

.difficulty {
  color: #e67e22;
}

.duration {
  color: #3498db;
}

.players {
  color: #2ecc71;
}

/* GALERIE - Nový styl */
.game-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  margin-bottom: 3rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  height: 250px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}

.gallery-modal.active {
  display: flex;
}

.modal-image {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

/* Obsah v dvou sloupcích */
.two-column-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.two-column-content > div {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.two-column-content h2 {
  margin-top: 0;
  color: #807300;
}

.two-column-content ul {
  margin-left: 0;
}

.two-column-content li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 0.5rem;
  list-style-type: none;
}


.game-detail-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.spec-item {
  background-color: #fff;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: center;
}

.spec-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.spec-icon {
  font-size: 2rem;
  margin-right: 1rem;
}

.spec-content h3 {
  margin: 0 0 0.3rem 0;
  font-size: 1.1rem;
}

.spec-content p {
  margin: 0;
  font-size: 1rem;
  opacity: 0.8;
}


.game-detail-cta {
  justify-content: center;
  justify-items: center;
  box-shadow: 0px 10px 7px -3px rgba(0,0,0,0.2);
  color: #fff;
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  margin-bottom: 3rem;
}

.game-detail-cta h2 {
  color: #aa9900;
  margin-top: 0;
}

.game-detail-cta p {
  color: #aa9900;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}



.game-detail-testimonials {
  margin-bottom: 3rem;
}

.testimonial-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  box-shadow: 0px 10px 7px -3px rgba(0,0,0,0.2);
  border-radius: 10px;
  padding: 1.5rem;
}

.stars {
  color: #f8a100;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.testimonial-author {
  margin-top: 1rem;
  font-weight: 600;
  opacity: 0.8;
  text-align: right;
}

.game-detail-nav {
  margin-bottom: 2rem;
}

.game-nav-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.game-nav-button {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  display: block;
  color: #333;
}

.game-nav-button:hover {
  transform: translateY(-5px);
}

.game-nav-button img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.game-nav-button span {
  display: block;
  padding: 1rem;
  text-align: center;
  font-weight: 600;
}


/* Jednoduchý bezbarevný styl pro formulář */
form {
    max-width: 500px;
    margin: 0 auto;
}

form p {
    margin-bottom: 20px;
}

form label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
}

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form input[type="date"],
form input[type="number"],
form textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

form input:focus,
form textarea:focus {
    outline: none;
    border-color: #666;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

form textarea {
    resize: vertical;
    min-height: 100px;
}

form input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}


.game-detail-nav {
  margin-bottom: 2rem;
}

.game-nav-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.game-nav-button {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  display: block;
  color: #333;
}

.game-nav-button:hover {
  transform: translateY(-5px);
}

.game-nav-button img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.game-nav-button span {
  display: block;
  padding: 1rem;
  text-align: center;
  font-weight: 600;
}


/* Footer */
footer {
  background-color: #1a1a1a;
  color: #fff;
  padding: 3rem 0;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #f8a100;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.social-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #f8a100;
}

.copyright {
  text-align: center;
  opacity: 0.7;
  margin-bottom: 0.5rem;
}

.by {
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.5;
}

.by a {
  color: #f8a100;
}

/* Responsivní design */
@media (max-width: 992px) {
  .two-column-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .game-gallery {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  
  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #1a1a1a;
    flex-direction: column;
    text-align: center;
    padding: 1rem 0;
  }
  
  nav ul.show {
    display: flex;
  }
  
  nav ul li {
    margin: 0.5rem 0;
  }
  
  .game-meta {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
  
  .spec-item {
    flex-direction: column;
    text-align: center;
  }
  
  .spec-icon {
    margin-right: 0;
    margin-bottom: 0.5rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .game-detail {
    padding-top: 80px;
  }
}

@media (max-width: 576px) {
  .container {
    width: 95%;
  }
  
  .testimonial-cards {
    grid-template-columns: 1fr;
  }
  
  .game-nav-buttons {
    grid-template-columns: 1fr;
  }
  
  .game-gallery {
    grid-template-columns: 1fr;
  }
}
