/* Responsive CSS for Rainy Day Activity Blog */

/* Mobile First Approach */
@media (max-width: 767.98px) {
  /* Disable Swiper autoplay and effects on mobile */
  .swiper {
    --swiper-navigation-size: 0px;
  }
  
  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
  
  /* Typography adjustments */
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.3rem; }
  
  /* Hero section */
  .hero {
    min-height: 70vh;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  /* Navigation */
  .navbar-brand {
    font-size: 1.1rem;
  }
  
  /* Sections */
  .section {
    padding: 50px 0;
  }
  
  .section-title {
    margin-bottom: 2rem;
  }
  
  /* Cards and items */
  .service-card,
  .price-card,
  .review-card,
  .blog-card,
  .case-study-card,
  .process-step,
  .career-item,
  .core-info-item {
    margin-bottom: 1.5rem;
  }
  
  /* Team photos */
  .team-photo {
    width: 150px;
    height: 150px;
  }
  
  /* Gallery */
  .gallery-item img {
    height: 200px;
  }
  
  /* Contact form */
  .contact-form {
    padding: 2rem 1rem;
  }
  
  /* Timeline */
  .timeline::before {
    left: 20px;
  }
  
  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 50px;
    margin-right: 0;
    padding-left: 1rem;
    padding-right: 0;
    text-align: left;
  }
  
  .timeline-marker {
    left: 20px;
  }
  
  /* Price cards */
  .price-card.featured {
    transform: none;
    margin-top: 2rem;
  }
  
  /* Process steps */
  .process-step::before {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    margin: 0 auto 1rem;
  }
  
  /* Footer */
  .footer {
    text-align: center;
  }
  
  .footer .row > div {
    margin-bottom: 2rem;
  }
}

/* Small mobile devices */
@media (max-width: 575.98px) {
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.4rem; }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .service-card,
  .contact-form {
    padding: 1.5rem;
  }
  
  .section {
    padding: 40px 0;
  }
  
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  .gallery-item img {
    height: 180px;
  }
}

/* Tablet Portrait */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .service-card {
    height: auto;
    min-height: 300px;
  }
  
  .team-photo {
    width: 180px;
    height: 180px;
  }
  
  .timeline-item:nth-child(odd) .timeline-content {
    margin-right: 45%;
    padding-right: 1.5rem;
  }
  
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 45%;
    padding-left: 1.5rem;
  }
}

/* Tablet Landscape */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero h1 {
    font-size: 2.8rem;
  }
  
  .section {
    padding: 70px 0;
  }
  
  .service-card {
    min-height: 350px;
  }
}

/* Large Desktop */
@media (min-width: 1200px) {
  .hero h1 {
    font-size: 3.2rem;
  }
  
  .section {
    padding: 100px 0;
  }
  
  .container {
    max-width: 1200px;
  }
}

/* Extra Large Desktop */
@media (min-width: 1400px) {
  .hero h1 {
    font-size: 3.5rem;
  }
  
  .section {
    padding: 120px 0;
  }
  
  .container {
    max-width: 1320px;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .swiper-pagination,
  .swiper-button-next,
  .swiper-button-prev {
    display: none !important;
  }
  
  .hero {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
  
  a {
    text-decoration: underline;
  }
  
  .service-card,
  .price-card,
  .review-card,
  .blog-card {
    box-shadow: none;
    border: 1px solid #ddd;
    page-break-inside: avoid;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --primary-blue: #000080;
    --primary-gray: #000000;
    --primary-teal: #008080;
    --primary-orange: #ff4500;
    --primary-purple: #800080;
  }
  
  .service-card,
  .price-card,
  .review-card,
  .blog-card,
  .contact-form {
    border: 2px solid #000000;
  }
  
  .btn-primary {
    background: #000080;
    border: 2px solid #000000;
  }
}

/* Reduced Data Mode */
@media (prefers-reduced-data: reduce) {
  .hero::before {
    display: none;
  }
  
  .gallery-item img {
    filter: none;
    transition: none;
  }
  
  .service-card:hover,
  .blog-card:hover {
    transform: none;
  }
}

/* Focus Styles for Accessibility */
@media (prefers-reduced-motion: no-preference) {
  .nav-link:focus,
  .btn:focus,
  .form-control:focus {
    outline: 2px solid var(--primary-teal);
    outline-offset: 2px;
  }
}

/* Landscape Orientation Adjustments */
@media (orientation: landscape) and (max-height: 500px) {
  .hero {
    min-height: 100vh;
    padding: 2rem 0;
  }
  
  .navbar {
    padding: 0.5rem 0;
  }
  
  .section {
    padding: 3rem 0;
  }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  .service-card:hover,
  .blog-card:hover,
  .gallery-item img:hover {
    transform: none;
  }
  
  .btn {
    min-height: 44px;
    min-width: 44px;
  }
  
  .nav-link {
    padding: 1rem 0.5rem;
  }
  
  .faq-question {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

/* Dark Theme Preference (Optional) */
@media (prefers-color-scheme: dark) {
  /* Keep light theme as per requirements - no dark mode styles */
} 