/* Mobile First Responsive Design */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .hero-section h1 {
    font-size: 2.75rem;
    padding-top: 275px;
}
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .hero-section h1 {
    font-size: 3rem;
    padding-top: 275px;
}
  
  .section-padding {
    padding: 6rem 0;
  }
  
  .service-card {
    padding: 2.5rem;
  }
  
  .team-photo {
    width: 150px;
    height: 150px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .hero-section h1 {
    font-size: 3.5rem;
    padding-top: 275px;
}
  
  .navbar-nav .nav-link {
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
  }
  
  .navbar-nav .nav-link:hover {
    background-color: var(--light-blue);
    color: var(--primary-blue);
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-section h1 {
    font-size: 4rem;
    padding-top: 275px;
}
  
  .container-xl {
    max-width: 1200px;
  }
}

/* Mobile Specific Rules */
@media (max-width: 767.98px) {
  /* No scroll animations on mobile */
  .sal-animate {
    animation: none !important;
  }
  
  /* Conservative mobile typography */
  .hero-section h1 {
    font-size: 2rem;
    padding-top: 275px;
}
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  /* Mobile padding adjustments */
  .section-padding {
    padding: 3rem 0;
  }
  
  .service-card,
  .team-card,
  .contact-form {
    padding: 1.5rem;
  }
  
  /* Mobile hero adjustments */
  .hero-section {
    min-height: 70vh;
    text-align: center;
  }
  
  /* Mobile card spacing */
  .custom-card,
  .service-card,
  .team-card,
  .review-card {
    margin-bottom: 2rem;
  }
  
  /* Mobile form adjustments */
  .form-control {
    padding: 1rem;
    font-size: 1rem;
  }
  
  /* Mobile button adjustments */
  .btn-primary-custom {
    padding: 1rem 2rem;
    width: 100%;
    margin-top: 1rem;
  }
  
  /* Mobile footer adjustments */
  .footer {
    text-align: center;
    padding: 2rem 0 1rem;
  }
  
  /* Mobile gallery adjustments */
  .gallery-item img {
    height: 200px;
  }
  
  /* Featured price card mobile */
  .price-card.featured {
    transform: none;
    border-width: 3px;
  }
  
  /* Mobile process steps */
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  /* Mobile timeline */
  .timeline-item {
    padding-left: 1.5rem;
  }
}

/* Extra small devices adjustments */
@media (max-width: 575.98px) {
  .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .hero-section h1 {
    font-size: 1.75rem;
    padding-top: 275px;
}
  
  .price-value {
    font-size: 2.5rem;
  }
  
  .service-price {
    font-size: 1.75rem;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-decoration,
  .gallery-item img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .hero-decoration {
    display: none !important;
  }
  
  .hero-section {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .section-padding {
    padding: 1rem 0;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
  }
  
  .custom-card,
  .service-card,
  .team-card {
    box-shadow: none;
    border: 1px solid #cdbfbf;
    page-break-inside: avoid;
  }
} 