/* AI Code Review Service - Responsive Stylesheet */

/* Mobile First Approach - Base styles for mobile devices */

/* Extra Small devices (phones, 576px and down) */
@media (max-width: 575.98px) {
  /* Typography adjustments for mobile */
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.82rem;
  }
  
  h3 {
    font-size: 1.28rem;
  }
  
  /* Hero section adjustments */
  .hero {
    min-height: 80vh;
    padding: 2rem 0;
  }
  
  .hero-content {
    text-align: center;
    padding-top: 150px;
}
  
  /* Button adjustments */
  .btn {
    padding: 10px 20px;
    font-size: 1.03rem;
  }
  
  /* Card adjustments */
  .card-body {
    padding: 1rem;
  }
  
  /* Services cards */
  .services-card {
    padding: 1.5rem;
    margin-bottom: 1.66rem;
  }
  
  .services-card .card-img-top {
    width: 60px;
    height: 60px;
  }
  
  .services-price {
    font-size: 1.61rem;
  }
  
  /* Team member adjustments */
  .team-member img {
    width: 80px;
    height: 80px;
  }
  
  /* Review cards */
  .review-card {
    padding: 1.5rem;
  }
  
  .review-card::before {
    font-size: 3rem;
  }
  
  /* FAQ cards */
  .faq-card {
    padding: 1rem;
  }
  
  /* Contact form */
  .contact-form {
    padding: 1.5rem;
  }
  
  /* Section spacing */
  .section {
    padding: 3rem 0;
  }
  
  /* Process steps */
  .process-step {
    padding: 1rem;
  }
  
  .process-step::after {
    display: none;
  }
  
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.28rem;
  }
  
  /* Timeline adjustments */
  .timeline-item {
    padding: 1rem;
    margin-left: 1rem;
  }
  
  /* Price plans */
  .price-plan {
    padding: 1.5rem;
    margin-bottom: 1.80rem;
  }
  
  .price-amount {
    font-size: 2rem;
  }
  
  /* Blog cards */
  .blog-card img {
    height: 150px;
  }
  
  .blog-card-body {
    padding: 1rem;
  }
  
  /* Footer adjustments */
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  /* Gallery adjustments */
  .gallery-item img {
    height: 200px;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  /* Hero section */
  .hero {
    min-height: 85vh;
  }
  
  /* Services grid */
  .services-card {
    margin-bottom: 2rem;
  }
  
  /* Team members */
  .team-member img {
    width: 100px;
    height: 100px;
  }
  
  /* Process steps */
  .process-step::after {
    display: none;
  }
  
  /* Price plans */
  .price-plan {
    margin-bottom: 2rem;
  }
  
  .price-amount {
    font-size: 2.63rem;
  }
  
  /* Gallery */
  .gallery-item img {
    height: 220px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* Hero section */
  .hero {
    min-height: 90vh;
  }
  
  /* Typography */
  h1 {
    font-size: 2.34rem;
  }
  
  h2 {
    font-size: 1.93rem;
  }
  
  /* Services cards */
  .services-card .card-img-top {
    width: 70px;
    height: 70px;
  }
  
  .services-price {
    font-size: 1.88rem;
  }
  
  /* Team members */
  .team-member img {
    width: 110px;
    height: 110px;
  }
  
  /* Process steps */
  .process-step::after {
    right: -25%;
    width: 50%;
  }
  
  /* Price plans */
  .price-amount {
    font-size: 2.85rem;
  }
  
  /* Gallery */
  .gallery-item img {
    height: 230px;
  }
  
  /* Blog cards */
  .blog-card img {
    height: 180px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  /* Hero section */
  .hero {
    min-height: 95vh;
  }
  
  /* Responsive layout adjustments handled by Bootstrap */
  
  /* Process steps */
  .process-step::after {
    right: -33%;
    width: 66%;
  }
  
  /* Gallery */
  .gallery-item img {
    height: 240px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  /* Hero section */
  .hero {
    min-height: 100vh;
  }
  
  /* Bootstrap handles container and grid layouts */
  
  /* Process steps full width */
  .process-step::after {
    right: -50%;
    width: 100%;
  }
  
  /* Gallery */
  .gallery-item img {
    height: 250px;
  }
}

/* Ultra-wide screens (1400px and up) */
@media (min-width: 1400px) {
  /* Bootstrap handles container max-width */
  
  /* Hero section adjustments */
  .hero {
    padding: 0;
  }
  
  /* Section spacing */
  .section {
    padding: 6rem 0;
  }
  
  /* Typography scaling */
  h1 {
    font-size: 2.89rem;
  }
  
  h2 {
    font-size: 2.38rem;
  }
  
  /* Services cards */
  .services-card {
    padding: 2.5rem;
  }
  
  /* Team members */
  .team-member img {
    width: 140px;
    height: 140px;
  }
  
  /* Review cards */
  .review-card {
    padding: 2.5rem;
  }
  
  /* Contact form */
  .contact-form {
    padding: 2.5rem;
  }
  
  /* Price plans */
  .price-plan {
    padding: 2.5rem;
  }
  
  .price-amount {
    font-size: 3.54rem;
  }
}

/* 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 {
  * {
    background: transparent;
    color: black;
    box-shadow: none;
    text-shadow: none;
  }
  
  .hero {
    min-height: auto;
    background: none;
  }
  
  .hero::before {
    display: none;
  }
  
  .btn {
    display: none;
  }
  
  .navbar {
    display: none;
  }
  
  .footer {
    background: none;
    color: black;
  }
  
  .card {
    box-shadow: none;
    border: 1px solid #f6f6f6;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .process-step::after {
    display: none;
  }
  
  .timeline-item::before {
    display: none;
  }
  
  img {
    max-width: 100%;
  }
  
  .d-print-none {
    display: none;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --primary-blue: #0765e2;
    --accent-purple: #4d00b8;
    --success-green: #22791a;
    --warning-orange: #ffb613;
    --neutral-gray: #2c2a2a;
    
    --text-primary: #000000;
    --text-secondary: #4b4b4b;
    --text-muted: #6e6e6e;
    
    --bg-primary: #FFFFFF;
    --bg-secondary: #F0F0F0;
    --bg-accent: #e9e4e3;
  }
  
  .card {
    border: 2px solid var(--neutral-gray);
  }
  
  .btn {
    border: 2px solid;
  }
  
  .form-control {
    border: 2px solid var(--neutral-gray);
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .hero::before {
    animation: none;
  }
  
  .card:hover {
    transform: none;
  }
  
  .btn:hover {
    transform: none;
  }
  
  .gallery-item:hover img {
    transform: none;
  }
  
  .services-card:hover {
    transform: none;
  }
  
  .blog-card:hover {
    transform: none;
  }
  
  .price-plan:hover {
    transform: none;
  }
}

/* Dark mode support */