/* ==========================================================================
   SHARANYA MARBLES - RESPONSIVE STYLESHEET
   Supports 320px, 375px, 425px, 768px, 1024px, 1366px, 1440px, 1920px+
   ========================================================================== */

/* --- LARGE SCREENS (1440px - 1920px+) --- */
@media (min-width: 1440px) {
  :root {
    --container-max: 1360px;
  }
  
  .hero-title {
    font-size: 4.2rem;
  }
  
  .section-title {
    font-size: 2.8rem;
  }
}

/* --- LAPTOPS & DESKTOPS (1025px - 1366px) --- */
@media (max-width: 1366px) {
  .hero-title {
    font-size: 3.4rem;
  }
  
  .quick-services-grid {
    gap: 18px;
  }
  
  .quick-service-card {
    padding: 30px 22px;
  }
  
  .process-grid {
    gap: 14px;
  }
}

/* --- TABLETS & SMALL LAPTOPS (769px - 1024px) --- */
@media (max-width: 1024px) {
  :root {
    --header-height: 75px;
  }

  .top-bar {
    display: none; /* Hide topbar on tablet/mobile for clean compact header */
  }
  
  .navbar-menu,
  .nav-actions .btn {
    display: none;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .hero {
    min-height: auto;
    padding: 80px 0 120px 0;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .quick-services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .quick-services-section {
    margin-top: -40px;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .about-image-wrapper {
    max-width: 600px;
    margin: 0 auto;
  }
  
  .services-showcase-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .process-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
  
  .process-grid::before {
    display: none;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* --- MEDIUM TABLETS & LARGE PHONES (481px - 768px) --- */
@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }
  
  .section-sm {
    padding: 45px 0;
  }
  
  .section-lg {
    padding: 90px 0;
  }
  
  .section-title {
    font-size: 2.1rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-lead {
    font-size: 1.05rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  .hero-stats-row {
    gap: 20px;
  }
  
  .hero-stat-item {
    flex: 1 1 40%;
  }
  
  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 20px;
  }
  
  .about-image-wrapper {
    width: 100%;
  }
  
  .about-main-img {
    height: 380px;
  }
  
  .about-experience-badge {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 20px;
  }
  
  .before-after-slider-container {
    height: 360px;
  }
  
  .before-after-wrapper {
    padding: 16px;
  }
  
  .why-choose-grid {
    grid-template-columns: 1fr;
  }
  
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonial-card-luxury {
    padding: 30px 20px;
  }
  
  .testimonial-text {
    font-size: 1.15rem;
  }
  
  .cta-box {
    padding: 45px 24px;
  }
  
  .cta-box .section-title {
    font-size: 2.2rem;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .cta-buttons .btn {
    width: 100%;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .contact-form-wrapper {
    padding: 28px 20px;
  }
  
  .quote-modal-dialog {
    padding: 30px 20px;
    margin: 15px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  
  .page-banner-title {
    font-size: 2.4rem;
  }
}

/* --- SMALL MOBILE PHONES (320px - 480px) --- */
@media (max-width: 480px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  
  .brand-logo {
    height: 44px;
    max-height: 44px;
  }
  
  .footer-logo-wrap {
    padding: 8px 14px;
  }
  
  .footer-logo-img {
    height: 40px;
  }
  
  .mobile-drawer-brand-card {
    padding: 8px 14px;
  }
  
  .mobile-drawer-brand-card img {
    height: 38px;
  }
  
  .hero-title {
    font-size: 2.1rem;
  }
  
  .hero-badge {
    font-size: 0.75rem;
    padding: 6px 14px;
    letter-spacing: 1.5px;
  }
  
  .quick-services-grid {
    grid-template-columns: 1fr;
  }
  
  .about-features-list {
    grid-template-columns: 1fr;
  }
  
  .service-points-list {
    grid-template-columns: 1fr;
  }
  
  .before-after-slider-container {
    height: 280px;
  }
  
  .slider-label {
    font-size: 0.72rem;
    padding: 5px 12px;
  }
  
  .process-grid {
    grid-template-columns: 1fr;
  }
  
  .lightbox-close {
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
  }
  
  .lightbox-nav {
    width: 40px;
    height: 40px;
  }
  
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  
  .floating-whatsapp {
    width: 52px;
    height: 52px;
    font-size: 1.7rem;
    bottom: 20px;
    right: 20px;
  }
  
  .scroll-to-top {
    bottom: 82px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
  
  .toast-container {
    left: 16px;
    right: 16px;
    bottom: 20px;
  }
  
  .toast {
    width: 100%;
  }
}
