/* Responsive Styles */

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
  .container {
    max-width: 960px;
  }
  
  .hero-title {
    font-size: calc(var(--font-5xl) * 0.9);
  }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
  .container {
    max-width: 720px;
  }
  
  .hero-title {
    font-size: calc(var(--font-5xl) * 0.8);
  }
  
  .services-grid,
  .priceplan-grid,
  .team-grid,
  .blog-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .about-grid,
  .contact-grid,
  .features-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-content {
    padding-right: 0;
  }
  
  .coreinfo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .review-item {
    padding: 30px 20px;
  }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
  .container {
    max-width: 540px;
  }
  
  section {
    padding: 60px 0;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--bg-white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1000;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-menu li {
    margin: 15px 0;
  }
  
  .hero-title {
    font-size: var(--font-4xl);
  }
  
  .hero-subtitle {
    font-size: var(--font-lg);
  }
  
  .section-title h2 {
    font-size: var(--font-2xl);
  }
  
  .services-grid,
  .priceplan-grid,
  .team-grid,
  .blog-grid,
  .coreinfo-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-features {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .page-header {
    height: 250px;
  }
  
  .page-header-title {
    font-size: var(--font-2xl);
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .container {
    padding: 0 20px;
  }
  
  .hero-title {
    font-size: var(--font-3xl);
  }
  
  .hero-subtitle {
    font-size: var(--font-md);
  }
  
  .section-title h2 {
    font-size: var(--font-xl);
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .contact-form {
    padding: 30px 20px;
  }
  
  .about-feature-item,
  .service-item,
  .priceplan-item,
  .coreinfo-item {
    padding: 25px 20px;
  }
  
  .page-header {
    height: 200px;
  }
}

/* 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;
  }
} 