@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

:root {
  --primary-color: #111317;
  --primary-color-light: #1f2125;
  --primary-color-extra-light: #35373b;
  --secondary-color: #40e0d0;
  --secondary-color-dark: #40e0d0;
  --text-light: #d1d5db;
  --white: #ffffff;
  --max-width: 1200px;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 5rem 1rem;
}

.section__header {
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-size: 2.25rem;
  font-weight: 600;
  text-align: center;
  color: var(--secondary-color);
}

.section__subheader {
  max-width: 600px;
  margin: auto;
  text-align: center;
  color: var(--text-light);
  margin-bottom: 50px;
}

.btn {
  padding: 1rem 2rem;
  outline: none;
  border: none;
  font-size: 1rem;
  color: var(--white);
  background-color: var(--secondary-color);
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.btn:hover {
  background-color: var(--secondary-color-dark);
}

img {
  width: 100%;
  display: flex;
}

a {
  text-decoration: none;
}

.bg__blur {
  position: absolute;
  box-shadow: 0 0 1000px 50px var(--secondary-color);
  z-index: -1;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--primary-color);
}

nav {
  max-width: var(--max-width);
  margin: auto;
  padding: 2rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav__logo {
  max-width: 150px;
}

.nav__links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 3rem;
}

/* Skrytí hamburgeru na větších obrazovkách */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
  z-index: 1000;
}

.hamburger span {
  background-color: var(--white);
  height: 3px;
  width: 25px;
  margin-bottom: 4px;
  transition: 0.3s;
}

.link a {
  position: relative;
  padding-bottom: 0.75rem;
  color: var(--white);
}

.link a::after {
  content: "";
  position: absolute;
  height: 2px;
  width: 0;
  left: 0;
  bottom: 0;
  background-color: var(--secondary-color);
  transition: 0.3s;
}

.link a:hover::after {
  width: 50%;
}

.header__container {
  position: relative;
  padding-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 2rem;
}

.header__blur {
  bottom: 5rem;
  right: 0;
}

.header__content h4 {
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--secondary-color);
}

.header__content h1 {
  margin-bottom: 1rem;
  font-size: 4rem;
  font-weight: 700;
  line-height: 6rem;
  color: var(--white);
}
.fitnesstrener {
  font-size: 3rem;
}

.header__content h1 span {
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px var(--white);
}

.header__content p {
  margin-bottom: 2rem;
  color: var(--text-light);
}

.header__image {
  position: relative;
}

.header__image img {
  max-width: 460px;
  margin: auto;
}

.explore__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.explore__nav span {
  padding: 0 6px;
  font-size: 1.5rem;
  color: var(--white);
  border: 2px solid var(--white);
  border-radius: 100%;
  cursor: pointer;
  transition: 0.3s;
}

.explore__nav span:hover {
  color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.explore__grid {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.explore__card {
  padding: 1rem;
  background-color: var(--primary-color-light);
  border: 2px solid transparent;
  border-radius: 10px;
  transition: 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: auto;
  height: 190px;
}

.explore__card:hover {
  background-color: var(--primary-color-extra-light);
  border-color: var(--secondary-color);
  box-shadow: #40e0d0 0px 0px 10px 0px;
}

.explore__card span {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 1rem;
  font-size: 1.75rem;
  color: var(--white);
  background-color: var(--secondary-color-dark);
  border-radius: 5px;
}

.explore__card span object {
  width: 1.75rem;
}

.explore__card h4 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
}

.explore__card p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

.explore__card a {
  color: var(--white);
  transition: 0.3s;
}

.explore__card a:hover {
  color: var(--secondary-color);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Čtyři sloupce v mřížce */
  gap: 15px; /* Mezera mezi fotkami */
}

.gallery img {
  width: 100%;
  height: 310px; /* Pevná výška obrázku */
  object-fit: cover; /* Ořízne obrázek tak, aby vyplnil celý prostor buňky */
  display: block;
  border-radius: 10px;
}

.promenygallery-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  max-width: 600px;
  margin: auto;
}

.promenygallery {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.promeny-item {
  min-width: 100%;
  box-sizing: border-box;
}

.promeny-item img {
  width: 100%;
  height: auto;
  display: block;
}

.promeny-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.promeny-nav span {
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
}

.class__container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.class__image {
  display: flex;
  justify-content: center;
}

.class__image .class__img-1 {
  max-width: 340px;
  border-radius: 10px;
}

.class__content {
  padding: 2rem 0;
}

.class__content .section__header {
  text-align: left;
  max-width: 450px;
  color: var(--secondary-color);
}

.class__content p {
  margin-bottom: 4rem;
  color: var(--text-light);
  text-align: justify;
}

.join__card span {
  padding: 5px 12px;
  font-size: 1.75rem;
  color: var(--white);
  background-color: var(--secondary-color-dark);
  border-radius: 5px;
}

.join__card h4 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--white);
}

.join__card p {
  color: var(--text-light);
}

.pricing-table {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 0rem 5rem 0rem;
  border-radius: 10px;
}

