/* Responsive CSS for Solar Panel Template */

/* Extra small devices (phones, 576px and down) */
@media (max-width: 575.98px) {
  .container {
    padding: 0 15px;
  }
  
  .navbar-brand {
    font-size: 1.24rem;
  }
  
  .hero h1 {
  padding-top: 50px !important;
    font-size: 1.83rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .section-title h2 {
    font-size: 1.57rem;
  }
  
  .service-card,
  .price-card,
  .team-member {
    margin-bottom: 2rem;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .process-step::before {
    position: relative;
    margin-bottom: 1rem;
  }
  
  .timeline-item::before {
    display: none;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero h1 {
  padding-top: 50px !important;
    font-size: 2rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-form {
    padding: 2.5rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero {
    min-height: 90vh;
  }
  
  .service-card img {
    height: 180px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .process-step {
    padding: 1.5rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .container {
    max-width: 960px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero {
    min-height: 100vh;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .shape-blob {
    display: none !important;
  }
  
  .hero {
    min-height: auto;
    background: white !important;
  }
  
  .section {
    padding: 1rem 0;
  }
  
  * {
    box-shadow: none !important;
    animation: none !important;
    transition: none !important;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  :root {
    --primary-blue: #1819ff;
    --primary-green: #118b00;
    --primary-orange: #ee850c;
    --primary-purple: #7f006f;
    --primary-teal: #007d87;
    --text-dark: #000000;
    --text-light: #787878;
  }
  
  .service-card,
  .price-card,
  .team-member,
  .review-card {
    border: 2px solid var(--text-dark);
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  /* We don't implement dark mode as per requirements */
  /* This is just a placeholder for future enhancement */
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 500px) {
  .hero {
    min-height: 100vh;
    padding: 2rem 0;
  }
  
  .navbar {
    padding: 0.5rem 0;
  }
}

/* Hover capabilities */
@media (hover: none) {
  .service-card:hover,
  .price-card:hover,
  .team-member:hover,
  .review-card:hover,
  .feature-card:hover {
    transform: none;
  }
  
  .btn-primary:hover {
    transform: none;
  }
}

/* Focus management for keyboard navigation */
@media (prefers-reduced-motion: no-preference) {
  .nav-link:focus,
  .btn:focus,
  .form-control:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
  }
} 