/* ==========================================================================
   RESPONSIVE STYLES - VISION INDUSTRIES
   Breakpoints: 1920px+, 1366px+, 1024px, 768px, 480px, 320px
   ========================================================================== */

/* --- 1. Large Screens & 4K (1920px+) --- */
@media (min-width: 1920px) {
  :root {
    --container-max-width: 1540px;
  }
  
  .hero-title {
    font-size: 3.25rem;
  }
  
  .hero-banner {
    padding-top: 6rem;
    padding-bottom: 11rem;
  }
}

/* --- 2. Standard Laptops (1200px - 1440px) --- */
@media (max-width: 1440px) {
  :root {
    --container-max-width: 1240px;
  }
}

/* --- 3. Tablet Landscape & Small Laptops (1024px) --- */
@media (max-width: 1024px) {
  :root {
    --container-max-width: 980px;
  }

  .nav-list {
    gap: var(--space-4, 1rem);
  }

  .nav-link {
    font-size: 0.8125rem;
  }

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

  .partner-slide {
    flex: 0 0 calc(33.333% - 1.5rem);
  }

  .service-slide {
    flex: 0 0 50%;
  }

  .about-hero-grid {
    gap: var(--space-8);
  }

  .detail-header-card {
    grid-template-columns: 220px 1fr;
    gap: var(--space-6);
  }
}

/* --- 4. Tablet Portrait & Mobile Menu Switch (768px - 991px) --- */
@media (max-width: 991px) {
  .main-nav {
    display: none; /* Switch to Mobile Menu Drawer */
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-tagline {
    font-size: var(--font-size-xl, 1.5rem);
  }

  .hero-title {
    font-size: var(--font-size-3xl, 2.25rem);
  }

  .hero-subtitle {
    font-size: var(--font-size-xl, 1.5rem);
  }

  .hero-banner {
    padding-top: 3.5rem;
    padding-bottom: 7rem;
  }

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

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

  .grid-2,
  .about-hero-grid,
  .emergency-banner,
  .contact-grid,
  .news-header-box,
  .article-columns,
  .detail-header-card {
    grid-template-columns: 1fr;
  }

  .service-slide {
    flex: 0 0 100%;
  }

  .service-feature-list {
    grid-template-columns: 1fr;
  }

  .partner-slide {
    flex: 0 0 calc(50% - 1rem);
  }
}

/* --- 5. Mobile Devices (480px - 767px) --- */
@media (max-width: 767px) {
  :root {
    --container-padding: 1rem;
  }

  .header-container {
    height: 76px;
  }

  .mobile-nav-drawer {
    top: 76px;
    height: calc(100vh - 76px);
  }

  .header-logo img {
    height: 52px;
    max-height: 56px;
  }

  .section {
    padding-top: var(--space-10, 2.5rem);
    padding-bottom: var(--space-10, 2.5rem);
  }

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

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

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

  .hero-desc {
    font-size: 0.9375rem;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .partner-slide {
    flex: 0 0 calc(100% - 1rem);
  }

  .floating-actions {
    bottom: 16px;
    right: 16px;
    gap: 8px;
  }

  .floating-btn {
    padding: 8px 14px;
    font-size: 0.8125rem;
  }

  .floating-btn-icon {
    font-size: 1rem;
  }

  .hero-wave-divider svg {
    height: 40px;
  }
}

/* --- 6. Extra Small Mobile Devices (320px - 479px) --- */
@media (max-width: 479px) {
  .hero-tagline {
    font-size: 1.125rem;
  }

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

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

  .btn {
    width: 100%;
    padding: 12px 18px;
  }

  .header-actions .btn-header-phone {
    display: none; /* Keep header compact on 320px */
  }

  .product-card-badge {
    width: 95%;
    font-size: 0.75rem;
    padding: 6px 10px;
  }
}