.pricing-table table {
  width: 100%;
  border-collapse: collapse;
}

.pricing-table td {
  padding: 1rem;
  color: var(--white);
  border: 1px solid var(--primary-color-extra-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pricing-table .price {
  margin-left: auto;
  font-weight: bold;
  color: var(--secondary-color);
  white-space: nowrap;
}

.price {
  text-align: center;
}

.pricing-table tr:nth-child(odd) {
  background-color: var(--primary-color);
}

.pricing-table tr:nth-child(even) {
  background-color: var(--primary-color-light);
}

.review {
  background-color: var(--primary-color-light);
}

.review__container {
  display: flex;
}

.review__container > span {
  font-size: 6rem;
  color: var(--secondary-color);
  opacity: 0.5;
}

.review__content {
  flex: 1;
}

.review__content h4 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
}

.review__content p {
  margin-bottom: 2rem;
  color: var(--text-light);
  min-height: 150px;
  max-height: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  overflow-y: auto;
}

.review__rating span {
  font-size: 1.5rem;
  color: var(--secondary-color);
}

.review__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: absolute;
}

.review__member {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  align-items: center;
}

.review__member span {
  color: var(--secondary-color);
}

.review__member i {
  font-size: 40px;
}

.review__member__details h4 {
  margin-bottom: 0;
}

.review__nav {
  display: flex;
  gap: 2rem;
  justify-content: flex-end;
}

.review__nav span {
  font-size: 2rem;
  color: var(--secondary-color);
  cursor: pointer;
}

.review__item {
  display: none;
}

.kontakt {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.kontaktlink {
  text-align: center;
  display: flex;
  flex-direction: space-between;
  gap: 100px;
}

.kontaktlink p {
  color: white;
  font-size: 25px;
  margin-bottom: 10px;
  margin-top: 25px;
  display: flex;
  flex-direction: column;
}

.kontaktlink a {
  color: var(--secondary-color);
}

.kontaktlink a:hover {
  color: white;
  transition: ease 0.5s;
}

.footer__container {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.footer__blur {
  bottom: 0;
  right: 0;
}

.footer__logo {
  max-width: 150px;
  margin-bottom: 2rem;
}

.footer__col {
  display: flex;
  flex-direction: column;
  justify-items: center;
  align-items: center;
}

.footer__col p {
  margin-bottom: 2rem;
  color: var(--text-light);
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 50px;
}

.footer__socials a {
  padding: 5px 10px;
  font-size: 1.5rem;
  color: var(--secondary-color);
  border: 1px solid var(--secondary-color);
  border-radius: 100%;
  transition: 0.3s;
}

.footer__socials a:hover {
  color: var(--white);
  background-color: var(--secondary-color);
}

.footer__col h4 {
  margin-bottom: 2rem;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--white);
}

.footer__col > a {
  display: block;
  margin-bottom: 1rem;
  color: var(--text-light);
  transition: 0.3s;
}

.footer__col > a:hover {
  color: var(--secondary-color);
}

.footer__bar {
  max-width: var(--max-width);
  margin: auto;
  padding: 1rem;
  font-size: 0.8rem;
  color: var(--white);
}

/* Media Queries for responsiveness */

/* For tablets and smaller screens */
@media (max-width: 900px) {
  nav {
    flex-direction: column;
    gap: 1rem;
  }

  .nav__links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 10px;
    background-color: var(--primary-color);
    width: 200px;
    padding: 20px;
    border-radius: 5px;
    z-index: 999;
  }

  .nav__links.active {
    display: flex;
  }

  .hamburger {
    display: flex;
    z-index: 1000;
  }

  /* Transformace hamburgeru na X při otevření menu */
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .link {
    margin-bottom: 10px;
  }

  .link a {
    color: var(--white);
    text-decoration: none;
  }

  .link a:hover {
    color: var(--secondary-color);
  }

  .header__container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .header__content h1 {
    font-size: 2.5rem;
    line-height: 3.5rem;
  }

  .header__image::before {
    font-size: 20rem;
    line-height: 10rem;
  }

  .explore__header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .explore__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .class__container {
    grid-template-columns: 1fr;
  }

  .review__container {
    flex-direction: column;
    height: auto;
  }

  .footer__container {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer__bar {
    text-align: center;
  }
}

/* For mobile phones */
@media (max-width: 600px) {
  nav {
    padding: 1rem 0;
  }

  .price {
    font-size: 1rem;
  }

  .header__content h1 {
    font-size: 2rem;
    line-height: 2.5rem;
  }

  .header__image::before {
    font-size: 15rem;
    line-height: 7.5rem;
  }

  .explore__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .gallery {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .gallery img {
    height: 300px;
  }

  .pricing-table {
    padding: 1rem 0;
  }

  .review__footer {
    flex-direction: column;
    gap: 1rem;
  }

  .footer__col {
    align-items: center;
  }

  .footer__socials {
    justify-content: center;
  }

  .kontaktlink {
    flex-direction: column;
    gap: 50px;
  }

  .review__content {
    text-align: center;
  }

  .class__content .section__header {
    text-align: center;
  }
}
