/* Responsive CSS */

/* Base responsive styles for all pages */

/* Large Desktops (1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Desktop and Small Laptops (992px and up) */
@media (min-width: 992px) and (max-width: 1199px) {
  .container {
    max-width: 960px;
  }
  
  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
}

/* Tablets and Small Desktops (768px and up) */
@media (min-width: 768px) and (max-width: 991px) {
  .container {
    max-width: 720px;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.3rem;
  }
  
  .header-container {
    padding: 0 var(--space-sm);
  }
}

/* Tablets and Mobile (767px and down) */
@media (max-width: 767px) {
  .container {
    max-width: 540px;
    padding: 0 var(--space-sm);
  }
  
  section {
    padding: var(--space-lg) 0;
  }
  
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  p {
    font-size: 0.95rem;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.8rem;
  }
  
  /* Header */
  .logo h1 {
    font-size: 1.25rem;
  }
  
  /* Home Page */
  .hero {
    min-height: 500px;
  }
  
  .hero-content h2 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  /* Common multi-column grids */
  .footer-grid,
  .gallery-grid,
  .services-grid,
  .packages-grid,
  .team-grid,
  .process-grid,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  
  .testimonial-slide {
    grid-template-columns: 1fr;
  }
  
  .testimonial-image {
    margin-bottom: var(--space-md);
  }
  
  /* Contact page */
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .map-container {
    height: 250px;
  }
}

/* Small Mobile Devices (575px and down) */
@media (max-width: 575px) {
  .container {
    padding: 0 var(--space-xs);
  }
  
  section {
    padding: var(--space-md) 0;
  }
  
  .hero-content h2 {
    font-size: 1.75rem;
  }
  
  .hero-content p {
    font-size: 0.9rem;
  }
  
  .page-banner {
    height: 30vh;
    min-height: 250px;
  }
  
  .banner-content h2 {
    font-size: 1.75rem;
  }
  
  .banner-content p {
    font-size: 0.9rem;
  }
  
  /* Gallery */
  .masonry-gallery {
    column-count: 1;
  }
  
  /* Team */
  .team-member {
    grid-template-columns: 1fr;
  }
  
  .member-image {
    height: 250px;
  }
  
  /* Forms */
  .contact-form {
    padding: var(--space-sm);
  }
  
  input, select, textarea {
    padding: 10px;
  }
  
  /* Spacing adjustments */
  .section-title {
    margin-bottom: var(--space-xs);
  }
  
  .divider {
    margin-bottom: var(--space-md);
  }
}

/* Landscape Orientation Adjustments */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    height: auto;
    min-height: 400px;
    padding: var(--space-xl) 0;
  }
  
  .page-banner {
    height: auto;
    min-height: 200px;
    padding: var(--space-lg) 0;
  }
}

/* Print Styles */
@media print {
  .header,
  .footer,
  .contact-cta,
  .btn,
  .gallery-filter,
  .social-icons {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.5;
    color: #000;
    background: #fff;
  }
  
  .container {
    max-width: 100%;
    width: 100%;
  }
  
  a {
    color: #000;
    text-decoration: underline;
  }
  
  h1, h2, h3, h4, h5, h6 {
    color: #000;
    page-break-after: avoid;
  }
  
  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }
  
  p, h2, h3 {
    orphans: 3;
    widows: 3;
  }
  
  .package-card,
  .team-member,
  .gallery-item,
  .process-step,
  .faq-item {
    page-break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
  }
}