/* ==========================================
   TINY-HOME INTERIOR CUSTOMIZATION KITS
   Responsive CSS - Mobile First Design
   ========================================== */

/* Mobile First Base Styles (320px+) */
@media (max-width: 575.98px) {
  /* Typography Adjustments */
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
  
  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-desc {
    font-size: 1rem;
  }
  
  /* Navigation */
  .navbar-brand {
    font-size: 1.1rem !important;
  }
  
  .navbar-toggler {
    border: none;
    padding: 0.25rem;
  }
  
  .navbar-collapse {
    margin-top: 1rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 0;
    text-align: center;
  }
  
  /* Hero Section Mobile */
  .hero-section {
    min-height: 80vh;
    padding: 2rem 0;
    text-align: center;
  }
  
  .hero-content {
    margin-bottom: 2rem;
    padding-top: 125px;
}
  
  /* Decorative shapes hidden on mobile for performance */
  .hero-section::before,
  .hero-section::after {
    display: none;
  }
  
  /* Section Spacing */
  .section {
    padding: 2rem 0;
  }
  
  .section-desc {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  /* Cards Mobile Adjustments */
  .feature-card,
  .service-card,
  .price-card,
  .team-card,
  .review-card,
  .case-card,
  .career-card {
    margin-bottom: 1.5rem;
  }
  
  /* Service Cards */
  .service-card {
    padding: 1.5rem;
  }
  
  .service-image {
    height: 150px;
  }
  
  /* Price Cards */
  .price-card {
    padding: 2rem 1.5rem;
  }
  
  .price-amount {
    font-size: 2rem;
  }
  
  /* Team Photos */
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  /* Process Steps */
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  /* Timeline */
  .timeline-item {
    padding-left: 1.5rem;
  }
  
  /* Contact Form */
  .contact-section .row {
    flex-direction: column-reverse;
  }
  
  .contact-info {
    margin-bottom: 2rem;
  }
  
  .contact-info i {
    font-size: 1.25rem;
  }
  
  /* Gallery Grid */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  
  .gallery-item img {
    height: 150px;
  }
  
  /* Footer */
  .footer {
    text-align: center;
    padding: 2rem 0 1.5rem;
  }
  
  .footer .row > div {
    margin-bottom: 2rem;
  }
  
  /* NO ANIMATIONS ON MOBILE - Strict Requirement */
  * {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
  
  .feature-card:hover,
  .service-card:hover,
  .price-card:hover,
  .team-card:hover,
  .case-card:hover,
  .career-card:hover,
  .info-card:hover,
  .blog-card:hover,
  .gallery-item:hover {
    transform: none !important;
    box-shadow: none !important;
  }
  
  .btn-primary:hover {
    transform: none !important;
  }
}

/* Small Devices (576px+) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .service-image {
    height: 180px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Limited animations on small devices */
  .feature-card:hover,
  .service-card:hover,
  .price-card:hover,
  .team-card:hover {
    transform: translateY(-2px) !important;
  }
}

/* Medium Devices (768px+) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
    min-height: 90vh;
  }
  
  .hero-title {
    font-size: 2.75rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .service-image {
    height: 200px;
  }
  
  /* Normal hover effects for tablets */
  .feature-card:hover,
  .service-card:hover,
  .price-card:hover,
  .team-card:hover,
  .case-card:hover,
  .career-card:hover,
  .info-card:hover,
  .blog-card:hover {
    transform: translateY(-3px);
  }
}

/* Large Devices (992px+) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  /* Full hover effects for desktop */
  .feature-card:hover,
  .service-card:hover,
  .price-card:hover,
  .team-card:hover,
  .case-card:hover,
  .career-card:hover,
  .info-card:hover,
  .blog-card:hover {
    transform: translateY(-5px);
  }
}

/* Extra Large Devices (1200px+) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
  
  .section {
    padding: 5rem 0;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  
  /* Enhanced hover effects for large screens */
  .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(51, 69, 59, 0.15);
  }
  
  .service-card:hover,
  .price-card:hover,
  .team-card:hover,
  .case-card:hover,
  .career-card:hover {
    transform: translateY(-8px);
  }
}

/* Ultra Wide Screens (1400px+) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  .hero-title {
    font-size: 4rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* High DPI/Retina Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .service-image,
  .team-photo,
  .gallery-item img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .contact-section {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
    color: black;
    background: white;
  }
  
  .hero-section,
  .section {
    page-break-inside: avoid;
    padding: 1rem 0;
  }
  
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
    color: black;
  }
  
  .feature-card,
  .service-card,
  .price-card,
  .team-card,
  .review-card {
    border: 1px solid #e0e0e0;
    page-break-inside: avoid;
    margin-bottom: 1rem;
  }
}

/* Landscape Mobile Specific */
@media (max-width: 767.98px) and (orientation: landscape) {
  .hero-section {
    min-height: 60vh;
  }
  
  .section {
    padding: 1.5rem 0;
  }
  
  .navbar-collapse {
    max-height: 200px;
    overflow-y: auto;
  }
}

/* Dark Mode Support (Respects system preference) */

/* Accessibility Enhancements */
@media (prefers-reduced-motion: reduce) {
  .hero-section::before,
  .hero-section::after {
    display: none;
  }
  
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .btn-primary:hover {
    transform: none !important;
  }
  
  .feature-card:hover,
  .service-card:hover,
  .price-card:hover,
  .team-card:hover,
  .case-card:hover,
  .career-card:hover,
  .info-card:hover,
  .blog-card:hover,
  .gallery-item:hover {
    transform: none !important;
  }
}

/* Focus Styles for Accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus,
.navbar-brand:focus {
  outline: 2px solid var(--primary-sage);
  outline-offset: 2px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .feature-card,
  .service-card,
  .price-card,
  .team-card,
  .review-card,
  .case-card,
  .career-card,
  .contact-info,
  .faq-card {
    border-width: 2px;
  }
  
  .btn-primary {
    border-width: 2px;
  }
  
  .form-control {
    border-width: 2px;
  }
} 