/* Mobile First Responsive Design */

/* Extra Small devices (phones, 576px and down) */
@media (max-width: 575.98px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  .service-card,
  .feature-card,
  .team-card,
  .price-card {
    margin-bottom: 1.5rem;
  }
  
  .contact-form,
  .contact-info {
    padding: 1.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  .hero-shape {
    display: none;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .navbar-nav {
    flex-direction: row;
  }
  
  .navbar-nav .nav-link {
    margin: 0 1rem;
  }
  
  .hero-content {
    max-width: 50%;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* Disable Swiper autoplay and effects on mobile */
  .swiper-pagination,
  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .hero-title {
    font-size: 3.5rem;
  }
  
  .section {
    padding: 6rem 0;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .service-card:hover,
  .feature-card:hover,
  .team-card:hover {
    transform: translateY(-10px);
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero-title {
    font-size: 4rem;
  }
  
  .section-title {
    font-size: 3rem;
  }
}

/* Ultra wide screens (1400px and up) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .hero-shape,
  .btn-primary {
    display: none;
  }
  
  .hero-section {
    min-height: auto;
    background: none;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  * {
    color: #000 !important;
    background: #fff !important;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  :root {
    --primary-orange: #ff4500;
    --primary-blue: #0066cc;
    --text-dark: #000000;
    --text-light: #333333;
    --border-color: #000000;
  }
  
  .service-card,
  .feature-card,
  .team-card,
  .price-card {
    border: 2px solid var(--border-color);
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  :root {
    --white: #1a1a1a;
    --light-gray: #2d2d2d;
    --text-dark: #ffffff;
    --text-light: #cccccc;
    --border-color: #444444;
    --primary-cream: #2d2d2d;
    --primary-cream-light: #3a3a3a;
  }
  
  .navbar {
    background: var(--text-dark);
  }
  
  .navbar-brand,
  .navbar-nav .nav-link {
    color: var(--white);
  }
  
  .service-card,
  .feature-card,
  .team-card,
  .price-card,
  .case-card,
  .blog-card {
    background: var(--light-gray);
    color: var(--text-dark);
  }
} 