/* ==========================================================================
   DEVI BEAUTY CARE - RESPONSIVE STYLES
   ========================================================================== */

/* Strict Global Horizontal Overflow Lock */
html, body {
  overflow-x: hidden !important;
  max-width: 100% !important;
  width: 100% !important;
  position: relative;
}

*, *::before, *::after {
  max-width: 100%;
}

/* --------------------------------------------------------------------------
   1. LAPTOPS & LARGE TABLETS (max-width: 1200px)
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 3.5rem;
  }
  
  .about-grid, .owner-grid, .contact-grid {
    gap: 40px;
  }

  .bridal-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .bridal-img-wrapper img {
    height: 380px;
  }
}

/* --------------------------------------------------------------------------
   2. TABLETS & SMALL LAPTOPS (max-width: 992px)
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  :root {
    --nav-height: 75px;
  }

  .section-padding {
    padding: 70px 0;
  }

  .nav-menu {
    display: none !important;
  }

  .hamburger-btn {
    display: flex !important;
  }

  .about-grid, .owner-grid, .contact-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-image-wrapper, .owner-image-box {
    max-width: 500px;
    margin: 0 auto 30px;
  }

  .about-badge-card {
    right: 10px;
    bottom: -20px;
    padding: 18px 24px;
  }

  .process-timeline {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .process-timeline::before {
    display: none;
  }

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

  .ba-slider-wrapper {
    height: 380px;
  }
}

/* --------------------------------------------------------------------------
   3. MOBILE PHONES (max-width: 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Header & Logo Mobile Clean 100% Fit */
  .navbar {
    padding: 0;
  }

  .brand-logo {
    gap: 8px;
    max-width: calc(100% - 50px);
  }

  .logo-icon-badge {
    width: 34px;
    height: 34px;
    font-size: 0.95rem;
    flex-shrink: 0;
  }

  .brand-title {
    font-size: 1.05rem !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
  }

  /* Hide large navbar CTA button on mobile so header is clean */
  .nav-cta .btn {
    display: none !important;
  }

  .nav-cta {
    gap: 0;
  }

  .hamburger-btn {
    width: 26px;
    height: 18px;
    flex-shrink: 0;
  }

  /* Hero Section Mobile Polish & 100% Fit */
  .hero {
    padding-top: calc(var(--nav-height) + 15px);
    padding-bottom: 50px;
    min-height: auto;
    overflow: hidden;
  }

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

  .hero-badge {
    font-size: 0.72rem;
    padding: 6px 12px;
    margin: 0 auto 16px;
    white-space: normal;
    text-align: center;
    max-width: 100%;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.25;
    margin-bottom: 16px;
    word-wrap: break-word;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 24px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-bottom: 20px;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Hide scroll down indicator on mobile to prevent overlap */
  .scroll-down-indicator {
    display: none !important;
  }

  /* Service Cards & Tabs Mobile Polish */
  .filter-tabs, .ba-selector-tabs {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    justify-content: flex-start !important;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    max-width: 100%;
  }

  .filter-tabs::-webkit-scrollbar, .ba-selector-tabs::-webkit-scrollbar {
    height: 3px;
  }

  .filter-tabs::-webkit-scrollbar-thumb, .ba-selector-tabs::-webkit-scrollbar-thumb {
    background: var(--gold-primary);
    border-radius: 4px;
  }

  .tab-btn, .ba-tab {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 8px 14px;
    font-size: 0.8rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card {
    padding: 18px;
    width: 100%;
  }

  .service-card-img-header {
    height: 170px;
  }

  /* Before / After Slider Mobile Polish */
  .ba-slider-wrapper {
    height: 300px;
    border-radius: 12px;
    width: 100%;
    max-width: 100%;
  }

  .ba-handle-circle {
    width: 34px;
    height: 34px;
    font-size: 0.8rem;
  }

  .ba-label {
    font-size: 0.68rem;
    padding: 3px 8px;
  }

  /* Section Spacing & Headings */
  .section-padding {
    padding: 50px 0;
  }

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

  .section-subtitle {
    font-size: 0.8rem;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .stat-card {
    padding: 16px 10px;
  }

  /* Bridal Banner */
  .bridal-card {
    padding: 24px 16px;
    width: 100%;
  }

  .bridal-content h2 {
    font-size: 1.65rem;
  }

  .bridal-img-wrapper img {
    height: 250px;
  }

  /* Testimonials & Footer */
  .testimonial-card {
    padding: 20px 16px;
  }

  .contact-info-card, .contact-form-card {
    padding: 20px 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .footer {
    padding: 45px 0 20px;
  }

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

  /* Floating Action Buttons */
  .floating-call {
    right: 72px;
    bottom: 16px;
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }

  .floating-whatsapp {
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
    font-size: 1.35rem;
  }
}

/* --------------------------------------------------------------------------
   4. SMALL MOBILE PHONES (max-width: 480px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .brand-title {
    font-size: 0.95rem !important;
  }

  .logo-icon-badge {
    width: 30px;
    height: 30px;
    font-size: 0.85rem;
  }

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

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

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

  .about-stats {
    grid-template-columns: 1fr;
  }

  .ba-slider-wrapper {
    height: 260px;
  }

  .mobile-drawer {
    width: 100%;
  }

  .mobile-nav-link {
    font-size: 1.05rem;
  }
}
