/* Responsive CSS for Collaborative Divorce Studios Template */

/* Mobile First Approach */

/* Large Screens */
@media (max-width: 1200px) {
  .hero-text h1 {
    font-size: 3rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
}

/* Tablets */
@media (max-width: 992px) {
  .hero-row {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .hero-text h1 {
    font-size: 2.5rem;
  }
  
  .hero-text h2 {
    font-size: 1.5rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  
  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  
  .navbar-nav {
  flex-direction: row;
    gap: 1.5rem;
  }
  
  .blob-1, .blob-2 {
    display: none;
  }
}

/* Small Tablets */
@media (max-width: 768px) {
  .section {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .section-subtitle {
    font-size: 1.2rem;
  }
  
  .hero-text h1 {
    font-size: 2.2rem;
  }
  
  .hero-text h2 {
    font-size: 1.3rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .about-features {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .contact-form {
    padding: 2rem;
    margin: 2rem auto 0;
  }
  
  /* Disable animations on mobile for better performance */
  .service-card:hover,
  .team-member:hover,
  .about-feature:hover,
  .gallery-item:hover {
    transform: none;
  }
  
  .btn-submit:hover {
    transform: none;
  }
  
  @media (prefers-reduced-motion: reduce) {
    .blob-1, .blob-2 {
      animation: none;
    }
  }
}

/* Mobile Phones */
@media (max-width: 576px) {
  .container {
    padding: 0 15px;
  }
  
  .hero-section {
    min-height: 80vh;
  }
  
  .hero-text h1 {
    font-size: 1.8rem;
  }
  
  .hero-text h2 {
    font-size: 1.1rem;
  }
  
  .hero-text p {
    font-size: 1rem;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .section-subtitle {
    font-size: 1.1rem;
  }
  
  .navbar {
    flex-direction: column;
    gap: 1rem;
  }
  
  .navbar-nav {
  flex-direction: row;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .service-name {
    font-size: 1.3rem;
  }
  
  .service-price {
    font-size: 1.5rem;
  }
  
  .team-member {
    padding: 1.5rem;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  .review-card {
    padding: 1.5rem;
    margin: 0 0.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
  
  .gallery-item img {
    height: 150px;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .form-control {
    padding: 0.8rem;
  }
  
  .faq-question {
    padding: 1rem;
    font-size: 1rem;
  }
  
  .faq-answer {
    padding: 1rem;
  }
}

/* Extra Small Devices */
@media (max-width: 400px) {
  .hero-text h1 {
    font-size: 1.5rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .service-card {
    padding: 1rem;
  }
  
  .service-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .navbar-brand {
    font-size: 1.5rem;
  }
}

/* Landscape Orientation for Mobile */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-section {
    min-height: 100vh;
    padding: 2rem 0;
  }
  
  .hero-text h1 {
    font-size: 2rem;
  }
  
  .section {
    padding: 2rem 0;
  }
}

/* High DPI Screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
  .hero-section::before {
    background-size: cover;
  }
}

/* Print Styles */
@media print {
  .hero-section {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .site-header,
  .site-footer,
  .contact-form,
  .reviews-slider {
    display: none;
  }
  
  body {
overflow-x: hidden;
    font-size: 12pt;
    line-height: 1.4;
  }
  
  .section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
  
  .service-card,
  .team-member,
  .about-feature {
    page-break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ccc;
  }
} 