/* Responsive Styles */

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Large devices (desktops, 992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .section-title h2 {
    font-size: 2.2rem;
  }
  
  .service-img {
    height: 180px;
  }
  
  .gallery-item {
    height: 250px;
  }
}

/* Medium devices (tablets, 768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  section {
    padding: 70px 0;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .section-title {
    margin-bottom: 40px;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .feature-box, 
  .service-card, 
  .feature-card, 
  .price-card, 
  .team-card, 
  .blog-card, 
  .info-card {
    margin-bottom: 25px;
  }
  
  .gallery-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-item {
    height: 220px;
  }
  
  .contact-form {
    margin-top: 40px;
  }
  
  .shape-1 {
    width: 150px;
    height: 150px;
  }
  
  .shape-2 {
    width: 200px;
    height: 200px;
  }
  
  .blob-1 {
    width: 350px;
    height: 350px;
  }
  
  .blob-2 {
    width: 300px;
    height: 300px;
  }
}

/* Small devices (landscape phones, 576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  section {
    padding: 60px 0;
  }
  
  .hero-section {
    height: auto;
    min-height: 100vh;
    padding: 120px 0 80px;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
    margin: 0 auto 30px;
  }
  
  .section-title {
    margin-bottom: 30px;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .about-img {
    margin-bottom: 30px;
  }
  
  .feature-box, 
  .service-card, 
  .feature-card, 
  .price-card, 
  .team-card, 
  .blog-card, 
  .info-card {
    margin-bottom: 20px;
  }
  
  .gallery-container {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 15px;
  }
  
  .gallery-item {
    height: 180px;
  }
  
  .shape, .blob {
    display: none;
  }
  
  .contact-form {
    margin-top: 30px;
  }
  
  .page-header {
    height: 300px;
    margin-bottom: 60px;
  }
  
  .page-title h1 {
    font-size: 2.2rem;
  }
  
  .page-section {
    padding: 60px 0;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575px) {
  section {
    padding: 50px 0;
  }
  
  .hero-section {
    height: auto;
    min-height: 100vh;
    padding: 100px 0 60px;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-content h1 {
    font-size: 1.8rem;
  }
  
  .hero-content p {
    font-size: 0.9rem;
    margin: 0 auto 25px;
  }
  
  .btn {
    padding: 10px 25px;
    font-size: 0.9rem;
  }
  
  .section-title {
    margin-bottom: 25px;
  }
  
  .section-title h2 {
    font-size: 1.6rem;
  }
  
  .about-img {
    margin-bottom: 25px;
  }
  
  .feature-box, 
  .service-card, 
  .feature-card, 
  .price-card, 
  .team-card, 
  .blog-card, 
  .info-card {
    margin-bottom: 15px;
  }
  
  .service-img {
    height: 160px;
  }
  
  .gallery-container {
    grid-template-columns: 1fr;
  }
  
  .gallery-item {
    height: 200px;
  }
  
  .shape, .blob {
    display: none;
  }
  
  .contact-form {
    padding: 20px;
    margin-top: 25px;
  }
  
  .form-control {
    height: 45px;
  }
  
  textarea.form-control {
    height: 120px;
  }
  
  .page-header {
    height: 250px;
    margin-bottom: 40px;
  }
  
  .page-title h1 {
    font-size: 1.8rem;
  }
  
  .page-section {
    padding: 50px 0;
  }
  
  footer {
    padding: 50px 0 20px;
  }
  
  .site-title {
    font-size: 1.6rem;
  }
  
  footer h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
  }
  
  .copyright {
    margin-top: 20px;
    padding-top: 15px;
  }
}

/* Media query for prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .swiper-container {
    --swiper-autoplay-delay: 999999s;
  }
}

/* Fix for mobile navigation */
@media (max-width: 991px) {
  .navbar-collapse {
    background-color: white;
    padding: 15px;
    border-radius: 10px;
    margin-top: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  .navbar-nav .nav-link {
    padding: 12px 15px;
    margin: 5px 0;
    border-radius: 5px;
  }
  
  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link.active {
    background-color: var(--neutral-light);
  }
} 