/* Responsive Styles */

/* Large Devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
  .container {
    max-width: 960px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .service-card,
  .pricing-card {
    height: 100%;
  }
}

/* Medium Devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
  .container {
    max-width: 720px;
  }
  
  .hero {
    height: auto;
    min-height: 600px;
    padding-top: 100px;
  }
  
  .hero-content {
    max-width: 100%;
    text-align: center;
    padding-bottom: 3rem;
  }
  
  .hero-image {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .about-container {
    flex-direction: column;
  }
  
  .about-image {
    margin-top: 2rem;
    text-align: center;
  }
  
  .about-image img {
    max-width: 400px;
    margin: 0 auto;
  }
  
  .coreinfo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-content {
    padding-right: 0;
  }
  
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Small Devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
  .container {
    max-width: 540px;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .navbar {
    padding: 0.5rem 0;
  }
  
  .nav-menu {
    position: fixed;
    top: 60px;
    left: -100%;
    width: 80%;
    height: 100vh;
    background-color: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    z-index: 999;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-item {
    margin: 0 0 1rem 0;
    width: 100%;
  }
  
  .nav-link {
    display: block;
    padding: 0.5rem 0;
    font-size: 1.1rem;
  }
  
  .hamburger {
    display: block;
    cursor: pointer;
  }
  
  .services-grid,
  .features-grid,
  .pricing-grid,
  .team-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .coreinfo-grid {
    grid-template-columns: 1fr;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Extra Small Devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .container {
    width: 100%;
    padding: 0 1rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .section-title h2 {
    font-size: 1.75rem;
  }
  
  .section-title p {
    font-size: 0.9rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .service-features li {
    font-size: 0.9rem;
  }
  
  .pricing-price {
    font-size: 1.75rem;
  }
  
  .pricing-features {
    font-size: 0.9rem;
  }
  
  .team-image {
    height: 250px;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
  }
  
  .services-checkbox {
    flex-direction: column;
  }
  
  .shape {
    display: none;
  }
}

/* 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;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: more) {
  :root {
    --primary-color-1: #ff0000;
    --primary-color-4: #000080;
    --primary-color-5: #006400;
  }
  
  body {
    color: #000;
  }
  
  .section {
    background-color: #fff !important;
  }
  
  .service-card,
  .pricing-card,
  .team-card,
  .blog-card,
  .review-card {
    border: 2px solid #000;
  }
  
  a:focus,
  button:focus,
  input:focus,
  textarea:focus {
    outline: 2px solid #000;
    outline-offset: 2px;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  body.dark-mode-support {
    --primary-color-3: #1a1a1a;
    --primary-color-3-light: #2a2a2a;
    
    background-color: #121212;
    color: #f5f5f5;
  }
  
  body.dark-mode-support header {
    background-color: rgba(18, 18, 18, 0.95);
  }
  
  body.dark-mode-support .service-card,
  body.dark-mode-support .pricing-card,
  body.dark-mode-support .team-card,
  body.dark-mode-support .blog-card,
  body.dark-mode-support .review-card,
  body.dark-mode-support .accordion-item,
  body.dark-mode-support .contact-form {
    background-color: #1a1a1a;
    color: #f5f5f5;
  }
  
  body.dark-mode-support .form-control {
    background-color: #2a2a2a;
    border-color: #444;
    color: #f5f5f5;
  }
}

/* Print Styles */
@media print {
  header,
  footer,
  .hero,
  .contact-form,
  .gallery,
  .breadcrumb {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    color: #000;
    background-color: #fff;
  }
  
  .container {
    max-width: 100%;
    width: 100%;
  }
  
  .section {
    padding: 1cm 0;
    page-break-inside: avoid;
  }
  
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
  }
  
  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }
  
  a::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    font-weight: normal;
  }
} 