/* PENSION BENEFITS LEGAL CLINIC - RESPONSIVE CSS */

/* LARGE DESKTOP */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  .hero-title {
    font-size: 4rem;
  }
  
  .hero-subtitle {
    font-size: 1.75rem;
  }
}

/* DESKTOP */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .services-container,
  .price-plan-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .features-container,
  .gallery-container {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .core-info-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* TABLET */
@media (max-width: 992px) {
  .container {
    max-width: 720px;
  }
  
  html {
    font-size: 15px;
  }
  
  .hero {
    height: auto;
    padding: 150px 0 100px;
  }
  
  .hero-content {
    max-width: 100%;
    text-align: center;
    margin-bottom: 50px;
  }
  
  .hero-image {
    position: relative;
    width: 100%;
    height: 400px;
    transform: none;
    top: auto;
    right: auto;
    margin-top: 50px;
  }
  
  .about-container {
    flex-direction: column;
  }
  
  .about-image {
    order: -1;
    margin-bottom: 30px;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .core-info-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

/* MOBILE LANDSCAPE */
@media (max-width: 768px) {
  .container {
    max-width: 540px;
  }
  
  header {
    padding: 0 15px;
  }
  
  .hamburger-menu {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--primary-4-light);
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    transition: var(--transition-medium);
    z-index: 999;
    padding: 0;
    margin: 0;
  }
  
  .nav-menu.active {
    height: calc(100vh - var(--header-height));
    padding: 30px 0;
  }
  
  .nav-menu li {
    margin: 15px 0;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .services-container,
  .features-container,
  .price-plan-container,
  .blog-grid,
  .gallery-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .about-features {
    grid-template-columns: 1fr;
  }
  
  .team-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .price-item:nth-child(2):before {
    padding: 5px 30px;
    font-size: 0.7rem;
    right: -25px;
  }
  
  .service-select-options {
    flex-direction: column;
    gap: 5px;
  }
}

/* MOBILE PORTRAIT */
@media (max-width: 576px) {
  .container {
    width: 100%;
    padding: 0 20px;
  }
  
  html {
    font-size: 14px;
  }
  
  section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .section-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .core-info-container,
  .team-container {
    grid-template-columns: 1fr;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .accordion-header {
    padding: 12px 15px;
  }
  
  .accordion-title {
    font-size: 0.95rem;
  }
  
  .accordion-content {
    font-size: 0.9rem;
  }
  
  .service-item,
  .price-item,
  .team-member,
  .blog-item,
  .core-info-item {
    padding: 20px;
  }
  
  .form-control {
    padding: 10px 12px;
  }
  
  .btn {
    padding: 10px 20px;
  }
}

/* TINY PHONES */
@media (max-width: 375px) {
  html {
    font-size: 13px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .hero-image {
    height: 300px;
  }
  
  .gallery-container {
    grid-template-columns: 1fr;
  }
  
  .gallery-item {
    aspect-ratio: 16/9;
  }
}

/* PRINT STYLES */
@media print {
  header, footer, .contact-form, .hero-image, .btn {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
    color: #000;
    background: #fff;
  }
  
  .container {
    max-width: 100%;
    width: 100%;
  }
  
  a {
    color: #000;
    text-decoration: underline;
  }
  
  .section-title {
    font-size: 18pt;
    margin-bottom: 10pt;
  }
  
  .section-subtitle {
    font-size: 14pt;
    margin-bottom: 10pt;
  }
  
  section {
    padding: 20pt 0;
    page-break-inside: avoid;
  }
  
  .price-item,
  .service-item,
  .team-member,
  .blog-item {
    page-break-inside: avoid;
    box-shadow: none;
    border: 1pt solid #ddd;
  }
}

/* PREFERS REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .swiper-container {
    --swiper-autoplay-delay: 999999s;
  }
} 