/* Mobile First Responsive Design */

/* Extra Small Devices (phones, less than 576px) */
@media (max-width: 575.98px) {
  /* Typography adjustments for mobile */
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }
  
  .navbar-brand {
    font-size: 1.25rem !important;
  }
  
  /* Section padding reduction */
  .section {
    padding: 60px 0;
  }
  
  /* Hero section mobile adjustments */
  #hero {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-shape {
    display: none;
  }
  
  /* Card padding reduction */
  .feature-card,
  .service-card,
  .price-card,
  .team-card,
  .review-card,
  .case-card,
  .career-card,
  .info-card {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
  
  /* Contact form mobile */
  .contact-form {
    padding: 1.5rem;
    margin-top: 2rem;
  }
  
  .contact-info {
    padding: 1.5rem !important;
    margin-bottom: 1.5rem !important;
  }
  
  .contact-info .fas {
    width: 30px !important;
    height: 30px !important;
    font-size: 1rem !important;
  }
  
  /* Gallery mobile adjustments */
  .gallery-item img {
    height: 200px;
  }
  
  /* Team photo size reduction */
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  /* Process number size reduction */
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  /* Price amount mobile */
  .price-amount {
    font-size: 2.5rem;
  }
  
  /* Service price mobile */
  .service-price {
    font-size: 1.75rem;
  }
  
  /* Footer mobile */
  #footer {
    padding: 40px 0 20px;
  }
  
  .footer-section {
    margin-bottom: 1.5rem;
    text-align: center;
  }
  
  /* No animations on mobile for performance */
  .feature-card:hover,
  .service-card:hover,
  .price-card:hover,
  .gallery-item img:hover {
    transform: none;
  }
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  /* Section padding */
  .section {
    padding: 70px 0;
  }
  
  /* Hero adjustments */
  #hero {
    min-height: 90vh;
  }
  
  /* Card adjustments */
  .feature-card,
  .service-card,
  .price-card,
  .team-card,
  .review-card,
  .case-card,
  .career-card,
  .info-card {
    padding: 1.75rem;
  }
  
  /* Gallery adjustments */
  .gallery-item img {
    height: 220px;
  }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* Hero section tablet */
  #hero {
    min-height: 95vh;
  }
  
  /* Gallery tablet */
  .gallery-item img {
    height: 240px;
  }
  
  /* Team cards in rows */
  .team-card {
    margin-bottom: 2rem;
  }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) {
  /* Full hero height */
  #hero {
    min-height: 100vh;
  }
  
  /* Show decorative shapes */
  .hero-shape {
    display: block;
  }
  
  /* Gallery full height */
  .gallery-item img {
    height: 250px;
  }
  
  /* Enable hover effects */
  .feature-card:hover,
  .service-card:hover,
  .price-card:hover {
    transform: translateY(-5px);
  }
  
  .gallery-item img:hover {
    transform: scale(1.05);
  }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  /* Larger decorative shapes */
  .hero-shape-1 {
    width: 400px;
    height: 400px;
  }
  
  .hero-shape-2 {
    width: 250px;
    height: 250px;
  }
  
  /* Enhanced gallery */
  .gallery-item img {
    height: 280px;
  }
}

/* Landscape orientation specific styles */
@media (orientation: landscape) and (max-height: 600px) {
  #hero {
    min-height: 100vh;
  }
  
  .section {
    padding: 60px 0;
  }
}

/* High DPI / Retina Display adjustments */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  /* Sharper borders and shadows for high DPI */
  .feature-card,
  .service-card,
  .price-card,
  .team-card,
  .review-card,
  .case-card,
  .career-card,
  .info-card,
  .contact-form,
  .blog-card,
  .faq-card,
  .timeline-item {
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  }
}

/* Print styles */
@media print {
  /* Hide navigation and interactive elements */
  #header,
  .navbar,
  .btn,
  button {
    display: none !important;
  }
  
  /* Adjust colors for print */
  * {
    color: #000 !important;
    background: #fff !important;
  }
  
  /* Page breaks */
  .section {
    page-break-inside: avoid;
    padding: 20px 0;
  }
  
  /* Typography for print */
  h1, h2, h3, h4, h5, h6 {
    color: #000 !important;
  }
}

/* Accessibility - Focus styles */
@media (min-width: 768px) {
  .navbar-nav .nav-link:focus,
  .btn:focus,
  .form-control:focus {
    outline: 2px solid var(--eco-secondary);
    outline-offset: 2px;
  }
}

/* Dark mode support (if user prefers) */

body {
    overflow-x: hidden;
}

.hero-content {
    padding-top: 125px;
}