/* State Support Newsletter Service - Responsive Styles */

/* Tablet Landscape and below */
@media (max-width: 1024px) {
  .hero-section {
    min-height: 80vh;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .process-timeline::before {
    display: none;
  }
  
  .process-item {
    flex-direction: column !important;
    margin-bottom: 2rem;
  }
  
  .process-number {
    position: static;
    transform: none;
    margin-bottom: 1rem;
  }
  
  .process-content {
    width: 100%;
  }
  
  .shape-blob-1 {
    width: 300px;
    height: 300px;
  }
  
  .shape-blob-2 {
    width: 200px;
    height: 200px;
  }
}

/* Tablet Portrait and below */
@media (max-width: 768px) {
  :root {
    --font-size-h1: 1.75rem;
    --font-size-h2: 1.5rem;
    --font-size-h3: 1.25rem;
    --font-size-h4: 1.125rem;
    --font-size-h5: 1rem;
  }
  
  /* Navigation */
  .navbar-collapse {
    background: var(--dark-shade-1);
    margin: 0 -1rem;
    padding: 1rem;
    margin-top: 1rem;
  }
  
  /* Hero Section */
  .hero-section {
    min-height: 70vh;
    text-align: center;
  }
  
  .hero-content {
    padding: 0 1rem;
  }
  
  .hero-description {
    margin: 0 auto;
  }
  
  /* Sections */
  .section {
    padding: 2.5rem 0;
  }
  
  .section-title {
    margin-bottom: 2rem;
  }
  
  /* Services */
  .service-card {
    margin-bottom: 2rem;
  }
  
  /* Team */
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Footer */
  .footer {
    text-align: center;
  }
  
  .footer .row > div {
    margin-bottom: 2rem;
  }
  
  /* Disable Swiper autoplay on mobile */
  @media (max-width: 768px) {
    .swiper {
      --swiper-autoplay: 0 !important;
    }
  }
}

/* Mobile Landscape and below */
@media (max-width: 576px) {
  :root {
    --font-size-h1: 1.5rem;
    --font-size-h2: 1.25rem;
    --font-size-h3: 1.125rem;
    --font-size-h4: 1rem;
    --font-size-h5: 0.9375rem;
    --font-size-p: 0.9375rem;
  }
  
  /* Hero Section */
  .hero-section {
    min-height: 60vh;
  }
  
  .hero-section::before {
    width: 150%;
    height: 150%;
  }
  
  /* Sections */
  .section {
    padding: 2rem 0;
  }
  
  /* About Features */
  .feature-card {
    margin-bottom: 1.5rem;
  }
  
  /* Services */
  .service-image {
    height: 150px;
  }
  
  .service-content {
    padding: 1.5rem;
  }
  
  /* Team */
  .team-member {
    margin-bottom: 1.5rem;
  }
  
  /* Contact Form */
  .contact-form {
    padding: 1.5rem;
  }
  
  .btn-submit {
    width: 100%;
  }
  
  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  /* FAQ */
  .faq-question {
    padding: 0.75rem 1rem;
    font-size: var(--font-size-small);
  }
  
  /* Blog */
  .blog-card {
    margin-bottom: 1.5rem;
  }
  
  /* Timeline */
  .timeline-item {
    padding-left: 2rem;
  }
  
  /* Price Cards */
  .price-card {
    margin-bottom: 2rem;
  }
  
  /* Core Info */
  .coreinfo-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  /* Shapes */
  .shape-blob {
    display: none;
  }
}

/* Mobile Portrait and below */
@media (max-width: 360px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .hero-title {
    font-size: 1.25rem;
  }
  
  .section-title h2 {
    font-size: 1.125rem;
  }
  
  .contact-form {
    padding: 1rem;
  }
}

/* Print Styles */
@media print {
  /* Hide navigation and interactive elements */
  .navbar,
  .footer,
  .btn-submit,
  .swiper-button-next,
  .swiper-button-prev,
  .swiper-pagination,
  .owl-nav,
  .owl-dots {
    display: none !important;
  }
  
  /* Adjust sections for print */
  .section {
    page-break-inside: avoid;
  }
  
  /* Show all content */
  .faq-answer {
    display: block !important;
  }
  
  /* Remove animations and transitions */
  * {
    animation: none !important;
    transition: none !important;
  }
  
  /* Adjust colors for print */
  body {
    overflow-x: hidden;
    color: black;
    background: white;
  }
  
  a {
    color: black;
    text-decoration: underline;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --primary-color-1: #000000;
    --primary-color-2: #333333;
    --primary-color-3: #666666;
    --primary-color-4: #000000;
    --primary-color-5: #333333;
  }
  
  .btn-submit,
  .navbar {
    border: 2px solid currentColor;
  }
}

/* Reduced Transparency */
@media (prefers-reduced-transparency: reduce) {
  .shape-blob,
  .testimonial-card::before {
    opacity: 1;
  }
  
  .footer-links a {
    color: white;
  }
  
  .career-card {
    background: var(--dark-shade-2);
    backdrop-filter: none;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  :root {
    --light-shade-1: #1a1a1a;
    --light-shade-2: #2d2d2d;
    --dark-shade-1: #f8f9fa;
    --dark-shade-2: #dee2e6;
  }
  
  body {
    overflow-x: hidden;
    background-color: var(--light-shade-1);
    color: var(--dark-shade-1);
  }
  
  .navbar {
    background: var(--dark-shade-2);
  }
  
  .feature-card,
  .service-card,
  .testimonial-card,
  .faq-question,
  .contact-form,
  .blog-card,
  .coreinfo-card,
  .price-card {
    background: var(--light-shade-2);
    color: var(--dark-shade-1);
  }
  
  .form-control {
    background: var(--light-shade-1);
    color: var(--dark-shade-1);
    border-color: var(--dark-shade-2);
  }
  
  .footer {
    background: #000;
  }
}

/* Landscape Orientation Adjustments */
@media (orientation: landscape) and (max-height: 500px) {
  .hero-section {
    min-height: 100vh;
    padding: 2rem 0;
  }
  
  .navbar {
    padding: 0.5rem 0;
  }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  /* Increase touch targets */
  .nav-link,
  .btn-submit,
  .faq-question {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  
  /* Remove hover effects on touch devices */
  .feature-card:hover,
  .service-card:hover,
  .blog-card:hover {
    transform: none;
  }
}

/* Ultra-wide Screens */
@media (min-width: 1920px) {
  .container {
    max-width: 1400px;
  }
  
  :root {
    --font-size-base: 18px;
  }
}

/* Fix for iOS Safari */
@supports (-webkit-touch-callout: none) {
  .hero-section {
    min-height: -webkit-fill-available;
  }
}

/* Accessibility - Focus Styles */
*:focus {
  outline: 3px solid var(--primary-color-2);
  outline-offset: 2px;
}

a:focus,
button:focus {
  outline: 3px solid var(--primary-color-3);
}

/* Skip to Content Link */
.skip-to-content {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: 0.5rem 1rem;
  background: var(--primary-color-1);
  color: white;
  text-decoration: none;
}

.skip-to-content:focus {
  left: 0;
} 