/* Music Lessons Platform - Responsive CSS */

/* Mobile First Approach */

/* Extra Small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
  :root {
    --font-size-small: 0.8rem;
    --font-size-base: 0.9rem;
    --font-size-lg: 1rem;
    --font-size-xl: 1.1rem;
    --font-size-2xl: 1.3rem;
    --font-size-3xl: 1.6rem;
    --font-size-4xl: 1.9rem;
    --section-padding: 50px 0;
  }
  
  .hero-title {
    font-size: var(--font-size-3xl);
  }
  
  .section-title {
    font-size: var(--font-size-2xl);
  }
  
  .navbar-brand {
    font-size: var(--font-size-lg) !important;
  }
  
  .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
    padding: 2rem 0;
    text-align: center;
  }
  
  .feature-card,
  .service-card,
  .price-card,
  .team-card {
    margin-bottom: 2rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .price-amount {
    font-size: var(--font-size-3xl);
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
    text-align: center;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .hero-section .row {
    align-items: center;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  
  .container {
    max-width: 1140px;
  }
}

/* Specific Component Responsive Rules */

/* Navigation */
@media (max-width: 991.98px) {
  .navbar-nav {
    background: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    margin-top: 1rem;
    padding: 1rem;
  }
  
  .navbar-collapse {
    border-top: 1px solid var(--color-light);
    margin-top: 1rem;
    padding-top: 1rem;
  }
}

/* Hero Section */
@media (max-width: 767.98px) {
  .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
    min-height: 80vh;
  }
  
  .hero-content {
  padding-top: 50px !important;
    text-align: center;
  }
}

/* Service Cards */
@media (max-width: 575.98px) {
  .service-image {
    height: 150px;
  }
}

/* Team Section */
@media (max-width: 575.98px) {
  .team-card {
    padding: 1.5rem;
  }
}

/* Price Cards */
@media (max-width: 767.98px) {
  .price-card {
    margin-bottom: 2rem;
  }
}

/* Contact Form */
@media (max-width: 767.98px) {
  .contact-form .row {
    margin: 0;
  }
  
  .contact-form .col-md-6 {
    padding: 0 0.5rem;
  }
}

/* Footer */
@media (max-width: 767.98px) {
  .footer {
    text-align: center;
  }
  
  .footer .col-md-3,
  .footer .col-md-4 {
    margin-bottom: 2rem;
  }
}

/* Blog Cards */
@media (max-width: 575.98px) {
  .blog-image {
    height: 150px;
  }
}

/* FAQ Section */
@media (max-width: 575.98px) {
  .faq-question {
    padding: 1rem;
  }
  
  .faq-answer {
    padding: 0 1rem 1rem;
  }
}

/* Reviews Section */
@media (max-width: 767.98px) {
  .review-card {
    margin-bottom: 1.62rem;
  }
}

/* Timeline Section */
@media (max-width: 767.98px) {
  .timeline-item {
    text-align: center;
    margin-bottom: 2rem;
  }
}

/* Process Section */
@media (max-width: 767.98px) {
  .process-step {
    text-align: center;
    margin-bottom: 2rem;
  }
}

/* Decorative Elements */
@media (max-width: 767.98px) {
  .blob {
    display: none;
  }
}

/* Utility Classes for Responsive Design */
.d-mobile-none {
  display: none;
}

@media (min-width: 768px) {
  .d-mobile-none {
    display: block;
  }
}

.d-desktop-none {
  display: block;
}

@media (min-width: 768px) {
  .d-desktop-none {
    display: none;
  }
}

/* Responsive Typography */
@media (max-width: 575.98px) {
  .display-1 { font-size: 2rem; }
  .display-2 { font-size: 1.87rem; }
  .display-3 { font-size: 1.67rem; }
  .display-4 { font-size: 1.49rem; }
  
  .lead {
    font-size: var(--font-size-base);
  }
}

/* Responsive Spacing */
@media (max-width: 767.98px) {
  .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  
  .my-5 {
    margin-top: 2rem !important;
    margin-bottom: 2rem !important;
  }
}

/* Images Responsive */
.img-responsive {
  max-width: 100%;
  height: auto;
  width: auto;
}

/* Container Responsive Padding */
@media (max-width: 575.98px) {
  .container,
  .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Responsive Grid System Adjustments */
@media (max-width: 767.98px) {
  .row > .col-lg-3,
  .row > .col-lg-4,
  .row > .col-lg-6 {
    margin-bottom: 2rem;
  }
  
  .row > .col-md-4,
  .row > .col-md-6 {
    margin-bottom: 1.61rem;
  }
} 