/* ============================================
   Maid Magic - Responsive Styles
   ============================================ */

/* --- Small mobile (max 399px) --- */
@media (max-width: 399px) {
  .hero-heading {
    font-size: 1.6rem;
  }

  .hero-subheading {
    font-size: 0.9rem;
    padding: 0 0.5rem;
  }

  .hero-buttons .btn-lg {
    padding: 10px 24px;
    font-size: 0.85rem;
    width: 100%;
  }

  h2 {
    font-size: 1.5rem;
  }

  .nav-logo img {
    height: 40px;
  }

  .testimonial-text {
    font-size: 0.85rem;
  }

  .footer-logo {
    height: 70px;
  }
}

/* --- Mobile (max 575px) --- */
@media (max-width: 575px) {
  .hero-section {
    min-height: auto;
    padding: 100px 0 60px;
  }

  .hero-heading {
    font-size: 1.75rem;
    line-height: 1.25;
  }

  .hero-subheading {
    font-size: 0.95rem;
    padding: 0 0.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
  }

  .hero-sparkle {
    margin-bottom: 1rem;
  }

  .hero-sparkle i {
    font-size: 1.75rem;
  }

  .hero-buttons {
    margin-bottom: 1.5rem;
  }

  .hero-buttons .btn-lg {
    padding: 12px 28px;
    font-size: 0.9rem;
  }

  .hero-scroll-indicator {
    margin-top: 0.5rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  .py-6 {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .section-subtitle {
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
  }

  .section-description {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }

  /* Navbar */
  .nav-logo img {
    height: 45px;
  }

  .mm-navbar {
    padding: 6px 0;
    max-width: 100vw;
    overflow: hidden;
  }

  .nav-mobile-right {
    gap: 10px;
  }

  .hamburger {
    font-size: 1.3rem;
    padding: 6px 10px;
    min-width: 40px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Mobile Sidebar — tighter padding on small phones */
  .sidebar-header {
    padding: 14px 16px;
  }

  .sidebar-logo {
    height: 44px;
    max-width: 60%;
    object-fit: contain;
  }

  .sidebar-close {
    font-size: 1.25rem;
    min-width: 36px;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .sidebar-links {
    padding: 12px 14px;
  }

  .sidebar-links li a {
    padding: 10px 12px;
    font-size: 0.95rem;
  }

  /* Service cards */
  .service-card,
  .why-card {
    padding: 1.5rem 1.25rem;
  }

  /* About */
  .about-image-wrapper img {
    max-height: 250px;
  }

  .about-image-placeholder {
    height: 220px;
  }

  .about-stat-number {
    font-size: 1.35rem;
  }

  .about-stat-label {
    font-size: 0.65rem;
  }

  .about-stat i {
    font-size: 1rem;
  }

  /* Testimonials */
  .testimonial-card {
    padding: 1.5rem;
  }

  .testimonial-text {
    font-size: 0.88rem;
    line-height: 1.6;
  }

  .testimonial-quote-mark {
    font-size: 2.25rem;
    margin-bottom: 0.25rem;
  }

  /* CTA */
  .cta-heading {
    font-size: 1.4rem;
  }

  .cta-text {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }

  .cta-section .btn-magic {
    padding: 12px 30px;
    font-size: 0.9rem;
  }

  /* Contact */
  .contact-form-card,
  .contact-info-card {
    padding: 1.25rem;
  }

  .contact-form-card h4,
  .contact-info-card h4 {
    font-size: 1.1rem;
  }

  /* Footer */
  .site-footer {
    padding: 2.5rem 0 1.5rem;
  }

  .footer-logo {
    height: 80px;
  }

  .footer-tagline {
    font-size: 0.85rem;
  }

  .footer-heading {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .footer-links li a,
  .footer-contact li {
    font-size: 0.88rem;
  }

  /* Row bottom margins tighter */
  .row .mb-5 {
    margin-bottom: 1.5rem !important;
  }

  .row .mb-4 {
    margin-bottom: 1rem !important;
  }
}

/* --- Small tablet / mobile (max 767px) --- */
@media (max-width: 767px) {
  html {
    scroll-padding-top: 65px;
  }

  .mm-navbar {
    padding: 8px 0;
  }

  /* Sidebar: narrower on phones so it doesn't cover the full screen */
  .sidebar {
    width: 260px;
  }

  .hero-heading {
    font-size: 2rem;
  }

  .hero-subheading {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .nav-logo img {
    height: 50px;
  }

  .py-6 {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .footer-logo {
    height: 100px;
  }
}

/* --- Tablet portrait (768px - 991px) --- */
@media (min-width: 768px) and (max-width: 991px) {
  .nav-links {
    gap: 1rem;
  }

  .nav-links li a {
    font-size: 0.85rem;
  }

  .nav-logo img {
    height: 60px;
  }
}

/* --- Tablet and up (min 768px) --- */
@media (min-width: 768px) {
  .hero-heading {
    font-size: 3rem;
  }
}

/* --- Desktop (min 992px) --- */
@media (min-width: 992px) {
  .hero-heading {
    font-size: 3.5rem;
  }

  .hero-subheading {
    font-size: 1.2rem;
  }
}
