/* Responsive Styles */

/* Extra Large Devices (1400px and up) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  h1 {
    font-size: 3rem;
  }
  
  .hero-shape {
    width: 400px;
    height: 400px;
  }
}

/* Large Devices (1200px and up) */
@media (min-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Medium Devices (992px and up) */
@media (min-width: 992px) {
  .hero-content {
  padding-top: 50px !important;
    padding-right: 2rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Small Devices (768px and up) */
@media (min-width: 768px) {
  .navbar-nav {
    flex-direction: row;
  }
  
  .navbar-nav .nav-link {
    margin: 0 1rem;
  }
  
  .hero {
    text-align: left;
  }
  
  .section-title {
    margin-bottom: 4rem;
  }
}

/* Extra Small Devices (576px and up) */
@media (min-width: 576px) {
  .services-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .team-photo {
    width: 180px;
    height: 180px;
  }
}

/* Mobile Devices (max-width: 767px) */
@media (max-width: 767px) {
  html {
    font-size: 14px;
  }
  
  .hero {
    min-height: 80vh;
    text-align: center;
    padding: 2rem 0;
  }
  
  .hero-shape {
    display: none;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.90rem;
  }
  
  h3 {
    font-size: 1.52rem;
  }
  
  .navbar-brand {
    font-size: 1.38rem;
  }
  
  .navbar-collapse {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius);
    margin-top: 1rem;
    padding: 1rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .service-icon {
    font-size: 2.58rem;
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  .team-photo {
    width: 150px;
    height: 150px;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .gallery-item img {
    height: 250px;
  }
  
  .review-card {
    padding: 1.5rem;
  }
  
  .review-card::before {
    font-size: 3rem;
    top: -5px;
    left: 15px;
  }
  
  .faq-question,
  .faq-answer {
    padding: 1rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  .footer .row > div {
    margin-bottom: 2rem;
  }
}

/* Very Small Devices (max-width: 575px) */
@media (max-width: 575px) {
  html {
    font-size: 14px;
  }
  
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  h1 {
    font-size: 1.83rem;
  }
  
  h2 {
    font-size: 1.61rem;
  }
  
  .navbar-brand {
    font-size: 1.23rem;
  }
  
  .hero {
    min-height: 70vh;
    padding: 1rem 0;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .section-title {
    margin-bottom: 2rem;
  }
  
  .service-card {
    padding: 1rem;
  }
  
  .service-icon {
    font-size: 2rem;
  }
  
  .card-body {
    padding: 1rem;
  }
  
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  .review-card {
    padding: 1rem;
  }
  
  .review-card::before {
    font-size: 2.57rem;
  }
  
  .contact-form {
    padding: 1rem;
  }
  
  .btn-primary {
    width: 100%;
    padding: 1rem;
  }
}

/* Landscape Phone Orientation */
@media (max-width: 767px) and (orientation: landscape) {
  .hero {
    min-height: 60vh;
  }
  
  .section {
    padding: 2rem 0;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero::before {
    background-image: url('../YAW_images/hero-bg@2x.webp');
  }
}

/* Hover States for Touch Devices */
@media (hover: none) {
  .card:hover,
  .service-card:hover,
  .gallery-item:hover,
  .team-photo:hover {
    transform: none;
  }
  
  .btn-primary:hover {
    transform: none;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  /* Keep light theme as requested - no dark mode implementation */
}

/* Print Styles */
@media print {
  * {
    background: white !important;
    color: black !important;
    box-shadow: none !important;
  }
  
  .navbar,
  .footer,
  .btn,
  .hero-shape {
    display: none !important;
  }
  
  .hero {
    min-height: auto;
    padding: 1rem 0;
  }
  
  .section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
  
  h1, h2, h3 {
    page-break-after: avoid;
  }
  
  .card {
    border: 1px solid #b9b1af;
    page-break-inside: avoid;
  }
  
  a[href]:after {
    content: " (" attr(href) ")";
  }
} 