/* Responsive Design - Mobile First Approach */

/* Extra Large Devices */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  h1 {
    font-size: 3rem;
  }
  
  .hero-content {
  padding-top: 50px !important;
    padding: 4rem;
  }
  
  .service-card {
    padding: 2.5rem;
  }
}

/* Large Devices (Desktops) */
@media (max-width: 1199.98px) {
  h1 {
    font-size: 2.30rem;
  }
  
  .hero-content {
  padding-top: 50px !important;
    padding: 2.5rem;
  }
}

/* Medium Devices (Tablets) */
@media (max-width: 991.98px) {
  .navbar-brand {
    font-size: 1.31rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.84rem;
  }
  
  .hero {
    min-height: 80vh;
  }
  
  .hero-content {
  padding-top: 50px !important;
    padding: 2rem;
    margin-top: 2rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .team-photo {
    width: 150px;
    height: 150px;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .gallery-item img {
    height: 200px;
  }
}

/* Small Devices (Phones) */
@media (max-width: 767.98px) {
  .navbar-brand {
    font-size: 1.22rem;
  }
  
  .navbar-nav .nav-link {
    margin: 0.25rem 0;
    text-align: center;
  }
  
  h1 {
    font-size: 1.80rem;
  }
  
  h2 {
    font-size: 1.54rem;
  }
  
  h3 {
    font-size: 1.35rem;
  }
  
  .hero {
    min-height: 70vh;
  }
  
  .hero-content {
  padding-top: 50px !important;
    padding: 1.5rem;
    margin-top: 1rem;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .section-title {
    margin-bottom: 2rem;
  }
  
  .service-card {
    padding: 1.25rem;
    margin-bottom: 1.57rem;
  }
  
  .service-image {
    height: 150px;
  }
  
  .service-price {
    font-size: 1.39rem;
  }
  
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  .review-card {
    padding: 1.5rem;
  }
  
  .price-card {
    padding: 2rem;
  }
  
  .price-amount {
    font-size: 2rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .btn-primary {
    padding: 0.625rem 1.5rem;
    font-size: 1.02rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .gallery-item img {
    height: 180px;
  }
  
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  .faq-question {
    padding: 1rem;
    font-size: 0.92rem;
  }
  
  .faq-answer {
    padding: 0 1rem 1rem;
    font-size: 1.04rem;
  }
}

/* Extra Small Devices */
@media (max-width: 575.98px) {
  body {
    font-size: 14px;
  }
  
  .navbar-brand {
    font-size: 1rem;
  }
  
  h1 {
    font-size: 1.55rem;
  }
  
  h2 {
    font-size: 1.37rem;
  }
  
  h3 {
    font-size: 1.15rem;
  }
  
  .hero {
    min-height: 60vh;
  }
  
  .hero-content {
  padding-top: 50px !important;
    padding: 1rem;
  }
  
  .section {
    padding: 1.5rem 0;
  }
  
  .service-card {
    padding: 1rem;
  }
  
  .service-image {
    height: 120px;
  }
  
  .service-price {
    font-size: 1.24rem;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  .review-card {
    padding: 1rem;
  }
  
  .price-card {
    padding: 1.5rem;
  }
  
  .price-amount {
    font-size: 1.78rem;
  }
  
  .contact-form {
    padding: 1rem;
  }
  
  .form-control {
    padding: 0.5rem 0.75rem;
    font-size: 1.00rem;
  }
  
  .btn-primary {
    padding: 0.5rem 1.25rem;
    font-size: 0.81rem;
  }
  
  .gallery-item img {
    height: 150px;
  }
  
  .faq-question {
    padding: 0.75rem;
    font-size: 0.89rem;
  }
  
  .faq-answer {
    padding: 0 0.75rem 0.75rem;
    font-size: 0.86rem;
  }
}

/* Landscape Orientation for Mobile */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: 100vh;
  }
  
  .hero-content {
  padding-top: 50px !important;
    padding: 1rem;
  }
  
  .section {
    padding: 2rem 0;
  }
}

/* Print Styles */
@media print {
  * {
    background: white !important;
    color: black !important;
    box-shadow: none !important;
  }
  
  .navbar,
  .btn,
  .contact-form,
  .footer {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1, h2, h3, h4, h5, h6 {
    color: black !important;
    page-break-after: avoid;
  }
  
  .section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --text-dark: #000000;
    --text-light: #FFFFFF;
    --text-muted: #2f2b2b;
    --bg-light: #F5F5F5;
    --bg-white: #FFFFFF;
  }
  
  .service-card,
  .review-card,
  .price-card,
  .contact-form,
  .faq-item {
    border: 2px solid #000000;
  }
  
  .btn-primary {
    background: #000000 !important;
    color: #FFFFFF !important;
    border: 2px solid #000000;
  }
  
  .btn-primary:hover {
    background: #1a1a1a !important;
  }
}

