/* Remote Team Culture Workshop Template - Responsive CSS */

/* Mobile First Approach */

/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  /* Typography adjustments for mobile */
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }
  h4 { font-size: 1.25rem; }
  
  /* Navbar brand smaller on mobile */
  .navbar-brand { font-size: 1.125rem; }
  
  /* Hero section adjustments */
  #hero {
    min-height: 80vh;
    text-align: center;
  }
  
  #hero .container {
    padding: 2rem 1rem;
  }
  
  /* Section padding reduced on mobile */
  section {
    padding: 3rem 0;
  }
  
  /* Card padding reduced */
  .card-body {
    padding: 1.5rem;
    overflow-x: hidden;
}
  
  .service-card,
  .team-card,
  .price-card {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
  
  /* Contact form padding */
  .contact-form {
    padding: 2rem 1.5rem;
  }
  
  .contact-info {
    padding: 2rem 1.5rem;
    margin-top: 2rem;
  }
  
  /* Process steps */
  .process-step {
    padding: 1.5rem 0.5rem;
  }
  
  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  /* Gallery items */
  .gallery-item {
    margin-bottom: 1.5rem;
  }
  
  /* FAQ cards */
  .faq-card {
    padding: 1.5rem;
  }
  
  /* Timeline items */
  .timeline-item {
    padding: 1.5rem;
  }
  
  /* Team photos smaller on mobile */
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  /* Price values smaller on mobile */
  .price-value {
    font-size: 2.5rem;
  }
  
  /* Feature icons smaller */
  .feature-icon {
    font-size: 2rem;
  }
  
  .coreinfo-icon {
    font-size: 2.5rem;
  }
  
  /* Remove hover animations on mobile for better performance */
  .card:hover,
  .service-card:hover,
  .team-card:hover,
  .price-card:hover,
  .career-card:hover,
  .blog-card:hover,
  .casestudy-card:hover {
    transform: none;
  }
  
  /* Disable gallery hover effect on mobile */
  .gallery-item:hover {
    transform: none;
  }
  
  /* Button adjustments */
  .btn-primary,
  .btn-outline-primary {
    padding: 0.625rem 1.5rem;
    font-size: 0.95rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  /* Hero section */
  #hero {
    min-height: 85vh;
  }
  
  /* Cards in 1 column on small devices */
  .service-card,
  .team-card,
  .price-card,
  .career-card {
    margin-bottom: 2rem;
  }
  
  /* Contact form adjustments */
  .contact-form {
    padding: 2.5rem 2rem;
  }
  
  .contact-info {
    padding: 2.5rem 2rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* Hero section */
  #hero {
    min-height: 90vh;
  }
  
  /* 2 columns for medium devices */
  .service-card,
  .team-card,
  .price-card {
    margin-bottom: 2rem;
  }
  
  /* Process steps in 2 columns */
  .process-step {
    padding: 2rem 1rem;
  }
  
  /* FAQ in 1 column on tablets */
  .faq-card {
    margin-bottom: 1.5rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  /* Hero section full height */
  #hero {
    min-height: 95vh;
  }
  
  /* 3 columns for services and team */
  .service-card,
  .team-card {
    margin-bottom: 2rem;
  }
  
  /* Price plans in 3 columns */
  .price-card {
    margin-bottom: 2rem;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  /* Full hero height */
  #hero {
    min-height: 100vh;
  }
  
  /* Maximum container width */
  .container {
    max-width: 1140px;
  }
  
  /* Larger sections on big screens */
  section {
    padding: 5rem 0;
  }
  
  /* Larger cards on desktop */
  .card-body {
    padding: 2.5rem;
  }
  
  .service-card,
  .team-card,
  .price-card {
    padding: 2.5rem;
  }
  
  /* Contact form larger */
  .contact-form {
    padding: 3.5rem;
  }
  
  .contact-info {
    padding: 3.5rem;
  }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 600px) {
  #hero {
    min-height: 100vh;
    padding: 2rem 0;
  }
  
  section {
    padding: 2rem 0;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  /* Ensure crisp rendering on retina displays */
  .team-photo {
    image-rendering: -webkit-optimize-contrast;
  }
  
  .gallery-item img {
    image-rendering: -webkit-optimize-contrast;
  }
}

/* Print styles */
@media print {
  /* Hide navigation and interactive elements */
  #header,
  .btn,
  .contact-form,
  #footer {
    display: none;
  }
  
  /* Adjust colors for print */
  body {
    color: #000;
    background: #fff;
  }
  
  /* Remove shadows and transitions */
  .card,
  .service-card,
  .team-card,
  .price-card {
    box-shadow: none;
    border: 1px solid #ccc;
  }
  
  /* Page breaks */
  section {
    page-break-inside: avoid;
    padding: 1rem 0;
  }
  
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
  }
}

/* Accessibility - Reduced motion */
@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 hover effects */
  .card:hover,
  .service-card:hover,
  .team-card:hover,
  .price-card:hover,
  .btn:hover,
  .gallery-item:hover {
    transform: none !important;
  }
}

/* Dark mode support */

/* Focus management for accessibility */
@media (any-hover: none) {
  /* Touch devices - remove hover states */
  .card:hover,
  .service-card:hover,
  .team-card:hover,
  .price-card:hover,
  .btn:hover,
  .nav-link:hover {
    transform: none;
    color: inherit;
  }
}

/* Custom breakpoint for very small screens */
@media (max-width: 360px) {
  /* Extra small phones */
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  
  .navbar-brand { font-size: 1rem; }
  
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .card-body,
  .service-card,
  .team-card,
  .price-card,
  .contact-form,
  .contact-info {
    padding: 1rem;
  }
  
  .btn-primary,
  .btn-outline-primary {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
}

/* iPad specific adjustments */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
  /* iPad portrait and landscape */
  .container {
    max-width: 720px;
  }
  
  /* Touch-friendly button sizes */
  .btn {
    min-height: 44px;
    padding: 0.75rem 2rem;
  }
  
  /* Form controls larger for touch */
  .form-control {
    min-height: 44px;
    padding: 0.875rem 1rem;
  }
}

/* Navigation improvements for mobile */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--bg-white);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-top: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
} 