/* Campfire Story Archive - Responsive CSS */

/* Mobile First Approach */
@media (max-width: 767.98px) {
  /* Disable autoplay and effects on mobile as required */
  .swiper-container {
    --swiper-navigation-size: 24px;
  }
  
  .swiper-pagination {
    position: static !important;
    margin-top: 1rem;
  }
  
  /* Hero Section Mobile */
  .hero-section {
    min-height: 70vh;
    text-align: center;
  }
  
  .hero-section h1 {
    font-size: 1.875rem;
  }
  
  .hero-section p {
    font-size: 1rem;
  }
  
  /* Section Titles Mobile */
  .section-title {
    font-size: 1.5rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  /* Navigation Mobile */
  .navbar-brand {
    font-size: 1.125rem !important;
  }
  
  .navbar-collapse {
    margin-top: 1rem;
  }
  
  /* Service Cards Mobile */
  .service-card {
    margin-bottom: 1.5rem;
  }
  
  .service-card img {
    height: 180px;
  }
  
  /* Team Cards Mobile */
  .team-card img {
    width: 120px;
    height: 120px;
  }
  
  /* Gallery Mobile */
  .gallery-item img {
    height: 200px;
  }
  
  /* Contact Form Mobile */
  .contact-form {
    padding: 1.5rem;
  }
  
  /* Section Padding Mobile */
  .section-padding {
    padding: 3rem 0;
  }
  
  /* Blog Cards Mobile */
  .blog-card img {
    height: 160px;
  }
  
  /* Process Steps Mobile */
  .process-step-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  /* Footer Mobile */
  .footer {
    text-align: center;
  }
  
  .footer .col-md-3,
  .footer .col-md-4 {
    margin-bottom: 2rem;
  }
  
  /* Core Info Grid Mobile */
  .coreinfo-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  /* Price Cards Mobile */
  .price-card {
    margin-bottom: 1.5rem;
  }
  
  /* Timeline Mobile */
  .timeline-item {
    margin-bottom: 1rem;
  }
  
  /* Career Cards Mobile */
  .career-card {
    margin-bottom: 1rem;
  }
}

/* Tablet Portrait */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section h1 {
    font-size: 2.25rem;
  }
  
  .section-title {
    font-size: 1.875rem;
  }
  
  .service-card img {
    height: 190px;
  }
  
  .gallery-item img {
    height: 220px;
  }
  
  .blog-card img {
    height: 180px;
  }
  
  .team-card img {
    width: 140px;
    height: 140px;
  }
  
  .coreinfo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Tablet Landscape / Small Desktop */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-section h1 {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .service-card img {
    height: 200px;
  }
  
  .gallery-item img {
    height: 240px;
  }
  
  .blog-card img {
    height: 190px;
  }
  
  .coreinfo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Large Desktop */
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .hero-section h1 {
    font-size: 2.75rem;
  }
  
  .service-card img {
    height: 210px;
  }
  
  .gallery-item img {
    height: 260px;
  }
  
  .blog-card img {
    height: 200px;
  }
}

/* Extra Large Desktop */
@media (min-width: 1400px) {
  .hero-section h1 {
    font-size: 3rem;
  }
  
  .container-xxl {
    max-width: 1320px;
  }
  
  .service-card img {
    height: 220px;
  }
  
  .gallery-item img {
    height: 280px;
  }
  
  .blog-card img {
    height: 210px;
  }
}

/* Landscape Orientation */
@media (orientation: landscape) and (max-height: 600px) {
  .hero-section {
    min-height: 90vh;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-section::before {
    background-image: url('../INH_images/hero-campfire-2x.webp');
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .swiper-pagination,
  .swiper-navigation {
    display: none !important;
  }
  
  .hero-section {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .section-padding {
    padding: 1rem 0;
  }
  
  body {
  overflow-x: hidden !important;
    font-size: 12pt;
    line-height: 1.4;
  }
  
  .section-title {
    font-size: 18pt;
  }
  
  .section-subtitle {
    font-size: 14pt;
  }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .hero-section::before {
    animation: none;
  }
  
  .service-card,
  .blog-card,
  .price-card,
  .career-card,
  .casestudy-card {
    transition: none;
  }
  
  .service-card:hover,
  .blog-card:hover,
  .price-card:hover,
  .career-card:hover,
  .casestudy-card:hover {
    transform: none;
  }
  
  .gallery-item img:hover {
    transform: none;
  }
  
  .btn-primary:hover {
    transform: none;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --fire-orange: #ff4500;
    --ember-red: #dc143c;
    --forest-green: #006400;
    --smoke-gray: #2f4f4f;
    --night-blue: #000080;
  }
  
  .service-card,
  .blog-card,
  .contact-form,
  .testimonial-card {
    border: 2px solid var(--night-blue);
  }
  
  .btn-primary {
    border: 2px solid var(--night-blue);
  }
}

/* Focus Styles for Accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus,
.faq-question:focus {
  outline: 3px solid var(--fire-orange);
  outline-offset: 2px;
}

/* Skip Links */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--night-blue);
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 9999;
}

.skip-link:focus {
  top: 6px;
}

/* Container Adjustments */
@media (min-width: 576px) {
  .container-sm { max-width: 540px; }
}

@media (min-width: 768px) {
  .container-md { max-width: 720px; }
}

@media (min-width: 992px) {
  .container-lg { max-width: 960px; }
}

@media (min-width: 1200px) {
  .container-xl { max-width: 1140px; }
}

@media (min-width: 1400px) {
  .container-xxl { max-width: 1320px; }
} 