/* EV Charging Network Template - Responsive CSS */

/* Tablet Styles */
@media (max-width: 991.98px) {
  .hero-title {
    font-size: 2.62rem;
  }
  
  .hero-subtitle {
    font-size: 1.41rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .section-subtitle {
    font-size: 1.17rem;
  }
  
  .navbar-nav {
    text-align: center;
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 0;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
  
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .contact-form {
    margin-bottom: 2rem;
  }
}

/* Mobile Styles */
@media (max-width: 767.98px) {
  .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
    text-align: center;
    padding: 2rem 0;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.23rem;
  }
  
  .hero-desc {
    font-size: 1rem;
  }
  
  .section {
    padding: 2.5rem 0;
  }
  
  .section-title {
    font-size: 1.89rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .navbar-brand {
    font-size: 1.43rem;
  }
  
  .feature-card {
    padding: 1.5rem;
    margin-bottom: 1.67rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .service-name {
    font-size: 1.26rem;
  }
  
  .price-card {
    padding: 2rem;
  }
  
  .team-card {
    padding: 1.5rem;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  .team-name {
    font-size: 1.14rem;
  }
  
  .review-card {
    padding: 1.5rem;
  }
  
  .faq-question {
    padding: 1rem;
  }
  
  .faq-answer {
    padding: 1rem;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-image {
    height: 200px;
  }
  
  .blog-content {
    padding: 1rem;
  }
  
  .blog-title {
    font-size: 1.22rem;
  }
  
  .footer {
    padding: 2rem 0 1rem;
  }
  
  .btn-primary,
  .btn-secondary {
    padding: 0.6rem 1.5rem;
    font-size: 0.92rem;
  }
  
  .timeline-item {
    flex-direction: column;
    text-align: center;
  }
  
  .timeline-item::before,
  .timeline-item::after {
    display: none;
  }
  
  .timeline-date {
    margin-right: 0;
    margin-bottom: 1rem;
  }
  
  .timeline-item h4,
  .timeline-item p {
    margin-left: 0;
  }
  
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.22rem;
  }
}

/* Small Mobile Styles */
@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.91rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.70rem;
  }
  
  .navbar-brand {
    font-size: 1.23rem;
  }
  
  .feature-card {
    padding: 1rem;
  }
  
  .service-card {
    padding: 1rem;
  }
  
  .price-card {
    padding: 1.5rem;
  }
  
  .team-card {
    padding: 1rem;
  }
  
  .review-card {
    padding: 1rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .gallery-image {
    height: 180px;
  }
  
  .service-price {
    font-size: 1.40rem;
  }
  
  .btn-primary,
  .btn-secondary {
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
  }
  
  .timeline-container {
    padding: 1rem 0;
  }
  
  .timeline-item {
    margin-bottom: 2rem;
  }
  
  .process-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .career-role {
    font-size: 0.96rem;
  }
}

/* Landscape Mobile */
@media (max-width: 767.98px) and (orientation: landscape) {
  .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
    min-height: 70vh;
  }
  
  .hero-title {
    font-size: 2.34rem;
  }
  
  .section {
    padding: 2rem 0;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-section::before {
    background-image: url('../CAF_images/hero-bg@2x.webp');
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .contact-form {
    display: none !important;
  }
  
  .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .section {
    padding: 1rem 0;
    break-inside: avoid;
  }
  
  .service-card,
  .feature-card,
  .team-card,
  .review-card,
  .price-card {
    break-inside: avoid;
    margin-bottom: 1rem;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  .section-title {
    font-size: 18pt;
  }
  
  .section-subtitle {
    font-size: 14pt;
  }
}

/* Accessibility Improvements */
@media (prefers-contrast: high) {
  :root {
    --primary-green: #377740;
    --primary-blue: #1259af;
    --primary-orange: #dd6800;
    --primary-purple: #6f1f86;
    --primary-teal: #0b858f;
    --text-dark: #000000;
    --text-muted: #2a2a2a;
  }
  
  .btn-primary,
  .btn-secondary {
    border: 2px solid var(--text-dark);
  }
  
  .navbar-nav .nav-link {
    text-decoration: underline;
  }
  
  .service-card,
  .feature-card,
  .team-card,
  .review-card,
  .price-card {
    border: 1px solid var(--text-dark);
  }
}

/* Focus Styles for Accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus {
  outline: 2px solid var(--primary-teal);
  outline-offset: 2px;
}

/* Hover Effects Disabled for Touch Devices */
@media (hover: none) {
  .service-card:hover,
  .feature-card:hover,
  .team-card:hover,
  .review-card:hover,
  .price-card:hover,
  .gallery-item:hover {
    transform: none;
  }
  
  .btn-primary:hover,
  .btn-secondary:hover {
    transform: none;
  }
} 