/* Virtual Home Staging Template - Responsive CSS */
/* Mobile-first responsive design - NO animations on mobile */

/* Mobile Styles (up to 768px) */
@media (max-width: 767.98px) {
  /* NO ANIMATIONS ON MOBILE - STRICT RULE */
  * {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
  
  /* Typography adjustments for mobile */
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  .navbar-brand {
    font-size: 1.1rem;
  }
  
  /* Section padding reduction */
  .section-padding {
    padding: 3rem 0;
  }
  
  /* Hero section mobile */
  .hero-section {
    min-height: 80vh;
    text-align: center;
  }
  
  /* Card spacing on mobile */
  .service-card,
  .feature-card,
  .price-card,
  .team-card,
  .review-card,
  .case-card,
  .process-card,
  .timeline-card,
  .career-card,
  .coreinfo-card,
  .blog-card,
  .faq-card {
    margin-bottom: 1.5rem;
    transform: none !important;
    box-shadow: 0 2px 8px rgba(47, 79, 79, 0.1);
  }
  
  /* Team photo size reduction */
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  /* Button adjustments */
  .btn {
    width: 100%;
    margin-bottom: 1rem;
  }
  
  /* Form improvements */
  .form-control {
    padding: 15px;
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  /* Gallery grid mobile */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .gallery-item img {
    height: 200px;
    transform: none !important;
  }
  
  /* Decorative blobs - hidden on mobile */
  .decorative-blob {
    display: none;
  }
  
  /* Footer adjustments */
  .footer {
    padding: 2rem 0 1rem 0;
    text-align: center;
    background-color: #1a2f2f;
  }
  
  .footer h5 {
    color: #ffd700;
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }
  
  .footer p {
    color: #ffffff;
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  .footer a {
    color: #ffffff;
    font-size: 0.9rem;
  }
  
  .footer ul {
    margin-bottom: 1.5rem;
  }
  
  /* Space page mobile */
  #space {
    min-height: 60vh;
  }
}

/* Tablet Styles (768px to 991.98px) */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* Typography adjustments for tablet */
  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.85rem;
  }
  
  /* Section padding */
  .section-padding {
    padding: 4rem 0;
  }
  
  /* Hero section tablet */
  .hero-section {
    min-height: 90vh;
  }
  
  /* Card adjustments */
  .service-card,
  .feature-card,
  .price-card,
  .team-card,
  .review-card,
  .case-card,
  .process-card,
  .timeline-card,
  .career-card,
  .coreinfo-card,
  .blog-card,
  .faq-card {
    margin-bottom: 2rem;
  }
  
  /* Gallery grid tablet */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  
  .gallery-item img {
    height: 225px;
  }
}

/* Large Desktop Styles (1200px and up) */
@media (min-width: 1200px) {
  /* Container max-width adjustment */
  .container {
    max-width: 1200px;
  }
  
  /* Typography for large screens */
  h1 {
    font-size: 2.75rem;
  }
  
  h2 {
    font-size: 2.25rem;
  }
  
  /* Gallery grid large desktop */
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
  }
  
  .gallery-item img {
    height: 280px;
  }
  
  /* Card hover effects enhanced */
  .service-card:hover,
  .feature-card:hover,
  .price-card:hover,
  .team-card:hover,
  .case-card:hover,
  .process-card:hover,
  .timeline-card:hover,
  .career-card:hover,
  .coreinfo-card:hover,
  .blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(47, 79, 79, 0.2);
  }
}

/* Ultra-wide Screens (1400px and up) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  /* Section padding increase */
  .section-padding {
    padding: 6rem 0;
  }
  
  /* Gallery grid ultra-wide */
  .gallery-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
  }
}

/* High-DPI Display Optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  /* Ensure crisp images on retina displays */
  .team-photo,
  .gallery-item img {
    image-rendering: -webkit-optimize-contrast;
  }
}

/* Landscape Mobile Devices */
@media (max-width: 767.98px) and (orientation: landscape) {
  .hero-section {
    min-height: 100vh;
  }
  
  #space {
    min-height: 80vh;
  }
}

/* Print Styles */
@media print {
  .header-nav,
  .footer,
  .decorative-blob {
    display: none;
  }
  
  .section-padding {
    padding: 1rem 0;
  }
  
  .hero-section {
    min-height: auto;
  }
  
  .service-card,
  .feature-card,
  .price-card,
  .team-card,
  .review-card,
  .case-card,
  .process-card,
  .timeline-card,
  .career-card,
  .coreinfo-card,
  .blog-card,
  .faq-card {
    box-shadow: none;
    border: 1px solid #ddd;
    margin-bottom: 1rem;
    break-inside: avoid;
  }
}

/* Accessibility - Focus Styles */
@media (min-width: 768px) {
  .nav-link:focus,
  .btn:focus,
  .form-control:focus {
    outline: 2px solid var(--primary-terracotta);
    outline-offset: 2px;
  }
}

/* Dark Mode Support (if user prefers) */


body {
    overflow-x: hidden;
}

.hero-section h1 {
    padding-top: 150px;
}