/* ===================================
   RESPONSIVE STYLES
   Mobile-First Approach for Collaborative Musical Score Platform
   =================================== */

/* ===================================
   MOBILE FIRST (Default: 320px+)
   =================================== */

/* Base mobile styles already defined in main.css */
.hero-title {
  font-size: 2rem;
}

.hero-subtitle {
  font-size: 1rem;
}

.section-title {
  font-size: 1.81rem;
}

.section-subtitle {
  font-size: 1rem;
}

/* Mobile Navigation */
.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-collapse {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 10px;
  margin-top: 1rem;
  padding: 1rem;
  box-shadow: 0 9px 20px rgba(0, 0, 0, 0.1);
}

/* Mobile Hero Section */
.hero-section {
  min-height: 80vh;
  text-align: center;
}

.hero-content {
  margin-bottom: 2rem;
    padding-top: 225px;
}

.hero-image {
  margin-top: 2rem;
}

/* Mobile Cards */
.card {
  margin-bottom: 1.60rem;
}

.service-card {
  padding: 1.5rem;
}

/* Mobile Form */
.contact-form {
  padding: 2rem 1.5rem;
}

/* Mobile Gallery */
.gallery-layout {
  grid-template-columns: 1fr;
  gap: 1rem;
}

.gallery-item img {
  height: 200px;
}

/* Mobile Team */
.team-photo {
  width: 150px;
  height: 150px;
}

/* Mobile FAQ */
.faq-question {
  padding: 1rem;
  font-size: 0.92rem;
}

.faq-answer {
  padding: 0 1rem 1rem;
  font-size: 0.92rem;
}

/* ===================================
   SMALL DEVICES (576px+)
   =================================== */
@media (min-width: 576px) {
  .hero-title {
    font-size: 2.58rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .gallery-layout {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-form {
    padding: 2.5rem;
  }
  
  .team-photo {
    width: 180px;
    height: 180px;
  }
}

/* ===================================
   MEDIUM DEVICES (768px+)
   =================================== */
@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.29rem;
  }
  
  .section-title {
    font-size: 2.30rem;
  }
  
  .section-subtitle {
    font-size: 1.16rem;
  }
  
  /* Tablet Hero */
  .hero-section {
    min-height: 90vh;
  }
  
  /* Tablet Navigation */
  .navbar-collapse {
    background: none;
    box-shadow: none;
    margin-top: 0;
    padding: 0;
  }
  
  /* Tablet Cards Grid */
  .services-grid,
  .features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  /* Tablet Gallery */
  .gallery-layout {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .gallery-item img {
    height: 220px;
  }
  
  /* Tablet Team Grid */
  .team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .team-photo {
    width: 200px;
    height: 200px;
  }
  
  /* Tablet Forms */
  .contact-form {
    padding: 3rem;
  }
  
  /* Tablet FAQ */
  .faq-question {
    padding: 1.25rem;
    font-size: 1rem;
  }
  
  .faq-answer {
    padding: 0 1.25rem 1.25rem;
    font-size: 1rem;
  }
}

/* ===================================
   LARGE DEVICES (992px+)
   =================================== */
@media (min-width: 992px) {
  .hero-title {
    font-size: 3.61rem;
  }
  
  .hero-subtitle {
    font-size: 1.36rem;
  }
  
  .section-title {
    font-size: 2.58rem;
  }
  
  .section-subtitle {
    font-size: 1.33rem;
  }
  
  /* Desktop Hero */
  .hero-section {
    min-height: 100vh;
    text-align: left;
  }
  
  .hero-content {
    margin-bottom: 0;
    padding-top: 225px;
}
  
  .hero-image {
    margin-top: 0;
  }
  
  /* Desktop Services Grid */
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* Desktop Features Grid */
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  /* Desktop Testimonials */
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* Desktop Gallery */
  .gallery-layout {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .gallery-item img {
    height: 250px;
  }
  
  /* Desktop Team Grid */
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* Desktop Pricing */
  .pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  
  /* Desktop FAQ */
  .faq-question {
    padding: 1.5rem;
    font-size: 1.12rem;
  }
  
  .faq-answer {
    padding: 0 1.5rem 1.5rem;
    font-size: 1rem;
  }
}

/* ===================================
   EXTRA LARGE DEVICES (1200px+)
   =================================== */
@media (min-width: 1200px) {
  .hero-title {
    font-size: 4rem;
  }
  
  /* XL Services Grid */
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
  
  /* XL Features Grid */
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
  }
  
  /* XL Team Grid */
  .team-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  
  /* XL Gallery */
  .gallery-layout {
    grid-template-columns: repeat(5, 1fr);
  }
  
  /* XL Container */
  .container {
    max-width: var(--container-max-width);
  }
}

/* ===================================
   EXTRA EXTRA LARGE DEVICES (1400px+)
   =================================== */
@media (min-width: 1400px) {
  .hero-title {
    font-size: 4.51rem;
  }
  
  .section-title {
    font-size: 3rem;
  }
  
  /* XXL Gallery */
  .gallery-layout {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* ===================================
   LANDSCAPE ORIENTATION
   =================================== */
@media (orientation: landscape) and (max-height: 600px) {
  .hero-section {
    min-height: 100vh;
    padding: 2rem 0;
  }
  
  .hero-title {
    font-size: 2.54rem;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.72rem;
  }
}

/* ===================================
   HIGH DENSITY DISPLAYS
   =================================== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-section::before,
  #space::before {
    background-size: cover;
  }
}

/* ===================================
   REDUCED MOTION
   =================================== */
@media (prefers-reduced-motion: reduce) {
  .hero-shape {
    animation: none;
  }
  
  .card:hover {
    transform: none;
  }
  
  .gallery-item:hover {
    transform: none;
  }
  
  .btn-primary:hover {
    transform: none;
  }
}

/* ===================================
   DARK MODE SUPPORT (High Contrast)
   =================================== */
@media (prefers-contrast: high) {
  :root {
    --color-gray-600: #000000;
    --color-gray-800: #000000;
  }
  
  .card {
    border: 2px solid var(--color-gray-800);
  }
  
  .form-control {
    border: 2px solid var(--color-gray-800);
  }
}

/* ===================================
   PRINT STYLES
   =================================== */
@media print {
  .navbar,
  .hero-shape,
  .contact-form,
  .footer {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  .section {
    padding: 1rem 0;
  }
  
  .card {
    box-shadow: none;
    border: 1px solid #b6b3b4;
  }
} 