/* Mobile First Responsive Design */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .hero-content h1 {
    font-size: 2rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .navbar-brand {
    font-size: 1.5rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .hero-content h1 {
    font-size: var(--font-size-3xl);
  }
  
  .hero-shapes {
    display: block;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container-xl {
    max-width: 1140px;
  }
}

/* Mobile specific styles (up to 768px) */
@media (max-width: 767.98px) {
  /* Disable animations on mobile for better performance */
  * {
    animation: none !important;
    transition: none !important;
  }
  
  /* Mobile typography adjustments */
  .hero-content h1 {
    font-size: 1.75rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .navbar-brand {
    font-size: 1.125rem;
  }
  
  /* Mobile padding adjustments */
  section {
    padding: 3rem 0 !important;
  }
  
  .service-card,
  .price-card,
  .team-card {
    margin-bottom: 1.5rem;
  }
  
  /* Hide decorative shapes on mobile */
  .hero-shape {
    display: none;
  }
  
  /* Mobile form adjustments */
  .contact-form {
    padding: 1.5rem;
  }
  
  /* Mobile gallery adjustments */
  .gallery-item img {
    height: 200px;
  }
  
  /* Mobile navigation adjustments */
  .navbar-toggler {
    border: none;
    padding: 0.5rem;
  }
  
  .navbar-toggler:focus {
    box-shadow: none;
  }
  
  /* Mobile hero section */
  #hero {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-content {
    margin-bottom: 2rem;
    padding-top: 200px;
}
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .hero-content h1 {
    font-size: 1.5rem;
  }
  
  .section-title {
    font-size: 1.25rem;
  }
  
  .service-price,
  .price-value {
    font-size: 1.25rem;
  }
  
  .process-number {
    width: 40px;
    height: 40px;
    font-size: 0.875rem;
  }
  
  /* Adjust card padding for very small screens */
  .service-card,
  .price-card,
  .feature-card,
  .team-card {
    padding: 1rem;
  }
  
  .contact-form {
    padding: 1rem;
  }
}

/* Tablet specific adjustments */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-content h1 {
    font-size: 2.25rem;
  }
  
  .service-card {
    margin-bottom: 1.5rem;
  }
}

/* Print styles */
@media print {
  /* Hide navigation and interactive elements */
  #header,
  #footer,
  .btn,
  .navbar {
    display: none !important;
  }
  
  /* Adjust colors for print */
  * {
    background: white !important;
    color: black !important;
  }
  
  /* Adjust font sizes for print */
  body {
    font-size: 12pt;
    line-height: 1.5;
    overflow-x: hidden;
}
  
  h1, h2, h3, h4, h5, h6 {
    color: black !important;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  :root {
    --primary-coral: #D32F2F;
    --primary-lavender: #7B1FA2;
    --primary-mint: #00796B;
    --primary-peach: #F57C00;
    --primary-sage: #388E3C;
  }
  
  .service-card,
  .price-card,
  .feature-card {
    border-width: 3px;
  }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .service-card:hover,
  .price-card:hover,
  .team-card:hover,
  .blog-card:hover,
  .feature-card:hover {
    transform: none;
  }
  
  .gallery-item:hover img {
    transform: none;
  }
}

/* Focus styles for accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus {
  outline: 2px solid var(--primary-coral);
  outline-offset: 2px;
}

/* Ensure proper spacing on all screen sizes */
.row {
  margin-left: -15px;
  margin-right: -15px;
}

.row > [class*="col-"] {
  padding-left: 15px;
  padding-right: 15px;
} 