/* Responsive Styles for Urban Rooftop Gardening Consultancy */

/* Large devices (desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  #hero {
    padding: 0 2rem;
  }
  
  .service-card,
  .price-card {
    padding: 2.5rem;
  }
}

/* Medium devices (tablets, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .container {
    max-width: 960px;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  .service-card,
  .price-card {
    padding: 2rem;
  }
}

/* Small devices (landscape tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .container {
    max-width: 720px;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .navbar-brand {
    font-size: 1.2rem;
  }
  
  .service-card,
  .price-card,
  .feature-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  .process-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

/* Extra small devices (portrait tablets and large phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .container {
    max-width: 540px;
  }
  
  h1 {
    font-size: 1.6rem;
  }
  
  h2 {
    font-size: 1.4rem;
  }
  
  h3 {
    font-size: 1.3rem;
  }
  
  .navbar-brand {
    font-size: 1.1rem;
  }
  
  #hero {
    min-height: 80vh;
    text-align: center;
  }
  
  .service-card,
  .price-card,
  .feature-card,
  .team-card,
  .review-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .price-value {
    font-size: 2rem;
  }
  
  .service-price {
    font-size: 1.5rem;
  }
  
  .team-photo {
    width: 90px;
    height: 90px;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  .contact-form {
    padding: 2rem;
  }
}

/* Small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  h1 {
    font-size: 1.5rem;
    text-align: center;
  }
  
  h2 {
    font-size: 1.3rem;
    text-align: center;
  }
  
  h3 {
    font-size: 1.2rem;
  }
  
  p {
    font-size: 14px;
  }
  
  .navbar-brand {
    font-size: 1rem;
  }
  
  .navbar-nav .nav-link {
    font-size: 14px;
    padding: 0.5rem 1rem;
  }
  
  #hero {
    min-height: 70vh;
    text-align: center;
    padding: 2rem 0;
  }
  
  .hero-content {
    padding: 1rem;
    padding-top: 100px;
}
  
  /* Remove all hover effects and animations on mobile */
  .service-card,
  .price-card,
  .feature-card,
  .team-card,
  .review-card,
  .blog-card,
  .case-card,
  .career-card,
  .info-card {
    padding: 1.2rem;
    margin-bottom: 1.5rem;
    transition: none;
  }
  
  .service-card:hover,
  .price-card:hover,
  .feature-card:hover,
  .team-card:hover,
  .review-card:hover,
  .blog-card:hover,
  .gallery-item:hover,
  .btn-primary:hover {
    transform: none;
    box-shadow: inherit;
  }
  
  .price-card.featured {
    transform: none;
    border-color: var(--primary-green);
  }
  
  .price-value {
    font-size: 1.8rem;
  }
  
  .service-price {
    font-size: 1.4rem;
  }
  
  .team-photo {
    width: 80px;
    height: 80px;
  }
  
  .feature-icon {
    font-size: 2rem;
  }
  
  .process-number {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }
  
  .gallery-item img {
    height: 180px;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .form-control {
    padding: 0.6rem 0.8rem;
    font-size: 14px;
  }
  
  .btn-primary {
    padding: 0.6rem 1.5rem;
    font-size: 14px;
  }
  
  .faq-card {
    padding: 1.2rem;
  }
  
  .faq-question {
    font-size: 14px;
  }
  
  .faq-answer {
    font-size: 13px;
  }
  
  /* Section padding adjustments */
  #about,
  #services,
  #features,
  #priceplan,
  #team,
  #reviews,
  #casestudy,
  #process,
  #timeline,
  #career,
  #coreinfo,
  #contacts,
  #blog,
  #faq,
  #gallery {
    padding: 2.5rem 0;
  }
  
  #footer {
    padding: 2rem 0 1rem;
  }
  
  .footer-section {
    margin-bottom: 1.5rem;
    text-align: center;
  }
  
  .footer-section h5 {
    font-size: 1rem;
  }
  
  .footer-section a {
    font-size: 13px;
  }
}

/* Extra small devices (very small phones, less than 360px) */
@media (max-width: 359.98px) {
  .container {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  
  h1 {
    font-size: 1.3rem;
  }
  
  h2 {
    font-size: 1.2rem;
  }
  
  h3 {
    font-size: 1.1rem;
  }
  
  p {
    font-size: 13px;
  }
  
  .navbar-brand {
    font-size: 0.9rem;
  }
  
  .service-card,
  .price-card,
  .feature-card,
  .team-card,
  .review-card,
  .blog-card {
    padding: 1rem;
  }
  
  .price-value {
    font-size: 1.6rem;
  }
  
  .service-price {
    font-size: 1.2rem;
  }
  
  .team-photo {
    width: 70px;
    height: 70px;
  }
  
  .feature-icon {
    font-size: 1.8rem;
  }
  
  .contact-form {
    padding: 1rem;
  }
  
  .btn-primary {
    padding: 0.5rem 1rem;
    font-size: 13px;
  }
}

/* Print styles */
@media print {
  #header,
  #footer {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
    overflow-x: hidden;
}
  
  h1, h2, h3, h4, h5, h6 {
    color: #000;
  }
  
  .service-card,
  .price-card,
  .feature-card,
  .team-card,
  .review-card {
    border: 1px solid #ddd;
    margin-bottom: 1rem;
    break-inside: avoid;
  }
  
  .gallery-item,
  .blog-card {
    display: none;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  :root {
    --primary-green: #2d5a2d;
    --primary-sage: #4a5a4a;
    --primary-earth: #8a6a3a;
    --primary-sky: #2a4a6a;
    --primary-stone: #5a4a3a;
  }
  
  .service-card,
  .price-card,
  .feature-card,
  .team-card,
  .review-card {
    border: 2px solid #333;
  }
  
  .btn-primary {
    border: 2px solid #333;
  }
} 