/* ========================================
   Responsive CSS - Wind Turbine Kits
   Template 186 - Mobile First Approach
   ======================================== */

/* Mobile First - Base styles already in main.css */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
  
  h1 {
    font-size: 2.4rem;
  }
  
  .hero-shape-1 {
    width: 250px;
    height: 250px;
  }
  
  .hero-shape-2 {
    width: 180px;
    height: 180px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
  
  h1 {
    font-size: 2.6rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .navbar-brand {
    font-size: 1.3rem;
  }
  
  /* Hero adjustments */
  #hero {
    padding: 2rem 0;
  }
  
  .hero-content {
    padding-right: 2rem;
    padding-top: 125px;
}
  
  /* Service cards in rows */
  .service-card {
    height: 100%;
  }
  
  /* Team photos larger on tablets */
  .team-photo {
    width: 180px;
    height: 180px;
  }
  
  /* Gallery grid adjustment */
  .gallery-item {
    height: 300px;
  }
  
  /* Process steps horizontal */
  .process-step {
    margin-bottom: 2rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
  
  h1 {
    font-size: 2.8rem;
  }
  
  .navbar-brand {
    font-size: 1.4rem;
  }
  
  /* Enhanced hero section */
  .hero-content {
    padding-right: 3rem;
    padding-top: 125px;
}
  
  .hero-shape-1 {
    width: 300px;
    height: 300px;
  }
  
  .hero-shape-2 {
    width: 220px;
    height: 220px;
  }
  
  /* Service cards equal height */
  .services-row {
    display: flex;
    align-items: stretch;
  }
  
  /* Features with icons */
  .features-icon {
    width: 100px;
    height: 100px;
    font-size: 2.5rem;
  }
  
  /* Team photos even larger */
  .team-photo {
    width: 200px;
    height: 200px;
  }
  
  /* Price cards alignment */
  .price-card {
    height: 100%;
  }
  
  /* Blog cards in grid */
  .blog-image {
    height: 250px;
  }
  
  /* FAQ two columns */
  .faq-grid {
    column-count: 2;
    column-gap: 2rem;
  }
  
  .faq-card {
    break-inside: avoid;
    margin-bottom: 2rem;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
  
  .navbar-brand {
    font-size: 1.5rem;
  }
  
  /* Enhanced spacing */
  .section-padding {
    padding: 6rem 0;
  }
  
  /* Hero full enhancement */
  #hero {
    min-height: 100vh;
  }
  
  .hero-content {
    padding-right: 4rem;
    padding-top: 125px;
}
  
  /* Larger decorative shapes */
  .hero-shape-1 {
    width: 350px;
    height: 350px;
  }
  
  .hero-shape-2 {
    width: 250px;
    height: 250px;
  }
  
  /* Service cards larger spacing */
  .service-card {
    padding: 2.5rem;
  }
  
  /* Team member cards larger */
  .team-member {
    padding: 2.5rem;
  }
  
  .team-photo {
    width: 220px;
    height: 220px;
  }
  
  /* Contact form wider */
  .contact-form {
    padding: 3rem;
  }
  
  /* Gallery items larger */
  .gallery-item {
    height: 350px;
  }
}

/* Mobile specific optimizations */
@media (max-width: 767px) {
  /* Typography adjustments */
  h1 {
    font-size: 1.8rem;
    line-height: 1.3;
  }
  
  h2 {
    font-size: 1.5rem;
    line-height: 1.4;
  }
  
  h3 {
    font-size: 1.2rem;
    line-height: 1.4;
  }
  
  p {
    font-size: 0.95rem;
    line-height: 1.5;
  }
  
  /* Navbar adjustments */
  .navbar-brand {
    font-size: 1.1rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
  }
  
  /* Hero mobile optimization */
  #hero {
    min-height: 80vh;
    text-align: center;
    padding: 2rem 0;
  }
  
  .hero-content {
    padding: 0;
    margin-bottom: 2rem;
    padding-top: 125px;
}
  
  .hero-image {
    margin-top: 2rem;
  }
  
  /* Hide decorative shapes on mobile */
  .hero-shape {
    display: none;
  }
  
  /* Section padding reduced */
  .section-padding,
  #about,
  #services,
  #features,
  #priceplan,
  #team,
  #reviews,
  #casestudy,
  #process,
  #timeline,
  #career,
  #coreinfo,
  #contacts,
  #blog,
  #faq,
  #gallery {
    padding: 3rem 0;
  }
  
  /* Cards full width with reduced padding */
  .feature-card,
  .service-card,
  .features-item,
  .price-card,
  .team-member,
  .review-card,
  .case-card,
  .timeline-item,
  .career-item,
  .coreinfo-item,
  .blog-card,
  .faq-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  /* Mobile contact form */
  .contact-form {
    padding: 2rem 1.5rem;
  }
  
  /* Team photos smaller on mobile */
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  /* Process numbers smaller */
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  /* Features icons smaller */
  .features-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  /* Price values smaller */
  .price-value {
    font-size: 2.2rem;
  }
  
  /* Gallery items smaller height */
  .gallery-item {
    height: 200px;
    font-size: 2rem;
  }
  
  /* Blog images smaller */
  .blog-image {
    height: 150px;
    font-size: 2rem;
  }
  
  /* Footer adjustments */
  #footer {
    padding: 2rem 0 1rem;
  }
  
  .footer-section {
    margin-bottom: 1.5rem;
    text-align: center;
  }
  
  /* Remove hover effects on mobile */
  .service-card:hover,
  .team-member:hover,
  .blog-card:hover {
    transform: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }
  
  /* Ensure no animations on mobile (respecting user preferences) */
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Extra small devices optimization */
@media (max-width: 480px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  h1 {
    font-size: 1.6rem;
  }
  
  h2 {
    font-size: 1.4rem;
  }
  
  .service-price,
  .price-value {
    font-size: 1.8rem;
  }
  
  .btn-primary {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .form-control {
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
  }
}

/* Print styles */
@media print {
  .navbar,
  #footer,
  .btn,
  .hero-shape {
    display: none !important;
  }
  
  #hero {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .section-padding {
    padding: 1rem 0;
  }
  
  * {
    color: #000 !important;
    background: #fff !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --primary-green: #006400;
    --primary-blue: #000080;
    --text-dark: #000000;
    --text-light: #333333;
    --bg-light: #ffffff;
  }
  
  .service-card,
  .feature-card,
  .team-member {
    border: 2px solid #000000;
  }
} 

body {
    overflow-x: hidden;
}