/* Responsive Design - Mobile First Approach */

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .hero-section h1 {
    font-size: 3.5rem;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
    min-height: 80vh;
  }
  
  .hero-section h1 {
    font-size: 2.5rem;
  }
  
  .service-card {
    margin-bottom: 1.5rem;
  }
  
  .team-member img {
    width: 120px;
    height: 120px;
  }
  
  .gallery-item img {
    height: 200px;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-section {
    min-height: 70vh;
    text-align: center;
  }
  
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .service-card {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
  }
  
  .team-member img {
    width: 100px;
    height: 100px;
  }
  
  .gallery-item img {
    height: 180px;
  }
  
  .price-card {
    margin-bottom: 2rem;
  }
  
  .price-card.featured {
    transform: none;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  /* Typography adjustments for mobile */
  .navbar-brand {
    font-size: 12px !important;
    font-size: 1.1rem !important;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.3rem;
  }
  
  p {
    font-size: 0.95rem;
  }
  
  /* Hero section mobile adjustments */
  .hero-section {
    min-height: 60vh;
    text-align: center;
    padding: 2rem 0;
  }
  
  .hero-section h1 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }
  
  .hero-shape {
    width: 200px;
    height: 200px;
  }
  
  /* Services mobile layout */
  .service-card {
    margin-bottom: 1.5rem;
    padding: 1.5rem 1rem;
  }
  
  .service-card img {
    width: 60px;
    height: 60px;
  }
  
  .service-price {
    font-size: 1.5rem;
  }
  
  /* Team section mobile */
  .team-member {
    margin-bottom: 2rem;
  }
  
  .team-member img {
    width: 80px;
    height: 80px;
  }
  
  /* Gallery mobile */
  .gallery-item {
    margin-bottom: 1rem;
  }
  
  .gallery-item img {
    height: 150px;
  }
  
  /* Contact form mobile */
  .form-control {
    padding: 10px 12px;
  }
  
  /* Price cards mobile */
  .price-card {
    margin-bottom: 2rem;
    padding: 2rem 1.5rem;
  }
  
  .price-card.featured {
    transform: none;
    border-width: 2px;
  }
  
  .price-card .price {
    font-size: 2rem;
  }
  
  /* Blog cards mobile */
  .blog-card {
    margin-bottom: 2rem;
  }
  
  .blog-card img {
    height: 150px;
  }
  
  .blog-card-body {
    padding: 1rem;
  }
  
  /* Review cards mobile */
  .review-card {
    margin: 0.5rem;
    padding: 1.5rem;
  }
  
  /* FAQ mobile */
  .accordion-button {
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
  }
  
  /* Footer mobile */
  .footer {
    padding: 40px 0 20px;
    text-align: center;
  }
  
  .footer .row > div {
    margin-bottom: 2rem;
  }
  
  /* Navigation mobile */
  .navbar-nav {
    text-align: center;
  }
  
  .navbar-nav .nav-link {
    font-size: 10px !important;
    padding: 0.5rem 0;
  }
  
  /* Button adjustments */
  .btn {
    font-size: 0.9rem;
    padding: 10px 20px;
  }
  
  /* Section padding mobile */
  .section-padding {
    padding: 50px 0;
  }
  
  .services-section,
  .about-section,
  .team-section,
  .reviews-section,
  .contact-section,
  .faq-section,
  .gallery-section,
  .priceplan-section,
  .blog-section {
    padding: 50px 0;
  }
}

/* Swiper adjustments for mobile (disable autoplay and effects on mobile) */
@media (max-width: 767.98px) {
  .swiper-container {
    padding-bottom: 2rem;
  }
  
  .swiper-slide {
    opacity: 1 !important;
    transform: none !important;
  }
  
  /* Disable complex animations on mobile */
  .swiper-slide,
  .swiper-wrapper {
    transition: none !important;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .swiper-container {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1, h2, h3 {
    page-break-after: avoid;
  }
  
  img {
    max-width: 100% !important;
    height: auto !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .btn-primary {
    background: var(--black);
    border: 2px solid var(--white);
  }
  
  .service-card,
  .price-card,
  .blog-card,
  .review-card {
    border: 2px solid var(--primary-slate-dark);
  }
}

/* Dark mode preferences */
@media (prefers-color-scheme: dark) {
  /* This can be implemented if needed, currently maintaining light theme */
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 600px) {
  .hero-section {
    min-height: 100vh;
  }
  
  .navbar {
    padding: 0.5rem 0;
  }
} 