/* ==========================================================================
   LUXURY SOFA SERVICE SIALKOT — RESPONSIVE STYLESHEET
   Breakpoints: 1200px, 992px, 768px, 576px, 390px, 360px
   ========================================================================== */

/* Large Desktops (1440px - 1920px) */
@media (min-width: 1440px) {
  .hero-title {
    font-size: 4rem;
  }
}

/* Standard Desktops / Laptops (992px to 1200px) */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 3.2rem;
  }
  .grid-3 {
    gap: 24px;
  }
  .nav-menu {
    gap: 20px;
  }
}

/* Tablet Screens (769px to 991px) */
@media (max-width: 991px) {
  .section {
    padding: 65px 0;
  }

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

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

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

  /* Navigation Drawer for Tablet/Mobile */
  .hamburger-btn {
    display: block;
  }

  .nav-menu-wrapper {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: var(--color-white);
    box-shadow: -6px 0 24px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-menu-wrapper.active {
    right: 0;
  }

  .nav-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border-light);
  }

  .nav-menu-close {
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--color-charcoal-dark);
    cursor: pointer;
  }

  .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
  }

  .nav-link {
    font-size: 1.05rem;
    width: 100%;
    padding: 8px 0;
  }

  .nav-item-dropdown {
    width: 100%;
  }

  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--color-beige-light);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    margin-top: 8px;
    display: none;
  }

  .nav-item-dropdown.open .nav-dropdown-menu {
    display: block;
  }

  .header-actions {
    display: none;
  }

  .drawer-cta {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

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

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

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

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

/* Mobile Screens (576px to 768px) */
@media (max-width: 768px) {
  .section {
    padding: 55px 0;
  }

  .top-bar-inner {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }

  .top-bar-actions {
    justify-content: center;
  }

  .hero-luxury {
    padding: 70px 0 60px;
    min-height: auto;
  }

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

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

  .hero-desc {
    font-size: 1rem;
    margin-bottom: 28px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

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

  .grid-2,
  .grid-3,
  .grid-4,
  .process-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ba-work-list {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .luxury-form {
    padding: 24px 18px;
  }

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

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

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

  .whatsapp-floating {
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-tooltip {
    display: none; /* Hide tooltip on small touch devices */
  }

  .whatsapp-floating-btn {
    width: 52px;
    height: 52px;
  }
}

/* Small Smartphone Screens (360px to 390px) */
@media (max-width: 420px) {
  .container {
    padding: 0 16px;
  }

  .brand-name {
    font-size: 1.15rem;
  }

  .brand-city {
    font-size: 0.65rem;
    letter-spacing: 2px;
  }

  .brand-emblem {
    width: 42px;
    height: 42px;
  }

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

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

  .btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .filter-btn {
    padding: 7px 14px;
    font-size: 0.8rem;
  }

  .ba-slider-container {
    aspect-ratio: 4 / 3;
  }
}

/* Backdrop Overlay for Mobile Drawer */
.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

.drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

