/* Digital Art Commission Marketplace - Responsive CSS */
/* Bootstrap 5 Breakpoints - Mobile First Approach */

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  /* Hero Section */
  .hero {
    min-height: 80vh;
    padding: 2rem 0;
  }
  
  .hero-title {
    font-size: 1.82rem;
  }
  
  .hero-subtitle {
    font-size: 1.20rem;
  }
  
  .hero-desc {
    font-size: 1.09rem;
  }
  
  /* Services */
  .services-item {
    padding: 1.5rem;
    margin-bottom: 1.65rem;
  }
  
  /* Team */
  .team-member img {
    width: 120px;
    height: 120px;
  }
  
  /* Contact */
  .contact-form,
  .contact-info {
    padding: 1.5rem;
  }
  
  /* Section spacing */
  .section {
    padding: 2rem 0;
  }
  
  /* Typography adjustments */
  h1 { font-size: 1.89rem; }
  h2 { font-size: 1.65rem; }
  h3 { font-size: 1.38rem; }
  
  /* Decorative blobs - hide on mobile */
  .decorative-blob {
    display: none;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.32rem;
  }
  
  .services-item {
    padding: 1.75rem;
  }
  
  .team-member img {
    width: 130px;
    height: 130px;
  }
  
  .contact-form,
  .contact-info {
    padding: 2rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-title {
    font-size: 2.39rem;
  }
  
  .hero-subtitle {
    font-size: 1.50rem;
  }
  
  .services-item {
    padding: 2rem;
    margin-bottom: 2rem;
  }
  
  .team-member img {
    width: 140px;
    height: 140px;
  }
  
  .contact-form,
  .contact-info {
    padding: 2.25rem;
  }
  
  /* Decorative blobs - smaller on tablets */
  .blob-1 {
    width: 250px;
    height: 250px;
  }
  
  .blob-2 {
    width: 150px;
    height: 150px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-title {
    font-size: 2.54rem;
  }
  
  .hero-subtitle {
    font-size: 1.61rem;
  }
  
  .services-item {
    padding: 2rem;
    margin-bottom: 2rem;
  }
  
  .team-member img {
    width: 150px;
    height: 150px;
  }
  
  .contact-form,
  .contact-info {
    padding: 2.5rem;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-title {
    font-size: 2.78rem;
  }
  
  .hero-subtitle {
    font-size: 1.72rem;
  }
  
  .services-item {
    padding: 2.25rem;
    margin-bottom: 2rem;
  }
  
  .team-member img {
    width: 160px;
    height: 160px;
  }
  
  .contact-form,
  .contact-info {
    padding: 2.75rem;
  }
}

/* Ultra wide screens (1400px and up) */
@media (min-width: 1400px) {
  .container-xxl {
    max-width: 1320px;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.89rem;
  }
  
  .services-item {
    padding: 2.5rem;
  }
  
  .team-member img {
    width: 170px;
    height: 170px;
  }
  
  .contact-form,
  .contact-info {
    padding: 3rem;
  }
}

/* Height-based media queries */
@media (max-height: 600px) {
  .hero {
    min-height: 100vh;
  }
  
  .section {
    padding: 2rem 0;
  }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 500px) {
  .hero {
    min-height: 100vh;
    padding: 1rem 0;
  }
  
  .hero-title {
    font-size: 1.87rem;
  }
  
  .hero-subtitle {
    font-size: 1.17rem;
  }
  
  .section {
    padding: 1.5rem 0;
  }
}

/* Print styles */
@media print {
  .hero {
    min-height: auto;
    background: white;
    color: black;
  }
  
  .hero-content {
    color: black;
    padding-top: 150px;
}
  
  .decorative-blob {
    display: none;
  }
  
  .services-item,
  .priceplan-item,
  .reviews-item,
  .faq-card {
    box-shadow: none;
    border: 1px solid #dae5f4;
  }
  
  .contact-form,
  .contact-info {
    box-shadow: none;
    border: 1px solid #dfe5f3;
  }
  
  .gallery-item {
    box-shadow: none;
    border: 1px solid #d2dceb;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .services-item,
  .priceplan-item,
  .reviews-item,
  .faq-card {
    border: 2px solid #37465a;
  }
  
  .contact-form {
    border: 2px solid #3c444d;
  }
  
  .gallery-item {
    border: 2px solid #445363;
  }
}

/* Dark mode preferences */

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  .services-item,
  .gallery-item img,
  .btn-primary-custom,
  .btn-secondary-custom {
    transition: none;
  }
  
  .services-item:hover,
  .gallery-item:hover img,
  .btn-primary-custom:hover,
  .btn-secondary-custom:hover {
    transform: none;
  }
}

/* Focus styles for keyboard navigation */
@media (prefers-reduced-motion: no-preference) {
  .services-item:focus,
  .priceplan-item:focus,
  .reviews-item:focus,
  .faq-card:focus,
  .gallery-item:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
  }
}

/* Performance optimization for large screens */
@media (min-width: 1920px) {
  .hero {
    background-attachment: fixed;
  }
  
  .decorative-blob {
    will-change: transform;
  }
}

/* Mobile navigation adjustments */
@media (max-width: 991.98px) {
  .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
  }
  
  .navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(150, 96, 246, 0.25);
  }
  
  .navbar-collapse {
    margin-top: 1rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    margin: 0.25rem 0;
  }
  
  .navbar-nav .nav-link:hover {
    background-color: rgba(154, 113, 255, 0.10);
  }
} 