﻿@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600&display=swap');

html, body {
  overflow-x: hidden; /* safety net */
}

html {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
}

body{
  margin: 0;
}

a {
  text-decoration: none;
}

/* Globální kontejner pro centerování a maximální šířku */
.container {
  width: 90%; /* odsazení z obou stran – můžeš upravit např. na 85 % nebo 95 % */
  max-width: 1200px; /* maximální šířka obsahu */
  margin: 0 auto; /* srovná vodorovně na střed */
  padding: 0 1rem; /* lehké vnitřní odsazení na malé obrazovky */
}

/* HEADER */
.site-header {
  background-color: #fff;
  height: 80px;
  display: flex;
  align-items: center;
}

.header-inner {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between; /* logo / .header-right */
}

.header-right {
  display: flex;
  align-items: center;
  gap: 48px; /* vzdálenost mezi navigací a tlačítkem */
}

/* logo + text */
.logo {
  display: flex;
  align-items: center;
}

  .logo img {
    height: 48px;
  }

.site-title {
  margin-left: 12px;
  font-size: 32px;
  font-weight: 600;
  color: #000;
}

/* navigace */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 48px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: #000;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

  .main-nav a:hover {
    color: #38C01B;
  }

/* tlačítko */
.btn-signin {
  background-color: #38C01B;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 32px;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: background-color 0.2s, box-shadow 0.2s;
}

  .btn-signin:hover {
    background-color: #2ea217;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  }

.burger,
.mobile-nav {
  display: none;
}

/* základ pro burger ikonu */
.burger {
  background: #38C01B;
  border: none;
  padding: 12px;
  border-radius: 8px;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

  .burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
  }

/* mobilní menu styly */
.mobile-nav {
  background: #F2F2F2;
  position: absolute;
  top: 90px; /* pod header */
  right: 0;
  width: 100%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 9999;
}

  .mobile-nav ul {
    list-style: none;
    margin: 0;
    padding: 16px;
  }

  .mobile-nav li + li {
    margin-top: 12px;
  }

  .mobile-nav a {
    color: #000;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
  }

.btn-mobile-signin {
  display: inline-block;
  width: 100%;
  background: #38C01B;
  color: #fff !important;
  padding: 12px 0;
  text-align: center;
  border-radius: 12px;
}

/* HERO STYLES */
.hero-text,
.hero-image {
  opacity: 0;
}

.hero {
  padding: 80px 0 0;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-text {
  flex: 1;
  max-width: 500px;
  animation: slideInLeft 0.8s ease-out forwards;
}

  .hero-text h1 {
    font-size: 48px;
    font-weight: 600;
    line-height: 1.2;
    color: #000;
    margin-bottom: 24px;
  }

  .hero-text p {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: #666;
    margin-bottom: 32px;
  }

.btn-hero {
  display: inline-block;
  background-color: #38C01B;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 32px;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: background-color 0.2s, box-shadow 0.2s;
}

  .btn-hero:hover {
    background-color: #2ea217;
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  }

.hero-image {
  flex: 1;
  text-align: right;
  animation: slideInRight 0.8s ease-out forwards;
  animation-delay: 0.2s; /* obrazek začne o 0.2s později */
}

  .hero-image img {
    max-height: 80vh;
    max-width: 40vw;
    height: auto;
    display: inline-block;
  }

/* 1) Definice keyframes */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* STATISTIC STYLES */
/* kontejner a skew efekt */
.pushups-section {
  position: relative;
  background: #F2F2F2;
  padding: 150px 0 40px;
  overflow: hidden;
}

  .pushups-section::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 0;
    width: 150%;
    height: 150px;
    background: #fff;
    transform: skewy(4deg);
    transform-origin: right;
  }

/* layout obsahu */
.pushups-container {
  width: 90%;
  max-width: 1250px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

/* obrázek s zaoblenými rohy */
.pushups-image img {
  display: block;
  width: 100%;
  max-width: 60vw;
  border-radius: 16px;
}

/* text a tlačítko */
.pushups-content {
  flex: 1;
  min-width: 280px;
}

  .pushups-content h2 {
    font-family: 'Roboto', sans-serif;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.2;
    color: #000;
    margin-bottom: 20px;
  }

  .pushups-content .btn-primary {
    display: inline-block;
    background-color: #38C01B;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 32px;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: background-color 0.2s, box-shadow 0.2s;
  }

    .pushups-content .btn-primary:hover {
      background-color: #2ea217;
      box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    }

.stats-section {
  position: relative;
  background: #F2F2F2;
  padding: 100px 0 60px;
  overflow: hidden;
}

  /* naklopená horní hranice */
  .stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 150%;
    height: 80px;
    background: #fff;
    transform: translateY(-100%) rotate(-3deg);
    transform-origin: top left;
  }

/* vnitřní container stejně jako jinde */
.stats-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* karty */
.stats-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.stat-card {
  background: #fff;
  padding: 30px 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.stat-value {
  font-size: 48px;
  font-weight: 600;
  color: #000;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 16px;
  color: #555;
}

/* GOAL SECTION */
/* ----- horní část s velkým obrázkem ----- */
.goal-section {
  position: relative;
  background: #F2F2F2;
}

.goal-hero {
  position: relative;
  min-height: 85vh;
  background: url('/images/challengeItBg.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position-x: center;
  background-position-y: -100px;
}

/* karta vlevo nahoře */
.goal-card {
  position: absolute;
  top: 80px;
  left: 160px;
  max-width: 520px;
  background: #fff;
  padding: 28px 32px;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
}

  .goal-card h2 {
    font-size: 46px;
    line-height: 1.2;
    font-weight: 700;
    color: #111;
    margin-bottom: 12px;
  }

  .goal-card p {
    color: #6b6b6b;
    margin-bottom: 18px;
  }

  .goal-card .btn-primary {
    display: inline-block;
    background: #38C01B;
    color: #fff;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 6px 14px rgba(0,0,0,.12);
  }

/* ----- spodní šedá plocha se 4 kartami ----- */
.goal-features {
  padding: 80px 0 60px;
  position: relative;
  margin: -150px 0 0
}

.goal-features-inner {
  width: 90%;
  max-width: 1200px;
  margin: -60px auto 0; /* přesah karet do fotky */
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Tečky */
.goal-dots {
  display: none; /* defaultně skryté, zobrazíme až na mobilu */
  gap: 8px;
  justify-content: center;
  margin-top: 12px;
}

  .goal-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cfcfcf;
    border: 0;
    padding: 0;
    cursor: pointer;
  }

    .goal-dots .dot.is-active {
      background: #2EBB27;
    }

.feature-card {
  background: #fff;
  border-radius: 16px;
  padding: 22px 18px;
  box-shadow: 0 8px 22px rgba(0,0,0,.08);
}

  .feature-card .icon {
    color: #2EBB27; /* zelená ikony */
    margin-bottom: 10px;
  }

    .feature-card .icon svg {
      width: 42px;
      height: 42px;
    }

  /* typografie karet */
  .feature-card h3 {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 8px;
    color: #111;
  }

  .feature-card p {
    color: #6b6b6b;
    font-size: 14px;
    line-height: 1.6;
  }

/* SECTION BACKGROUND + šikmé okraje */
.video-section {
  position: relative;
  background: #fff;
  padding: 150px 0;
  overflow: hidden;
}

  .video-section::before,
  .video-section::after {
    content: "";
    position: absolute;
    /*left: -5%;*/
    width: 110%;
    height: 75px;
    background: #F2F2F2;
    transform: rotate(-2deg);
    z-index: 0;
  }

  .video-section::before {
    top: -35px;
  }

  .video-section::after {
    bottom: -35px;
    transform: rotate(2deg);
  }

/* LAYOUT */
.video-inner {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  align-items: center;
  gap: 48px;
}

.video-left h2 {
  font-weight: 800;
  font-size: 36px;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #111;
}

.video-left p {
  color: #6b6b6b;
  margin-bottom: 16px;
}

.social-list {
  list-style: none;
  margin: 12px 0 10px;
  padding: 0;
  display: grid;
  gap: 8px;
}

  .social-list li {
    display: flex;
    align-items: center;
    gap: 10px;
  }

    .social-list li a {
      display: flex;
      align-items: center;
      gap: 8px;
      color: #111;
      font-weight: 500;
      text-decoration: none;
    }

      .social-list li a:hover {
        opacity: 0.85;
      }

  .social-list a {
    text-decoration: none;
    color: #111;
    font-weight: 500;
  }

  .social-list .icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }

.social-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* VIDEO CARD */
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0,0,0,.18);
  background: #000;
}

  .video-frame iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
    border-radius: 16px;
  }

