/* Responsive Styles for Hand-Drawn Map Shop Template */

/* Mobile First Approach */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
  
  .navbar-brand {
    font-size: 1.6rem !important;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .service-card {
    height: 100%;
  }
  
  .team-photo {
    width: 250px;
    height: 250px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .navbar-nav .nav-link {
    margin: 0 1.5rem;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Extra extra large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* Mobile Specific Styles (Below 768px) */
@media (max-width: 767px) {
  .navbar-brand {
    font-size: 1.2rem !important;
  }
  
  .hero-section {
    min-height: 80vh;
    padding: 2rem 0;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .service-card {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
  }
  
  .team-photo {
    width: 150px;
    height: 150px;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .footer {
    text-align: center;
  }
  
  .footer .col-md-3 {
    margin-bottom: 2rem;
  }
  
  /* Stack hero content vertically on mobile */
  .hero-section .row {
    text-align: center;
  }
  
  .hero-section .col-lg-6 {
    margin-bottom: 2rem;
  }
  
  /* Mobile navigation */
  .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
  }
  
  .navbar-toggler:focus {
    box-shadow: none;
  }
  
  .navbar-collapse {
    text-align: center;
    margin-top: 1rem;
  }
  
  .navbar-nav .nav-link {
    margin: 0.5rem 0;
    padding: 0.5rem 1rem;
  }
}

/* Tablet Specific Styles (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .hero-title {
    font-size: 2.2rem;
  }
  
  .service-card {
    height: auto;
    min-height: 300px;
  }
  
  .team-photo {
    width: 200px;
    height: 200px;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .contact-form {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  .hero-section {
    background: none !important;
    min-height: auto !important;
  }
  
  h1, h2, h3, h4, h5, h6 {
    color: black !important;
  }
}

/* High DPI Displays */
@media only screen and (-webkit-min-device-pixel-ratio: 2),
       only screen and (min--moz-device-pixel-ratio: 2),
       only screen and (-o-min-device-pixel-ratio: 2/1),
       only screen and (min-device-pixel-ratio: 2),
       only screen and (min-resolution: 192dpi),
       only screen and (min-resolution: 2dppx) {
  /* High resolution images would go here */
}

/* Landscape Phone Orientation */
@media screen and (max-height: 500px) and (orientation: landscape) {
  .hero-section {
    min-height: 100vh;
    padding: 1rem 0;
  }
  
  .hero-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
  .swiper-container {
    /* Disable autoplay and effects on mobile for reduced motion */
  }
}

/* Focus Styles for Accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus {
  outline: 2px solid var(--primary-terracotta);
  outline-offset: 2px;
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  .service-card:hover,
  .blog-card:hover,
  .gallery-item img:hover {
    transform: none;
  }
  
  .btn {
    min-height: 44px;
    min-width: 44px;
  }
  
  .nav-link {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
} 