/* Responsive Design - Mobile First Approach */

/* Large Desktop */
@media (min-width: 1200px) {
  .container {
    max-width: 1400px;
  }
  
  #hero-title-1 {
    font-size: 4rem;
  }
  
  .section-title {
    font-size: 3rem;
  }
}

/* Desktop */
@media (max-width: 1199px) {
  .hero-content {
    max-width: 60%;
  }
  
  #hero-title-1 {
    font-size: 3rem;
  }
}

/* Tablet */
@media (max-width: 991px) {
  .navbar {
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav-menu {
    gap: 1rem;
  }
  
  .hero {
    text-align: center;
    padding-top: 120px;
  }
  
  .hero-content {
    max-width: 80%;
    margin: 0 auto;
  }
  
  .hero::before {
    width: 100%;
    opacity: 0.1;
  }
  
  #hero-title-1 {
    font-size: 2.5rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .priceplan-card.featured {
    transform: none;
  }
  
  .footer-content {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

/* Mobile Large */
@media (max-width: 767px) {
  :root {
    --section-padding: 60px 0;
  }
  
  .navbar {
    padding: 0 1rem;
  }
  
  .nav-menu {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .hero {
    min-height: 80vh;
    padding-top: 140px;
  }
  
  .hero-content {
    max-width: 90%;
  }
  
  #hero-title-1 {
    font-size: 2rem;
    line-height: 1.3;
  }
  
  #hero-subtitle-1 {
    font-size: 1.2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .section-subtitle {
    font-size: 1.1rem;
  }
  
  .about-features {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  
  .priceplan-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
  
  .coreinfo-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  
  .contact-form {
    margin: 2rem 1rem 0;
    padding: 1.5rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  /* Disable animations on mobile for better performance */
  .service-card:hover,
  .about-feature:hover,
  .blog-item:hover,
  .gallery-item:hover {
    transform: none;
  }
}

/* Mobile Small */
@media (max-width: 575px) {
  :root {
    --section-padding: 40px 0;
    --container-padding: 0 10px;
  }
  
  #sitename {
    font-size: 1.5rem;
  }
  
  .hero {
    min-height: 70vh;
    padding-top: 120px;
  }
  
  #hero-title-1 {
    font-size: 1.8rem;
  }
  
  #hero-subtitle-1 {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .about-feature,
  .service-card,
  .feature-item,
  .priceplan-card,
  .team-member,
  .coreinfo-item {
    padding: 1.5rem;
  }
  
  .service-price,
  .priceplan-price {
    font-size: 1.5rem;
  }
  
  .team-member img {
    width: 120px;
    height: 120px;
  }
  
  .contact-form {
    padding: 1rem;
  }
  
  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 0.5rem;
  }
  
  #site_submit_btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
  
  .faq-question,
  .faq-answer {
    padding: 1rem;
  }
}

/* Extra Small Mobile */
@media (max-width: 375px) {
  .hero-content {
    max-width: 95%;
  }
  
  #hero-title-1 {
    font-size: 1.6rem;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
  
  .nav-menu {
    font-size: 0.9rem;
  }
  
  .about-feature,
  .service-card,
  .feature-item,
  .priceplan-card,
  .team-member,
  .coreinfo-item {
    padding: 1rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: 100vh;
    padding-top: 80px;
  }
  
  #hero-title-1 {
    font-size: 2rem;
  }
  
  :root {
    --section-padding: 40px 0;
  }
}

/* Print Styles */
@media print {
  header,
  footer,
  .breadcrumb {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  .hero {
    min-height: auto;
    padding: 2rem 0;
  }
  
  section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
  
  .service-card,
  .about-feature,
  .team-member {
    page-break-inside: avoid;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero::before {
    background-image: url('PRE_assets/PRE_images/hero-bg@2x.webp');
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .hero-shape {
    animation: none;
  }
  
  .service-card:hover,
  .about-feature:hover,
  .blog-item:hover,
  .gallery-item:hover {
    transform: none;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  :root {
    --primary-green: #6bb26b;
    --secondary-sage: #a8d4a8;
    --dark-green: #e8f5e8;
    --light-green: #2d4a35;
    --light-sage: #1a2e1a;
    --light-mint: #1a2e1a;
  }
  
  body {
    background-color: #1a1a1a;
    color: var(--dark-green);
  }
  
  .about-feature,
  .service-card,
  .feature-item,
  .priceplan-card,
  .team-member,
  .coreinfo-item,
  .blog-item {
    background: #2a2a2a;
    color: var(--dark-green);
  }
  
  .contact-form {
    background: #2a2a2a;
  }
  
  .form-group input,
  .form-group textarea,
  .form-group select {
    background: #1a1a1a;
    color: var(--dark-green);
    border-color: var(--secondary-sage);
  }
} 