/* Responsive Styles for Veteran Benefits Template */

/* Tablet and below */
@media (max-width: 991.98px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .hero-text h1 {
    font-size: 2.5rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .services-grid,
  .features-grid,
  .priceplan-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  
  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
  
  .coreinfo-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile landscape and below */
@media (max-width: 767.98px) {
  :root {
    --section-padding: 60px 0;
  }
  
  header .container {
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav-menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  
  main {
    margin-top: 120px;
  }
  
  .hero-section {
    min-height: 80vh;
    padding: 2rem 0;
  }
  
  .hero-text h1 {
    font-size: 2rem;
  }
  
  .hero-text h2 {
    font-size: 1.2rem;
  }
  
  .hero-text p {
    font-size: 1rem;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .section-header h3 {
    font-size: 1.1rem;
  }
  
  .services-grid,
  .features-grid,
  .about-features {
    grid-template-columns: 1fr;
  }
  
  .priceplan-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .priceplan-card.featured {
    transform: none;
  }
  
  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
  }
  
  .team-member img {
    width: 100px;
    height: 100px;
  }
  
  .contact-form {
    padding: 2rem;
    margin: 1rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  /* Disable animations on mobile for performance */
  .service-card:hover,
  .team-member:hover,
  .about-feature:hover,
  .blog-item:hover,
  .gallery-item:hover {
    transform: none;
  }
  
  .shape-blob-1,
  .shape-blob-2 {
    display: none;
  }
}

/* Small mobile devices */
@media (max-width: 575.98px) {
  .container {
    padding: 0 10px;
  }
  
  .hero-text h1 {
    font-size: 1.8rem;
  }
  
  .section-header h2 {
    font-size: 1.6rem;
  }
  
  .service-card-content,
  .about-feature,
  .feature-item,
  .team-member,
  .coreinfo-item {
    padding: 1.5rem;
  }
  
  .priceplan-card {
    padding: 2rem 1.5rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .faq-question,
  .faq-answer {
    padding: 1rem;
  }
  
  .review-item {
    padding: 1.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .nav-menu {
    gap: 0.5rem;
  }
  
  .nav-menu a {
    font-size: 0.9rem;
  }
}

/* Large screens */
@media (min-width: 1200px) {
  .container {
    max-width: 1400px;
  }
  
  .hero-text h1 {
    font-size: 4rem;
  }
  
  .section-header h2 {
    font-size: 3rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .team-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Extra large screens */
@media (min-width: 1400px) {
  .container {
    max-width: 1600px;
  }
  
  .hero-content {
    gap: 6rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .hero-section::before {
    animation: none;
  }
  
  .service-card:hover,
  .team-member:hover,
  .about-feature:hover,
  .blog-item:hover,
  .gallery-item:hover,
  .gallery-item:hover img {
    transform: none;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --primary-navy: #000000;
    --navy-light: #333333;
    --primary-cream: #ffffff;
    --cream-light: #ffffff;
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }
  
  .service-card,
  .about-feature,
  .feature-item,
  .team-member,
  .priceplan-card,
  .coreinfo-item,
  .blog-item,
  .faq-item {
    border: 2px solid var(--primary-navy);
  }
}

/* Print styles */
@media print {
  header,
  footer,
  .hero-section,
  .contact-section,
  .shape-blob,
  .gallery-section {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
    color: black;
    background: white;
  }
  
  section {
    padding: 20pt 0;
    page-break-inside: avoid;
  }
  
  .section-header h2 {
    font-size: 18pt;
    margin-bottom: 10pt;
  }
  
  .service-card,
  .about-feature,
  .team-member {
    border: 1pt solid black;
    margin-bottom: 10pt;
    page-break-inside: avoid;
  }
} 