/* ============================================================
   RUBBER GASKETS - Vertex Rubber India | responsive.css
   Responsive breakpoints: Desktop, Laptop, Tablet, Mobile
   ============================================================ */

/* ----- 2K & Ultrawide (1400px+) ----- */
@media (min-width: 1400px) {
  .container {
    max-width: 1360px;
  }

  html {
    font-size: 18px;
  }
}

/* ----- Laptop / Small Desktop (1025px - 1399px) ----- */
@media (min-width: 1025px) and (max-width: 1399px) {
  .container {
    padding: 0 2rem;
  }

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

/* ----- Tablet Landscape / Small Laptop (769px - 1024px) ----- */
@media (max-width: 1024px) {
  html {
    scroll-padding-top: 60px;
  }

  .container {
    padding: 0 1.5rem;
  }

  .section {
    padding: 4rem 1.5rem;
  }

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

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

  h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
  h2 { font-size: clamp(1.4rem, 3.5vw, 2.2rem); }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .timeline::before {
    left: 1rem;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    flex-direction: row;
    padding-left: 3rem;
  }

  .timeline-content {
    width: 100%;
  }

  .timeline-dot {
    left: 1rem;
  }

  .page-nav {
    top: 60px;
  }
}

/* ----- Tablet Portrait (577px - 768px) ----- */
@media (max-width: 768px) {
  html {
    scroll-padding-top: 56px;
  }

  .container {
    padding: 0 1.2rem;
  }

  .section {
    padding: 3rem 1.2rem;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .section-header h2 {
    font-size: 1.6rem;
  }

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

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

  h1 { font-size: clamp(1.5rem, 5vw, 2rem); }
  h2 { font-size: clamp(1.3rem, 4vw, 1.7rem); }

  .btn-lg {
    padding: 0.85rem 1.8rem;
    font-size: 0.95rem;
  }

  .cta-banner {
    padding: 2.5rem 1.5rem;
  }

  .spec-table {
    font-size: 0.8rem;
  }

  .spec-table th,
  .spec-table td {
    padding: 0.6rem 0.8rem;
  }

  .stagger-children > * {
    animation: none;
    opacity: 1;
  }

  .page-hero {
    padding: 5rem 1.2rem 2.5rem;
  }

  .page-nav {
    top: 56px;
  }

  .page-nav-inner a {
    padding: 0.4rem 0.8rem;
    font-size: 0.78rem;
  }

  .compare-table {
    font-size: 0.78rem;
  }

  .compare-table th,
  .compare-table td {
    padding: 0.5rem 0.6rem;
  }

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

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

/* ----- Mobile (480px - 576px) ----- */
@media (max-width: 576px) {
  .container {
    padding: 0 1rem;
  }

  .section {
    padding: 2.5rem 1rem;
  }

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

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }

  .stat-item {
    padding: 1rem;
  }

  .cta-banner {
    padding: 2rem 1.2rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-buttons .btn {
    justify-content: center;
  }

  .trust-badges {
    flex-direction: column;
    align-items: center;
  }

  .material-props {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-stat h3 {
    font-size: 1.1rem;
  }

  .hero-stat p {
    font-size: 0.65rem;
  }

  .measure-steps {
    grid-template-columns: 1fr;
  }

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

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

/* ----- Small Mobile (< 480px) ----- */
@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .badge {
    font-size: 0.7rem;
    padding: 0.3rem 0.8rem;
  }

  .btn {
    padding: 0.7rem 1.4rem;
    font-size: 0.85rem;
  }
}

/* ----- Print Styles (minimal) ----- */
@media print {
  .page-nav,
  .nav,
  .footer,
  .whatsapp-float,
  .phone-call-float,
  .back-to-top,
  .cta-banner,
  .btn {
    display: none !important;
  }
}

/* ----- Touch Devices ----- */
@media (hover: none) and (pointer: coarse) {
  .btn:hover,
  .card:hover,
  .product-card:hover,
  .icon-card:hover,
  .why-card:hover {
    transform: none !important;
  }

  .btn-primary:hover {
    transform: none;
    box-shadow: 0 4px 15px rgba(255,107,0,0.3);
  }

  .faq-question {
    padding: 1rem 1.2rem;
  }
}

/* ----- Dark Mode Support (already dark) ----- */
@media (prefers-color-scheme: light) {
  /* Keep dark theme - this is a dark-themed site */
}
