/* AI Brand Voice Analysis - Responsive CSS */

/* Mobile First Approach */

/* Extra Small devices (phones, 576px and down) */
@media (max-width: 575.98px) {
  /* Typography adjustments */
  h1, .display-5 {
    font-size: 2rem;
  }
  
  h2, .h3 {
    font-size: 1.5rem;
  }
  
  h3, .h4 {
    font-size: 1.25rem;
  }
  
  /* Hero section */
  #hero {
    min-height: 80vh;
    padding: 2rem 0;
  }
  
  /* Disable animations on mobile per requirements */
  #hero::before {
    animation: none;
  }
  
  /* Section padding */
  section {
    padding: 2rem 0;
  }
  
  .py-5 {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  
  /* Cards */
  .card-body {
    padding: 1rem;
    overflow-x: hidden;
}
  
  /* Process numbers */
  .process-number,
  .practice-number,
  .timeline-year {
    width: 50px;
    height: 50px;
    font-size: 1rem;
  }
  
  /* Team photos */
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  /* Contact form */
  .form-control,
  .form-select {
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  /* Button sizes */
  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
  
  /* Feature icons */
  .feature-icon,
  .info-icon,
  .resource-icon,
  .download-icon,
  .support-icon {
    width: 50px;
    height: 50px;
  }
  
  /* Navbar brand */
  .navbar-brand {
    font-size: 1.1rem;
  }
  
  /* Gallery images */
  #gallery .col-md-4 {
    margin-bottom: 1rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  /* Hero adjustments */
  #hero {
    min-height: 85vh;
  }
  
  /* Card improvements */
  .card-img-top {
    height: 180px;
  }
  
  /* Process layout */
  .col-lg-2-4 {
    width: 50%;
    margin-bottom: 2rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* Hero section */
  #hero {
    min-height: 90vh;
  }
  
  /* Typography */
  h1, .display-5 {
    font-size: 2.25rem;
  }
  
  /* Grid adjustments */
  .col-lg-2-4 {
    width: 33.333333%;
  }
  
  /* Services grid */
  .services .col-md-6.col-lg-4:nth-child(3) {
    margin-top: 2rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  /* Full hero height */
  #hero {
    min-height: 100vh;
  }
  
  /* Restore animations for desktop */
  #hero::before {
    animation: float 6s ease-in-out infinite;
  }
  
  /* Optimal spacing */
  section {
    padding: 5rem 0;
  }
  
  .py-5 {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
  
  /* Enhanced hover effects */
  .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  }
}

/* Extra Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  /* Container max width */
  .container {
    max-width: 1140px;
  }
  
  /* Enhanced typography */
  h1, .display-5 {
    font-size: 3rem;
  }
  
  h2, .h3 {
    font-size: 2rem;
  }
  
  /* Larger feature icons */
  .feature-icon,
  .info-icon {
    width: 70px;
    height: 70px;
  }
  
  /* Process numbers */
  .process-number,
  .timeline-year {
    width: 70px;
    height: 70px;
    font-size: 1.5rem;
  }
}

/* Ultra Wide screens (1400px and up) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 600px) {
  #hero {
    min-height: 100vh;
    padding: 1rem 0;
  }
  
  section {
    padding: 3rem 0;
  }
}

/* Print styles */
@media print {
  /* Hide navigation */
  .navbar,
  .btn,
  #footer {
    display: none;
  }
  
  /* Adjust colors for print */
  body {
    color: #000;
    background: #fff;
  }
  
  /* Remove shadows and transitions */
  .card,
  .shadow,
  .shadow-sm {
    box-shadow: none;
    border: 1px solid #ddd;
  }
  
  /* Ensure content fits */
  section {
    page-break-inside: avoid;
    padding: 1rem 0;
  }
}

/* Accessibility enhancements */
@media (prefers-reduced-motion: reduce) {
  /* Remove all animations and transitions per requirements */
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  /* Disable hover effects that rely on transform */
  .card:hover,
  .integration-item:hover,
  .download-item:hover,
  .support-item:hover {
    transform: none;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --primary-color: #0000ff;
    --text-dark: #000000;
    --text-muted: #333333;
    --neutral-light: #cccccc;
  }
  
  .btn-primary {
    background-color: #0000ff;
    border-color: #0000ff;
  }
  
  .card {
    border: 2px solid #000;
  }
}

/* Dark mode support */

/* Focus management for keyboard navigation */
.btn:focus,
.form-control:focus,
.form-select:focus,
.nav-link:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Ensure minimum touch targets on mobile */
@media (max-width: 767.98px) {
  .btn,
  .nav-link,
  .form-control,
  .form-select {
    min-height: 44px;
    min-width: 44px;
  }
  
  /* Stack navigation on mobile */
  .navbar-nav {
    text-align: center;
  }
  
  .navbar-nav .nav-item {
    margin: 0.5rem 0;
  }
} 