/*Loading*/
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #101311; 
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.6s ease;
}

#preloader.fade-out {
  opacity: 0;
  pointer-events: none;
}

.loader-wrapper {
  text-align: center;
}

.logo {
  width: 50px;
  height: 50px;
  margin-bottom: 1.5rem;
  fill: #b5ebb9;
}

.spinning {
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(720deg); }
}

.loading-bar {
  width: 200px;
  height: 6px;
  background-color: #2c322d;
  border-radius: 10px;
  overflow: hidden;
  margin: 0 auto;
}

.loading-progress {
  width: 0;
  height: 100%;
  background-color: #b5ebb9;
  animation: load 2.5s ease-out forwards;
}

@keyframes load {
  0% { width: 0; }
  100% { width: 100%; }
}

@font-face {
  font-family: 'Advert';
  src: url('asset/font/Advert.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html{
  margin: 0;
  padding: 0;
  width: 100%;
}


html, body {
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40"><circle cx="12" cy="12" r="8" fill="%231d5e43"/></svg>') 12 12, auto;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  background-color: #eef3e9;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-align: center;
  overflow-x: hidden;
  font-size: 1rem;
  overflow-x: hidden;
}

.custom-container, .container-fluid {
  overflow-x: hidden;
}


.navbar-brand img {
  height: 40px;
}

.nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #1d5e43;
  font-weight: 500;
  font-family: 'Times New Roman', Times, serif;
  transition: color 0.3s ease;
  font-size: 1.3rem;
}



.custom-container{
  padding: 0 2rem 0 2rem;
}

.nav-link:hover {
  color: #2c322d;
}

.konzultace-button {
  background-color: #1d5e43;
  color: #eef3e9 !important;
  padding: 0.2rem 0.8rem;
  border-radius: 2rem;
  align-items: center;
  transition: background-color 0.3s ease;
  margin-right: 10px;
}


.konzultace-button:hover {
  background-color: #163e31;
}

.nav-link:hover .arrow-circle {
  background-color: #163e31;
   transform: rotate(90deg);
}




.arrow-circle {
  width: 40px;
  height: 40px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background-color: #1d5e43;
  border-radius: 50%;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.arrow-circle svg {
  display: block;
}


    #hero {
      margin-top: 70px;
      width: 100%;
      height: 45vw;
      background-color: transparent;
      position: relative;
      overflow-x: hidden;
      overflow: hidden;
      max-width: 100%;
      transform: translateY(-90px);
    }

    svg {
      width: 100%;
      height: 100%;
      display: block;
      
    }

    svg, image {
  max-width: 100%;
  display: block;
}



.navbar {
  padding: 0;
}


.features {
  padding-bottom: 100px;
  z-index: 0;
  background: radial-gradient(circle at center -50%, rgba(26, 78, 57, 1) 0%, rgba(16, 19, 17, 1) 70%);
}

.fnadpis {
  padding: 6vh 0 0 0 ;
  color: #b5ebb9;
}


.fnadpis h1 {
  display: inline-block;
  padding: 10px 30px;
  border: 1px solid #b5ebb9;
  border-radius: 4px; 
  background-color: #2c322d6b;
  box-shadow: 0 0 10px rgba(0, 255, 100, 0.1);
  font-size: large;
}


.fbox {
  background-color: transparent;
  border: 1px solid #1d5e43;
  padding: 3rem;
  margin: 1.5vh;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 
    0 10px 20px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transform: perspective(1000px) rotateX(1deg);
  transition: 1s ease;
  max-width: 700px; 
  width: 100%;
}

.fbox:hover{
background-color: #10131175;
transform: translateY(-10px);
}



.fimg {
  width: 100%;
  max-width: 100%;
  
}

.fimg img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
  object-fit: cover;
}

.ftext {
  text-align: left;
  padding: 2vw 2vw 0 2vw;
  color: #eef3e9;
  flex-grow: 1;
   text-align: left;
  color: #eef3e9;
  flex-grow: 1;
  word-wrap: break-word;
}

.ftext h1 {
  color: #b5ebb9;
  margin-bottom: 0.75rem;
}

/*Courses*/
.courses {
  padding: 50px 20px 150px 20px;
  color: #b5ebb9;
}