/* REVIEWS */
.reviews-section {
  background: rgb(242,242,242);
  padding: 40px 0 120px;
}

.reviews-inner {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.reviews-head h2 {
  font-weight: 800;
  font-size: 32px;
  color: #111;
}

.reviews-head p {
  color: #757575;
  margin: 6px 0 24px;
}

/* grid karet */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}

.review-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
  padding: 20px;
}

.review-top {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.avatar {
  width: 93px;
  height: 93px;
  border-radius: 50%;
  background: #e9e9e9;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

  .avatar img {
    width: calc(100% - 2px);
    height: calc(100% - 2px);
    border-radius: 50%;
    object-fit: cover;
  }

.meta .name {
  font-size: 21px;
  font-weight: 700;
  color: #111;
}

.meta .role {
  font-size: 14px;
  color: #8a8a8a;
  margin-bottom: 4px;
  margin-left: 6px;
}

.stars {
  display: flex;
  gap: 4px;
}

.star {
  width: 24px;
  height: 24px;
  fill: #FFC107;
}

.review-text {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  margin-top: 6px;
}

/* CONTACT SECTION */
.contact-section {
  padding: 100px 0;
}

.contact-wrap {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  background: linear-gradient(90deg, #25b423 0%, #7bdc6e 55%, #c8f0c5 100%);
  border-radius: 16px;
  padding: 50px 36px;
  display: grid;
  grid-template-columns: 1.05fr 1.2fr;
  gap: 28px;
  box-shadow: 0 12px 26px rgba(0,0,0,.12);
}

/* LEFT */
.contact-left {
  color: #fff;
  padding: 12px 6px 12px 12px;
}

  .contact-left h2 {
    font-size: 46px;
    font-weight: 800;
    margin-bottom: 20px;
    margin-top: 10px;
  }

  .contact-left p {
    opacity: .95;
    margin-bottom: 16px;
    font-size: 18px;
  }

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

  .contact-list li {
    background: #fff;
    color: #1d1d1d;
    border-radius: 8px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 6px 14px rgba(0,0,0,.12);
  }

  .contact-list a {
    color: #1d1d1d;
    text-decoration: none;
    font-weight: 500;
  }

/* simple icons */
.icon-circle {
  width: 30px;
  height: 30px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

  .icon-circle img {
    width: 60%;
    height: 60%;
    object-fit: contain;
  }

/* RIGHT (form) */
.contact-right {
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-form {
  width: 100%;
  background: #fff;
  border-radius: 10px;
  padding: 32px 28px;
  box-shadow: 0 10px 20px rgba(0,0,0,.12);
}

  .contact-form .row {
    margin-bottom: 12px;
  }

  .contact-form input,
  .contact-form textarea {
    width: 95%;
    border: 1.5px solid #90d596;
    border-radius: 8px;
    padding: 10px 12px;
    outline: none;
    font: inherit;
  }

    .contact-form input:focus,
    .contact-form textarea:focus {
      border-color: #2dbb27;
      box-shadow: 0 0 0 3px rgba(45,187,39,.15);
    }

.btn-submit {
  background: #2dbb27;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 15px 40px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(0,0,0,.12);
}

  .btn-submit:hover {
    background: #249a20;
  }

/* FOOTER */
.footer {
  position: relative;
  background: #111;
  color: #fff;
  padding: 40px 60px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  z-index: 2;
  width: 40%;
  margin-left: 50px;
}

.footer-logo {
  color: #3dbf3d;
  font-size: 32px;
  font-weight: bold;
  margin: 0px;
}

.footer-section h4 {
  font-size: 21px;
  margin: 20px 0 10px;
}

.footer-list,
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

  .footer-list li,
  .footer-links li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
  }

  .footer-list a,
  .footer-links a {
    color: #fff;
    text-decoration: none;
  }

    .footer-list a:hover,
    .footer-links a:hover {
      text-decoration: underline;
    }

.icon-circle2 {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

  .icon-circle2 img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

.footer-bottom {
  font-size: 14px;
  margin-top: 30px;
  z-index: 2;
  max-width: 50%;
  text-align: center
}

  .footer-bottom a {
    color: #3dbf3d;
    text-decoration: none;
  }

.footer-image {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(17,17,17,1) 0%, rgba(17,17,17,0.85) 15%, rgba(17,17,17,0.6) 30%, rgba(17,17,17,0.35) 45%, rgba(17,17,17,0.15) 60%, rgba(17,17,17,0) 75% ), url("/images/challengeItBg.jpg") top right / cover no-repeat;
}

/* FAQ sekce */
.faq-section {
  background: #F2F2F2;
  padding: 50px 0;
}

.faq-inner {
  width: 90%;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

  .faq-inner h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #111;
  }

  .faq-inner p {
    color: #555;
    margin-bottom: 30px;
  }

/* FAQ list */
.faq-list {
  display: grid;
  gap: 16px;
  text-align: left;
}

.faq-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: box-shadow .2s;
}

  .faq-item:hover {
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
  }

/* Otázka */
.faq-question {
  width: 100%;
  padding: 16px 20px;
  background: none;
  border: none;
  outline: none;
  font: inherit;
  font-weight: 600;
  font-size: 18px;
  color: #111;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-icon {
  font-size: 20px;
  color: #2EBB27;
  transition: transform .3s;
}

/* Odpověď */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  color: #444;
  transition: max-height .35s ease, padding .35s ease;
}

  .faq-answer p {
    margin: 12px 0 16px;
    font-size: 15px;
    line-height: 1.6;
  }

/* Aktivní stav */
.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 20px 16px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* COACHING */
.coaching-section {
  background: #F2F2F2;
  padding: 50px 0;
}

.coaching-wrap {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 14px 28px rgba(0,0,0,.12);
  padding: 28px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 28px;
}

.badge {
  display: inline-block;
  background: rgba(46,187,39,.1);
  color: #2EBB27;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 8px;
  font-size: 12px;
}

.coaching-text h2 {
  font-size: 32px;
  font-weight: 800;
  color: #111;
  margin: 6px 0 10px;
}

.coaching-text p {
  color: #555;
  margin-bottom: 18px;
  line-height: 1.6;
}

.btn-coach {
  display: inline-block;
  background: #2EBB27;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 12px 22px;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
  transition: transform .08s ease, box-shadow .2s ease, background .2s ease;
}

  .btn-coach:hover {
    background: #239a20;
    box-shadow: 0 10px 22px rgba(0,0,0,.16);
    transform: translateY(-1px);
  }

/* foto v kruhu se stínem (může být i obdélník – stačí zrušit border-radius:50%) */
.coaching-photo {
  display: flex;
  justify-content: center;
}

  .coaching-photo img {
    width: 320px;
    max-width: 100%;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 14px 30px rgba(0,0,0,.18);
    object-fit: cover;
  }

/* Responsivita */
@media (max-width: 860px) {
  .coaching-wrap {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 22px;
  }

  .coaching-photo {
    order: -1;
    margin-bottom: 10px;
  }

  .coaching-text h2 {
    font-size: 28px;
  }
}
