/* Smart Irrigation System Template - Responsive CSS */

/* Extra Large Devices (Desktop) */
@media (min-width: 1400px) {
  .container-xxl {
    max-width: 1320px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .service-card {
    height: 450px;
  }
  
  .team-image {
    width: 250px;
    height: 250px;
  }
}

/* Large Devices (Desktop) */
@media (min-width: 1200px) {
  .hero-content {
    padding: 2rem;
  }
  
  .feature-card {
    height: 300px;
  }
  
  .price-card {
    height: 400px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Medium Devices (Tablets) */
@media (max-width: 1199.98px) {
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .feature-icon {
    font-size: 2.5rem;
  }
  
  .service-card {
    margin-bottom: 1.5rem;
  }
  
  .team-image {
    width: 180px;
    height: 180px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Small Devices (Landscape Phones) */
@media (max-width: 991.98px) {
  .section {
    padding: 3rem 0;
  }
  
  .hero {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-shape-1,
  .hero-shape-2 {
    display: none;
  }
  
  .navbar-nav {
    text-align: center;
  }
  
  .navbar-nav .nav-link {
    margin: 0.25rem 0;
  }
  
  .section-title h2 {
    font-size: 1.5rem;
  }
  
  .feature-card {
    height: auto;
    padding: 1.5rem;
  }
  
  .service-card {
    height: auto;
  }
  
  .price-card {
    height: auto;
    margin-bottom: 1.5rem;
  }
  
  .team-member {
    margin-bottom: 1.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .process-step {
    padding: 1.5rem;
  }
  
  .process-number {
    font-size: 2.5rem;
  }
  
  .timeline-item {
    padding-left: 2rem;
  }
  
  .timeline-item::before {
    width: 15px;
    height: 15px;
  }
  
  .timeline-item::after {
    left: 7px;
  }
}

/* Extra Small Devices (Portrait Phones) */
@media (max-width: 767.98px) {
  .hero {
    min-height: 70vh;
    padding: 2rem 0;
  }
  
  .hero-title {
    font-size: 1.5rem;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
  }
  
  .hero-desc {
    font-size: 0.85rem;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .section-title {
    margin-bottom: 2rem;
  }
  
  .section-title h2 {
    font-size: 1.25rem;
  }
  
  .navbar-brand {
    font-size: 1.1rem !important;
  }
  
  .feature-card {
    padding: 1rem;
    text-align: center;
  }
  
  .feature-icon {
    font-size: 2rem;
  }
  
  .service-image {
    height: 150px;
  }
  
  .service-content {
    padding: 1rem;
  }
  
  .service-price {
    font-size: 1rem;
  }
  
  .price-value {
    font-size: 2rem;
  }
  
  .team-image {
    width: 150px;
    height: 150px;
  }
  
  .review-card {
    padding: 1.5rem;
  }
  
  .review-card::before {
    font-size: 3rem;
  }
  
  .case-study-card {
    padding: 1.5rem;
  }
  
  .process-step {
    padding: 1rem;
  }
  
  .process-number {
    font-size: 2rem;
  }
  
  .career-card {
    padding: 1.5rem;
  }
  
  .core-info-card {
    padding: 1.5rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .blog-content {
    padding: 1rem;
  }
  
  .blog-title {
    font-size: 1rem;
  }
  
  .faq-question {
    padding: 1rem;
    font-size: 0.9rem;
  }
  
  .faq-answer {
    padding: 1rem;
    font-size: 0.85rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .gallery-image {
    height: 200px;
  }
  
  .footer {
    padding: 2rem 0 1rem;
  }
  
  .footer-title {
    font-size: 1.1rem;
  }
  
  .footer-policies a {
    display: block;
    margin: 0.25rem 0;
  }
}

/* Ultra Small Devices (Small Phones) */
@media (max-width: 575.98px) {
  .hero {
    min-height: 60vh;
  }
  
  .hero-title {
    font-size: 1.25rem;
  }
  
  .hero-subtitle {
    font-size: 0.8rem;
  }
  
  .hero-desc {
    font-size: 0.8rem;
  }
  
  .section {
    padding: 1.5rem 0;
  }
  
  .section-title h2 {
    font-size: 1.1rem;
  }
  
  .navbar-brand {
    font-size: 1rem !important;
  }
  
  .feature-card {
    padding: 0.75rem;
  }
  
  .feature-icon {
    font-size: 1.5rem;
  }
  
  .service-image {
    height: 120px;
  }
  
  .service-content {
    padding: 0.75rem;
  }
  
  .price-value {
    font-size: 1.5rem;
  }
  
  .team-image {
    width: 120px;
    height: 120px;
  }
  
  .review-card {
    padding: 1rem;
  }
  
  .review-card::before {
    font-size: 2rem;
  }
  
  .case-study-card {
    padding: 1rem;
  }
  
  .process-step {
    padding: 0.75rem;
  }
  
  .process-number {
    font-size: 1.5rem;
  }
  
  .career-card {
    padding: 1rem;
  }
  
  .core-info-card {
    padding: 1rem;
  }
  
  .contact-form {
    padding: 1rem;
  }
  
  .form-control {
    padding: 0.5rem 0.75rem;
  }
  
  .btn-primary {
    padding: 0.5rem 1.5rem;
  }
  
  .blog-content {
    padding: 0.75rem;
  }
  
  .blog-title {
    font-size: 0.9rem;
  }
  
  .faq-question {
    padding: 0.75rem;
    font-size: 0.85rem;
  }
  
  .faq-answer {
    padding: 0.75rem;
    font-size: 0.8rem;
  }
  
  .gallery-image {
    height: 150px;
  }
  
  .footer {
    padding: 1.5rem 0 0.5rem;
  }
  
  .footer-title {
    font-size: 1rem;
  }
  
  .footer-policies a {
    font-size: 0.8rem;
  }
}

/* Landscape Orientation */
@media (orientation: landscape) and (max-height: 500px) {
  .hero {
    min-height: 100vh;
  }
  
  .hero-title {
    font-size: 1.5rem;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
  }
  
  .hero-desc {
    font-size: 0.85rem;
  }
}

/* Print Styles */
@media print {
  * {
    background: white !important;
    color: black !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  
  .navbar,
  .footer,
  .btn,
  .hero-shape,
  .breadcrumb {
    display: none !important;
  }
  
  .hero {
    min-height: auto;
    padding: 1rem 0;
  }
  
  .section {
    padding: 1rem 0;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-image {
    height: 200px;
  }
  
  a {
    text-decoration: underline;
  }
  
  .page-break {
    page-break-before: always;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
  .service-image,
  .team-image,
  .gallery-image {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: optimize-contrast;
  }
}

/* Dark Mode Support (for future implementation) */
@media (prefers-color-scheme: dark) {
  /* Dark mode styles would go here if needed */
  /* Currently disabled per requirements */
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .hero-shape-1,
  .hero-shape-2 {
    animation: none;
  }
  
  .feature-card:hover,
  .service-card:hover,
  .price-card:hover,
  .gallery-item:hover,
  .blog-card:hover {
    transform: none;
  }
  
  .navbar-nav .nav-link:hover,
  .btn-primary:hover {
    transform: none;
  }
}

/* Focus Visible for Better Accessibility */
@supports selector(:focus-visible) {
  *:focus {
    outline: none;
  }
  
  *:focus-visible {
    outline: 2px solid var(--primary-orange);
    outline-offset: 2px;
  }
} 