/* Urban Rooftop Gardens - Responsive CSS */

/* Tablet Styles */
@media (max-width: 991.98px) {
  .hero-section {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .hero-content {
    text-align: center;
    margin-bottom: 2rem;
    padding-top: 275px;
}
  
  .hero-shapes {
    display: none;
  }
  
  .pricing-card.border-primary {
    transform: none;
    margin-bottom: 2rem;
  }
  
  .team-member {
    margin-bottom: 2rem;
  }
  
  .process-step {
    margin-bottom: 2rem;
  }
  
  .timeline-item {
    margin-bottom: 1.5rem;
  }
}

/* Mobile Styles */
@media (max-width: 767.98px) {
  /* Typography */
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .lead {
    font-size: 1rem;
  }
  
  /* Navigation */
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    margin: 0;
  }
  
  /* Hero Section */
  .hero-section {
    padding: 1rem 0;
  }
  
  .hero-content {
    padding: 1rem 0;
    padding-top: 275px;
}
  
  /* Remove animations on mobile */
  .card:hover {
    transform: none;
  }
  
  .feature-card:hover {
    transform: none;
  }
  
  .btn-primary:hover {
    transform: none;
  }
  
  #gallery img:hover {
    transform: none;
  }
  
  /* Sections */
  section {
    padding: 3rem 0;
  }
  
  /* Cards */
  .card {
    margin-bottom: 1.5rem;
  }
  
  .service-card .price {
    font-size: 1.25rem;
  }
  
  /* Team */
  .team-member img {
    width: 120px;
    height: 120px;
  }
  
  /* Process Steps */
  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  /* Contact Form */
  .contact-form {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
  
  /* Footer */
  #footer .col-lg-4 {
    margin-bottom: 2rem;
  }
  
  /* Gallery */
  #gallery .col-md-4 {
    margin-bottom: 1rem;
  }
  
  /* Pricing */
  .price-display {
    margin: 0.5rem 0;
  }
  
  /* Feature Items */
  .feature-item {
    padding: 1rem;
    margin-bottom: 1.5rem;
  }
  
  /* Service Areas */
  .service-area-card,
  .quality-standard,
  .emergency-service {
    padding: 1rem;
    margin-bottom: 1.5rem;
  }
  
  /* Timeline */
  .timeline-item {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  .timeline-year {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
  }
  
  /* Career Cards */
  .career-card {
    margin-bottom: 1rem;
  }
  
  /* Blog Cards */
  .blog-card,
  .case-study-card {
    margin-bottom: 1.5rem;
  }
  
  /* Info Cards */
  .info-card {
    margin-bottom: 1rem;
  }
  
  /* Maintenance Programs */
  .maintenance-program {
    margin-bottom: 1rem;
  }
  
  /* Contact Info Icons */
  .contact-info i {
    width: 40px;
    height: 40px;
  }
}

/* Small Mobile Styles */
@media (max-width: 575.98px) {
  /* Typography */
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  /* Container padding */
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  /* Sections */
  section {
    padding: 2rem 0;
  }
  
  /* Hero */
  .hero-content {
    padding: 0.5rem 0;
    padding-top: 275px;
}
  
  /* Cards */
  .card-body {
    padding: 1rem;
    overflow-x: hidden;
}
  
  /* Contact Form */
  .contact-form {
    padding: 1rem;
  }
  
  /* Buttons */
  .btn {
    padding: 0.6rem 1.2rem;
  }
  
  /* Team Images */
  .team-member img {
    width: 100px;
    height: 100px;
  }
  
  /* Process Steps */
  .process-step {
    padding: 1rem;
  }
  
  .step-number {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
  
  /* Service Price */
  .service-card .price {
    font-size: 1.1rem;
  }
  
  /* Price Display */
  .price-display {
    padding: 0.75rem;
  }
  
  /* Footer */
  #footer {
    padding: 3rem 0;
  }
  
  /* Navbar */
  .navbar-toggler {
    padding: 0.25rem 0.5rem;
  }
  
  /* Form Controls */
  .form-control {
    padding: 0.6rem 0.8rem;
  }
  
  /* Icons */
  .fa-2x {
    font-size: 1.5em;
  }
  
  .fa-3x {
    font-size: 2em;
  }
  
  /* Gallery Grid */
  #gallery .col-md-4 {
    padding: 0.25rem;
  }
  
  /* Breadcrumb */
  .breadcrumb-section {
    padding: 1rem 0;
  }
}

/* Landscape Mobile */
@media (max-width: 767.98px) and (orientation: landscape) {
  .hero-section {
    min-height: auto;
    padding: 1rem 0;
  }
  
  .hero-content {
    padding: 0.5rem 0;
    padding-top: 275px;
}
  
  section {
    padding: 2rem 0;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .btn,
  #footer {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .card {
    box-shadow: none;
    border: 1px solid #ddd;
  }
  
  section {
    page-break-inside: avoid;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-image img,
  .card-img-top,
  .team-member img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Reduced Motion - Mobile Specific */
@media (max-width: 767.98px) and (prefers-reduced-motion: reduce) {
  * {
    animation: none;
    transition: none;
  }
  
  .card:hover,
  .feature-card:hover,
  .btn:hover,
  #gallery img:hover {
    transform: none;
  }
}

/* Focus Improvements for Mobile */
@media (max-width: 767.98px) {
  .btn:focus,
  .nav-link:focus,
  .form-control:focus {
    outline: 3px solid var(--primary-green);
    outline-offset: 2px;
  }
  
  /* Larger touch targets */
  .btn {
    min-height: 44px;
  }
  
  .nav-link {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  
  .navbar-toggler {
    min-height: 44px;
    min-width: 44px;
  }
} 