/* ===== RESPONSIVE STYLES - ONLINE ART AUCTION TEMPLATE ===== */

/* Mobile-first responsive design */

/* Tablet styles */
@media (max-width: 991.98px) {
  /* Typography adjustments for tablets */
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  h3 { font-size: 1.4rem; }
  
  /* Section padding reduction */
  section {
    padding: 60px 0;
  }
  
  /* Hero adjustments */
  #hero {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-shape-1,
  .hero-shape-2 {
    display: none;
  }
  
  /* Service cards */
  .service-card {
    margin-bottom: 2rem;
  }
  
  /* Team cards spacing */
  .team-card {
    margin-bottom: 2rem;
  }
  
  /* Contact form padding */
  .contact-form {
    padding: 2rem;
  }
}

/* Mobile styles */
@media (max-width: 767.98px) {
  /* Disable all scroll animations on mobile */
  [data-sal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  
  /* Typography for mobile */
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.3rem; }
  h4 { font-size: 1.1rem; }
  
  /* Conservative navbar brand size */
  .navbar-brand {
    font-size: 1.1rem !important;
  }
  
  /* Mobile section padding */
  section {
    padding: 40px 0;
  }
  
  /* Mobile hero */
  #hero {
    min-height: 70vh;
    padding: 40px 0;
  }
  
  .hero-content {
    text-align: center;
    padding-top: 175px;
}
  
  /* Mobile buttons */
  .btn-primary,
  .btn-outline-primary {
    padding: 10px 20px;
    font-size: 0.9rem;
    width: 100%;
    margin-bottom: 1rem;
  }
  
  /* Mobile cards spacing */
  .service-card,
  .team-card,
  .review-card,
  .price-card,
  .casestudy-card,
  .blog-card {
    margin-bottom: 1.5rem;
  }
  
  /* Remove hover effects on mobile */
  .service-card:hover,
  .team-card:hover,
  .casestudy-card:hover,
  .blog-card:hover,
  .gallery-item:hover,
  .price-card:hover {
    transform: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  }
  
  /* Mobile contact form */
  .contact-form {
    padding: 1.5rem;
    margin: 0 -15px;
    border-radius: 0;
  }
  
  /* Mobile form controls */
  .form-control {
    margin-bottom: 1rem;
  }
  
  /* Mobile gallery */
  .gallery-item img {
    height: 200px;
  }
  
  /* Mobile price cards */
  .price-card.featured {
    transform: none;
  }
  
  .price-amount {
    font-size: 2rem;
  }
  
  /* Mobile process steps */
  .process-step {
    padding: 1.5rem;
  }
  
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  /* Mobile navigation */
  .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
  }
  
  .navbar-toggler:focus {
    box-shadow: none;
  }
  
  /* Mobile footer */
  #footer {
    padding: 40px 0 20px;
    text-align: center;
  }
  
  #footer .col-md-3,
  #footer .col-md-4 {
    margin-bottom: 2rem;
  }
  
  /* Mobile timeline */
  .timeline-item {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  /* Mobile FAQ */
  .faq-card {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  /* Mobile career cards */
  .career-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  /* Mobile text adjustments */
  .section-desc {
    margin-bottom: 2rem;
  }
  
  /* Mobile utility adjustments */
  .mb-md-0 {
    margin-bottom: 1rem !important;
  }
}

/* Small mobile devices */
@media (max-width: 575.98px) {
  /* Ultra-conservative typography */
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.2rem; }
  
  .navbar-brand {
    font-size: 1rem !important;
  }
  
  /* Compact sections */
  section {
    padding: 30px 0;
  }
  
  /* Compact hero */
  #hero {
    min-height: 60vh;
    padding: 30px 0;
  }
  
  /* Compact cards */
  .service-card,
  .team-card,
  .contact-form {
    padding: 1rem;
  }
  
  .price-amount {
    font-size: 1.8rem;
  }
  
  /* Compact footer */
  #footer {
    padding: 30px 0 15px;
  }
  
  /* Ensure no horizontal scroll */
  body {
    overflow-x: hidden;
  }
  
  /* Compact form elements */
  .form-control {
    padding: 10px 12px;
  }
}

/* Landscape mobile orientation */
@media (max-width: 767.98px) and (orientation: landscape) {
  #hero {
    min-height: 100vh;
  }
  
  section {
    padding: 50px 0;
  }
}

/* High-DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  /* Ensure crisp text rendering */
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

/* Print styles */
@media print {
  /* Hide navigation and decorative elements */
  .navbar,
  #footer,
  .btn,
  .hero-decorative-shape {
    display: none !important;
  }
  
  /* Adjust colors for print */
  * {
    background: transparent !important;
    color: black !important;
    box-shadow: none !important;
  }
  
  /* Ensure page breaks */
  section {
    page-break-inside: avoid;
  }
  
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
  }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  /* Disable all animations and transitions for users with motion sensitivity */
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  /* Ensure content is always visible */
  [data-sal] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Focus styles for better accessibility */
@media (min-width: 768px) {
  .btn:focus,
  .form-control:focus,
  .navbar-nav .nav-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
  }
}
