/* Mobile First Responsive Design */

/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  /* Disable animations on mobile */
  * {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
  
  :root {
    --font-size-h1: 1.8rem;
    --font-size-h2: 1.5rem;
    --font-size-h3: 1.3rem;
    --section-padding: 40px 0;
    --section-padding-sm: 30px 0;
  }
  
  .navbar-brand {
    font-size: 1rem;
  }
  
  #hero {
    min-height: 70vh;
    text-align: center;
  }
  
  #hero::before {
    display: none;
  }
  
  .hero-image {
    margin-top: 30px;
  }
  
  .service-card,
  .feature-card,
  .price-card,
  .team-member,
  .review-card {
    margin-bottom: 20px;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  .contact-form {
    padding: 25px;
  }
  
  .contact-info {
    padding: 25px;
    margin-top: 20px;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  :root {
    --font-size-h1: 2rem;
    --font-size-h2: 1.7rem;
    --section-padding: 50px 0;
  }
  
  #hero {
    min-height: 80vh;
  }
  
  .gallery-item img {
    height: 220px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  :root {
    --section-padding: 60px 0;
  }
  
  #hero {
    min-height: 90vh;
  }
  
  .gallery-item img {
    height: 240px;
  }
  
  .team-photo {
    width: 120px;
    height: 120px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .container {
    max-width: 960px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero-content {
    padding-right: 50px;
    padding-top: 225px;
}
}

/* Tablet Portrait Specific */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  .navbar-collapse {
    background: rgba(255,255,255,0.95);
    border-radius: 8px;
    margin-top: 10px;
    padding: 20px;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
}

/* Print Styles */
@media print {
  * {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
  
  #header,
  #footer {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
    overflow-x: hidden;
}
  
  .container {
    width: 100% !important;
    max-width: none !important;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .card {
    border: 2px solid #000;
  }
  
  .btn {
    border: 2px solid #000;
  }
  
  .navbar-nav .nav-link {
    color: #000;
  }
}

/* Landscape Phone Adjustments */
@media (max-width: 767.98px) and (orientation: landscape) {
  #hero {
    min-height: 60vh;
  }
  
  .section-padding {
    padding: 40px 0;
  }
} 