/* Voice-Controlled Cooking Assistant - Responsive Styles */

/* Mobile First Approach - Base styles for mobile */

/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  /* No animations on mobile as per requirements */
  [data-sal] {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
  
  /* Header */
  .navbar-brand {
    font-size: 1.125rem;
  }
  
  .navbar-toggler {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
  }
  
  /* Hero Section */
  .hero-section {
    padding-top: 80px;
  }
  
  .hero-section h1 {
    font-size: 1.75rem;
    line-height: 1.2;
    padding-top: 275px;
}
  
  .hero-section h2 {
    font-size: 1.125rem;
  }
  
  .hero-section p {
    font-size: 0.95rem;
  }
  
  .hero-buttons .btn {
    padding: 10px 20px;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    display: block;
    width: 100%;
  }
  
  .hero-buttons .btn:last-child {
    margin-bottom: 0;
  }
  
  /* Shapes - smaller on mobile */
  .shape-1 {
    width: 100px;
    height: 100px;
  }
  
  .shape-2 {
    width: 80px;
    height: 80px;
  }
  
  /* Cards */
  .feature-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .service-card .card-img-top {
    height: 150px;
  }
  
  .service-card .price {
    font-size: 1.25rem;
  }
  
  /* Team */
  .team-photo {
    width: 80px;
    height: 80px;
  }
  
  .team-member {
    padding: 0.5rem;
    margin-bottom: 2rem;
  }
  
  /* Process Steps */
  .step-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .process-step {
    padding: 1rem;
    margin-bottom: 2rem;
  }
  
  /* Timeline */
  .timeline-year {
    font-size: 1rem;
    padding: 0.25rem 0.75rem;
  }
  
  .timeline-item {
    padding: 1rem;
    margin-bottom: 2rem;
  }
  
  /* Pricing */
  .price-tag {
    font-size: 1.25rem;
  }
  
  .pricing-card.featured {
    transform: none;
    border-width: 1px;
  }
  
  /* Contact Form */
  .contact-form {
    padding: 1.5rem;
    margin: 1rem;
  }
  
  .contact-form .btn {
    padding: 12px 30px;
    font-size: 1rem;
  }
  
  /* Section Spacing */
  section {
    padding: 2rem 0;
  }
  
  /* Typography */
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  h4 {
    font-size: 1.125rem;
  }
  
  h5 {
    font-size: 1rem;
  }
  
  /* Gallery */
  .gallery img {
    margin-bottom: 1rem;
  }
  
  /* Footer */
  footer .container > .row > .col-lg-4 {
    margin-bottom: 2rem;
    text-align: center;
  }
  
  /* Additional page components */
  .solution-card,
  .training-program,
  .command-category,
  .metric-card,
  .roadmap-item {
    padding: 1.25rem;
    margin-bottom: 1.5rem;
  }
  
  .troubleshoot-card,
  .success-story,
  .integration-card {
    margin-bottom: 1.5rem;
  }
  
  .metric-number {
    font-size: 2rem;
  }
  
  .roadmap-quarter {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
  }
  
  .breadcrumb-nav {
    margin-top: 60px;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  /* Hero */
  .hero-section h1 {
    font-size: 2.25rem;
    padding-top: 275px;
}
  
  .hero-section h2 {
    font-size: 1.25rem;
  }
  
  /* Team grid adjustment */
  .team-member {
    margin-bottom: 2rem;
  }
  
  /* Process steps in rows */
  .process-step {
    margin-bottom: 2rem;
  }
  
  /* Contact form */
  .contact-form {
    padding: 2rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* Hero */
  .hero-section h1 {
    font-size: 2.75rem;
    padding-top: 275px;
}
  
  .hero-section h2 {
    font-size: 1.375rem;
  }
  
  /* Cards in 2 columns */
  .service-card .card-img-top {
    height: 180px;
  }
  
  /* Team photos */
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  /* Process steps */
  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  /* Contact form */
  .contact-form {
    padding: 2.5rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  /* Hero */
  .hero-section h1 {
    font-size: 3rem;
    padding-top: 275px;
}
  
  /* Team layout */
  .team-member {
    padding: 0.75rem;
  }
  
  /* Process steps in a row */
  .process-step {
    padding: 1.25rem;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  /* Hero */
  .hero-section h1 {
    font-size: 3.5rem;
    padding-top: 275px;
}
  
  /* Container max width adjustments */
  .container {
    max-width: 1140px;
  }
  
  /* Larger cards on big screens */
  .feature-card {
    padding: 2.5rem;
  }
  
  .service-card .card-img-top {
    height: 220px;
  }
  
  /* Contact form */
  .contact-form {
    padding: 3.5rem;
  }
}

/* Extra extra large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  /* Even larger hero text */
  .hero-section h1 {
    font-size: 4rem;
    padding-top: 275px;
}
  
  .hero-section h2 {
    font-size: 1.75rem;
  }
  
  /* Bigger decorative shapes */
  .shape-1 {
    width: 250px;
    height: 250px;
  }
  
  .shape-2 {
    width: 200px;
    height: 200px;
  }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 600px) {
  /* Reduce hero height on landscape mobile */
  .hero-section {
    min-height: 100vh;
  }
  
  .hero-section .row {
    min-height: auto;
  }
  
  /* Smaller section padding */
  section {
    padding: 2rem 0;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  /* Ensure crisp borders and shadows */
  .card, .btn, .form-control {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

/* Print styles */
@media print {
  /* Hide navigation and interactive elements */
  .navbar, .hero-buttons, .btn, footer {
    display: none !important;
  }
  
  /* Adjust colors for print */
  * {
    color: #000 !important;
    background: #fff !important;
  }
  
  /* Remove shadows and transforms */
  .card, .feature-card, .service-card {
    box-shadow: none !important;
    transform: none !important;
  }
  
  /* Ensure readable font sizes */
  body {
    font-size: 12pt;
    line-height: 1.4;
    overflow-x: hidden;
}
  
  h1 { font-size: 18pt; }
  h2 { font-size: 16pt; }
  h3 { font-size: 14pt; }
  h4 { font-size: 12pt; }
  h5 { font-size: 11pt; }
  h6 { font-size: 10pt; }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  /* Remove all animations and transitions */
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  /* Remove transforms */
  .hero-buttons .btn:hover,
  .btn-primary:hover,
  .btn-outline-primary:hover,
  .feature-card:hover,
  .service-card:hover,
  .team-photo:hover {
    transform: none !important;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  /* Increase contrast for better accessibility */
  :root {
    --primary-color: #0000ff;
    --text-primary: #000000;
    --text-secondary: #333333;
    --border-color: #000000;
  }
  
  .card, .btn, .form-control {
    border: 2px solid #000000;
  }
  
  .btn-primary {
    background-color: #000000;
    color: #ffffff;
  }
  
  .btn-outline-primary {
    color: #000000;
    border-color: #000000;
  }
}

/* Dark mode preference */

/* Focus styles for keyboard navigation */
.btn:focus,
.form-control:focus,
.nav-link:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Ensure minimum touch target size (44px) */
@media (max-width: 767.98px) {
  .btn,
  .nav-link,
  .navbar-toggler {
    min-height: 44px;
    min-width: 44px;
  }
  
  .form-control {
    min-height: 44px;
  }
} 