/* Responsive Design - Mobile First */
/* No Bootstrap Grid Overrides - Using Standard Bootstrap Breakpoints */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .hero-section h1 {
    font-size: 2.33rem;
    padding-top: 275px;
}
  
  .hero-decoration:nth-child(1) {
    width: 150px;
    height: 150px;
  }
  
  .hero-decoration:nth-child(2) {
    width: 100px;
    height: 100px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .hero-section h1 {
    font-size: 2.53rem;
    padding-top: 275px;
}
  
  .section-padding {
    padding: 5rem 0;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .team-photo {
    width: 140px;
    height: 140px;
  }
  
  .hero-decoration:nth-child(1) {
    width: 180px;
    height: 180px;
  }
  
  .hero-decoration:nth-child(2) {
    width: 130px;
    height: 130px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .hero-section h1 {
    font-size: 2.87rem;
    padding-top: 275px;
}
  
  .section-padding {
    padding: 6rem 0;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .hero-decoration:nth-child(1) {
    width: 200px;
    height: 200px;
  }
  
  .hero-decoration:nth-child(2) {
    width: 150px;
    height: 150px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .container {
    max-width: 1140px;
  }
}

/* Extra extra large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* Mobile Specific Adjustments */
@media (max-width: 575.98px) {
  .navbar-brand {
    font-size: 10px !important;
    font-size: 1rem !important;
  }
  
  h1 {
    font-size: 1.81rem;
  }
  
  h2 {
    font-size: 1.63rem;
  }
  
  .hero-section {
    text-align: center;
    padding: 2rem 0;
  }
  
  .hero-decoration {
    display: none;
  }
  
  .section-padding {
    padding: 3rem 0;
  }
  
  .price-card {
    padding: 1.5rem;
    margin-bottom: 1.68rem;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .card {
    margin-bottom: 1rem;
  }
}

/* Tablet Portrait Adjustments */
@media (min-width: 576px) and (max-width: 767.98px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-section {
    padding: 3rem 0;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .hero-decoration {
    display: none !important;
  }
  
  .hero-section {
    min-height: auto;
    background: white !important;
    color: black !important;
  }
  
  .section-padding {
    padding: 1rem 0;
  }
  
  .card {
    border: 1px solid #000 !important;
    box-shadow: none !important;
  }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  .card {
    border-width: 2px;
  }
  
  .btn {
    border-width: 2px;
  }
  
  .hero-decoration {
    display: none;
  }
}

/* Dark Mode Preparation (if needed) */

/* Focus Styles for Accessibility */
@media not print {
  .btn:focus,
  .form-control:focus,
  .navbar-nav .nav-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
  }
}

/* Reduce Motion Preferences */
@media (prefers-reduced-motion: reduce) {
  .hero-decoration,
  .card:hover,
  .price-card:hover {
    transform: none !important;
    transition: none !important;
  }
}

/* Landscape Phone Adjustments */
@media screen and (max-height: 500px) and (orientation: landscape) {
  .hero-section {
    min-height: 80vh;
  }
  
  .section-padding {
    padding: 2rem 0;
  }
} 