/* Art Therapy Workshop - Responsive CSS */

/* Extra Large Devices (1400px and up) */
@media (min-width: 1400px) {
  .container-xxl {
    max-width: 1320px;
  }
  
  .hero-title {
    font-size: 4rem;
  }
  
  .section-title {
    font-size: 3rem;
  }
}

/* Large Devices (1200px and up) */
@media (min-width: 1200px) {
  .hero-title {
    font-size: 3.61rem;
  }
  
  .hero-subtitle {
    font-size: 1.56rem;
  }
}

/* Medium Devices (992px and up) */
@media (min-width: 992px) {
  .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
    padding: 0 2rem;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
  
  .team-card {
    margin-bottom: 2rem;
  }
}

/* Small Devices (768px and up) */
@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.37rem;
  }
  
  .section-title {
    font-size: 2.52rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-form {
    padding: 2.5rem;
  }
}

/* Extra Small Devices (576px and up) */
@media (min-width: 576px) {
  .hero-desc {
    font-size: 1.18rem;
  }
  
  .service-card {
    padding: 2rem;
  }
  
  .team-card {
    padding: 1.5rem;
  }
}

/* Mobile Devices (below 768px) */
@media (max-width: 767.98px) {
  /* Typography */
  .hero-title {
    font-size: 2.59rem;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: 1.16rem;
    margin-bottom: 1.69rem;
  }
  
  .hero-desc {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .section-subtitle {
    font-size: 1.16rem;
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.83rem; }
  h3 { font-size: 1.61rem; }
  h4 { font-size: 1.38rem; }
  h5 { font-size: 1.14rem; }
  h6 { font-size: 1rem; }
  
  /* Layout */
  .section {
    padding: 3rem 0;
  }
  
  .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
    min-height: 80vh;
    padding: 2rem 0;
  }
  
  .hero-content {
  padding-top: 50px !important;
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .hero-image {
    order: -1;
    margin-bottom: 2rem;
  }
  
  /* Navigation */
  .navbar {
    padding: 0.5rem 0;
  }
  
  .navbar-brand {
    font-size: 1.30rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem !important;
    text-align: center;
  }
  
  .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
  }
  
  .navbar-toggler:focus {
    box-shadow: none;
  }
  
  /* Cards */
  .feature-card,
  .service-card,
  .team-card,
  .review-card {
    margin-bottom: 1.62rem;
    padding: 1.5rem;
  }
  
  .service-card {
    padding: 2rem 1.5rem;
  }
  
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  .team-name {
    font-size: 1.36rem;
  }
  
  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  /* Forms */
  .contact-form {
    padding: 2rem 1.5rem;
    margin: 0 1rem;
  }
  
  .form-control {
    padding: 0.875rem;
    font-size: 1.05rem;
  }
  
  .btn-primary {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    width: 100%;
  }
  
  /* FAQ */
  .faq-question {
    padding: 1.25rem;
    font-size: 1.08rem;
  }
  
  .faq-answer {
    padding: 1.25rem;
    font-size: 0.92rem;
  }
  
  /* Footer */
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  .footer .row > div {
    margin-bottom: 2rem;
  }
  
  .footer h5 {
    margin-bottom: 1rem;
  }
  
  /* Spacing */
  .mb-4 {
    margin-bottom: 2rem !important;
  }
  
  .mb-5 {
    margin-bottom: 2.65rem !important;
  }
  
  .py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
}

/* Extra Small Mobile Devices (below 576px) */
@media (max-width: 575.98px) {
  /* Typography */
  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.82rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .service-name,
  .team-name,
  .feature-name {
    font-size: 1.34rem;
  }
  
  .service-price {
    font-size: 1.85rem;
  }
  
  /* Layout */
  .section {
    padding: 2.5rem 0;
  }
  
  .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
    min-height: 70vh;
    padding: 1.5rem 0;
  }
  
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  /* Cards */
  .feature-card,
  .service-card,
  .team-card,
  .review-card {
    padding: 1.25rem;
    margin-bottom: 1.47rem;
  }
  
  .contact-form {
    padding: 1.5rem 1rem;
    margin: 0 0.5rem;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  /* Forms */
  .form-group {
    margin-bottom: 1.65rem;
  }
  
  .form-control {
    padding: 0.75rem;
  }
  
  .btn-primary {
    padding: 0.75rem 1.5rem;
  }
  
  /* FAQ */
  .faq-question {
    padding: 1rem;
    font-size: 0.91rem;
  }
  
  .faq-answer {
    padding: 1rem;
    font-size: 1.00rem;
  }
  
  /* Gallery */
  .gallery-item img {
    height: 180px;
  }
  
  /* Reviews */
  .review-card {
    padding: 1.5rem 1.25rem;
  }
  
  .review-card::before {
    font-size: 3rem;
    left: 15px;
  }
}

/* Portrait Orientation */
@media (orientation: portrait) and (max-width: 768px) {
  .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
    flex-direction: column;
  }
  
  .hero-image {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .service-card,
  .team-card {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Landscape Orientation Mobile */
@media (orientation: landscape) and (max-height: 500px) {
  .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
    min-height: 100vh;
    padding: 1rem 0;
  }
  
  .hero-title {
    font-size: 2.61rem;
    margin-bottom: 0.56rem;
  }
  
  .hero-subtitle {
    font-size: 1.19rem;
    margin-bottom: 1rem;
  }
  
  .hero-desc {
    margin-bottom: 1.63rem;
  }
  
  .section {
    padding: 2rem 0;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-image img,
  .service-image,
  .team-photo,
  .gallery-item img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Print Styles */
@media print {
  * {
    background: transparent !important;
    color: black !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  
  .navbar,
  .footer,
  .btn,
  .breadcrumb {
    display: none !important;
  }
  
  .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .section {
    padding: 1.5rem 0;
    page-break-inside: avoid;
  }
  
  h1, h2, h3 {
    page-break-after: avoid;
  }
  
  .service-card,
  .team-card,
  .feature-card {
    page-break-inside: avoid;
    border: 1px solid #cdcdcd;
    margin-bottom: 1rem;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .hero-section::before {
    animation: none;
  }
  
  .gallery-item:hover,
  .service-card:hover,
  .team-card:hover,
  .feature-card:hover,
  .review-card:hover {
    transform: none;
  }
  
  .gallery-item:hover img {
    transform: none;
  }
  
  .btn-primary:hover {
    transform: none;
  }
}

/* Dark Mode Support (Optional) */
@media (prefers-color-scheme: dark) {
  /* Note: Based on requirements, we don't create dark theme for accessibility */
  /* This section is intentionally left empty */
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .feature-card,
  .service-card,
  .team-card,
  .review-card,
  .faq-card,
  .contact-form {
    border: 2px solid var(--gray-800);
  }
  
  .btn-primary {
    border: 2px solid var(--dark-1);
  }
  
  .form-control {
    border-width: 2px;
  }
  
  .form-control:focus {
    border-width: 3px;
  }
}

/* Focus Management */
@media (any-hover: none) {
  .feature-card:hover,
  .service-card:hover,
  .team-card:hover,
  .review-card:hover {
    transform: none;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  }
}

/* Container Queries Support */
@supports (container-type: inline-size) {
  .gallery-grid {
    container-type: inline-size;
  }
  
  @container (min-width: 600px) {
    .gallery-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @container (min-width: 900px) {
    .gallery-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }
} 