/* Responsive Design */

/* Mobile First Approach */
@media (max-width: 767px) {
  /* Disable autoplay and effects on mobile */
  .swiper {
    --swiper-navigation-size: 0;
  }
  
  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
  
  /* Typography adjustments */
  .hero-text h1 {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .section-subtitle {
    font-size: 1.1rem;
  }
  
  /* Header - Bootstrap navbar handles mobile automatically */
  .navbar-brand {
    font-size: 18px;
  }
  
  .navbar-nav .nav-link {
    padding: 10px 16px;
  }
  
  /* Hero Section */
  .hero {
    min-height: 80vh;
    margin-top: 100px;
  }
  
  .hero-content {
  padding-top: 100px !important;
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  
  /* Sections spacing */
  .section {
    padding: 60px 0;
  }
  
  /* Grids to single column */
  .about-features,
  .services-grid,
  .features-grid,
  .priceplan-grid,
  .team-grid,
  .blog-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  /* Contact form layout */
  .contact-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
}

/* Tablet Portrait */
@media (min-width: 768px) and (max-width: 991px) {
  .hero-text h1 {
    font-size: 3rem;
  }
  
  .services-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablet Landscape and Small Desktop */
@media (min-width: 992px) and (max-width: 1199px) {
  .container {
    max-width: 960px;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Large Desktop */
@media (min-width: 1200px) {
  .container {
    max-width: var(--container-max-width);
  }
  
  .hero-text h1 {
    font-size: 4rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* High Resolution Displays */
@media (min-width: 1400px) {
  .hero-text h1 {
    font-size: 4.5rem;
  }
  
  .section-title {
    font-size: 3rem;
  }
}

/* Print Styles */
@media print {
  .header,
  .footer,
  .contact {
    display: none;
  }
  
  .section {
    break-inside: avoid;
    page-break-inside: avoid;
  }
  
  body {
  overflow-x: hidden !important;
    font-size: 12pt;
    line-height: 1.4;
  }
}

/* Dark Mode Support (respects user preference) */
@media (prefers-color-scheme: dark) {
  /* Note: Dark mode styles excluded as per requirements */
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .hero {
    animation: none;
  }
  
  .swiper {
    --swiper-transition-duration: 0ms;
  }
  
  .feature-item:hover,
  .service-item:hover,
  .team-member:hover,
  .gallery-item:hover {
    transform: none;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --primary-1: #000000;
    --primary-2: #333333;
    --primary-3: #666666;
    --primary-4: #000000;
    --primary-5: #333333;
    --light-1: #FFFFFF;
    --dark-1: #000000;
  }
  
  .header,
  .contact {
    background: var(--dark-1) !important;
    color: var(--light-1) !important;
  }
  
  .service-item,
  .feature-item,
  .team-member {
    border: 2px solid var(--dark-1);
  }
} 