/* ===== Responsive Styles for Pension Document Concierge Template ===== */

/* ===== Media Queries ===== */

/* Large Desktops (1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero-text h1 {
    font-size: 4.5rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .priceplan-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Desktops (992px to 1199px) */
@media (max-width: 1199px) {
  .container {
    max-width: 960px;
  }
  
  .hero-text h1 {
    font-size: 3.8rem;
  }
  
  h1 { font-size: 3.2rem; }
  h2 { font-size: 2.5rem; }
  h3 { font-size: 2rem; }
}

/* Tablets (768px to 991px) */
@media (max-width: 991px) {
  .container {
    max-width: 720px;
    padding: 0 30px;
  }
  
  /* Navigation adjustments */
  .nav-menu {
    gap: 1.5rem;
  }
  
  .nav-menu a {
    font-size: 0.9rem;
  }
  
  /* Hero section adjustments */
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-text h1 {
    font-size: 3.2rem;
  }
  
  .hero-image {
    order: -1;
  }
  
  /* Typography adjustments */
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2.2rem; }
  h3 { font-size: 1.8rem; }
  h4 { font-size: 1.6rem; }
  
  /* Section padding reduction */
  .section {
    padding: 80px 0;
  }
  
  /* Grid adjustments */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-features {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .coreinfo-grid {
    grid-template-columns: 1fr;
  }
  
  .priceplan-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Gallery adjustments */
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* Form adjustments */
  .contact-form {
    padding: 2.5rem;
  }
  
  /* Footer adjustments */
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Small Tablets (576px to 767px) */
@media (max-width: 767px) {
  .container {
    max-width: 540px;
    padding: 0 25px;
  }
  
  /* Header adjustments */
  .header {
    padding: 0.8rem 0;
  }
  
  .logo {
    font-size: 1.6rem;
  }
  
  .nav-menu {
    gap: 1rem;
  }
  
  .nav-menu a {
    font-size: 0.85rem;
  }
  
  /* Hero section */
  .hero {
    min-height: 90vh;
    padding: 2rem 0;
  }
  
  .hero-text h1 {
    font-size: 2.8rem;
    line-height: 1.1;
  }
  
  .hero-text p {
    font-size: 1.1rem;
  }
  
  /* Typography further reduced */
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.6rem; }
  h4 { font-size: 1.4rem; }
  h5 { font-size: 1.2rem; }
  
  /* Section adjustments */
  .section {
    padding: 60px 0;
  }
  
  .section-header {
    margin-bottom: 3rem;
  }
  
  /* Single column layouts */
  .services-grid,
  .about-features,
  .features-grid,
  .team-grid,
  .priceplan-grid,
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  /* Service cards */
  .service-card {
    padding: 2rem;
  }
  
  /* Gallery adjustments */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Form adjustments */
  .contact-form {
    padding: 2rem;
    margin: 0 1rem;
  }
  
  /* Team member adjustments */
  .team-member img {
    width: 120px;
    height: 120px;
  }
  
  /* Footer single column */
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  /* Hero decorative elements adjustment */
  .hero::before {
    width: 400px;
    height: 400px;
    top: -30%;
    right: -15%;
  }
  
  .hero::after {
    width: 300px;
    height: 300px;
    bottom: -20%;
    left: -5%;
  }
}

