/* Responsive Styles */

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .container {
    max-width: 960px;
  }
  
  h1, .hero-title {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .container {
    max-width: 720px;
  }
  
  h1, .hero-title {
    font-size: 2.8rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  h3 {
    font-size: 1.75rem;
  }
  
  .hero {
    height: auto;
    padding: 120px 0 80px;
  }
  
  .hero-image {
    position: relative;
    width: 100%;
    height: 400px;
    margin-top: 3rem;
  }
  
  .about-content {
    flex-direction: column;
    gap: 3rem;
  }
  
  .about-images {
    order: -1;
  }
  
  .price-card {
    min-width: 220px;
  }
  
  .price-card.featured {
    transform: scale(1.03);
  }
  
  .price-card.featured:hover {
    transform: scale(1.03) translateY(-10px);
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .container {
    max-width: 540px;
  }
  
  h1, .hero-title {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .hero {
    height: auto;
    padding: 120px 0 60px;
  }
  
  .hero-image {
    position: relative;
    width: 100%;
    height: 350px;
    margin-top: 3rem;
  }
  
  .about-content,
  .contact-container {
    flex-direction: column;
    gap: 3rem;
  }
  
  .about-images {
    order: -1;
  }
  
  .about-features {
    grid-template-columns: 1fr;
  }
  
  .price-card {
    min-width: 100%;
    max-width: 100%;
  }
  
  .price-card.featured {
    transform: scale(1);
    border-width: 3px;
  }
  
  .price-card.featured:hover {
    transform: translateY(-10px);
  }
  
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .container {
    width: 100%;
    padding: 0 1.5rem;
  }
  
  h1, .hero-title {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  h3 {
    font-size: 1.4rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .section-title {
    margin-bottom: 2rem;
  }
  
  .hero {
    height: auto;
    padding: 100px 0 50px;
    text-align: center;
  }
  
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-image {
    position: relative;
    width: 100%;
    height: 300px;
    margin-top: 2.5rem;
  }
  
  .about-content,
  .contact-container {
    flex-direction: column;
    gap: 2.5rem;
  }
  
  .about-images {
    order: -1;
  }
  
  .about-features {
    grid-template-columns: 1fr;
  }
  
  .services-grid,
  .features-grid,
  .core-info-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .price-card {
    min-width: 100%;
    max-width: 100%;
    margin-bottom: 2rem;
  }
  
  .price-card.featured {
    transform: scale(1);
    border-width: 3px;
  }
  
  .price-card.featured:hover {
    transform: translateY(-10px);
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
  }
}

/* Navigation mobile styles */
@media (max-width: 991.98px) {
  .mobile-toggle {
    display: block;
    font-size: 1.5rem;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 280px;
    height: calc(100vh - 70px);
    background-color: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: 0.3s;
    z-index: 1000;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-item {
    margin: 0 0 1.5rem 0;
    width: 100%;
  }
  
  .nav-link {
    display: block;
    width: 100%;
    padding: 0.5rem 0;
  }
  
  .nav-link:after {
    display: none;
  }
}

/* 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;
  }
  
  .service-card:hover,
  .feature-item:hover,
  .price-card:hover,
  .team-member:hover,
  .blog-card:hover,
  .core-info-item:hover,
  .gallery-item:hover .gallery-img {
    transform: none !important;
  }
} 