/* ==========================================================================
   BEST CLEANING - RESPONSIVE MEDIA QUERIES
   ========================================================================== */

/* --------------------------------------------------------------------------
   LARGE DESKTOPS & ULTRA WIDE (1440px, 1600px, 1920px)
   -------------------------------------------------------------------------- */
@media (min-width: 1440px) {
  .hero-content h1 {
    font-size: 3.8rem;
  }
}

/* --------------------------------------------------------------------------
   LAPTOPS & SMALL DESKTOPS (1200px - 1399px)
   -------------------------------------------------------------------------- */
@media (max-width: 1366px) {
  .container {
    max-width: 1200px;
  }
  .hero-content h1 {
    font-size: 3.2rem;
  }
  .process-grid::before {
    display: none;
  }
}

@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
  
  .nav-menu {
    gap: 20px;
  }
  
  .nav-link {
    font-size: 0.9rem;
  }
  
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  
  .hero-content h1 {
    font-size: 2.75rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  
  .counters-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 32px;
  }
}

/* --------------------------------------------------------------------------
   TABLETS & SMALL LAPTOPS (992px - 1199px)
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .container {
    max-width: 720px;
  }
  
  .section-padding {
    padding: 70px 0;
  }
  
  .section-title {
    font-size: 2.25rem;
  }
  
  /* Navigation */
  .desktop-menu {
    display: none;
  }
  
  .mobile-toggle-btn {
    display: flex;
  }
  
  .top-contact-bar {
    display: none; /* Hide top bar on tablet/mobile for clutter-free header */
  }
  
  /* Hero Section */
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }
  
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-ratings {
    justify-content: center;
  }
  
  .hero-img-main {
    height: 450px;
  }
  
  .floating-card-1 {
    left: 10px;
  }
  
  .floating-card-2 {
    right: 10px;
  }
  
  /* Process Section */
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .calc-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  
  .pricing-card.popular {
    transform: none;
  }
  
  .pricing-card.popular:hover {
    transform: translateY(-8px);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  
  .cta-banner {
    padding: 50px 30px;
  }
  
  .cta-banner h2 {
    font-size: 2.25rem;
  }
}

/* --------------------------------------------------------------------------
   PORTRAIT TABLETS & LARGE PHONES (768px - 991px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .container {
    max-width: 540px;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-content h1 {
    font-size: 2.25rem;
  }
  
  .hero-stats-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  
  .hero-stat-num {
    font-size: 1.4rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .why-us-grid {
    grid-template-columns: 1fr;
  }
  
  .counters-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 24px;
  }
  
  .counter-num {
    font-size: 2.25rem;
  }
  
  .testimonial-slide {
    padding: 32px 24px;
  }
  
  .testimonial-text {
    font-size: 1.05rem;
  }
  
  .timeline-grid::before {
    left: 20px;
  }
  
  .timeline-item, .timeline-item:nth-child(even) {
    flex-direction: row;
    justify-content: flex-start;
  }
  
  .timeline-year {
    left: 20px;
    transform: none;
  }
  
  .timeline-content {
    width: calc(100% - 60px);
    margin-left: 60px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  .calculator-section {
    padding: 32px 20px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   SMALL MOBILE DEVICES (320px - 576px)
   -------------------------------------------------------------------------- */
@media (max-width: 576px) {
  .container {
    padding: 0 16px;
  }
  
  .announcement-bar {
    font-size: 0.78rem;
    padding: 8px 30px 8px 12px;
  }
  
  .nav-container {
    height: 78px;
  }
  
  .logo {
    font-size: 1.25rem;
    gap: 8px;
  }
  
  .logo-icon,
  .logo-img {
    height: 56px;
    max-height: 56px;
  }

  .header-actions {
    gap: 8px;
  }

  .search-trigger-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .mobile-toggle-btn {
    width: 40px;
    height: 40px;
    font-size: 1.15rem;
  }

  .header-book-btn {
    padding: 8px 14px;
    font-size: 0.8rem;
  }
  
  .hero-section {
    padding: 40px 0 60px 0;
  }
  
  .hero-content h1 {
    font-size: 1.85rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .btn {
    width: 100%;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }
  
  .hero-stats-row {
    grid-template-columns: 1fr;
  }
  
  .hero-img-main {
    height: 320px;
  }
  
  .floating-card {
    padding: 10px 14px;
  }
  
  .floating-card-1 {
    top: 10px;
    left: 5px;
  }
  
  .floating-card-2 {
    bottom: 20px;
    right: 5px;
  }
  
  .floating-card-3 {
    display: none; /* Hide 3rd floating card on small screens */
  }
  
  .fc-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-banner h2 {
    font-size: 1.75rem;
  }
  
  .booking-card {
    padding: 24px 18px;
  }
  
  .inner-hero-section h1 {
    font-size: 2.1rem;
  }
  
  .calc-options-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .header-btn-text {
    display: none;
  }
  .header-book-btn {
    padding: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    justify-content: center;
  }
  .header-book-btn i {
    margin: 0;
    font-size: 0.95rem;
  }
}

/* Extremely Small Phones (320px - 390px) */
@media (max-width: 390px) {
  .header-book-btn {
    display: none; /* Hide header book button on ultra narrow screens so logo, search, and menu button fit generously */
  }
  .hero-content h1 {
    font-size: 1.65rem;
  }
  .section-title {
    font-size: 1.6rem;
  }
  .tab-btn {
    padding: 10px 16px;
    font-size: 0.85rem;
  }
}
