/* General Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  color: #333;
  line-height: 1.6;
  background-color: #ececec; /* Updated background color */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Main Content */
main {
  flex: 1;
  padding-bottom: 20px;
}

/* Header Section */
header {
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

header h1 {
  font-size: 1.5rem;
  color: #007bff;
  margin: 0;
}

.logo {
  display: flex;
  align-items: center;
}

header .logo img {
  height: 60px;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
}

nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #007bff;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger .bar {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 4px 0;
  transition: 0.4s;
}

/* Desktop Styles */
@media (min-width: 769px) {
  .header-content {
    justify-content: space-between;
  }

  .header-left {
    order: 1;
  }

  .logo {
    order: 3;
  }

  nav {
    order: 2;
    margin: 0 auto;
  }
}

/* Mobile Styles */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
    order: 3;
  }

  .header-left {
    order: 1;
  }

  .logo {
    order: 2;
  }

  nav {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: none;
  }

  nav.active {
    display: block;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
    padding: 20px;
  }

  nav ul li a {
    font-size: 1rem;
  }

  .header-left {
    gap: 5px;
  }

  header .logo img {
    height: 50px;
  }
}

/* Hero Section */
.hero {
  position: relative;
  background-color: #ececec;
  color: #fff;
  text-align: center;
  padding: 150px 20px;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 40px;
}

.hero .btn {
  background-color: #ff6f61;
  color: #ffffff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.2rem;
  transition: background-color 0.3s ease;
}

.hero .btn:hover {
  background-color: #ff3122;
}

.intro-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  filter: brightness(0.5);
}

/* Services Section */
.services {
  padding: 80px 20px;
  text-align: center;
  background-color: #ececec;
}

.services h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #007bff;
}

