/* Mobile First Responsive Design */

/* Extra Small Devices (phones, less than 576px) */
@media (max-width: 575.98px) {
  /* Hero Section Mobile */
  .hero-section {
    min-height: 70vh;
    text-align: center;
    padding: 2rem 0;
  }
  
  .hero-section::before {
    animation: none; /* No animations on mobile */
  }
  
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  /* Navigation Mobile */
  .navbar-brand {
    font-size: 1.1rem !important;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    text-align: center;
  }
  
  /* Sections Mobile */
  .section {
    padding: 2rem 0;
  }
  
  /* Cards Mobile */
  .service-card,
  .team-card,
  .review-card,
  .price-card {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
  }
  
  .service-card:hover,
  .price-card:hover {
    transform: none; /* No hover effects on mobile */
  }
  
  /* Form Mobile */
  .contact-form {
    padding: 1.5rem;
  }
  
  .btn-primary {
    width: 100%;
    padding: 1rem;
  }
  
  /* Team Photos Mobile */
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  /* Gallery Mobile */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .gallery-item:hover {
    transform: none; /* No hover effects on mobile */
  }
  
  /* Feature Icons Mobile */
  .feature-icon {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }
  
  /* Price Value Mobile */
  .price-value {
    font-size: 1.5rem;
  }
  
  /* FAQ Mobile */
  .faq-card {
    padding: 1rem;
    margin-bottom: 0.75rem;
  }
  
  /* Footer Mobile */
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-section {
    min-height: 80vh;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.625rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .service-card,
  .price-card {
    padding: 1.75rem;
  }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
    min-height: 90vh;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .feature-card {
    padding: 1.5rem;
  }
  
  /* Team Layout Tablet */
  .team-card {
    padding: 2rem 1rem;
  }
  
  /* Services Layout Tablet */
  .service-card {
    height: auto;
    display: flex;
    flex-direction: column;
  }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .hero-section {
    min-height: 100vh;
  }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .hero-section {
    min-height: 100vh;
  }
  
  /* Larger screens get slightly bigger text */
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
}

/* Landscape Orientation Adjustments */
@media (orientation: landscape) and (max-height: 500px) {
  .hero-section {
    min-height: 100vh;
    padding: 1rem 0;
  }
  
  .section {
    padding: 2rem 0;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .feature-icon,
  .team-photo {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .contact-form {
    display: none !important;
  }
  
  .hero-section,
  .section {
    page-break-inside: avoid;
    break-inside: avoid;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1, h2, h3, h4 {
    page-break-after: avoid;
    break-after: avoid;
  }
}

/* Accessibility - Focus States */
@media (min-width: 768px) {
  .btn:focus,
  .form-control:focus,
  .nav-link:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
  }
}

/* Dark Mode Support (if browser supports) */

/* Reduced Motion Support - Mobile Specific */
@media (max-width: 767.98px) and (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
  
  .service-card:hover,
  .price-card:hover,
  .gallery-item:hover {
    transform: none !important;
  }
}

/* Container Padding Adjustments */
@media (max-width: 575.98px) {
  .container,
  .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* Typography Scaling for Mobile */
@media (max-width: 575.98px) {
  .lead {
    font-size: 1rem;
  }
  
  .navbar-brand {
    font-size: 1rem !important;
  }
  
  .service-price,
  .price-value {
    font-size: 1.25rem;
  }
} 

.hero-content {
    padding-top: 150px;
}