/* Mobile Phones (480px to 575px) */
@media (max-width: 575px) {
  .container {
    padding: 0 20px;
  }
  
  /* Header mobile adjustments */
  .header .container {
    flex-direction: column;
    gap: 1rem;
  }
  
  .logo {
    font-size: 1.4rem;
  }
  
  .nav-menu {
    gap: 0.8rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .nav-menu a {
    font-size: 0.8rem;
  }
  
  /* Hero mobile */
  .hero {
    min-height: 85vh;
    padding: 1.5rem 0;
  }
  
  .hero-content {
    gap: 2rem;
  }
  
  .hero-text h1 {
    font-size: 2.2rem;
    line-height: 1.1;
  }
  
  .hero-text p {
    font-size: 1rem;
  }
  
  /* Typography for mobile */
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  h3 { font-size: 1.4rem; }
  h4 { font-size: 1.2rem; }
  h5 { font-size: 1.1rem; }
  h6 { font-size: 1rem; }
  
  /* Section mobile adjustments */
  .section {
    padding: 50px 0;
  }
  
  .section-header {
    margin-bottom: 2.5rem;
  }
  
  /* Cards and components */
  .service-card,
  .about-feature,
  .feature-item,
  .price-card,
  .team-member,
  .coreinfo-item {
    padding: 1.5rem;
  }
  
  /* Form mobile */
  .contact-form {
    padding: 1.5rem;
    margin: 0 0.5rem;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.8rem;
  }
  
  .submit-btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }
  
  /* Gallery single column */
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  /* Team images smaller */
  .team-member img {
    width: 100px;
    height: 100px;
  }
  
  /* Service images smaller */
  .service-card img {
    width: 60px;
    height: 60px;
  }
  
  /* Price values smaller */
  .service-price,
  .price-value {
    font-size: 1.8rem;
  }
  
  /* FAQ mobile adjustments */
  .faq-question {
    padding: 1rem;
    font-size: 0.9rem;
  }
  
  .faq-answer {
    padding: 0 1rem;
  }
  
  .faq-answer.active {
    padding: 1rem;
  }
  
  /* Breadcrumb mobile */
  .breadcrumb {
    margin-top: 120px;
    text-align: center;
  }
  
  /* Footer mobile */
  .footer {
    padding: 2rem 0 1rem;
  }
  
  .footer-section {
    margin-bottom: 1.5rem;
  }
}

/* Extra Small Phones (320px to 479px) */
@media (max-width: 479px) {
  .container {
    padding: 0 15px;
  }
  
  /* Header extra small */
  .header {
    padding: 0.5rem 0;
  }
  
  .logo {
    font-size: 1.2rem;
  }
  
  .nav-menu a {
    font-size: 0.75rem;
    padding: 0.3rem 0.5rem;
  }
  
  /* Hero extra small */
  .hero-text h1 {
    font-size: 1.8rem;
  }
  
  .hero-text p {
    font-size: 0.9rem;
  }
  
  /* Typography extra small */
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.2rem; }
  h4 { font-size: 1.1rem; }
  h5 { font-size: 1rem; }
  h6 { font-size: 0.9rem; }
  
  /* Root font size adjustment */
  html {
    font-size: 14px;
  }
  
  /* Section padding minimal */
  .section {
    padding: 40px 0;
  }
  
  /* Cards minimal padding */
  .service-card,
  .about-feature,
  .feature-item,
  .price-card,
  .team-member,
  .coreinfo-item {
    padding: 1rem;
  }
  
  /* Form extra small */
  .contact-form {
    padding: 1rem;
    margin: 0;
  }
  
  .form-group {
    margin-bottom: 1rem;
  }
  
  /* Gallery images smaller */
  .gallery-item img {
    height: 180px;
  }
  
  /* Team images extra small */
  .team-member img {
    width: 80px;
    height: 80px;
  }
  
  /* Service images extra small */
  .service-card img {
    width: 50px;
    height: 50px;
  }
  
  /* Hide decorative elements on very small screens */
  .hero::before,
  .hero::after {
    display: none;
  }
}

/* ===== Accessibility and Motion Preferences ===== */

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .hero::before,
  .hero::after {
    animation: none;
  }
  
  .animate-fade-in-up {
    animation: none;
  }
  
  /* Disable hover transforms */
  .service-card:hover,
  .about-feature:hover,
  .feature-item:hover,
  .price-card:hover,
  .team-member:hover,
  .blog-card:hover,
  .gallery-item:hover {
    transform: none;
  }
}

/* High contrast mode adjustments */
@media (prefers-contrast: high) {
  :root {
    --shadow: rgba(0, 0, 0, 0.3);
    --text-secondary: var(--text-primary);
  }
  
  .service-card,
  .about-feature,
  .feature-item,
  .price-card,
  .team-member,
  .coreinfo-item,
  .blog-card,
  .faq-item {
    border: 2px solid var(--text-primary);
  }
}

/* Print styles */
@media print {
  .header,
  .footer,
  .contact-form,
  .nav-menu {
    display: none;
  }
  
  .section {
    padding: 20px 0;
    page-break-inside: avoid;
  }
  
  .service-card,
  .about-feature,
  .team-member {
    page-break-inside: avoid;
  }
  
  * {
    box-shadow: none !important;
  }
} 