/* ================================
   RESPONSIVE CSS - Mobile First Design
   Biophilic Office Consultancy Template
   ================================ */

/* Mobile First Base Styles (320px+) */
/* Base styles are already defined in main.css */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .hero h1 {
    font-size: 2.63rem;
  }
  
  .hero p {
    font-size: 1.17rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .contact-form,
  .contact-info {
    padding: 2rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .hero {
    padding: 2rem 0;
  }
  
  .hero h1 {
    font-size: 3rem;
  }
  
  .hero p {
    font-size: 1.33rem;
  }
  
  .section-title h2 {
    font-size: 2.58rem;
  }
  
  .navbar-nav {
    flex-direction: row;
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 1rem;
  }
  
  .service-card {
    margin-bottom: 0;
  }
  
  .about-feature {
    margin-bottom: 0;
  }
  
  .feature-item {
    margin-bottom: 0;
  }
  
  .price-card {
    margin-bottom: 0;
  }
  
  .team-member {
    margin-bottom: 0;
  }
  
  .review-card {
    margin-bottom: 0;
  }
  
  .casestudy-card {
    margin-bottom: 0;
  }
  
  .timeline-item {
    margin-bottom: 0;
  }
  
  .career-card {
    margin-bottom: 0;
  }
  
  .coreinfo-item {
    margin-bottom: 0;
  }
  
  .blog-card {
    margin-bottom: 0;
  }
  
  .gallery-item {
    margin-bottom: 0;
  }
  
  .process-step {
    margin-bottom: 0;
  }
  
  .contact-form,
  .contact-info {
    padding: 3rem;
  }
}

/* Large devices (desktops, 993px and up) */
@media (min-width: 992px) {
  .hero h1 {
    font-size: 3.51rem;
  }
  
  .hero p {
    font-size: 1.46rem;
  }
  
  .section-title h2 {
    font-size: 3rem;
  }
  
  .navbar {
    padding: 1.5rem 0;
  }
  
  .navbar-brand {
    font-size: 1.87rem;
  }
  
  .service-card img {
    height: 250px;
  }
  
  .gallery-item img {
    height: 300px;
  }
  
  .blog-card img {
    height: 250px;
  }
  
  .hero-image {
    height: 500px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero h1 {
    font-size: 4rem;
  }
  
  .hero p {
    font-size: 1.55rem;
  }
  
  .section-title h2 {
    font-size: 3.57rem;
  }
  
  .container {
    max-width: var(--container-max-width);
  }
  
  .service-card img {
    height: 280px;
  }
  
  .gallery-item img {
    height: 350px;
  }
  
  .blog-card img {
    height: 280px;
  }
  
  .hero-image {
    height: 600px;
  }
}

/* Extra extra large devices (1400px and up) */
@media (min-width: 1400px) {
  .hero h1 {
    font-size: 4.54rem;
  }
  
  .section-title h2 {
    font-size: 4rem;
  }
  
  .service-card img {
    height: 300px;
  }
  
  .gallery-item img {
    height: 400px;
  }
  
  .blog-card img {
    height: 300px;
  }
  
  .hero-image {
    height: 700px;
  }
}

/* Portrait tablet and small desktop */
@media (min-width: 768px) and (max-width: 991px) {
  .hero h1 {
    font-size: 2.79rem;
  }
  
  .service-card {
    min-height: 400px;
  }
  
  .price-card {
    min-height: 450px;
  }
  
  .team-member {
    min-height: 350px;
  }
}

/* Mobile landscape and portrait tablet */
@media (max-width: 767px) {
  .hero {
    text-align: center;
    padding: 1rem 0;
  }
  
  .hero h1 {
    font-size: 2.34rem;
    margin-bottom: 1rem;
  }
  
  .hero p {
    font-size: 1rem;
    margin-bottom: 1.70rem;
  }
  
  .section-title h2 {
    font-size: 1.99rem;
  }
  
  .section-title p {
    font-size: 1rem;
  }
  
  .navbar-brand {
    font-size: 1.36rem;
  }
  
  .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
  }
  
  .navbar-collapse {
    background: white;
    margin-top: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
  
  .navbar-nav {
    padding: 1rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--color-accent);
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
  
  .service-card,
  .about-feature,
  .feature-item,
  .price-card,
  .team-member,
  .review-card,
  .casestudy-card,
  .timeline-item,
  .career-card,
  .coreinfo-item,
  .blog-card,
  .gallery-item,
  .process-step {
    margin-bottom: 1.60rem;
  }
  
  .service-card img,
  .gallery-item img,
  .blog-card img {
    height: 200px;
  }
  
  .hero-image {
    height: 250px;
    margin-top: 2rem;
  }
  
  .contact-form,
  .contact-info {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .team-member img {
    width: 120px;
    height: 120px;
  }
  
  .price-card .price {
    font-size: 2.61rem;
  }
  
  .footer {
    text-align: center;
    padding: 2rem 0 1rem;
  }
  
  .footer .row > div {
    margin-bottom: 2rem;
  }
  
  .footer .row > div:last-child {
    margin-bottom: 0;
  }
}

/* Small mobile devices */
@media (max-width: 575px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1.02rem;
  }
  
  .section-title h2 {
    font-size: 1.77rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .navbar-brand {
    font-size: 1.23rem;
  }
  
  .service-card,
  .about-feature,
  .feature-item,
  .price-card,
  .team-member,
  .review-card,
  .casestudy-card,
  .timeline-item,
  .career-card,
  .coreinfo-item,
  .blog-card,
  .gallery-item,
  .process-step {
    padding: 1.5rem;
  }
  
  .contact-form,
  .contact-info {
    padding: 1rem;
  }
  
  .team-member img {
    width: 100px;
    height: 100px;
  }
  
  .price-card .price {
    font-size: 2rem;
  }
  
  .hero-image {
    height: 200px;
  }
  
  .service-card img,
  .gallery-item img,
  .blog-card img {
    height: 150px;
  }
  
  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.93rem;
  }
  
  .section-title {
    margin-bottom: 2rem;
  }
  
  .about-feature i,
  .feature-item i {
    font-size: 2.59rem;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero::before {
    background-image: url('ZON_assets/ZON_images/hero-bg@2x.webp');
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .contact-form {
    display: none;
  }
  
  .hero {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .section {
    padding: 1rem 0;
  }
  
  * {
    background: white !important;
    color: black !important;
    box-shadow: none !important;
  }
  
  a {
    text-decoration: underline !important;
  }
  
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
  }
  
  .service-card,
  .about-feature,
  .feature-item,
  .price-card,
  .team-member,
  .review-card,
  .casestudy-card,
  .timeline-item,
  .career-card,
  .coreinfo-item,
  .blog-card,
  .gallery-item,
  .process-step {
    page-break-inside: avoid;
    border: 1px solid #d0d0d0 !important;
    margin-bottom: 1rem;
  }
}

/* Dark mode preference (if user has dark mode enabled) */

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .hero::before {
    animation: none;
  }
  
  .service-card:hover,
  .about-feature:hover,
  .feature-item:hover,
  .price-card:hover,
  .team-member:hover,
  .review-card:hover,
  .casestudy-card:hover,
  .timeline-item:hover,
  .career-card:hover,
  .coreinfo-item:hover,
  .blog-card:hover,
  .gallery-item:hover,
  .process-step:hover {
    transform: none;
  }
  
  .btn:hover {
    transform: none;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .service-card,
  .about-feature,
  .feature-item,
  .price-card,
  .team-member,
  .review-card,
  .casestudy-card,
  .timeline-item,
  .career-card,
  .coreinfo-item,
  .blog-card,
  .gallery-item,
  .process-step {
    border: 2px solid var(--color-primary);
  }
  
  .btn {
    border: 2px solid currentColor;
  }
  
  .navbar {
    border-bottom: 2px solid var(--color-primary);
  }
  
  .footer {
    border-top: 2px solid var(--color-secondary);
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
  
  .navbar-nav .nav-link {
    padding: 1rem;
  }
  
  .faq-question {
    padding: 1.5rem;
  }
  
  .service-card,
  .about-feature,
  .feature-item,
  .price-card,
  .team-member,
  .review-card,
  .casestudy-card,
  .timeline-item,
  .career-card,
  .coreinfo-item,
  .blog-card,
  .gallery-item,
  .process-step {
    transition: none;
  }
  
  .service-card:hover,
  .about-feature:hover,
  .feature-item:hover,
  .price-card:hover,
  .team-member:hover,
  .review-card:hover,
  .casestudy-card:hover,
  .timeline-item:hover,
  .career-card:hover,
  .coreinfo-item:hover,
  .blog-card:hover,
  .gallery-item:hover,
  .process-step:hover {
    transform: none;
  }
} 

.hero-content {
    padding-top: 275px;
}