/* Responsive CSS for AI Resume Keyword Matcher */
/* Mobile-first approach with no animations on mobile */

/* Extra Small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
  /* Typography adjustments */
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.125rem; }
  
  /* Remove all animations and transitions on mobile */
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
  
  /* Section spacing */
  section {
    padding: 2rem 0;
  }
  
  /* Header adjustments */
  .navbar-brand {
    font-size: 1.125rem;
  }
  
  /* Hero section mobile */
  #hero {
    min-height: 70vh;
    text-align: center;
  }
  
  .hero-decorative {
    display: none;
  }
  
  /* Cards and components */
  .feature-card,
  .service-card,
  .price-card,
  .team-card,
  .review-card,
  .case-card,
  .career-card,
  .info-card,
  .faq-card,
  .blog-card {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
  }
  
  /* Price cards mobile adjustments */
  .price-card.featured {
    transform: none;
    margin-bottom: 1.5rem;
  }
  
  /* Process steps mobile */
  .process-step {
    padding: 1.5rem 1rem;
  }
  
  .process-step::after {
    display: none;
  }
  
  /* Team photos smaller on mobile */
  .team-photo {
    width: 100px;
    height: 100px;
    font-size: 2.5rem;
  }
  
  /* Gallery grid mobile */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  
  /* Contact section mobile */
  .contact-form,
  .contact-info {
    margin-bottom: 2rem;
  }
  
  /* Blog cards mobile */
  .blog-image {
    height: 150px;
    font-size: 2rem;
  }
  
  /* Form controls mobile */
  .form-control {
    padding: 0.875rem;
    font-size: 1rem;
  }
  
  .btn-primary {
    width: 100%;
    padding: 1rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  /* Reduce animations for small tablets */
  .feature-card:hover,
  .service-card:hover,
  .career-card:hover,
  .blog-card:hover,
  .gallery-item:hover {
    transform: none;
  }
  
  /* Gallery grid for small tablets */
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* Process line adjustments */
  .process-step::after {
    display: none;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* Section spacing */
  section {
    padding: 3rem 0;
  }
  
  /* Hero adjustments */
  #hero {
    min-height: 80vh;
  }
  
  /* Gallery grid for tablets */
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  /* Process steps with reduced line */
  .process-step::after {
    width: 50%;
    right: -25%;
  }
  
  /* Team grid adjustments */
  .team-card {
    margin-bottom: 2rem;
  }
  
  /* Service and price cards */
  .service-card,
  .price-card {
    margin-bottom: 2rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  /* Full section spacing */
  section {
    padding: 4rem 0;
  }
  
  /* Gallery grid for desktop */
  .gallery-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  
  /* Process steps with full line */
  .process-step::after {
    width: 80%;
    right: -40%;
  }
  
  /* Hero full height */
  #hero {
    min-height: 90vh;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  /* Maximum section spacing */
  section {
    padding: 5rem 0;
  }
  
  /* Gallery grid for large desktop */
  .gallery-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  
  /* Hero full screen */
  #hero {
    min-height: 100vh;
  }
  
  /* Process steps with full line */
  .process-step::after {
    width: 100%;
    right: -50%;
  }
  
  /* Container max width adjustment */
  .container {
    max-width: 1140px;
  }
}

/* Specific mobile navigation adjustments */
@media (max-width: 767.98px) {
  /* Standard Bootstrap 5 mobile menu - no customization */
  .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
  }
  
  .navbar-toggler:focus {
    box-shadow: none;
  }
  
  .navbar-collapse {
    margin-top: 1rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 0;
    text-align: center;
    border-bottom: 1px solid rgba(0,0,0,0.1);
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
}

/* Print styles */
@media print {
  /* Remove animations and transitions for print */
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    box-shadow: none !important;
  }
  
  /* Hide decorative elements */
  .hero-decorative,
  .navbar,
  #footer {
    display: none;
  }
  
  /* Adjust colors for print */
  .feature-card,
  .service-card,
  .price-card,
  .team-card,
  .review-card,
  .case-card,
  .career-card,
  .info-card,
  .faq-card,
  .blog-card {
    border: 1px solid #000;
    box-shadow: none;
  }
  
  /* Ensure good contrast */
  h1, h2, h3, h4, h5, h6 {
    color: #000;
  }
  
  p, .section-description {
    color: #333;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --primary-blue: #0066CC;
    --primary-green: #00AA00;
    --primary-purple: #7700AA;
    --primary-orange: #CC6600;
    --primary-red: #CC0000;
    --dark-gray: #000000;
    --medium-gray: #444444;
  }
  
  .feature-card,
  .service-card,
  .price-card,
  .team-card,
  .review-card,
  .case-card,
  .career-card,
  .info-card,
  .faq-card,
  .blog-card {
    border: 2px solid #000;
  }
}

/* Focus styles for accessibility */
@media (prefers-reduced-motion: no-preference) {
  .btn:focus,
  .form-control:focus,
  .nav-link:focus {
    outline: 3px solid rgba(74, 144, 226, 0.5);
    outline-offset: 2px;
  }
}

/* Dark mode support (if needed) */

/* Orientation adjustments */
@media (orientation: landscape) and (max-height: 500px) {
  #hero {
    min-height: 100vh;
    padding: 2rem 0;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
}

/* Container adjustments for different breakpoints */
@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* Specific component responsive adjustments */

/* Services section responsive */
@media (max-width: 767.98px) {
  .service-card {
    text-align: center;
  }
  
  .service-image {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}

/* Team section responsive */
@media (max-width: 767.98px) {
  .team-card {
    text-align: center;
  }
}

/* FAQ section responsive */
@media (max-width: 767.98px) {
  .faq-card {
    padding: 1rem;
  }
  
  .faq-question {
    font-size: 1rem;
  }
}

/* Contact section responsive */
@media (max-width: 767.98px) {
  .contact-item {
    flex-direction: column;
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .contact-icon {
    margin-right: 0;
    margin-bottom: 0.5rem;
  }
}

/* Blog section responsive */
@media (max-width: 767.98px) {
  .blog-content {
    padding: 1rem;
  }
}

/* Process section responsive */
@media (max-width: 767.98px) {
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
}

/* Timeline section responsive */
@media (max-width: 767.98px) {
  .timeline-item {
    padding: 1rem;
    margin-bottom: 1rem;
  }
}

/* Footer responsive */
@media (max-width: 767.98px) {
  #footer {
    padding: 2rem 0 1rem;
  }
  
  .footer-section {
    margin-bottom: 2rem;
    text-align: center;
  }
  
  .footer-bottom {
    text-align: center;
  }
} 