/* Responsive Styles for Home Energy Storage Installation Service */

/* Tablet Styles */
@media (max-width: 768px) {
  /* Typography Adjustments */
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  /* Section Padding */
  .section-padding {
    padding: 60px 0;
  }
  
  /* Hero Section */
  .hero-section {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-section::before {
    display: none;
  }
  
  /* Navigation */
  .navbar-brand {
    font-size: 1.1rem;
  }
  
  /* Cards Spacing */
  .service-card,
  .feature-card,
  .team-card,
  .review-card,
  .price-card,
  .faq-card {
    margin-bottom: 1.5rem;
  }
  
  /* Gallery Grid */
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.75rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  /* Team Photos */
  .team-photo {
    height: 200px;
  }
  
  /* Contact Form */
  .contact-form {
    padding: 1.5rem;
  }
  
  /* Process Steps */
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  /* Timeline */
  .timeline-item {
    padding-left: 1.5rem;
  }
}

/* Mobile Styles */
@media (max-width: 576px) {
  /* Disable animations on mobile for performance */
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  
  /* Typography */
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.125rem;
  }
  
  p {
    font-size: 0.9rem;
  }
  
  /* Section Padding */
  .section-padding {
    padding: 40px 0;
  }
  
  /* Hero Section */
  .hero-section {
    min-height: 70vh;
    padding: 2rem 0;
  }
  
  /* Navbar */
  .navbar-brand {
    font-size: 1rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 0;
  }
  
  /* Buttons */
  .btn-primary,
  .btn-outline-primary {
    padding: 0.625rem 1.5rem;
    font-size: 0.9rem;
  }
  
  /* Cards */
  .service-card,
  .feature-card,
  .team-card,
  .review-card,
  .price-card {
    margin-bottom: 1rem;
  }
  
  .feature-card,
  .core-info-card {
    padding: 1.5rem;
  }
  
  .feature-icon {
    width: 50px;
    height: 50px;
  }
  
  /* Price Cards */
  .price-card.featured {
    transform: none;
    border: 2px solid var(--primary-color);
  }
  
  /* Contact Form */
  .contact-form {
    padding: 1rem;
  }
  
  .form-control {
    padding: 0.625rem;
    font-size: 0.9rem;
  }
  
  /* Gallery Grid */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .gallery-item img {
    height: 180px;
  }
  
  /* Team Photos */
  .team-photo {
    height: 180px;
  }
  
  /* Process Steps */
  .process-number {
    width: 45px;
    height: 45px;
    font-size: 1.125rem;
  }
  
  /* Timeline */
  .timeline-item {
    padding-left: 1rem;
    margin-bottom: 1.5rem;
  }
  
  /* Footer */
  .footer {
    text-align: center;
  }
  
  .footer .row > div {
    margin-bottom: 1.5rem;
  }
  
  /* Service Price */
  .service-price {
    font-size: 1.25rem;
  }
  
  /* Blog Cards */
  .blog-card img {
    height: 150px;
  }
  
  /* FAQ Cards */
  .faq-card {
    margin-bottom: 0.75rem;
  }
  
  /* Spacing Adjustments */
  .mb-3 {
    margin-bottom: 1rem !important;
  }
  
  .mb-4 {
    margin-bottom: 1.5rem !important;
  }
  
  .mb-5 {
    margin-bottom: 2rem !important;
  }
}

/* Large Desktop Styles */
@media (min-width: 1200px) {
  .hero-section {
    padding: 0 2rem;
  }
  
  .section-padding {
    padding: 100px 0;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  }
  
  .contact-form {
    padding: 3rem;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .gallery-section {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .hero-section {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .section-padding {
    padding: 1rem 0;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --primary-color: #1B5E20;
    --secondary-color: #4CAF50;
    --text-color: #000000;
    --background-color: #FFFFFF;
  }
  
  .service-card,
  .feature-card,
  .team-card,
  .review-card,
  .price-card,
  .faq-card,
  .contact-form {
    border: 2px solid var(--text-color);
  }
}

.hero-section h1 {
    padding-top: 175px;
}