/* SaaS Incident Response Template - Responsive CSS */

/* ============================================
   MOBILE FIRST RESPONSIVE DESIGN
   ============================================ */

/* Extra Small devices (phones, 576px and down) */
@media (max-width: 575.98px) {
  
  /* NO ANIMATIONS ON MOBILE - Critical requirement */
  * {
    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; }
  h4 { font-size: 1.125rem; }
  
  /* Navbar brand conservative sizing */
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  /* Hero section adjustments */
  .hero-section {
    min-height: 80vh;
    padding: 2rem 0;
  }
  
  /* Section padding reduction */
  .section-padding {
    padding: 3rem 0;
  }
  
  /* Service cards stacking */
  .service-card {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
  }
  
  /* Pricing cards no scaling */
  .pricing-card.featured {
    transform: none;
  }
  
  /* Team photos smaller */
  .team-photo {
    width: 80px;
    height: 80px;
  }
  
  /* Contact form padding */
  .contact-form {
    padding: 1.5rem;
  }
  
  /* Button adjustments */
  .btn-primary,
  .btn-outline-primary {
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
  }
  
  /* Footer padding */
  .footer {
    padding: 2rem 0 1rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  
  /* NO ANIMATIONS ON MOBILE - Critical requirement */
  * {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
  
  /* Typography adjustments */
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  
  /* Navbar brand */
  .navbar-brand {
    font-size: 1.375rem;
  }
  
  /* Hero section */
  .hero-section {
    min-height: 85vh;
    padding: 2.5rem 0;
  }
  
  /* Section padding */
  .section-padding {
    padding: 4rem 0;
  }
  
  /* Service cards */
  .service-card {
    margin-bottom: 1.5rem;
    padding: 1.75rem;
  }
  
  /* Pricing cards no scaling */
  .pricing-card.featured {
    transform: none;
  }
  
  /* Team photos */
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  /* Contact form */
  .contact-form {
    padding: 2rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  
  /* Typography */
  h1 { font-size: 2.125rem; }
  h2 { font-size: 1.875rem; }
  
  /* Navbar brand */
  .navbar-brand {
    font-size: 1.5rem;
  }
  
  /* Hero section */
  .hero-section {
    min-height: 90vh;
  }
  
  /* Section padding */
  .section-padding {
    padding: 4.5rem 0;
  }
  
  /* Service cards in 2 columns */
  .service-card {
    margin-bottom: 2rem;
    padding: 2rem;
  }
  
  /* Pricing cards slight scaling */
  .pricing-card.featured {
    transform: scale(1.02);
  }
  
  /* Team photos */
  .team-photo {
    width: 110px;
    height: 110px;
  }
  
  /* Contact form */
  .contact-form {
    padding: 2.25rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  
  /* Full hero height */
  .hero-section {
    min-height: 100vh;
  }
  
  /* Standard section padding */
  .section-padding {
    padding: 5rem 0;
  }
  
  /* Service cards full styling */
  .service-card {
    margin-bottom: 2rem;
  }
  
  /* Pricing cards scaling */
  .pricing-card.featured {
    transform: scale(1.05);
  }
  
  /* Team photos */
  .team-photo {
    width: 120px;
    height: 120px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  
  /* Larger containers for better spacing */
  .hero-section {
    min-height: 100vh;
  }
  
  /* Increased section padding for larger screens */
  .section-padding {
    padding: 6rem 0;
  }
  
  /* Service cards with more spacing */
  .service-card {
    margin-bottom: 2.5rem;
  }
  
  /* Full pricing card scaling */
  .pricing-card.featured {
    transform: scale(1.05);
  }
  
  /* Larger team photos */
  .team-photo {
    width: 140px;
    height: 140px;
  }
  
  /* Larger contact form */
  .contact-form {
    padding: 3rem;
  }
}

/* ============================================
   LANDSCAPE ORIENTATION ADJUSTMENTS
   ============================================ */
@media (orientation: landscape) and (max-height: 600px) {
  
  /* Reduce hero height in landscape */
  .hero-section {
    min-height: 80vh;
  }
  
  /* Reduce section padding */
  .section-padding {
    padding: 3rem 0;
  }
}

/* ============================================
   HIGH DPI DISPLAYS
   ============================================ */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  
  /* Ensure crisp text rendering */
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  
  /* Hide unnecessary elements */
  .navbar,
  .footer,
  .btn,
  .hero-section::before {
    display: none !important;
  }
  
  /* Optimize for print */
  body {
    font-size: 12pt;
    line-height: 1.4;
    color: #000;
    background: #fff;
  }
  
  /* Remove shadows and effects */
  .service-card,
  .pricing-card,
  .contact-form {
    box-shadow: none !important;
    border: 1px solid #ccc !important;
  }
}

/* ============================================
   ACCESSIBILITY IMPROVEMENTS
   ============================================ */

/* High contrast mode support */
@media (prefers-contrast: high) {
  
  :root {
    --primary-color: #000080;
    --text-primary: #000000;
    --text-secondary: #333333;
    --border-color: #666666;
  }
  
  .service-card,
  .pricing-card {
    border-width: 2px;
  }
}

/* Reduced motion respect - CRITICAL */
@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 all transforms */
  .service-card:hover,
  .pricing-card.featured {
    transform: none !important;
  }
}

/* Dark mode preference */

.hero-content {
    padding-top: 100px;
}