/* ==========================================================================
   HAYER16 DRYWALL LTD. - Responsive Stylesheet
   Breakpoints: 320px, 375px, 390px, 430px, 768px, 1024px, 1366px, 1440px, 1920px
   ========================================================================== */

/* --------------------------------------------------------------------------
   Mobile Sticky Bar visibility
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
  .mobile-sticky-bar {
    display: block;
  }
  
  /* Add padding to body so sticky bar doesn't cover footer content */
  body {
    padding-bottom: 60px;
  }
}

/* --------------------------------------------------------------------------
   Large Screens (>= 1400px)
   -------------------------------------------------------------------------- */
@media (min-width: 1400px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    max-width: 1280px;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
}

/* --------------------------------------------------------------------------
   Desktop & Laptops (992px to 1199px)
   -------------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
  .hero-title {
    font-size: 2.75rem;
  }
  .basement-content-wrap {
    padding: 2.5rem;
  }
  .lightbox-prev { left: -20px; }
  .lightbox-next { right: -20px; }
}

/* --------------------------------------------------------------------------
   Tablets & Medium Screens (768px to 991px)
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  .section-padding {
    padding: 4rem 0;
  }

  .hero-section {
    padding: 4.5rem 0 4rem;
  }

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

  .hero-subheading {
    font-size: 1.3rem;
  }

  .hero-card-preview {
    margin-top: 2rem;
  }

  .hero-card-image-wrap {
    height: 300px;
  }

  .about-image-wrapper img {
    height: 380px;
  }

  .contact-info-card {
    padding: 2.25rem;
    margin-bottom: 2rem;
  }

  .contact-form-card {
    padding: 2.25rem;
  }

  .basement-image-wrap {
    min-height: 280px;
  }

  .lightbox-prev,
  .lightbox-next {
    position: static;
    transform: none;
    display: inline-flex;
    margin: 0.5rem;
  }
  .lightbox-nav-controls {
    margin-top: 1rem;
    text-align: center;
  }
}

/* --------------------------------------------------------------------------
   Small Devices & Mobile (<= 767.98px)
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
  .section-padding {
    padding: 3.25rem 0;
  }

  .section-heading {
    font-size: 1.85rem;
  }

  .section-lead {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .hero-section {
    padding: 3.5rem 0 3rem;
    text-align: left;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero-subheading {
    font-size: 1.15rem;
  }

  .hero-description {
    font-size: 1rem;
  }

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

  .about-image-wrapper img {
    height: 300px;
  }

  .about-experience-pill {
    bottom: 1rem;
    right: 1rem;
    padding: 0.75rem 1rem;
  }
  .about-pill-title {
    font-size: 1rem;
  }

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

  .basement-content-wrap {
    padding: 2rem 1.5rem;
  }
  .basement-heading {
    font-size: 1.75rem;
  }
  .basement-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-info-card,
  .contact-form-card {
    padding: 1.75rem 1.25rem;
  }

  .contact-info-title {
    font-size: 1.6rem;
  }

  .site-footer {
    padding: 3.5rem 0 1.5rem;
  }
}

/* --------------------------------------------------------------------------
   Compact Mobile Screens (<= 430px)
   -------------------------------------------------------------------------- */
@media (max-width: 430px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subheading {
    font-size: 1.05rem;
  }

  .brand-name {
    font-size: 1.15rem;
  }
  .brand-sub {
    font-size: 0.65rem;
  }
  .brand-icon-box {
    width: 38px;
    height: 38px;
  }

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

  .btn-corp-primary,
  .btn-corp-navy,
  .btn-corp-whatsapp,
  .btn-corp-outline-white {
    padding: 0.7rem 1.2rem;
    font-size: 0.9rem;
  }
}

/* --------------------------------------------------------------------------
   Extra Compact Screens (320px to 375px)
   -------------------------------------------------------------------------- */
@media (max-width: 375px) {
  .hero-title {
    font-size: 1.65rem;
  }

  .mobile-bar-btn {
    font-size: 0.75rem;
    padding: 0.6rem 0.35rem;
  }

  .trust-item {
    padding: 0.6rem 0.75rem;
  }

  .trust-icon-box {
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 1rem;
  }
}

/* --------------------------------------------------------------------------
   Accessibility: Reduced Motion Preference
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --------------------------------------------------------------------------
   Print Stylesheet
   -------------------------------------------------------------------------- */
@media print {
  .top-notice-bar,
  .main-navbar,
  .mobile-sticky-bar,
  .project-filters,
  .custom-lightbox,
  .btn {
    display: none !important;
  }

  body {
    color: #000000;
    background: #ffffff;
    font-size: 11pt;
  }

  .section-padding {
    padding: 1.5rem 0;
  }
}
