/* Responsive CSS - Mobile First Approach */

/* Large devices (desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero-content h1 {
    font-size: 3.5rem;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .service-card {
    padding: 3rem;
  }
  
  .price-card {
    padding: 3rem 2.5rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 1199.98px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .service-card {
    padding: 2.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-form {
    padding: 2.5rem;
  }
  
  .team-image {
    width: 100px;
    height: 100px;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .service-card {
    padding: 2rem;
    margin-bottom: 1.5rem;
  }
  
  .price-card {
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
  }
  
  .feature-item {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .team-card {
    margin-bottom: 2rem;
  }
  
  .review-card {
    margin-bottom: 1.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .process-step {
    margin-bottom: 2rem;
  }
  
  .timeline-item {
    margin-bottom: 1.5rem;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  /* Disable animations on mobile */
  @media (prefers-reduced-motion: no-preference) {
    .feature-item:hover,
    .service-card:hover,
    .price-card:hover,
    .team-card:hover,
    .blog-card:hover,
    .gallery-item:hover {
      transform: none;
      box-shadow: none;
    }
    
    .btn-primary:hover,
    .btn-outline-primary:hover {
      transform: none;
    }
  }
  
  /* Typography adjustments */
  .hero-content h1 {
    font-size: 1.75rem;
    line-height: 1.2;
  }
  
  .section-title {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  
  .section-subtitle {
    font-size: 0.75rem;
  }
  
  .section-description {
    font-size: 1rem;
  }
  
  /* Hero section mobile adjustments */
  #hero {
    min-height: 90vh;
    padding: 2rem 0;
  }
  
  .hero-shape-1,
  .hero-shape-2 {
    display: none;
  }
  
  /* Navigation adjustments */
  .navbar-brand {
    font-size: 1.1rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    text-align: center;
  }
  
  /* Section padding adjustments */
  .section {
    padding: 3rem 0;
  }
  
  .section-header {
    margin-bottom: 2rem;
  }
  
  /* Cards and components */
  .service-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .service-image {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .price-card {
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
  }
  
  .price-value {
    font-size: 2.5rem;
  }
  
  .feature-item {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .feature-icon {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  .team-card {
    padding: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .team-image {
    width: 80px;
    height: 80px;
    font-size: 1.5rem;
  }
  
  .review-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .case-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .process-step {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1rem;
  }
  
  .timeline-item {
    padding: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .career-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .info-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .faq-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  
  /* Gallery adjustments */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .gallery-item {
    height: 200px;
  }
  
  /* Contact form adjustments */
  .contact-form {
    padding: 1.5rem;
  }
  
  .contact-info {
    padding: 1.5rem;
    margin-top: 2rem;
  }
  
  .contact-item {
    margin-bottom: 1rem;
  }
  
  .contact-icon {
    width: 35px;
    height: 35px;
    font-size: 0.875rem;
  }
  
  /* Blog adjustments */
  .blog-card {
    margin-bottom: 2rem;
  }
  
  .blog-image {
    height: 150px;
    font-size: 1.5rem;
  }
  
  .blog-content {
    padding: 1rem;
  }
  
  /* Footer adjustments */
  #footer {
    padding: 2rem 0 1rem 0;
  }
  
  .footer-content {
    text-align: center;
    margin-bottom: 1.5rem;
  }
  
  .footer-bottom {
    padding-top: 1.5rem;
  }
  
  /* Button adjustments */
  .btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
  }
  
  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
  
  /* Form adjustments */
  .form-control {
    padding: 0.625rem 0.875rem;
    font-size: 0.875rem;
  }
  
  /* Utility classes for mobile */
  .mobile-center {
    text-align: center;
  }
  
  .mobile-full-width {
    width: 100%;
  }
  
  /* Hide decorative elements on very small screens */
  .hero-shape,
  .decorative-element {
    display: none;
  }
}

/* Landscape orientation adjustments for phones */
@media (max-width: 767.98px) and (orientation: landscape) {
  #hero {
    min-height: 70vh;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .hero-content h1 {
    font-size: 1.5rem;
  }
  
  .section-title {
    font-size: 1.25rem;
  }
}

/* Print styles */
@media print {
  #header,
  #footer,
  .btn,
  .navbar {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
    color: black;
    background: white;
    overflow-x: hidden;
}
  
  .section {
    page-break-inside: avoid;
    padding: 1rem 0;
  }
  
  .service-card,
  .price-card,
  .team-card,
  .review-card {
    border: 1px solid #ccc;
    page-break-inside: avoid;
    margin-bottom: 1rem;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  :root {
    --primary-blue: #0000FF;
    --primary-purple: #800080;
    --primary-teal: #008080;
    --primary-orange: #FF8000;
    --primary-pink: #FF00FF;
    --dark-gray: #000000;
    --medium-gray: #666666;
    --light-gray: #CCCCCC;
    --white: #FFFFFF;
  }
  
  .btn-primary {
    background: var(--primary-blue);
    border: 2px solid var(--dark-gray);
  }
  
  .btn-outline-primary {
    border: 3px solid var(--primary-blue);
  }
  
  .service-card,
  .price-card,
  .review-card {
    border: 2px solid var(--dark-gray);
  }
}

/* Focus management for better accessibility */
@media (max-width: 767.98px) {
  button:focus,
  .btn:focus,
  .form-control:focus,
  a:focus {
    outline: 3px solid var(--primary-blue);
    outline-offset: 3px;
  }
  
  .navbar-toggler:focus {
    box-shadow: 0 0 0 3px var(--primary-blue);
  }
}

/* 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;
  }
} 