/* Responsive Styles - Mobile First Approach */

/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  /* Remove all animations on mobile */
  * {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
  
  /* Typography adjustments */
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
  
  /* Hero section mobile */
  #hero {
    min-height: 80vh;
    text-align: center;
    padding: 2rem 0;
  }
  
  #hero::before {
    display: none;
  }
  
  /* Section padding mobile */
  .section-padding,
  #about, #services, #features, #priceplan,
  #team, #reviews, #casestudy, #process,
  #timeline, #career, #coreinfo, #contacts,
  #blog, #faq, #gallery {
    padding: 3rem 0;
  }
  
  /* Cards mobile */
  .service-card,
  .feature-card,
  .price-card,
  .team-card,
  .review-card,
  .blog-card,
  .faq-card {
    margin-bottom: 1.5rem;
  }
  
  /* Price cards mobile */
  .price-card.featured {
    transform: none;
  }
  
  /* Team photos mobile */
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  /* Gallery mobile */
  .gallery-item img {
    height: 200px;
  }
  
  /* Contact form mobile */
  .btn-primary {
    width: 100%;
    margin-top: 1rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  /* Remove animations on small devices */
  * {
    animation: none !important;
    transition: none !important;
  }
  
  #hero {
    min-height: 85vh;
  }
  
  .section-padding,
  #about, #services, #features, #priceplan,
  #team, #reviews, #casestudy, #process,
  #timeline, #career, #coreinfo, #contacts,
  #blog, #faq, #gallery {
    padding: 4rem 0;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* Hero section tablet */
  #hero {
    min-height: 90vh;
  }
  
  /* Gallery tablet */
  .gallery-item img {
    height: 220px;
  }
  
  /* Team photos tablet */
  .team-photo {
    width: 110px;
    height: 110px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  /* Hero section desktop */
  #hero {
    min-height: 100vh;
  }
  
  /* Gallery desktop */
  .gallery-item img {
    height: 250px;
  }
  
  /* Price card featured scaling */
  .price-card.featured {
    transform: scale(1.05);
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  /* Container max width adjustments */
  .container {
    max-width: 1140px;
  }
  
  /* Hero decorative elements */
  #hero::before {
    display: block;
  }
}

/* Ultra wide screens (1400px and up) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* Print styles */
@media print {
  * {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    box-shadow: none !important;
  }
  
  #header,
  #footer {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
    overflow-x: hidden;
}
  
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
  }
  
  .card,
  .service-card,
  .feature-card,
  .price-card,
  .team-card,
  .review-card,
  .blog-card,
  .faq-card {
    page-break-inside: avoid;
    border: 1px solid #ddd;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  :root {
    --primary-cream: #ffffff;
    --primary-sage: #000000;
    --primary-terracotta: #000000;
    --primary-charcoal: #000000;
    --primary-white: #ffffff;
  }
  
  .card,
  .service-card,
  .feature-card,
  .price-card,
  .team-card,
  .review-card,
  .blog-card,
  .faq-card {
    border: 2px solid #000000;
  }
}

/* Reduced motion - Global override */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  /* Remove hover effects */
  .service-card:hover,
  .feature-card:hover,
  .price-card:hover,
  .team-card:hover,
  .review-card:hover,
  .blog-card:hover,
  .gallery-item:hover img {
    transform: none !important;
  }
} 