@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

:root {
  --primary-color: #151f28;
  --primary-color-light: #151f28;
  --primary-color-extra-light: #35373b;
  --secondary-color: #4ef4c8;
  --secondary-color-dark: #4ef4c8;
  --text-light: #d1d5db;
  --white: #ffffff;
  --max-width: 1200px;
}

p {
  color: white;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: white;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  overflow-x: hidden;
}

.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;
  font-size: 1rem;
  color: var(--white);
  background-color: var(--secondary-color);
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
  border: var(--secondary-color) 2px solid;
}

.btn-2 {
  padding: 1rem 2rem;
  outline: none;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
  border: var(--secondary-color) 2px solid;
  color: white;
}

.btn-2:hover {
  background-color: var(--secondary-color);
}

.actionbuttons {
  gap: 1rem;
  display: flex;
  margin-top: 100px;
}

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;
  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: static;
  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);
}
.adamrykalaheader {
  font-size: 3rem;
}


.header__content p {
  margin-bottom: 2rem;
  color: var(--text-light);
}

.header__image {
  display: flex; /* Flexbox kontejner */
  justify-content: center; /* Horizontální zarovnání na střed */
  align-items: center; /* Vertikální zarovnání na střed */
}

.title {
  font-size: 30px;
  margin-bottom: 50px;
  color: var(--secondary-color);
  margin-top: 30px;
  text-transform: uppercase;
}

.mainfoto {
  border-radius: 15px;
  width: 70%;
}

.class__image .class__img-1 {
  max-width: 340px; /* Maximální šířka obrázku */
  width: 100%; /* Obrázek se přizpůsobí šířce rodiče */
  height: auto; /* Automaticky upraví výšku pro zachování poměru stran */
  border-radius: 10px; /* Zaoblené rohy */
  object-fit: cover; /* Pokud má obrázek pevnou velikost rodiče */
}


.class__image .class__img-2 {
  max-width: 360px; /* Maximální šířka obrázku */
  width: 90%; /* Obrázek se přizpůsobí šířce rodiče */
  height: auto; /* Automaticky upraví výšku pro zachování poměru stran */
  object-fit: cover; /* Pokud má obrázek pevnou velikost rodiče */
  padding-bottom: 64px;
}


.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(auto-fit, minmax(170px, 1fr));
  gap: 2rem;
}

.explore__card {
  padding: 1rem;
  background-color: var(--primary-color-light);
  border: 2px solid var(--secondary-color);
  border-radius: 10px;
  transition: 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: auto;
  height: 190px;
}

.explore__card.active {
  background-color: var(--secondary-color);
}

.text-box h2 {
  color: var(--secondary-color);
  padding-bottom: 25px;
}

.text-box h4 {
  color: var(--secondary-color);
  text-align: justify;
}

.text-box p {
  font-size: 17px;
  padding-bottom: 25px;
  line-height: 30px;
  text-align: justify;
}

.text-box {
  padding-top: 40px;
}

.explore__card :active {
  color: #00d1b2;
  background-color: #ccc;
}

.explore__card:hover:not(.active) {
  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;
}

.telefon {
  border: #00bfa3 2px solid;
  border-radius: 5px;
  padding: 10px;
  transition: all ease 0.5s;
  height: auto;
  display: block;
}

.btn:hover {
  background: none;
}

.telefon:hover {
  border: #00bfa3 2px solid;
  background-color: var(--secondary-color);
}

.explore__grid 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 {
  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: 3rem;
}

.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: white);
  text-align: justify;
  line-height: 30px;
  font-size: 17px;
}

.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);
}

/* Kontejner s obrázkem */
.poradci {
  display: flex; /* Použití Flexboxu */
  justify-content: center; /* Horizontální zarovnání */
  align-items: center; /* Vertikální zarovnání */
  background-color: #151f28; /* Barva pozadí (volitelné) */
  padding: 10px; /* Přidání mezery uvnitř kontejneru */
  box-sizing: border-box; /* Zahrnutí paddingu do celkové šířky/ výšky */
  padding-top: 75px;
  border-radius: 10px;
}

