/* Responsive CSS for Tiny House Community */

/* Extra Large Screens (1400px and up) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
  
  .section {
    padding: 6rem 0;
  }
}

/* Large Screens (992px to 1399px) */
@media (min-width: 992px) and (max-width: 1399px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .section {
    padding: 5rem 0;
  }
}

/* Medium Screens (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .feature-card,
  .service-card,
  .price-card,
  .team-card,
  .review-card,
  .case-card,
  .career-card,
  .info-card {
    margin-bottom: 2rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Small Screens (576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  .hero {
    min-height: 80vh;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  .navbar-nav .nav-link {
    margin: 0.25rem 0;
  }
  
  .feature-card,
  .service-card,
  .price-card,
  .team-card,
  .review-card,
  .case-card,
  .career-card,
  .info-card {
    margin-bottom: 1.5rem;
  }
  
  .price-card.featured {
    transform: none;
    margin-top: 1.5rem;
  }
  
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-image {
    height: 200px;
  }
}

/* Extra Small Screens (up to 575px) */
@media (max-width: 575px) {
  .hero {
    min-height: 70vh;
    padding: 2rem 0;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 0.95rem;
  }
  
  .hero-desc {
    font-size: 1rem;
  }
  
  .section {
    padding: 2.5rem 0;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .navbar-brand {
    font-size: 1.125rem;
  }
  
  .navbar-nav .nav-link {
    margin: 0.25rem 0;
    font-size: 0.95rem;
  }
  
  .feature-card,
  .service-card,
  .price-card,
  .team-card,
  .review-card,
  .case-card,
  .career-card,
  .info-card {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
  }
  
  .service-image {
    height: 180px;
  }
  
  .price-card.featured {
    transform: none;
    margin-top: 1.5rem;
  }
  
  .price-amount {
    font-size: 2rem;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  .timeline-item {
    padding-left: 1.25rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .form-control {
    padding: 0.625rem 0.875rem;
  }
  
  .btn-primary {
    padding: 0.625rem 1.5rem;
    font-size: 1rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .gallery-image {
    height: 200px;
  }
  
  .footer {
    padding: 2rem 0 1rem;
  }
  
  .footer-bottom {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
  }
  
  .faq-question,
  .faq-answer {
    padding: 1rem;
  }
  
  .blog-content {
    padding: 1.25rem;
  }
  
  .blog-image {
    height: 180px;
  }
}

/* Landscape Phones */
@media (max-width: 767px) and (orientation: landscape) {
  .hero {
    min-height: 100vh;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .breadcrumb {
    display: none;
  }
  
  .hero {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .feature-card,
  .service-card,
  .price-card,
  .team-card,
  .review-card,
  .case-card,
  .career-card,
  .info-card {
    box-shadow: none;
    border: 1px solid #ddd;
  }
  
  .hero::before {
    display: none;
  }
}

/* High DPI Screens */
@media (min-resolution: 2dppx) {
  .hero::before {
    background-image: url('../POH_images/hero-bg@2x.webp');
  }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .feature-card,
  .service-card,
  .price-card,
  .team-card,
  .review-card,
  .case-card,
  .career-card,
  .info-card,
  .gallery-item {
    transition: none;
  }
  
  .feature-card:hover,
  .service-card:hover,
  .price-card:hover,
  .team-card:hover,
  .review-card:hover,
  .case-card:hover,
  .career-card:hover,
  .info-card:hover,
  .gallery-item:hover {
    transform: none;
  }
  
  .btn-primary:hover {
    transform: none;
  }
}

/* Dark Mode Support */

/* Container Spacing Adjustments */
@media (max-width: 1200px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
} 