/* Responsive CSS for Musical Instruments Shop Template */

/* Extra Large Devices (1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: var(--container-max-width);
  }
  
  .hero-content h1 {
    font-size: 3.5rem;
  }
  
  .section-title h2 {
    font-size: 2.5rem;
  }
}

/* Large Devices (992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .service-card,
  .price-card {
    min-height: 400px;
  }
  
  .team-member {
    min-height: 320px;
  }
}

/* Medium Devices (768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  :root {
    --section-padding: 70px 0;
  }
  
  .navbar-brand {
    font-size: 1.3rem;
  }
  
  .hero-content h1 {
    font-size: 2.8rem;
  }
  
  .service-card,
  .price-card,
  .team-member {
    margin-bottom: 1.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-form,
  .contact-info {
    margin-bottom: 2rem;
  }
}

/* Small Devices (576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  :root {
    --section-padding: 50px 0;
  }
  
  .navbar-brand {
    font-size: 1.2rem;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .feature-item,
  .service-card,
  .price-card,
  .team-member,
  .review-card {
    margin-bottom: 1.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .gallery-image {
    height: 200px;
  }
  
  .process-step {
    padding: 1.5rem 1rem;
  }
  
  .timeline-item {
    padding: 1.5rem;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .footer-section {
    margin-bottom: 2rem;
  }
}

/* Extra Small Devices (less than 576px) */
@media (max-width: 575.98px) {
  :root {
    --section-padding: 40px 0;
    --font-size-base: 15px;
  }
  
  /* Header */
  .navbar {
    padding: 0.5rem 0;
  }
  
  .navbar-brand {
    font-size: 1.1rem;
  }
  
  .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    text-align: center;
  }
  
  /* Hero Section */
  #hero {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-content h1 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }
  
  .hero-content p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-decorative {
    display: none;
  }
  
  /* Typography */
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.3rem;
  }
  
  h4 {
    font-size: 1.1rem;
  }
  
  .section-title {
    margin-bottom: 2rem;
  }
  
  .section-title h2 {
    font-size: 1.6rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  /* Cards and Components */
  .feature-item {
    padding: 1.5rem 1rem;
    margin-bottom: 1rem;
  }
  
  .feature-icon {
    font-size: 2.5rem;
  }
  
  .service-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .service-image {
    height: 180px;
  }
  
  .service-price {
    font-size: 1.3rem;
  }
  
  .price-card {
    padding: 2rem 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .price-amount {
    font-size: 2rem;
  }
  
  .team-member {
    padding: 1.5rem 1rem;
    margin-bottom: 1.5rem;
  }
  
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  .review-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .case-study-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .process-step {
    padding: 1.5rem 0.75rem;
    margin-bottom: 1rem;
  }
  
  .process-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .timeline-item {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .career-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .info-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .info-icon {
    font-size: 2rem;
  }
  
  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .gallery-image {
    height: 220px;
  }
  
  /* Forms */
  .contact-form {
    padding: 1.5rem;
  }
  
  .contact-info {
    padding: 2rem 1.5rem;
    margin-top: 1.5rem;
  }
  
  .form-control {
    padding: 0.6rem 0.75rem;
    font-size: 0.95rem;
  }
  
  .btn-primary {
    padding: 0.6rem 1.5rem;
    font-size: 0.95rem;
  }
  
  /* FAQ */
  .faq-card {
    padding: 1.5rem;
    margin-bottom: 0.75rem;
  }
  
  .faq-question {
    font-size: 1rem;
  }
  
  .faq-answer {
    font-size: 0.9rem;
  }
  
  /* Blog */
  .blog-card {
    margin-bottom: 1.5rem;
  }
  
  .blog-content {
    padding: 1.25rem;
  }
  
  .blog-image {
    height: 180px;
  }
  
  /* Footer */
  .footer-section {
    margin-bottom: 2rem;
    text-align: center;
  }
  
  .footer-section h5 {
    font-size: 1.1rem;
  }
  
  .footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
  }
  
  #site-copyright {
    font-size: 0.85rem;
  }
  
  /* Breadcrumbs */
  .breadcrumb-nav {
    padding: 0.75rem 0;
    margin-top: 70px;
  }
  
  .breadcrumb-image {
    width: 25px;
    height: 25px;
  }
  
  /* Utilities */
  .container,
  .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .row {
    margin-left: -10px;
    margin-right: -10px;
  }
  
  .col,
  [class*="col-"] {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* Landscape Phone Orientation */
@media (max-width: 767.98px) and (orientation: landscape) {
  #hero {
    min-height: 60vh;
  }
  
  .hero-content h1 {
    font-size: 1.6rem;
  }
  
  :root {
    --section-padding: 30px 0;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .team-photo,
  .gallery-image,
  .service-image,
  .blog-image {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
  .feature-item:hover,
  .service-card:hover,
  .price-card:hover,
  .team-member:hover,
  .case-study-card:hover,
  .career-card:hover,
  .info-card:hover,
  .blog-card:hover,
  .gallery-item:hover {
    transform: none;
  }
  
  .btn-primary:hover {
    transform: none;
  }
}

/* Dark Mode Support */

/* Print Specific Responsive */
@media print {
  /* Hide interactive elements */
  .navbar-toggler,
  .btn,
  .form-control,
  .nav-link {
    display: none;
  }
  
  /* Adjust typography for print */
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1 { font-size: 18pt; }
  h2 { font-size: 16pt; }
  h3 { font-size: 14pt; }
  h4 { font-size: 12pt; }
  
  /* Force page breaks */
  section {
    page-break-inside: avoid;
    page-break-after: auto;
  }
  
  /* Optimize spacing for print */
  .container {
    width: 100%;
    max-width: none;
    padding: 0;
  }
  
  section {
    padding: 20pt 0;
  }
} 