/* Styl obrázku */
.poradci img {
  max-width: 100%; /* Obrázek nebude přesahovat šířku obrazovky */
  height: auto; /* Zachování poměru stran obrázku */
  border-radius: 10px; /* Zaoblení rohů (volitelné) */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5); /* Stín obrázku (volitelné) */
}

/* Responzivita pro mobilní zařízení */
@media (max-width: 768px) {
  .poradci img {
    max-width: 90%; /* Menší šířka obrázku na mobilu */
  }
}

.pricing-table {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 0rem 5rem 0rem;
  border-radius: 10px;
}

.adresa a {
  color: var(--secondary-color);
}

.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;
}

.stat-number {
  vertical-align: top;
}

.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);
}

.kancelare {
  display: flex;
  justify-content: space-around;
}

.statistics-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 sloupců */
  gap: 20px; /* Mezera mezi statistickými bloky */
  justify-content: center;
  align-items: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background-color: #1e1e1e; /* Barva pozadí */
  color: white;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  height: 250px; /* Stejná výška pro všechny statistiky */
  width: 100%; /* Šířka přizpůsobí velikosti buňky */
  text-align: center;
}

.statistics-grid .stat-item strong {
  font-size: 2rem; /* Zvýraznění čísel */
  color: #00d1b2; /* Akcentní barva */
  margin-bottom: 10px;
}

.statistics-grid .stat-item p {
  font-size: 1.2rem;
  margin: 0;
}

.nabor {
  line-height: 30px;
  font-size: 17px;
  text-align: justify;
}


.content-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  padding: 2rem;
  margin-bottom: 2rem;
  border: 2px solid var(--secondary-color);
  margin: 1rem;
  color: white;
  text-align: center;
  width: 350px;
  height: 350px;
}

.content-block i {
  font-size: 50px;
  color: var(--secondary-color);
}

.content-block h3 {
  font-size: 22px;
  padding-bottom: 15px;
}

.adresa {
  text-align: center;
  font-size: 22px;
  padding-top: 20px;
}



.statistics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 40px 0;
  text-align: center;
}

.stat-item {
  background-color: #1e1e1e;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.stat-item strong {
  display: block;
  font-size: 2rem; /* Zvýrazněná čísla */
  color: #00d1b2; /* Akcentní barva */
  margin-bottom: 10px;
}

.stat-item p {
  font-size: 1.2rem;
  color: #fff;
}

/* Základní stylování formuláře */
.styled-form {
  max-width: 500px;
  margin: 0 auto;
  padding: 20px;
  background-color: #f4f4f4;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.styled-form .form-group {
  margin-bottom: 20px;
}

.styled-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #333;
}

.styled-form input,
.styled-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  font-family: "Arial", sans-serif;
  transition: border-color 0.3s ease;
}

.styled-form input:focus,
.styled-form textarea:focus {
  border-color: #00d1b2; /* Barva při zaostření */
  outline: none;
}

/* Styl pro tlačítko odeslat (vzhled odkazu jako tlačítko) */
.submit-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #00d1b2;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-size: 18px;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background-color: #00bfa3; /* Barva při najetí */
  text-decoration: none;
}

/* Odsazení kolem formuláře pro čistý vzhled */
.styled-form input,
.styled-form textarea {
  margin-bottom: 15px;
}

.section-container {
  display: grid;
    grid-template-columns: repeat(3, 1fr); /* Dva sloupce v sekci */
    gap: 15px;
  }

.footer__socials {
  display: none;
}


/*OPTIMALIZACE NA TELEFON/TABLE */