.service-list {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.service-item {
  width: 30%;
  margin-bottom: 20px;
  padding: 20px;
  background-color: #ffffff; /* White background for bubbles */
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.service-item i {
  font-size: 2.5rem;
  color: #007bff;
  margin-bottom: 20px;
}

/* About Section */
.about {
  padding: 80px 20px;
  text-align: center;
  background-color: #ececec;
}

.about-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  background-color: #ffffff; /* White background for bubbles */
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 40px;
}

.about-text {
  width: 50%;
  text-align: left;
}

.about-text h2 {
  font-size: 2.5rem;
  color: #007bff;
  margin-bottom: 20px;
}

.about-image {
  width: 40%;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
}

/* Testimonials Section */
.testimonials {
  padding: 80px 20px;
  background-color: #ececec;
  text-align: center;
}

.testimonials h2 {
  font-size: 2.5rem;
  color: #007bff;
  margin-bottom: 40px;
}

.testimonial-list {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.testimonial-item {
  width: 30%;
  padding: 25px;
  background-color: #ffffff; /* White background for bubbles */
  gap: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.testimonial-item:hover {
  transform: translateY(-10px);
}

/* Contact Section */
.contact {
  padding: 80px 20px;
  text-align: center;
  background-color: #ececec;
}

.contact h2 {
  font-size: 2.5rem;
  color: #007bff;
  margin-bottom: 40px;
}

.contact-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.contact form {
  width: 50%;
}

.form-group {
  margin-bottom: 20px;
}

.contact input, .contact textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

.contact textarea {
  resize: vertical;
}

.contact button {
  background-color: #ff6f61;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact button:hover {
  background-color: #ff4a3d;
}

/* Workshop Bubble Fixed */
.workshop-bubble-fixed {
  position: fixed;
  top: 120px;
  right: 0px;
  width: 250px;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  z-index: 1000;
  transition: transform 0.3s ease;
}

.workshop-bubble-fixed.collapsed {
  transform: translateX(90%);
}

.workshop-bubble-fixed .toggle-arrow {
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 1.5rem;
  color: #007bff;
}

.workshop-bubble-fixed.collapsed .toggle-arrow {
  transform: translateY(-50%) rotate(180deg);
}

.workshop-bubble {
  width: 40%;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

/* Footer Section */
footer {
  background-color: #007bff;
  color: #fff;
  padding: 40px 20px;
  text-align: center;
}

.footer-content {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section {
  width: 30%;
  margin-bottom: 20px;
}

.footer-section h3 {
  margin-bottom: 20px;
}

.social-icons {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.social-icons a {
  color: #fff;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #ff6f61;
}

.footer-bottom {
  margin-top: 20px;
  font-size: 0.9rem;
}

/* Quiz Section */
.quiz {
  padding: 80px 20px;
  text-align: center;
  background-color: #ececec;
}

.quiz-content {
  max-width: 800px;
  margin: 0 auto;
}

.quiz h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #007bff;
}

.quiz p {
  font-size: 1.2rem;
  margin-bottom: 40px;
}

/* Workshop Details Section */
.workshop-details {
  padding: 80px 20px;
  text-align: center;
  background-color: #ffffff; /* White background for bubbles */
}

.workshop-details h2 {
  font-size: 2.5rem;
  color: #007bff;
  font-weight: bold;
  margin-bottom: 40px;
}

.workshop-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.workshop-text {
  width: 50%;
  text-align: left;
}

.workshop-text h3 {
  font-size: 1.8rem;
  color: #007bff;
  margin-bottom: 20px;
}

.workshop-text ul {
  list-style: none;
  padding: 0;
}

.workshop-text ul li {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.workshop-image {
  width: 40%;
}

.workshop-image img {
  width: 100%;
  border-radius: 10px;
}

/* Blog Section */
.blog {
  padding: 80px 20px;
  text-align: center;
  background-color: #ececec;
}

.blog-content {
  max-width: 800px;
  margin: 0 auto;
}

.blog h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #007bff;
}

.blog p {
  font-size: 1.2rem;
  margin-bottom: 40px;
}

/* Game Showcase Section */
.game-showcase {
  padding: 80px 20px;
  text-align: center;
  background-color: #ececec;
}

.game-showcase h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #007bff;
}

.slider {
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
  box-sizing: border-box;
}

.slide img {
  width: 100%;
  display: block;
  border-radius: 10px;
}

/* Bubble Styling */
.bubble {
  background-color: #ffffff; /* White background for bubbles */
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 40px;
  margin: 20px auto;
  max-width: 1200px;
}

/* Kontaktujte nás Button */
.kontaktujte-nas {
  text-align: center;
  margin-top: 20px;
}

/* Remove blue text overlay and default link styles */
a {
  color: inherit;
  text-decoration: none;
}

a:visited {
  color: inherit;
}

a:hover {
  color: #007bff;
  text-decoration: underline;
}

/* Style for the "Přihlásit se" button */
.btn {
  color: #007bff;
  font-weight: bold;
  text-decoration: none;
  padding: 10px 20px;
  border: 2px solid #007bff;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn:hover {
  background-color: #007bff;
  color: #fff;
}

/* Two different heights for the "Kontaktujte nás" button */
.btn-small {
  padding: 8px 16px;
  font-size: 0.9rem;
}

.btn-large {
  padding: 12px 24px;
  font-size: 1.1rem;
}

.btn-secondary {
  display: inline-block;
  margin-top: 8px;
  background-color: #f0f0f0;
  color: #333;
  border: 1px solid #ccc;
  text-align: center;
}

.btn-secondary:hover {
  background-color: #e6e6e6;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
    order: 3;
  }

  .header-left {
    order: 1;
  }

  .logo {
    order: 2;
  }

  nav {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: none;
  }

  nav.active {
    display: block;
  }

  nav ul {
    flex-direction: column;
    gap: 0; /* Remove gap between list items */
    padding: 0; /* Remove padding */
  }

  nav ul li {
    width: 100%; /* Make each <li> take up full width */
  }

  nav ul li a {
    font-size: 1rem;
    padding: 15px 20px; /* Add padding to make the entire area clickable */
    display: block; /* Make the <a> tag fill the entire <li> */
    width: 100%; /* Ensure the <a> tag takes up the full width */
    box-sizing: border-box; /* Include padding in the width calculation */
    transition: background-color 0.3s ease;
  }

  nav ul li a:hover {
    background-color: #f0f0f0; /* Add hover effect for better UX */
  }

  .header-left {
    gap: 5px;
  }

  header .logo img {
    height: 50px;
  }
}