.row.text-center.mb-5 {
  justify-content: center;
}

.section-title {
 display: inline-block;
  padding: 10px 30px;
  border-radius: 4px; 
 background: radial-gradient(circle at center, rgba(26, 78, 57, 1) 0%, rgba(16, 19, 17, 1) 70%);
  box-shadow: 0 0 10px rgba(0, 255, 100, 0.1);
  font-size: large;
  width: 15vh;
  border: solid 2px #163e31;
}

.cnadpis{
  font-family: 'Times New Roman', Times, serif;
}


.course-box {
  background: radial-gradient(circle at center 50%, rgba(26, 78, 57, 1) 0%, rgba(16, 19, 17, 1) 70%);
  border: 1px solid #1d5e43;
  border-radius: 15px;
  padding: 40px;
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.course-box:hover {
  transform: translateY(-5px);
}

.course-img {
  width: 100%;
  height: 300px;
  object-fit: contain;
  border-radius: 10px;
  margin-bottom: 20px;
}

.course-title {
  font-size: 1.5rem;
  color: #b5ebb9;
  margin-bottom: 10px;
}

.course-heading{
  color: #1d5e43;
  font-weight: 650;
  font-size: 300%;
  margin-bottom: 20px;
  margin-top: 30px;
}
.course-heading-text{
  color: #9b9c9b;
  font-size: 130%;
  font-weight: 450;
  margin-bottom: 50px;
}

.course-description {
  color: #9b9c9b;
  font-size: 1rem;
  margin-bottom: 20px;
  font-weight: 400;
  text-align: left;
}

.course-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo{
margin-top: 150px;
}

.course-description-title{
  font-weight: 500;
}

.course-price{
  font-size: x-large;
}

.course-price-text{
  font-size: small;
  color: #9b9c9b;
}

.course-price {
  font-size: 1.2rem;
  font-weight: bold;
  color: #b5ebb9;
}

.buy-btn {
  background-color: #1d5e43;
  border: solid 1px transparent;
  padding: 10px 20px;
  width: 150px;
  color: #fff;
  border-radius: 8px;
  transition:  0.5s ease;
}

.buy-btn:hover {
  background-color: #2c322d;
  border: solid 1px #b5ebb9;
}



/*Booking*/

.form-control{
  background-color: #1e1f1d;
  border: none;
  color: #b5ebb9;
}

.consultation-section {
      width: 100vw;
      padding: 80px 5vw;
        background: radial-gradient(circle at center -50%, rgba(26, 78, 57, 1) 0%, rgba(16, 19, 17, 1) 70%);
    }

    
.bnadpis{
  padding: 0 0 5vh 0;
  color: #b5ebb9;
}

.bnadpis h1{
   display: inline-block;
  padding: 10px 30px;
  border: 1px solid #b5ebb9;
  border-radius: 4px; 
  background-color: #2c322d75;
  box-shadow: 0 0 10px rgba(0, 255, 100, 0.1);
  font-size: large;
}

.bpodnadpis{
  color: #b5ebb9;
  font-family: 'Times New Roman', Times, serif;
  font-size: 7vh;
}

    .bnadpis-text{
      color: #9b9c9b;
      margin-bottom: 70px;
    }


    .custom-calendar {
      background-color: #2a2f2b;
      border: 1px solid #1d5e43;
      box-shadow: 0 0 20px rgba(0, 255, 100, 0.05);
      border-radius: 10px;
      padding: 20px;
      user-select: none;
    }

    .custom-calendar h4 {
      margin-bottom: 1rem;
      text-align: center;
      color: #b5ebb9;
    }

    .calendar-grid {
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      gap: 10px;
    }

    .day-name {
      font-weight: bold;
      color: #b5ebb9;
      text-align: center;
    }

    .day {
      padding: 15px 0;
      background-color: #1e1f1d;
      border-radius: 5px;
      text-align: center;
      cursor: pointer;
      transition: background 0.3s ease, color 0.3s ease;
      color: #b5ebb9;
    }

    .day:hover {
      background-color: #1d5e43;
    }

    .day.selected {
      background-color: #b5ebb9;
      color: #101311;
      font-weight: bold;
    }

    form {
      background-color: #2a2f2b;
      padding: 20px;
      border-radius: 10px;
      box-shadow: 0 0 20px rgba(0, 255, 100, 0.05);
    }

    label {
      color: #b5ebb9;
    }

    input, textarea {
      background-color: #1e1f1d;
      border: 1px solid #1d5e43;
      color: #b5ebb9;
    }

    input:focus, textarea:focus {
      background-color: #162a20;
      border-color: #b5ebb9;
      outline: none;
    }

    button {
      border: none;
      color: #101311;
      font-weight: bold;
      transition: background 0.3s ease;
    }

/* Team */

.team{
  margin-top: 100px;
  margin-bottom: 50px;
  overflow: visible !important;
  height: auto !important;
}

.tnadpis {
  padding: 0 0 5vh 0;
  color: #b5ebb9;
}


.tnadpis h1 {
  display: inline-block;
  padding: 10px 30px;
  border: 1px solid #1d5e43;
  border-radius: 4px; 
  background: radial-gradient(circle at center -50%, rgba(26, 78, 57, 1) 0%, rgba(16, 19, 17, 1) 70%);
  box-shadow: 0 0 10px rgba(0, 255, 100, 0.1);
  font-size: large;
}

.tpodnadpis{
padding: 0 0 10vh 0;
color: #1d5e43;
}

.tpodnadpis h1{
  font-family: 'Times New Roman', Times, serif;
  font-size: 4rem;
  font-weight: 600;
}


.team-img-wrapper {
  max-width: 300px;
  margin: 20px auto;
  height: 300px;
  max-height: 300px;
  background-color: #1d5e43;
  position: relative;
  overflow: visible;
}

.team-img-wrapper:hover{
  transform: translateY(-10px);
}

.team-img-wrapper:hover ~ h1 {
  transform: translateY(-10px);
}

.team-img-wrapper:hover ~ p {
  transform: translateY(-10px);
}

.team-img-wrapper, h1, p{
  transition: 0.7s ease;
}



.team-img {
  position: absolute; 
  bottom: 0;     
  left: 0;
  right: 0;
  margin: 0 auto;  
  width: 100%;
  height: auto;
  object-fit: cover;
  

}


/* About Us */
.about-centered-section {
  color: #eef3e9;
  width: 100vw;
  overflow-x: hidden;
  padding: 100px 20px;
  background: radial-gradient(circle at center -50%, rgba(26, 78, 57, 1) 0%, rgba(16, 19, 17, 1) 70%);
}

.about-logo img {
  filter: drop-shadow(0 0 5px #3df58b50);
}

.about-heading {
  font-size: 2.5rem;
  font-weight: bold;
  color: #b5ebb9;
  margin-bottom: 1.5rem;
}

.about-description {
  font-size: 1.1rem;
  max-width: 700px;
  color: #9b9c9b;
  margin-bottom: 1rem;
}

.about-centered-section .btn-success {
  background-color: #b5ebb9;
  border: none;
  color: #101311;
  font-weight: bold;
  transition: background 0.3s ease;
}

.about-centered-section .btn-success:hover {
  background-color: #1d5e43;
}

/*Footer*/
.footer-section {
  background-color: #0f110f;
  color: #b5ebb9;
}

.footer-heading {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #1d5e43;
}

.footer-section a {
  color: #b5ebb9;
  text-decoration: none;
}

.footer-section a:hover {
  text-decoration: underline;
  color: #1d5e43;
}

.map-container iframe {
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 255, 100, 0.1);
}

/*Gallery*/
.gallery{
   background: radial-gradient(circle at center -50%, rgba(26, 78, 57, 1) 0%, rgba(16, 19, 17, 1) 70%);
   width: 100%;
   padding: 2.2vw 0 5vw 0  ;
}

.gnadpis {
  color: #b5ebb9;
  padding-bottom: 2vw;
}

.gpodnadpis{
display: inline-block;
  padding: 10px 30px;
  border: 1px solid #b5ebb9;
  border-radius: 4px; 
  background-color: #2c322d6b;
  box-shadow: 0 0 10px rgba(0, 255, 100, 0.1);
  font-size: large;
}

.gppodnadpis{
  color: #b5ebb9;
  font-family: 'Times New Roman', Times, serif;
}


 .gallery-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  overflow: hidden;
  
}

