/* Mobile First Responsive Design */

/* Large screens (desktops) */
@media (min-width: 1200px) {
  .container {
    max-width: 1200px;
  }
  
  h1 { font-size: 4rem; }
  h2 { font-size: 3.2rem; }
  
  .hero-section {
    padding: 0 2rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .team-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Medium screens (tablets) */
@media (max-width: 1199.98px) {
  .container {
    max-width: 960px;
  }
  
  h1 { font-size: 3rem; }
  h2 { font-size: 2.4rem; }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Small screens (landscape phones, small tablets) */
@media (max-width: 991.98px) {
  .container {
    max-width: 720px;
  }
  
  :root {
    --section-padding: 60px 0;
    --container-padding: 15px;
  }
  
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.8rem; }
  
  .hero-section {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-title {
    margin-bottom: 1rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  /* Disable floating animations on smaller screens */
  .shape-blob-1,
  .shape-blob-2 {
    display: none;
  }
  
  /* Navbar adjustments */
  .navbar-collapse {
    background: var(--light-cream);
    border-radius: 10px;
    margin-top: 1rem;
    padding: 1rem;
  }
}

/* Extra small screens (portrait phones) */
@media (max-width: 767.98px) {
  .container {
    max-width: 540px;
  }
  
  :root {
    --section-padding: 40px 0;
    --container-padding: 15px;
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.4rem; }
  h4 { font-size: 1.2rem; }
  h5 { font-size: 1.1rem; }
  h6 { font-size: 1rem; }
  
  .hero-section {
    min-height: 70vh;
    padding: 2rem 0;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .testimonial-item {
    padding: 1.5rem;
    margin: 0.5rem;
  }
  
  .testimonial-text {
    font-size: 1rem;
  }
  
  .faq-question {
    padding: 1rem;
    font-size: 0.9rem;
  }
  
  .faq-answer {
    padding: 0 1rem 1rem;
    font-size: 0.9rem;
  }
  
  .card-body {
overflow-x: hidden;
    padding: 1rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  /* Swiper navigation adjustments for mobile */
  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
  
  .swiper-pagination {
    bottom: 10px;
  }
}

/* Very small screens */
@media (max-width: 575.98px) {
  .container {
    padding: 0 10px;
  }
  
  :root {
    --section-padding: 30px 0;
  }
  
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }
  
  .hero-section {
    min-height: 60vh;
  }
  
  .contact-form {
    padding: 1rem;
  }
  
  .team-member {
    padding: 1.5rem;
  }
  
  .testimonial-item {
    padding: 1rem;
  }
  
  .card {
    margin-bottom: 1rem;
  }
  
  .services-grid,
  .team-grid,
  .gallery-grid,
  .blog-grid {
    gap: 1rem;
  }
}

/* Landscape phones */
@media (max-width: 767.98px) and (orientation: landscape) {
  .hero-section {
    min-height: 90vh;
  }
  
  :root {
    --section-padding: 50px 0;
  }
}

/* Disable animations on mobile for better performance */
@media (max-width: 768px) {
  * {
    animation-duration: 0s !important;
    transition-duration: 0.2s !important;
  }
  
  .card:hover,
  .team-member:hover,
  .gallery-item:hover,
  .blog-item:hover {
    transform: none;
  }
  
  .btn-primary:hover {
    transform: none;
  }
}

/* Print styles */
@media print {
  .navbar,
  .btn,
  .swiper-button-next,
  .swiper-button-prev,
  .swiper-pagination {
    display: none !important;
  }
  
  body {
overflow-x: hidden;
    background: white !important;
    color: black !important;
  }
  
  .hero-section,
  .section {
    background: white !important;
    box-shadow: none !important;
  }
  
  .card,
  .team-member,
  .contact-form {
    border: 1px solid #ddd !important;
    box-shadow: none !important;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-section::before {
    background-size: cover;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  /* Keep light theme as specified in requirements */
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  .swiper {
    --swiper-theme-color: var(--primary-lavender);
  }
  
  .swiper-wrapper {
    transform: none !important;
  }
  
  .swiper-slide {
    transform: none !important;
  }
} 