﻿
@media (max-width: 1300px) {
  .goal-hero {
    background-position-y: -50px;
  }
}

@media (max-width: 1250px) {
  .pushups-section {
    padding: 120px 0 40px;
  }

    .pushups-section::before {
      top: 20px;
      width: 150%;
      height: 130px;
    }

  .pushups-image img {
    display: block;
    width: 100%;
    max-width: 50vw;
    border-radius: 16px;
  }
}

@media (max-width: 1024px) {
  .goal-card {
    left: 40px;
    max-width: 420px;
  }

    .goal-card h2 {
      font-size: 41px;
    }

  .goal-features-inner {
    margin-top: -100px;
  }

  .hero-text h1 {
    margin-top: 0px;
  }

  .footer {
    padding: 40px 0 20px;
  }

  .footer-content {
    width: 50%;
  }

  .footer-image {
    width: 55%;
  }

  .footer-bottom {
    font-size: 12px;
    max-width: 55%;
  }
}

@media (max-width: 980px) {
  .hero {
    padding: 60px 0 0;
  }

  .pushups-section {
    padding: 120px 0 40px;
  }

    .pushups-section::before {
      top: 20px;
      width: 150%;
      height: 130px;
    }

  .pushups-content h2 {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .pushups-image img {
    display: block;
    width: 100%;
    max-width: 50vw;
    border-radius: 16px;
  }

  .stats-section {
    padding: 50px 0 60px;
  }

  .stats-cards {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 20px;
  }

  .stat-card {
    background: #fff;
    padding: 20px 15px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  }

  .stat-value {
    font-size: 36px;
    font-weight: 600;
    color: #000;
    margin-bottom: 8px;
  }

  .stat-label {
    font-size: 16px;
  }

  .video-left h2 {
    font-size: 30px;
  }
}

@media (max-width: 900px) {
  .reviews-grid {
    grid-template-columns: repeat(2,1fr);
  }

  .goal-features-inner {
    gap: 15px;
  }
}

@media (max-width: 850px) {
  .pushups-container {
    gap: 25px;
  }

  .pushups-image img {
    max-width: 45vw;
    border-radius: 6px;
  }

  .goal-card h2 {
    font-size: 36px;
  }

  .reviews-head h2 {
    margin-top: 0px;
    margin-bottom: 0px;
  }

  .footer-section h4 {
    font-size: 18px;
  }

  .footer-list a, .footer-links a {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  /* skryjeme klasické menu + tlačítko */
  .main-nav,
  .btn-signin {
    display: none;
  }
  /* ukaž burger */
  .burger {
    display: flex;
  }

  .hero {
    padding: 10px;
  }

  .hero-text, .hero-image {
    max-width: 100%;
  }

    .hero-text h1 {
      font-size: 36px;
    }

    .hero-text p {
      margin-bottom: 24px;
    }

    .hero-image img {
      max-width: 75%;
      width: 100%;
    }

  .pushups-section {
    padding: 120px 0 40px;
  }

    .pushups-section::before {
      top: 0;
      width: 150%;
      height: 100px;
    }

  .pushups-image img {
    max-width: 90vw;
    border-radius: 16px;
  }

  .pushups-container {
    flex-direction: column;
    text-align: center;
    gap: 0px;
  }

  .pushups-content h2 {
    font-size: 28px;
    margin-bottom: 16px;
  }

  .stats-section {
    padding: 30px 0 0;
  }

  .stats-cards {
    grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
    gap: 10px;
  }

  .stat-card {
    background: #fff;
    padding: 20px 15px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  }

  .stat-value {
    font-size: 28px;
    font-weight: 600;
    color: #000;
    margin-bottom: 8px;
  }

  .stat-label {
    font-size: 12px;
  }
}

@media (max-width: 760px) {
  .goal-card {
    left: 30px;
    max-width: 300px;
    padding: 20px 25px;
  }

    .goal-card h2 {
      margin-top: 10px;
    }

  .goal-features-inner {
    width: 98%;
    gap: 10px;
    margin-top: -200px;
    grid-template-columns: repeat(2,1fr);
  }
}

@media (max-width: 640px) {
  .hero-inner {
    gap: 0px;
  }

  .hero-text h1 {
    margin-top: 50px;
    font-size: 32px;
  }

  .hero-image img {
    max-width: 85%;
  }

  .goal-hero {
    min-height: 90vh;
    background-position-y: 0px;
    background-position-x: right;
  }

  .goal-card {
    position: absolute;
    margin: 0px auto 0;
    max-width: 80%;
  }

  .goal-features {
    padding-top: 40px;
  }

  /* z gridu se stane horizontální slider */
  .goal-features-inner {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding: 10px 16px 18px;
    margin-top: -50px;
  }

    .goal-features-inner::-webkit-scrollbar {
      display: none;
    }

  .goal-features-inner {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .feature-card {
    flex: 0 0 88%; /* šířka karty ~ celý viewport s malými okraji */
    scroll-snap-align: center;
    margin: 0 auto;
    border-radius: 18px;
    box-shadow: 0 14px 28px rgba(0,0,0,.18);
  }

    /* zarovnání obsahu karty pro vzhled jako ve vzoru */
    .feature-card .icon {
      margin: 8px auto 6px;
      text-align: center;
    }

    .feature-card h3, .feature-card p {
      text-align: center;
    }

    .feature-card h3 {
      font-size: 24px;
    }

    .feature-card p {
      font-size: 18px;
    }

    .feature-card .icon svg {
      width: 70px;
      height: 70px;
    }

  /* tečky zviditelnit */
  .goal-dots {
    display: flex;
  }

  .video-inner{
    display: block;
  }

  .video-left{
    text-align: center;
  }

  .social-list{
    justify-content:center;
  }

  .video-br {
    display: none;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .contact-wrap {
    max-width: 80%;
    grid-template-columns: 1fr;
    padding: 20px 30px;
    background: linear-gradient(90deg, #25b423 0%, #7bdc6e 75%, #c8f0c5 100%);
  }

  .contact-left {
    text-align: center;
  }

  .contact-list li {
    justify-content: center;
  }

  .footer-content{
    width: 80%;
  }

  .footer-image {
    width: 100%;
    background: linear-gradient(90deg, rgba(17,17,17,1) 0%, rgba(17,17,17,0.85) 20%, rgba(17,17,17,0.7) 40%, rgba(17,17,17,0.6) 65%, rgba(17,17,17,0.5) 90%), url("/images/challengeItBg.jpg") top right / cover no-repeat
  }

  .footer-bottom{
    max-width: 100%;
  }

  .coaching-photo img{
    width:240px;
  }
}

@media (max-width: 450px) {
  .hero-text h1{
    font-size: 24px
  }

  .hero-text p {
    font-size: 14px;
  }

  .btn-hero {
    font-size: 14px;
    padding: 10px 24px;
  }

  .pushups-content h2{
    font-size: 24px;
  }

  .goal-hero {
    min-height: 90vh;
    background-position-y: 0px;
    background-position-x: -550px;
  }

  .goal-card {
    position: absolute;
    margin: 0px auto 0;
    top: 60px;
    left: 15px;
  }

    .goal-card h2{
      font-size: 24px;
    }

  .goal-features-inner {
    margin-top: -120px;
  }

  .video-section{
    padding: 100px 0 130px;
  }

  .reviews-head h2{
    font-size: 28px;
  }
}
