/* Responsive Styles */

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
  .hero h1 {
    font-size: 3rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
  html {
    font-size: 15px;
  }
  
  .hero {
    padding: 7rem 0 5rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .section-title h2 {
    font-size: 1.75rem;
  }
  
  .section-title p {
    font-size: 1rem;
  }
  
  section {
    padding: var(--spacing-xl) 0;
  }
  
  .navbar-collapse {
    background-color: white;
    padding: 1rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
  }
  
  .service-image {
    height: 180px;
  }
  
  .review-item {
    margin-bottom: var(--spacing-lg);
  }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
  html {
    font-size: 14px;
  }
  
  .hero {
    padding: 6rem 0 4rem;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 2.25rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .hero-image {
    margin-top: var(--spacing-lg);
  }
  
  .section-title h2 {
    font-size: 1.5rem;
  }
  
  .section-title p {
    font-size: 0.9rem;
  }
  
  .about-feature,
  .feature-item,
  .coreinfo-item {
    margin-bottom: var(--spacing-lg);
  }
  
  .team-member {
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--spacing-xl);
  }
  
  .breadcrumb-section {
    margin-top: 66px;
  }
  
  footer [class^="col-"] {
    margin-bottom: var(--spacing-lg);
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .hero {
    padding: 5rem 0 3rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 0.9rem;
  }
  
  section {
    padding: var(--spacing-lg) 0;
  }
  
  .btn {
    width: 100%;
    margin-bottom: var(--spacing-sm);
  }
  
  .service-card {
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .price-card {
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
  
  .gallery-item {
    height: 200px;
  }
  
  .contact-form {
    padding: var(--spacing-lg);
  }
}

/* Height-based media queries */
@media (max-height: 700px) {
  .hero {
    min-height: auto;
  }
}

/* High-resolution displays */
@media (min-resolution: 192dpi) {
  /* Optimize images for retina displays */
}

/* Print styles */
@media print {
  header, 
  footer, 
  .hero-shape,
  .btn,
  .shape-divider {
    display: none !important;
  }
  
  body {
overflow-x: hidden;
    background-color: white !important;
    color: black !important;
  }
  
  .container {
    max-width: 100% !important;
    width: 100% !important;
  }
  
  section {
    padding: 1rem 0 !important;
    page-break-inside: avoid;
  }
}

/* Landscape orientation */
@media (orientation: landscape) and (max-height: 500px) {
  .hero {
    min-height: auto;
    padding: 4rem 0 2rem;
  }
} 