/* Responsive CSS for Lampshade Designer Template */

/* Mobile First Approach - Base styles above 320px */

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 767.98px) {
  /* Disable autoplay and effects on mobile for Swiper */
  .swiper-container {
    --swiper-autoplay-delay: 0;
  }
  
  .swiper-slide {
    animation: none !important;
    transition: none !important;
  }

  /* Typography adjustments for mobile */
  .hero-title {
    font-size: 1.84rem;
  }
  
  .hero-subtitle {
    font-size: 1.38rem;
  }
  
  .section-title {
    font-size: 1.54rem;
  }
  
  .section-subtitle {
    font-size: 1.12rem;
  }

  /* Navigation */
  .navbar-brand {
    font-size: 1.29rem !important;
  }
  
  .navbar-nav .nav-link {
    margin: 0.25rem 0;
  }

  /* Hero section */
  .hero-section {
  padding-top: 50px;
    min-height: 90vh;
    padding: 2rem 0;
  }
  
  .hero-content {
  padding-top: 100px !important;
    text-align: center;
  }
  
  .decorative-blob {
    display: none;
  }

  /* Sections */
  .section {
    padding: 3rem 0;
  }

  /* Cards */
  .service-card,
  .feature-card,
  .team-card,
  .review-card,
  .blog-card {
    margin-bottom: 1.60rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .contact-form {
    padding: 2rem 1rem;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .gallery-item img {
    height: 200px;
  }

  /* Process steps */
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.38rem;
  }

  /* Timeline */
  .timeline-item {
    padding-left: 2rem;
  }
  
  .timeline-item::before {
    width: 15px;
    height: 15px;
  }
  
  .timeline-item::after {
    left: 7px;
  }

  /* Team photos */
  .team-photo {
    width: 120px;
    height: 120px;
  }

  /* Footer */
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  .footer .row > div {
    margin-bottom: 2.05rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-title {
    font-size: 2.28rem;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .service-card {
    padding: 1.75rem;
  }
  
  .contact-form {
    padding: 2.5rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-section {
  padding-top: 50px;
    min-height: 100vh;
  }
  
  .section {
    padding: 6rem 0;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .container {
    max-width: 1140px;
  }
}

/* High DPI / Retina displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-section::before {
    background-image: url('../GES_images/hero-bg@2x.webp');
  }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 600px) {
  .hero-section {
  padding-top: 50px;
    min-height: 100vh;
    padding: 1rem 0;
  }
  
  .hero-title {
    font-size: 1.54rem;
  }
  
  .hero-subtitle {
    font-size: 1.12rem;
  }
  
  .section {
    padding: 2rem 0;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .decorative-blob,
  .btn,
  .contact-form {
    display: none !important;
  }
  
  .hero-section {
  padding-top: 50px;
    min-height: auto;
    page-break-inside: avoid;
  }
  
  .section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
  
  * {
    background: transparent !important;
    color: black !important;
    box-shadow: none !important;
  }
}
