/* ==========================================================================
   KANDELLO PERSONAL FITNESS TRAINER - RESPONSIVE STYLESHEET
   Mobile, Tablet & Large Screens Breakpoints
   ========================================================================== */

/* Large Tablets & Small Desktops (<= 1100px) */
@media (max-width: 1100px) {
  .hero-title {
    font-size: 3.6rem;
  }

  .trainers-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    gap: 20px;
  }

  .pricing-card {
    padding: 35px 24px;
  }

  .pricing-rate .amount {
    font-size: 3rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

/* Medium Tablets & Mobile Landscape (<= 992px) */
@media (max-width: 992px) {
  /* Navigation Menu */
  .mobile-nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    flex-direction: column;
    padding: 30px 24px;
    gap: 18px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s ease, opacity 0.35s ease;
    z-index: 999;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-menu a {
    font-size: 1.1rem;
    width: 100%;
    text-align: center;
    padding: 8px 0;
  }

  .nav-actions .btn-skew {
    display: none;
  }

  /* Hero Section */
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-title {
    font-size: 3.2rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-diagonal-bg {
    display: none;
  }

  .hero-visual-frame {
    max-width: 400px;
    height: 400px;
    margin: 0 auto;
  }

  /* Features Grid */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* About Section */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-visual {
    max-width: 500px;
    margin: 0 auto;
  }

  /* BMI Split Layout Stack */
  .bmi-split-grid {
    grid-template-columns: 1fr;
  }

  .bmi-left-yellow {
    clip-path: none;
    padding: 60px 30px;
  }

  .bmi-right-blue {
    padding: 60px 30px;
  }

  /* Pricing Grid */
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .pricing-card.featured {
    transform: none;
  }

  .pricing-card.featured:hover {
    transform: translateY(-6px);
  }

  /* Contact Grid */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Mobile Devices (<= 768px) */
@media (max-width: 768px) {
  /* Topbar */
  .topbar-left {
    display: none;
  }

  .topbar-content {
    justify-content: space-between;
    width: 100%;
  }

  /* Hero */
  .hero-section {
    padding: 60px 0 70px;
  }

  .hero-title {
    font-size: 2.6rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn-skew {
    width: 100%;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .hero-visual-frame {
    width: 290px;
    height: 310px;
  }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
  }

  /* About Grid Features */
  .about-features-grid {
    grid-template-columns: 1fr;
  }

  /* Timetable Mobile View */
  .schedule-day-tab {
    padding: 10px 14px;
    font-size: 0.78rem;
  }

  .timetable-card-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 18px 20px;
    clip-path: none;
    border-left: 4px solid var(--primary-blue);
  }

  .tt-coach {
    justify-content: flex-start;
  }

  /* BMI Form */
  .bmi-input-grid {
    grid-template-columns: 1fr;
  }

  .bmi-kettlebell-asset {
    display: none;
  }

  /* Trainers */
  .trainers-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .footer-legal-links {
    justify-content: center;
  }

  /* Back to Top */
  .back-to-top-btn {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
  }
}

/* Extra Small Phones (<= 480px) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .brand-logo img {
    height: 38px;
  }

  .contact-form-card {
    padding: 24px 18px;
  }
}
