/* Eco-Friendly Office Décor Service - Responsive Styles */

/* ===== MOBILE FIRST APPROACH ===== */

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 575.98px) {
  /* NO ANIMATIONS ON MOBILE - Override any animations */
  * {
    animation: none !important;
    transition: none !important;
  }
  
  /* Conservative typography for mobile */
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.3rem; }
  h4 { font-size: 1.1rem; }
  
  /* Hero section mobile optimization */
  .hero-section {
    min-height: 80vh;
    text-align: center;
    padding: 2rem 0;
  }
  
  .hero-section::before {
    display: none; /* Remove decorative elements on mobile */
  }
  
  /* Section padding reduction */
  .section {
    padding: 2rem 0;
  }
  
  /* Card adjustments */
  .card {
    margin-bottom: 1.5rem;
  }
  
  .card-img-top {
    height: 150px;
  }
  
  /* Service cards mobile layout */
  .service-card {
    padding: 1.5rem 1rem;
    margin-bottom: 1rem;
  }
  
  /* Team images smaller on mobile */
  .team-img {
    width: 120px;
    height: 120px;
  }
  
  /* Gallery images stack */
  .gallery-img {
    height: 200px;
    margin-bottom: 1rem;
  }
  
  /* Process steps mobile */
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  /* Mobile navigation adjustments */
  .navbar-brand {
    font-size: 1.2rem;
  }
  
  /* Form adjustments */
  .form-control {
    padding: 0.6rem 0.8rem;
  }
  
  /* Button adjustments */
  .btn-eco-primary,
  .btn-eco-secondary {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
  
  /* Footer adjustments */
  footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  /* Price cards mobile */
  .price-amount {
    font-size: 2rem;
  }
  
  /* Timeline mobile */
  .timeline-item {
    padding-left: 1.5rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  /* Conservative animations for tablets */
  .sal-animate {
    transition-duration: 0.3s;
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.7rem; }
  
  .hero-section {
    min-height: 90vh;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .card-img-top {
    height: 180px;
  }
  
  .team-img {
    width: 140px;
    height: 140px;
  }
  
  .gallery-img {
    height: 220px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
    min-height: 95vh;
  }
  
  .gallery-img {
    height: 240px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-section {
    min-height: 100vh;
  }
  
  .section {
    padding: 5rem 0;
  }
  
  .gallery-img {
    height: 280px;
  }
}

/* ===== MOBILE NAVIGATION SPECIFIC ===== */
@media (max-width: 991.98px) {
  /* Standard Bootstrap mobile menu - no customizations */
  .navbar-collapse {
    background-color: var(--bg-primary);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 0.5rem;
    box-shadow: 0 4px 12px rgba(45, 80, 22, 0.1);
  }
  
  .navbar-nav .nav-link {
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--eco-gray-light);
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  /* Remove animations and interactive elements for print */
  * {
    animation: none !important;
    transition: none !important;
  }
  
  .hero-section::before,
  .navbar,
  footer {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.5;
    color: black;
    background: white;
    overflow-x: hidden;
}
  
  .section {
    page-break-inside: avoid;
    padding: 1rem 0;
  }
}

/* ===== ACCESSIBILITY IMPROVEMENTS ===== */
@media (prefers-reduced-motion: reduce) {
  /* Ensure no motion for users who prefer reduced motion */
  .sal-animate,
  .card,
  .btn-eco-primary,
  .btn-eco-secondary,
  .gallery-img {
    transition: none !important;
    transform: none !important;
    animation: none !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --eco-primary: #000000;
    --eco-secondary: #333333;
    --eco-accent: #666666;
    --text-primary: #000000;
    --text-secondary: #333333;
  }
  
  .card {
    border: 2px solid var(--eco-primary);
  }
}

/* ===== LANDSCAPE PHONE ADJUSTMENTS ===== */
@media (max-width: 767.98px) and (orientation: landscape) {
  .hero-section {
    min-height: 70vh;
  }
  
  .section {
    padding: 1.5rem 0;
  }
}

/* ===== FORM RESPONSIVE IMPROVEMENTS ===== */
@media (max-width: 575.98px) {
  .form-control {
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  .btn-eco-primary,
  .btn-eco-secondary {
    width: 100%;
    margin-bottom: 1rem;
  }
}

/* ===== GRID ADJUSTMENTS FOR BETTER MOBILE EXPERIENCE ===== */
@media (max-width: 575.98px) {
  /* Force single column layout for better readability */
  .row > [class*="col-"] {
    margin-bottom: 1.5rem;
  }
  
  /* Services grid mobile */
  .services-grid .col-lg-4,
  .services-grid .col-md-6 {
    margin-bottom: 2rem;
  }
  
  /* Features grid mobile */
  .features-grid .col-lg-3,
  .features-grid .col-md-6 {
    margin-bottom: 1.5rem;
  }
  
  /* Team grid mobile */
  .team-grid .col-lg-3,
  .team-grid .col-md-4,
  .team-grid .col-sm-6 {
    margin-bottom: 2rem;
  }
}

/* ===== TOUCH DEVICE OPTIMIZATIONS ===== */
@media (hover: none) and (pointer: coarse) {
  /* Remove hover effects on touch devices */
  .card:hover,
  .gallery-img:hover,
  .btn-eco-primary:hover,
  .btn-eco-secondary:hover {
    transform: none;
  }
  
  /* Increase touch targets */
  .nav-link,
  .btn {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}


.hero-content {
    padding-top: 125px;
}