/* ==========================================================================
   IRON PULSE FITNESS - RESPONSIVE STYLESHEET
   Developed by Kushal Ghegadmal
   ========================================================================== */

/* Large Desktops & Laptops (<= 1360px) */
@media (max-width: 1360px) {
  .nav-menu {
    gap: 12px;
  }
  .nav-link {
    font-size: 0.8rem;
  }
  .brand-logo {
    font-size: 1.45rem;
  }
}

/* Laptops & Tablets (<= 1180px) */
@media (max-width: 1180px) {
  .section {
    padding: 80px 0;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: rgba(12, 14, 20, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid var(--border-subtle);
    flex-direction: column;
    align-items: flex-start;
    padding: 90px 28px 40px;
    gap: 16px;
    transition: right var(--transition-normal);
    z-index: 1000;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
    overflow-y: auto;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-item {
    width: 100%;
  }
  
  .nav-link {
    font-size: 1.05rem;
    display: block;
    width: 100%;
    padding: 8px 0;
  }
  
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(255, 255, 255, 0.04);
    border: none;
    box-shadow: none;
    padding-left: 16px;
    margin-top: 6px;
    border-radius: var(--radius-sm);
  }
  
  .nav-phone-btn {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  
  .hero-athlete-img {
    max-height: 520px;
  }
  
  .hero-ring-graphic {
    width: 400px;
    height: 400px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .gallery-grid-5plus5 {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
}

/* Tablets (<= 992px) */
@media (max-width: 992px) {
  
  .hero-section {
    padding-top: 120px;
    text-align: center;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .hero-content {
    margin-inline: auto;
  }
  
  .hero-subtitle {
    margin-inline: auto;
  }
  
  .hero-cta-group {
    justify-content: center;
  }
  
  .hero-stats-row {
    justify-content: center;
    gap: 24px;
  }
  
  .hero-athlete-img {
    max-height: 480px;
  }

  .calc-card-wrapper {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 32px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  /* Review carousel on tablets: 2 cards */
  .review-card {
    flex: 0 0 calc((100% - 24px) / 2);
    min-width: calc((100% - 24px) / 2);
  }

  /* Gallery on tablets: 3 columns */
  .gallery-grid-5plus5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile Devices (<= 768px) */
@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-badge-float {
    display: none;
  }
  
  .hero-glow-circle {
    width: 280px;
    height: 280px;
  }
  
  .hero-ring-graphic {
    width: 300px;
    height: 300px;
  }
  
  .hero-ring-graphic-inner {
    width: 240px;
    height: 240px;
  }

  .calc-row-2 {
    grid-template-columns: 1fr;
  }
  
  .pricing-card.featured {
    transform: none;
  }
  
  .pricing-card.featured:hover {
    transform: translateY(-8px);
  }

  /* Review carousel on mobile: 1 card */
  .review-card {
    flex: 0 0 100%;
    min-width: 100%;
    padding: 24px;
  }

  /* Gallery on mobile: 2 columns */
  .gallery-grid-5plus5 {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .floating-whatsapp-btn {
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
    bottom: 20px;
    right: 20px;
  }

  .back-to-top-btn {
    bottom: 80px;
    right: 23px;
    width: 40px;
    height: 40px;
  }
}

/* Small Mobiles (<= 480px) */
@media (max-width: 480px) {
  .container {
    padding-inline: 16px;
  }
  
  .hero-title {
    font-size: 2.3rem;
  }
  
  .btn {
    width: 100%;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-stats-row {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .equipment-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  
  .stat-card {
    padding: 20px 14px;
  }
  
  .stat-number {
    font-size: 2.4rem;
  }

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