/* Responsive Design for Music Lessons Template */

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .section-title {
    font-size: 2.63rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 991.98px) {
  .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
    text-align: center;
    padding: 2rem 0;
  }
  
  .hero-title {
    font-size: 2.56rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .service-card {
    margin-bottom: 1.70rem;
  }
  
  .team-photo {
    width: 150px;
    height: 150px;
  }
  
  .hero-shape-1,
  .hero-shape-2 {
    display: none;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 767.98px) {
  .navbar-brand {
    font-size: 1rem !important;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.27rem;
  }
  
  .section-title {
    font-size: 1.84rem;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .service-icon {
    width: 60px;
    height: 60px;
    font-size: 1.64rem;
  }
  
  .price-amount {
    font-size: 2rem;
  }
  
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  .testimonial-card {
    margin: 0.5rem;
    padding: 1.5rem;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.82rem;
  }
  
  .hero-subtitle {
    font-size: 1.20rem;
  }
  
  .hero-desc {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.64rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .section {
    padding: 1.5rem 0;
  }
  
  .card-body {
    padding: 1rem;
  }
  
  .contact-form {
    padding: 1rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .service-icon {
    width: 50px;
    height: 50px;
    font-size: 1.39rem;
  }
  
  .price-amount {
    font-size: 1.79rem;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  .gallery-item img {
    height: 150px;
  }
  
  .testimonial-card {
    margin: 0.25rem;
    padding: 1rem;
  }
  
  .footer {
    padding: 2rem 0 1rem;
  }
  
  .btn-primary {
    padding: 0.625rem 1.5rem;
    font-size: 0.99rem;
  }
  
  .faq-question {
    padding: 0.75rem;
    font-size: 0.94rem;
  }
  
  .faq-answer {
    padding: 0.75rem;
    font-size: 0.95rem;
  }
}

/* Navbar responsive adjustments */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--white);
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--gray-200);
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
}

/* Hero section responsive images */
@media (max-width: 767.98px) {
  .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
    background-attachment: scroll;
  }
  
  .hero-section::before {
    background-attachment: scroll;
  }
}

/* Grid adjustments for mobile */
@media (max-width: 575.98px) {
  .col-lg-4,
  .col-lg-6,
  .col-md-4,
  .col-md-6 {
    margin-bottom: 1.60rem;
  }
}

/* Form responsive adjustments */
@media (max-width: 575.98px) {
  .form-control {
    padding: 0.625rem 0.875rem;
    font-size: 0.94rem;
  }
  
  .form-label {
    font-size: 0.94rem;
  }
}

/* Contact info responsive */
@media (max-width: 767.98px) {
  #contact-info-phone,
  #contact-info-email,
  #contact-info-address {
    font-size: 0.99rem;
    text-align: center;
    margin-bottom: 0.57rem;
  }
}

/* Copyright responsive */
@media (max-width: 575.98px) {
  #site-copyright {
    font-size: 0.82rem;
    text-align: center;
  }
}

/* Animation responsiveness */
@media (prefers-reduced-motion: reduce) {
  .hero-shape-1,
  .hero-shape-2 {
    animation: none;
  }
}

/* Accessibility improvements for small screens */
@media (max-width: 575.98px) {
  .btn {
    min-height: 44px;
    min-width: 44px;
  }
  
  .nav-link {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  
  .faq-question {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
} 