/* Optimalizace pro tablety (max-width: 1024px) */
@media (max-width: 1024px) {
  .section-container {
    display: grid;
      grid-template-columns: repeat(2, 1fr); /* Dva sloupce v sekci */
      gap: 15px;
      justify-content: center; /* Horizontální zarovnání celé mřížky */
      align-content: center; /* Vertikální zarovnání celé mřížky */
      height: 100vh; /* Výška kontejneru na celou obrazovku */
      place-items: center; /* Horizontální i vertikální zarovnání jednotlivých položek */
    }

    .nav__links  {
      display: grid;
      grid-template-columns: repeat(4, 1fr); /* Dva odkazy na řádek */
    }

    .statistics-grid {
      grid-template-columns: repeat(3, 1fr)
    }

    .header__container {
      padding-left: 16px;
    }

    .explore__card {
      padding: 0rem;
      width: 165px;
    height: 165px;
    }

    .telefon {
      height: auto;
      display: block;
    }
}

/* Optimalizace pro malé telefony (max-width: 480px) */

@media (max-width: 480px) {
  .section-container {
    display: grid;
      grid-template-columns: repeat(1, 1fr); /* Dva sloupce v sekci */
      gap: 15px;
      justify-content: center; /* Horizontální zarovnání celé mřížky */
      align-content: center; /* Vertikální zarovnání celé mřížky */
      height: auto; /* Výška kontejneru na celou obrazovku */
      place-items: center; /* Horizontální i vertikální zarovnání jednotlivých položek */
    }

  .statistics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr)
  }

    .explore__grid {
      margin-top: 4rem;
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 2rem;
  }

  .header__container {
    position: static;
    padding-top: 2rem;
    display: flex;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 2rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .nav__links {
    display: none;
  }

    #o-mne {
      display: grid;
      grid-template-columns: repeat(1, 1fr); /* Dva sloupce */
      gap: 10px;
    }

    .class__container div:nth-child(1) { order: 2; } /* Přesun na třetí místo */
    .class__container div:nth-child(2) { order: 1; } /* Přesun na první místo */
    .class__container div:nth-child(3) { order: 3; } /* Přesun na čtvrté místo */
    .class__container div:nth-child(4) { order: 4; } /* Přesun na druhé místo */
    .class__container div:nth-child(5) { order: 6; } /* Přesun na sedmé místo */
    .class__container div:nth-child(6) { order: 5; } /* Přesun na páté místo */
    .class__container div:nth-child(7) { order: 7; } /* Přesun na šesté místo */
    .class__container div:nth-child(8) { order: 8; } /* Přesun na osmé místo */
    
    .kancelare {
      display: flex; 
      flex-direction: column;
      gap: 20px;
    }

    .kontaktlink {
      text-align: center;
      display: flex;
      flex-direction: column;
      gap: 100px;
  }

  .header__content h1 {
    margin-bottom: 1rem;
    font-size: 4rem; 
    font-weight: 700; 
    line-height: 1.1;
    color: var(--white);
    overflow: hidden;
  }

  .actionbuttons {
    justify-content: center;
  }
}
@media (max-width: 480px) {
  .explore__grid {
      margin-top: 4rem;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: 15px;
      justify-items: center;
  }


  .content-block {
    width: 300px;
    height: 300px;
}

.statistics-grid .stat-item p {
  font-size: 1rem;
  margin: 0;
}

.statistics-grid .stat-item strong {
  font-size: 20px;
  color: #00d1b2;
  margin-bottom: 10px;
}


  .explore__card {
    padding: 1rem;
    background-color: var(--primary-color-light);
    border: 2px solid var(--secondary-color);
    border-radius: 10px;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 140px;
    height: 140px;
}

.explore__grid span {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: var(--white);
  background-color: var(--secondary-color-dark);
  border-radius: 5px;
}

.explore__card h4 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
}

.stat-item {
  background-color: #1e1e1e;
  padding: 0px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  height: 155px;
  width: auto;
}

.statistics-grid .stat-item strong {
  font-size: 25px;
  color: #00d1b2;
  margin-bottom: 10px;
}

}