/* ===================================
   VERTICAL FARMING CONSULTANCY TEMPLATE
   Responsive CSS - Media Queries & Mobile Optimizations
   =================================== */

/* ===== EXTRA LARGE DEVICES (1200px and up) ===== */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero-section h1 {
    font-size: 3rem;
  }
  
  .section {
    padding: 6rem 0;
  }
  
  .service-card {
    padding: 2.5rem;
  }
  
  .team-photo {
    height: 300px;
  }
}

/* ===== LARGE DEVICES (992px and up) ===== */
@media (min-width: 992px) and (max-width: 1199px) {
  .hero-section h1 {
    font-size: 2.89rem;
  }
  
  .service-card {
    padding: 2rem;
  }
  
  .team-photo {
    height: 280px;
  }
  
  .card-body {
    padding: 1.75rem;
  }
}

/* ===== MEDIUM DEVICES (768px and up) ===== */
@media (min-width: 768px) and (max-width: 991px) {
  .hero-section {
    min-height: 90vh;
  }
  
  .hero-section h1 {
    font-size: 2.32rem;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .service-card {
    padding: 1.75rem;
    margin-bottom: 1.65rem;
  }
  
  .team-photo {
    height: 250px;
  }
  
  .pricing-card {
    margin-bottom: 1.60rem;
  }
  
  .review-card {
    margin-bottom: 1.59rem;
  }
  
  .navbar-nav {
    text-align: center;
    padding-top: 1rem;
  }
  
  .navbar-nav .nav-link {
    font-size: 10px !important;
    padding: 0.75rem 1rem;
  }
}

/* ===== SMALL DEVICES (576px and up) ===== */
@media (min-width: 576px) and (max-width: 767px) {
  .hero-section {
    min-height: 80vh;
    text-align: center;
    padding: 2rem 0;
  }
  
  .hero-section h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .hero-section p {
    font-size: 1rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .section-title h2 {
    font-size: 1.79rem;
  }
  
  .service-card {
    padding: 1.5rem;
    margin-bottom: 1.56rem;
  }
  
  .service-icon {
    font-size: 2.55rem;
    margin-bottom: 1rem;
  }
  
  .service-price {
    font-size: 1.28rem;
  }
  
  .team-photo {
    height: 220px;
  }
  
  .team-info {
    padding: 1.25rem;
  }
  
  .pricing-card {
    margin-bottom: 1.69rem;
    padding: 1.5rem;
  }
  
  .pricing-price {
    font-size: 2rem;
  }
  
  .review-card {
    padding: 1.5rem;
    margin-bottom: 1.69rem;
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  .card-header {
    padding: 1.25rem;
  }
  
  .faq-question,
  .faq-answer {
    padding: 1.25rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  .navbar-collapse {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 0.5rem;
    margin-top: 0.66rem;
    padding: 1rem;
  }
  
  .navbar-nav .nav-link {
    font-size: 10px !important;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
}

/* ===== EXTRA SMALL DEVICES (less than 576px) ===== */
@media (max-width: 575px) {
  /* Container and spacing adjustments */
  .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  /* Hero section mobile optimization */
  .hero-section {
    min-height: 70vh;
    text-align: center;
    padding: 1.5rem 0;
  }
  
  .hero-section::before {
    display: none; /* Hide decorative elements on mobile */
  }
  
  .hero-section h1 {
    font-size: 1.80rem;
    line-height: 1.2;
    margin-bottom: 0.88rem;
  }
  
  .hero-section p {
    font-size: 0.98rem;
    margin-bottom: 1.72rem;
  }
  
  /* Section spacing */
  .section {
    padding: 2.5rem 0;
  }
  
  .section-title {
    margin-bottom: 2rem;
  }
  
  .section-title h2 {
    font-size: 1.58rem;
    line-height: 1.3;
  }
  
  .section-subtitle {
    font-size: 0.91rem;
  }
  
  /* Navigation mobile optimization */
  .navbar-brand {
    font-size: 10px !important;
    font-size: 1.13rem;
  }
  
  .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
  }
  
  .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 0.5rem;
    margin-top: 0.67rem;
    padding: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  }
  
  .navbar-nav .nav-link {
    font-size: 10px !important;
    padding: 0.75rem 0;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 1.02rem;
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
  
  /* Cards and components */
  .service-card {
    padding: 1.25rem;
    margin-bottom: 1.59rem;
  }
  
  .service-icon {
    font-size: 2.29rem;
    margin-bottom: 0.92rem;
  }
  
  .service-price {
    font-size: 1.17rem;
  }
  
  .team-photo {
    height: 200px;
  }
  
  .team-info {
    padding: 1rem;
  }
  
  .team-name {
    font-size: 1.21rem;
  }
  
  .team-role {
    font-size: 0.94rem;
  }
  
  .pricing-card {
    margin-bottom: 1.69rem;
    padding: 1.25rem;
  }
  
  .pricing-card.featured {
    transform: none;
    margin-top: 0;
  }
  
  .pricing-price {
    font-size: 1.88rem;
  }
  
  .review-card {
    padding: 1.25rem;
    margin-bottom: 1.65rem;
  }
  
  .review-text {
    font-size: 1.06rem;
  }
  
  .card-body {
    padding: 1.25rem;
  }
  
  .card-header {
    padding: 1rem;
  }
  
  /* FAQ mobile optimization */
  .faq-question {
    padding: 1rem;
    font-size: 0.98rem;
  }
  
  .faq-answer {
    padding: 1rem;
    font-size: 1.01rem;
  }
  
  /* Gallery mobile optimization */
  .gallery-item {
    margin-bottom: 0.93rem;
  }
  
  .gallery-item img {
    height: 180px;
  }
  
  /* Form mobile optimization */
  .form-control {
    padding: 0.65rem 0.85rem;
    font-size: 0.99rem;
  }
  
  .form-label {
    font-size: 0.98rem;
  }
  
  .btn {
    padding: 0.65rem 1.5rem;
    font-size: 1.04rem;
  }
  
  /* Footer mobile optimization */
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  .footer h5 {
    margin-top: 1.60rem;
    margin-bottom: 0.96rem;
  }
  
  .footer h5:first-of-type {
    margin-top: 0;
  }
  
  /* Utilities mobile optimization */
  .text-center-mobile {
    text-align: center;
  }
  
  .mb-mobile-3 {
    margin-bottom: 1rem;
  }
  
  .p-mobile-reduced {
    padding: 1rem;
  }
}

/* ===== LANDSCAPE ORIENTATION ADJUSTMENTS ===== */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-section {
    min-height: 100vh;
    padding: 1rem 0;
  }
  
  .hero-section h1 {
    font-size: 1.60rem;
    margin-bottom: 0.72rem;
  }
  
  .hero-section p {
    font-size: 1.01rem;
    margin-bottom: 1rem;
  }
  
  .section {
    padding: 2rem 0;
  }
}

/* ===== HIGH DPI / RETINA DISPLAYS ===== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-section::before {
    background-size: contain;
  }
  
  .service-icon {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

/* ===== TOUCH DEVICE OPTIMIZATIONS ===== */
@media (hover: none) and (pointer: coarse) {
  .card:hover {
    transform: none;
    box-shadow: var(--shadow-md);
  }
  
  .service-card:hover {
    transform: none;
    box-shadow: var(--shadow-md);
  }
  
  .team-card:hover {
    transform: none;
  }
  
  .gallery-item:hover img {
    transform: none;
  }
  
  .btn-primary:hover {
    transform: none;
  }
  
  /* Increase touch targets */
  .btn {
    min-height: 44px;
    min-width: 44px;
  }
  
  .nav-link {
    font-size: 10px !important;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .navbar-toggler {
    min-height: 44px;
    min-width: 44px;
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  * {
    background: white;
    color: black;
    box-shadow: none;
  }
  
  .navbar,
  .footer,
  .btn {
    display: none;
  }
  
  .section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
  
  .card {
    border: 1px solid #cacaca;
    box-shadow: none;
  }
  
  .hero-section {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .hero-section::before {
    display: none;
  }
} 

.hero-content {
    padding-top: 125px;
}