/* Responsive Design for Memory Care Social Hub */

/* Large screens (1200px and up) */
@media (min-width: 1200px) {
  .hero-title {
    font-size: 4rem;
  }
  
  .section-title {
    font-size: 3rem;
  }
  
  .container {
    max-width: 1140px;
  }
}

/* Medium screens (992px to 1199px) */
@media (max-width: 1199px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .shape-blob-1 {
    width: 150px;
    height: 150px;
  }
  
  .shape-blob-2 {
    width: 120px;
    height: 120px;
  }
}

/* Small to medium screens (768px to 991px) */
@media (max-width: 991px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .section-subtitle {
    font-size: 1.1rem;
  }
  
  .navbar-nav {
    text-align: center;
    margin-top: 1rem;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
  
  .team-photo {
    width: 150px;
    height: 150px;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

/* Mobile screens (576px to 767px) */
@media (max-width: 767px) {
  .hero-section {
    min-height: 80vh;
    padding-top: 100px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-desc {
    font-size: 1rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .navbar-brand {
    font-size: 1.5rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .service-name {
    font-size: 1.3rem;
  }
  
  .service-price {
    font-size: 1.5rem;
  }
  
  .service-icon {
    font-size: 2.5rem;
  }
  
  .feature-icon {
    font-size: 2rem;
  }
  
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  .team-name {
    font-size: 1.3rem;
  }
  
  .price-card {
    padding: 2rem 1.5rem;
  }
  
  .price-name {
    font-size: 1.5rem;
  }
  
  .price-amount {
    font-size: 2.5rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .form-control {
    padding: 0.8rem;
  }
  
  .btn-submit {
    padding: 0.8rem 2rem;
    width: 100%;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
  }
  
  .gallery-image {
    height: 200px;
  }
  
  .shape-blob-1,
  .shape-blob-2 {
    display: none;
  }
  
  .review-card::before {
    font-size: 3rem;
  }
  
  .review-text {
    padding-left: 1rem;
  }
  
  .blog-title {
    font-size: 1.1rem;
  }
  
  .faq-question {
    padding: 1rem;
    font-size: 0.9rem;
  }
  
  .faq-answer {
    padding: 1rem;
    font-size: 0.9rem;
  }
}

/* Extra small screens (up to 575px) */
@media (max-width: 575px) {
  .hero-section {
    min-height: 70vh;
    padding-top: 120px;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .section-subtitle {
    font-size: 0.9rem;
  }
  
  .navbar-brand {
    font-size: 1.3rem;
  }
  
  .service-card,
  .about-feature,
  .feature-item,
  .price-card {
    padding: 1rem;
  }
  
  .service-name {
    font-size: 1.1rem;
  }
  
  .service-price {
    font-size: 1.3rem;
  }
  
  .service-icon {
    font-size: 2rem;
  }
  
  .feature-icon {
    font-size: 1.8rem;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  .team-name {
    font-size: 1.1rem;
  }
  
  .price-name {
    font-size: 1.3rem;
  }
  
  .price-amount {
    font-size: 2rem;
  }
  
  .contact-form {
    padding: 1rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .gallery-image {
    height: 150px;
  }
  
  .coreinfo-item {
    padding: 1.5rem;
  }
  
  .coreinfo-title {
    font-size: 1.1rem;
  }
  
  .blog-content {
    padding: 1rem;
  }
  
  .review-card {
    padding: 1.5rem;
  }
  
  footer {
    padding: 2rem 0 1rem;
  }
  
  .footer-section {
    margin-bottom: 1.5rem;
  }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .shape-blob,
  .service-card,
  .about-feature,
  .feature-item,
  .gallery-item,
  .blog-card,
  .btn-submit {
    animation: none;
    transition: none;
  }
  
  .swiper {
    --swiper-navigation-size: 0;
  }
  
  .swiper-wrapper {
    transform: none !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --text-primary: #000000;
    --text-secondary: #333333;
    --border-color: #000000;
  }
  
  .service-card,
  .about-feature,
  .feature-item,
  .price-card,
  .review-card,
  .blog-card,
  .coreinfo-item,
  .faq-item {
    border: 2px solid var(--border-color);
  }
}

/* Print styles */
@media print {
  .navbar,
  .shape-blob,
  .swiper-button-next,
  .swiper-button-prev,
  .swiper-pagination {
    display: none;
  }
  
  .hero-section {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .section {
    padding: 1rem 0;
    break-inside: avoid;
  }
  
  .service-card,
  .about-feature,
  .feature-item,
  .price-card,
  .team-member,
  .review-card,
  .blog-card {
    break-inside: avoid;
    margin-bottom: 1rem;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  .hero-title,
  .section-title {
    font-size: 18pt;
  }
  
  .hero-subtitle,
  .section-subtitle {
    font-size: 14pt;
  }
} 