.gallery-viewport {
  overflow: hidden;
  flex-grow: 1;
  max-width: 90vw;
}

.gallery-track {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
  border-radius: 25px;
  flex-wrap: nowrap;
}

.gallery-image {
  width: calc((100% - 2rem) / 3);
  max-height: 300px;
  object-fit:cover;
  border-radius: 6px;
  margin-right: 1.2rem;
  box-shadow: 0 0 8px #2c322d;
  flex-shrink: 0;
}

.gallery-arrow {
  background-color: #1d5e43;
  border: none;
  color: #b5ebb9;
  font-size: 2rem;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  flex-shrink: 0;
}

.gallery-arrow:hover {
  background-color: #2c322d;
  color: #eef3e9;
}



/* References */

.references {
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef3e9; /* off-white background */
  margin: 0 auto;
  margin-top: 60px;
  margin-bottom: 60px;
}

.rnadpis {
  color: #b5ebb9;
  padding-top: 30px;
  padding-bottom: 30px;
}


.rnadpis .rpodnadpis {
  display: inline-block;
  padding: 10px 30px;
  border: 1px solid #1d5e43;
  border-radius: 4px; 
  background: radial-gradient(circle at center -50%, rgba(26, 78, 57, 1) 0%, rgba(16, 19, 17, 1) 70%);
  box-shadow: 0 0 10px rgba(0, 255, 100, 0.1);
  font-size: large;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.rnadpis h1{
  margin: 10px;
  font-family: 'Times New Roman', Times, serif;
}

.reference-stack {
  position: relative;
  width: 100%;
  max-width: 1000px;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reference-card {
  max-width: 1000px;
  width: 100%;
  height: 500px;
  background: #101311;
  border-radius: 16px;
  color: #eef3e9;
  overflow: hidden;
  display: flex;
  flex-direction: column;

  position: absolute;
  top: 0;
  left: 0;
  transition: top 0.3s ease, z-index 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.reference-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 40px;
  background: #2c322d;
  border-radius: 16px 16px 0 0;
}

.reference-icon {
  width: 2rem;
  color: #b5ebb9;
}

.reference-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #b5ebb9;
}

.separator {
  margin: 0;
  border: none;
}


.reference-card-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-grow: 1;
  padding: 32px 48px;
  flex-wrap: wrap;
}

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

