/* 
  Responsive Stylesheet for Domestic Violence Protective Order Clinic
  Created: May 2025
*/

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Large Devices (desktops, 992px to 1199px) */
@media (max-width: 1199.98px) {
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-slide {
    height: 70vh;
  }
  
  .hero-section {
    min-height: 70vh;
  }
}

/* Medium Devices (tablets, 768px to 991px) */
@media (max-width: 991.98px) {
  html {
    font-size: 15px;
  }
  
  section {
    padding: 4rem 0;
  }
  
  .hero-section {
    min-height: 60vh;
  }
  
  .hero-slide {
    height: 60vh;
  }
  
  .hero-content {
    max-width: 500px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .about-feature-card {
    margin-bottom: 1.5rem;
  }
  
  .services-card {
    margin-bottom: 2rem;
  }
  
  .features-card {
    margin-bottom: 1.5rem;
  }
  
  .priceplan-card {
    margin-bottom: 2rem;
  }
  
  .priceplan-card.highlighted {
    transform: scale(1.03);
  }
  
  .team-card {
    margin-bottom: 2rem;
  }
  
  .coreinfo-card {
    margin-bottom: 1.5rem;
  }
  
  .blog-card {
    margin-bottom: 2rem;
  }
}

/* Small Devices (landscape phones, 576px to 767px) */
@media (max-width: 767.98px) {
  html {
    font-size: 14px;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .section-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-section {
    min-height: 50vh;
  }
  
  .hero-slide {
    height: 50vh;
  }
  
  .hero-content {
    max-width: 100%;
    padding: 1.5rem;
  }
  
  .hero-title {
    font-size: 1.75rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .navbar-collapse {
    background-color: var(--neutral-white);
    padding: 1rem;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }
  
  .nav-link::after {
    left: 0;
    right: 0;
  }
  
  .about-shape {
    display: none;
  }
  
  .features-shape {
    display: none;
  }
  
  .contact-shape {
    display: none;
  }
  
  .contact-form-container {
    padding: 1.5rem;
  }
  
  .priceplan-card.highlighted {
    transform: scale(1);
    margin-top: 0;
    margin-bottom: 1.5rem;
  }
  
  .review-card {
    margin-bottom: 1.5rem;
  }
  
  footer {
    padding: 3rem 0 2rem;
  }
  
  .footer-column {
    margin-bottom: 2rem;
  }
  
  /* Disable animations for better performance */
  .fade-in {
    animation: none;
    opacity: 1;
    transform: none;
  }
  
  /* Adjust slider for touch devices */
  .reviews-swiper {
    padding-bottom: 2.5rem;
  }
}

/* Extra Small Devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  html {
    font-size: 13px;
  }
  
  section {
    padding: 2.5rem 0;
  }
  
  .section-title {
    font-size: 1rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .hero-section {
    min-height: 60vh;
  }
  
  .hero-slide {
    height: 60vh;
  }
  
  .hero-content {
    padding: 1rem;
  }
  
  .hero-title {
    font-size: 1rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .team-img {
    height: 250px;
  }
  
  .blog-img {
    height: 180px;
  }
  
  .services-card-img {
    height: 180px;
  }
  
  #space {
    min-height: 50vh;
  }
  
  /* Stack grid items */
  .row > [class*="col-"] {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

/* For devices that prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .hero-swiper .swiper-wrapper {
    transition-timing-function: linear !important;
  }
  
  .services-card:hover,
  .about-feature-card:hover,
  .features-card:hover,
  .team-card:hover,
  .review-card:hover,
  .coreinfo-card:hover,
  .blog-card:hover,
  .add-page-card:hover {
    transform: none;
  }
  
  .services-card:hover .services-card-img img,
  .team-card:hover .team-img img,
  .blog-card:hover .blog-img img {
    transform: none;
  }
  
  .nav-link:hover::after {
    transform: none;
  }
} 