/* AR Art Installations Template - Responsive CSS */

/* Mobile First Approach */

/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  /* Typography adjustments */
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.25rem; }
  
  /* Hero section mobile */
  .hero-section {
    min-height: 80vh;
    padding: 40px 0;
  }
  
  .hero-section::before,
  .hero-section::after {
    display: none; /* Hide decorative elements on mobile */
  }
  
  /* Section spacing */
  section {
    padding: 50px 0;
  }
  
  /* Cards mobile optimization */
  .service-card,
  .feature-card,
  .price-card,
  .team-member,
  .review-card,
  .case-card,
  .career-card {
    margin-bottom: 20px;
  }
  
  /* Mobile navigation - no custom hamburger modifications */
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  /* Contact form mobile */
  .contact-form {
    padding: 30px 20px;
  }
  
  /* Team photos smaller on mobile */
  .team-photo {
    width: 80px;
    height: 80px;
  }
  
  /* Price cards mobile */
  .price-card.featured {
    transform: none; /* Remove scaling on mobile */
  }
  
  /* Process steps mobile */
  .process-step {
    padding: 20px;
  }
  
  /* FAQ cards mobile */
  .faq-card {
    padding: 20px;
  }
  
  /* Gallery mobile */
  .gallery-item {
    margin-bottom: 15px;
  }
  
  .gallery-item:hover {
    transform: none; /* No hover effects on mobile */
  }
  
  /* Footer mobile */
  .footer {
    padding: 40px 0 20px;
    text-align: center;
  }
  
  /* Utility spacing mobile */
  .py-section { padding: 50px 0; }
  .my-section { margin: 50px 0; }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  /* Hero adjustments */
  .hero-section {
    min-height: 85vh;
  }
  
  /* Typography */
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.875rem; }
  
  /* Section spacing */
  section {
    padding: 60px 0;
  }
  
  /* Cards grid adjustments */
  .col-sm-6 .service-card,
  .col-sm-6 .feature-item,
  .col-sm-6 .price-card {
    height: auto;
    min-height: 300px;
  }
  
  /* Contact form */
  .contact-form {
    padding: 35px 25px;
  }
  
  /* Team photos */
  .team-photo {
    width: 100px;
    height: 100px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* Hero section */
  .hero-section {
    min-height: 90vh;
  }
  
  /* Typography */
  h1 { font-size: 2.375rem; }
  h2 { font-size: 1.975rem; }
  
  /* Section spacing */
  section {
    padding: 70px 0;
  }
  
  /* Grid adjustments for tablets */
  .col-md-4 .service-card,
  .col-md-4 .price-card {
    min-height: 350px;
  }
  
  .col-md-6 .feature-card,
  .col-md-6 .case-card {
    min-height: 280px;
  }
  
  /* Team section tablet */
  .col-md-2 .team-member {
    padding: 25px 15px;
  }
  
  .team-photo {
    width: 110px;
    height: 110px;
  }
  
  /* Contact form tablet */
  .contact-form {
    padding: 40px 30px;
  }
  
  /* Process steps tablet */
  .process-step {
    margin-bottom: 25px;
  }
  
  /* FAQ tablet */
  .faq-card {
    margin-bottom: 25px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  /* Hero full height */
  .hero-section {
    min-height: 95vh;
  }
  
  /* Typography desktop */
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  
  /* Full section spacing */
  section {
    padding: 80px 0;
  }
  
  /* Grid consistency for desktop */
  .col-lg-4 .service-card,
  .col-lg-4 .price-card {
    min-height: 380px;
  }
  
  .col-lg-3 .feature-item {
    min-height: 250px;
  }
  
  .col-lg-6 .case-card {
    min-height: 300px;
  }
  
  /* Team desktop spacing */
  .team-member {
    padding: 30px 20px;
  }
  
  /* Contact form desktop */
  .contact-form {
    padding: 40px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  /* Hero section full experience */
  .hero-section {
    min-height: 100vh;
  }
  
  /* Show decorative elements */
  .hero-section::before,
  .hero-section::after {
    display: block;
  }
  
  /* Maximum section spacing */
  section {
    padding: 80px 0;
  }
  
  /* Optimal card heights for large screens */
  .col-xl-4 .service-card {
    min-height: 400px;
  }
  
  .col-xl-4 .price-card {
    min-height: 420px;
  }
  
  .col-xl-3 .feature-item {
    min-height: 260px;
  }
  
  .col-xl-6 .case-card {
    min-height: 320px;
  }
  
  /* Team optimal sizing */
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  /* Process steps optimal */
  .process-step {
    margin-bottom: 30px;
  }
  
  /* FAQ optimal */
  .faq-card {
    margin-bottom: 20px;
  }
}

/* Ultra wide screens (1400px and up) */
@media (min-width: 1400px) {
  /* Container max-width adjustments for ultra-wide */
  .container {
    max-width: 1320px;
  }
  
  /* Hero section ultra-wide */
  .hero-section::before {
    width: 250px;
    height: 250px;
  }
  
  .hero-section::after {
    width: 180px;
    height: 180px;
  }
  
  /* Increase content spacing */
  .hero-content {
    padding: 0 50px;
    padding-top: 150px;
}
}

/* Landscape orientation optimizations */
@media (orientation: landscape) and (max-height: 600px) {
  /* Reduce hero height on landscape mobile */
  .hero-section {
    min-height: 90vh;
  }
  
  /* Compact sections on landscape */
  section {
    padding: 40px 0;
  }
  
  /* Smaller decorative elements */
  .hero-section::before,
  .hero-section::after {
    transform: scale(0.7);
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  /* Ensure crisp borders and shadows */
  .service-card,
  .feature-card,
  .price-card,
  .team-member,
  .review-card,
  .case-card,
  .career-card,
  .faq-card {
    border-width: 1px;
  }
  
  /* Adjust shadow blur for retina */
  .service-card:hover,
  .career-card:hover,
  .faq-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
}

/* Print styles */
@media print {
  /* Remove backgrounds and shadows for print */
  * {
    background: white !important;
    color: black !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  
  /* Hide navigation and footer */
  .navbar,
  .footer {
    display: none !important;
  }
  
  /* Optimize spacing for print */
  section {
    padding: 20px 0;
    page-break-inside: avoid;
  }
  
  /* Remove decorative elements */
  .hero-section::before,
  .hero-section::after {
    display: none !important;
  }
}

/* Dark mode support (if system preference) */

/* Focus and accessibility improvements */
@media (any-hover: hover) {
  /* Only apply hover effects on devices that support hover */
  .service-card:hover,
  .feature-card:hover,
  .price-card:hover,
  .team-member:hover,
  .case-card:hover,
  .career-card:hover,
  .coreinfo-item:hover,
  .blog-card:hover,
  .faq-card:hover,
  .gallery-item:hover {
    /* Hover effects already defined in main.css */
  }
}

/* Touch device optimizations */
@media (any-pointer: coarse) {
  /* Larger touch targets */
  .btn {
    min-height: 44px;
    padding: 12px 24px;
  }
  
  /* Remove hover effects on touch devices */
  .service-card:hover,
  .feature-card:hover,
  .price-card:hover,
  .team-member:hover,
  .case-card:hover,
  .career-card:hover,
  .coreinfo-item:hover,
  .blog-card:hover,
  .faq-card:hover,
  .gallery-item:hover {
    transform: none;
    border-color: initial;
    background: initial;
    box-shadow: initial;
  }
  
  /* Ensure form elements are touch-friendly */
  .form-control {
    min-height: 44px;
    font-size: 16px; /* Prevents zoom on iOS */
  }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  /* Remove all transitions and transforms */
  * {
    transition: none !important;
    transform: none !important;
    animation: none !important;
  }
  
  /* Ensure hover states still work but without animation */
  .service-card:hover,
  .feature-card:hover,
  .price-card:hover,
  .team-member:hover,
  .case-card:hover,
  .career-card:hover,
  .coreinfo-item:hover,
  .blog-card:hover,
  .faq-card:hover {
    border-color: var(--primary-purple);
  }
  
  /* Remove scroll-based animations */
  [data-sal] {
    transform: none !important;
    opacity: 1 !important;
  }
} 