.client-name {
  margin: 0 0 20px;
  font-weight: 700;
  font-size: 3rem;
  color: #b5ebb9;
}

.client-testimonial {
  margin: 0;
  font-style: italic;
  font-size: 1.2rem;
  color: #9b9c9b;
  line-height: 1.6;
}

.client-photo img {
  width: 20rem;
  height: 20rem;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(29, 94, 67, 0.8);
}


.star-rating {
  margin-top: 16px;
  font-size: 3rem;
  color: #b5ebb9;
  letter-spacing: 4px;
}

.reference-card:nth-child(2) {
  z-index: 1;
}
.reference-card:nth-child(3) {
  z-index: 0;
}

.reference-card:hover {
  transform: translateY(-10px);
}

.reference-card.active {
  z-index: 3;
  top: 0;
}



@media (max-width: 1600px) {
  .center-wrapper {
    gap: 4rem;
    font-size: 1.5rem;
     flex-direction: column;
    align-items: flex-start;
  }
  .nav-link {
    font-size: 1.5rem;
  }
   .custom-container {
    padding: 2rem 2rem 0rem 2rem;
  }

  .ftext{
    text-align: center;
  }

  #hero{
    transform: translateY(0px);
  }



}

@media (max-width: 768px) {
  .reference-card {
    height: auto;
  }

.references {
  margin-bottom: 100%;
}

  .reference-card-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
  }

  .client-text {
    max-width: 100%;
    text-align: center;
  }

.client-name {
  font-size: 8vw;
}

.client-testimonial {
  font-size: 3;
}

.client-photo img {
  width: 90%;
  height: 90%;
}
}

@media (max-width: 1200px) {
  .gallery-image {
    width: 100%;
    margin-right: 0;
  }
}

 @media (max-width: 768px) {
      .row > div {
        margin-bottom: 30px;
      }
    }