/* Responsive CSS for Prenuptial Agreement Bar Template */

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Large Devices (desktops, 992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.5rem;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
  
  .service-item-img {
    height: 180px;
  }
}

/* Medium Devices (tablets, 768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  h1 {
    font-size: 2.8rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
  
  h3 {
    font-size: 1.8rem;
  }
  
  .section-padding {
    padding: 80px 0;
  }
  
  .section-title {
    margin-bottom: 40px;
  }
  
  .hero {
    height: auto;
    padding: 150px 0 100px;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
  }
  
  .hero-img {
    margin-top: 50px;
  }
  
  .service-item-img {
    height: 170px;
  }
  
  .price-item.featured {
    transform: scale(1.03);
  }
}

/* Small Devices (landscape phones, 576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  h3 {
    font-size: 1.7rem;
  }
  
  h4 {
    font-size: 1.5rem;
  }
  
  .section-padding {
    padding: 70px 0;
  }
  
  .section-title {
    margin-bottom: 30px;
  }
  
  .hero {
    height: auto;
    padding: 130px 0 80px;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .hero-img {
    margin-top: 40px;
  }
  
  .hero-shape {
    width: 100%;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    opacity: 0.3;
  }
  
  .about-feature {
    margin-bottom: 40px;
  }
  
  .service-item {
    margin-bottom: 40px;
  }
  
  .price-item.featured {
    transform: none;
  }
  
  .price-item {
    margin-bottom: 40px;
  }
  
  .team-member {
    margin-bottom: 40px;
  }
  
  .review-item {
    margin-bottom: 30px;
  }
  
  .contact-form {
    margin-top: 40px;
  }
  
  footer {
    padding: 60px 0 20px;
  }
  
  .footer-widget {
    margin-bottom: 40px;
  }
  
  /* Disable animations on mobile for better performance */
  .shape-blob-1, .shape-blob-2 {
    animation: none;
  }
  
  /* Respect prefers-reduced-motion */
  @media (prefers-reduced-motion) {
    .service-item:hover,
    .about-feature:hover,
    .blog-item:hover,
    .price-item:hover,
    .team-member:hover .team-img img,
    .service-item:hover .service-item-img img,
    .blog-item:hover .blog-img img,
    .gallery-item:hover img {
      transform: none;
    }
  }
}

/* Extra Small Devices (portrait phones, less than 576px) */
@media (max-width: 575px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  h4 {
    font-size: 1.3rem;
  }
  
  p {
    font-size: 14px;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }
  
  .section-padding {
    padding: 60px 0;
  }
  
  .section-title {
    margin-bottom: 30px;
  }
  
  .hero {
    height: auto;
    padding: 120px 0 70px;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-img {
    margin-top: 40px;
  }
  
  .hero-shape {
    width: 100%;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    opacity: 0.3;
  }
  
  .about-feature {
    margin-bottom: 30px;
  }
  
  .service-item {
    margin-bottom: 30px;
  }
  
  .feature-item {
    flex-direction: column;
    text-align: center;
  }
  
  .feature-icon {
    margin: 0 auto 20px;
  }
  
  .price-item.featured {
    transform: none;
  }
  
  .price-item {
    margin-bottom: 30px;
    padding: 30px 20px;
  }
  
  .team-member {
    margin-bottom: 30px;
  }
  
  .review-item {
    margin: 0 0 30px;
    padding: 20px;
  }
  
  .contact-form {
    padding: 30px 20px;
    margin-top: 30px;
  }
  
  footer {
    padding: 50px 0 20px;
    text-align: center;
  }
  
  .footer-widget {
    margin-bottom: 30px;
  }
  
  .contact-info li {
    justify-content: center;
  }
  
  /* Disable animations on mobile for better performance */
  .shape-blob-1, .shape-blob-2 {
    display: none;
  }
  
  .gallery-container {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
  
  /* Respect prefers-reduced-motion */
  @media (prefers-reduced-motion) {
    .service-item:hover,
    .about-feature:hover,
    .blog-item:hover,
    .price-item:hover,
    .team-member:hover .team-img img,
    .service-item:hover .service-item-img img,
    .blog-item:hover .blog-img img,
    .gallery-item:hover img {
      transform: none;
    }
  }
} 