/* Responsive CSS for Family Law Template */

/* Large Screens */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Medium Screens */
@media (min-width: 992px) and (max-width: 1199px) {
  .container {
    max-width: 960px;
  }
  
  .hero-title-1 {
    font-size: 3rem;
  }
  
  .hero-subtitle-1 {
    font-size: 1.3rem;
  }
}

/* Tablets */
@media (min-width: 768px) and (max-width: 991px) {
  .container {
    max-width: 720px;
  }
  
  .hero-title-1 {
    font-size: 2.5rem;
  }
  
  .hero-subtitle-1 {
    font-size: 1.2rem;
  }
  
  .hero-desc-1 {
    font-size: 1rem;
  }
  
  .about-feature, 
  .service-item, 
  .feature-item, 
  .price-plan, 
  .team-member {
    transform: none !important;
  }
  
  section {
    padding: var(--spacing-md) 0;
  }
  
  .about-title, 
  .services-title, 
  .features-title, 
  .priceplan-title, 
  .team-title, 
  .reviews-title, 
  .coreinfo-title, 
  .contact-title, 
  .blog-title, 
  .faq-title {
    font-size: 2rem;
  }
}

/* Mobile Landscape */
@media (min-width: 576px) and (max-width: 767px) {
  .container {
    max-width: 540px;
  }
  
  .header-container {
    padding: 0.5rem 0;
  }
  
  .nav-menu {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background-color: white;
    padding: 1rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }
  
  .mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .mobile-menu li {
    margin-bottom: 1rem;
  }
  
  .mobile-menu a {
    display: block;
    padding: 0.5rem 0;
    font-weight: 600;
    color: var(--neutral-dark);
  }
  
  .hero {
    height: auto;
    min-height: 100vh;
    padding: 6rem 0 4rem;
  }
  
  .hero-content {
    text-align: center;
    margin: 0 auto;
  }
  
  .hero-title-1 {
    font-size: 2rem;
  }
  
  .hero-subtitle-1 {
    font-size: 1.1rem;
  }
  
  section {
    padding: var(--spacing-md) 0;
  }
  
  .about-title, 
  .services-title, 
  .features-title, 
  .priceplan-title, 
  .team-title, 
  .reviews-title, 
  .coreinfo-title, 
  .contact-title, 
  .blog-title, 
  .faq-title {
    font-size: 1.8rem;
  }
  
  .about-subtitle, 
  .services-subtitle, 
  .features-subtitle, 
  .priceplan-subtitle, 
  .team-subtitle, 
  .reviews-subtitle, 
  .coreinfo-subtitle, 
  .contact-subtitle, 
  .blog-subtitle, 
  .faq-subtitle {
    font-size: 1rem;
  }
  
  .about-desc, 
  .services-desc, 
  .features-desc, 
  .priceplan-desc, 
  .team-desc, 
  .reviews-desc, 
  .coreinfo-desc, 
  .contact-desc, 
  .blog-desc, 
  .faq-desc {
    font-size: 1rem;
  }
  
  .services-grid, 
  .features-grid, 
  .priceplan-grid, 
  .team-grid, 
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .coreinfo-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-container {
    grid-template-columns: 1fr;
  }
}

/* Mobile Portrait */
@media (max-width: 575px) {
  .container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
  }
  
  .header-container {
    padding: 0.5rem 0;
  }
  
  .nav-menu {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background-color: white;
    padding: 1rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }
  
  .mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .mobile-menu li {
    margin-bottom: 1rem;
  }
  
  .mobile-menu a {
    display: block;
    padding: 0.5rem 0;
    font-weight: 600;
    color: var(--neutral-dark);
  }
  
  .hero {
    height: auto;
    min-height: 100vh;
    padding: 6rem 0 4rem;
  }
  
  .hero-content {
    text-align: center;
    margin: 0 auto;
  }
  
  .hero-title-1 {
    font-size: 1.8rem;
  }
  
  .hero-subtitle-1 {
    font-size: 1rem;
  }
  
  .hero-desc-1 {
    font-size: 0.9rem;
  }
  
  section {
    padding: var(--spacing-md) 0;
  }
  
  .about-title, 
  .services-title, 
  .features-title, 
  .priceplan-title, 
  .team-title, 
  .reviews-title, 
  .coreinfo-title, 
  .contact-title, 
  .blog-title, 
  .faq-title {
    font-size: 1.5rem;
  }
  
  .about-subtitle, 
  .services-subtitle, 
  .features-subtitle, 
  .priceplan-subtitle, 
  .team-subtitle, 
  .reviews-subtitle, 
  .coreinfo-subtitle, 
  .contact-subtitle, 
  .blog-subtitle, 
  .faq-subtitle {
    font-size: 0.9rem;
  }
  
  .about-desc, 
  .services-desc, 
  .features-desc, 
  .priceplan-desc, 
  .team-desc, 
  .reviews-desc, 
  .coreinfo-desc, 
  .contact-desc, 
  .blog-desc, 
  .faq-desc {
    font-size: 0.9rem;
  }
  
  .services-grid, 
  .features-grid, 
  .priceplan-grid, 
  .team-grid, 
  .coreinfo-grid, 
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .contact-info li {
    justify-content: center;
  }
  
  /* Remove animations on small devices */
  @media (prefers-reduced-motion: reduce) {
    * {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }
  }
  
  /* Disable hover effects on mobile */
  .about-feature:hover, 
  .service-item:hover, 
  .feature-item:hover, 
  .price-plan:hover, 
  .team-member:hover, 
  .blog-item:hover {
    transform: none;
  }
} 