/* Responsive CSS for Recycled-Cardboard Eco-Signage Studio */

/* Mobile First Approach */
/* Base styles are for mobile devices */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .hero h1 {
    font-size: 2.59rem;
  }
  
  .hero p {
    font-size: 1.21rem;
  }
  
  .container {
    max-width: 540px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .hero h1 {
    font-size: 3rem;
  }
  
  .hero p {
    font-size: 1.33rem;
  }
  
  .container {
    max-width: 720px;
  }
  
  .navbar-nav {
    flex-direction: row;
  }
  
  .navbar-nav .nav-link {
    margin: 0 0.5rem;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
  
  .team-member {
    margin-bottom: 3rem;
  }
  
  /* Gallery uses Bootstrap grid */
  
  .contact-form {
    padding: 2rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
  
  .hero h1 {
    font-size: 3.63rem;
  }
  
  .hero p {
    font-size: 1.44rem;
  }
  
  .section-padding {
    padding: 5rem 0;
  }
  
  /* Gallery uses Bootstrap grid */
  
  .contact-form {
    padding: 3rem;
  }
  
  .navbar-expand-lg .navbar-nav .nav-link {
    padding: 0.5rem 1rem;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero h1 {
    font-size: 4rem;
  }
  
  .hero p {
    font-size: 1.43rem;
  }
  
  /* Gallery and coreinfo use Bootstrap grid */
}

/* Extra extra large devices (1400px and up) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  .hero h1 {
    font-size: 4.63rem;
  }
}

/* Mobile specific adjustments */
@media (max-width: 578px) {
  .hero {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .service-card,
  .feature-card,
  .price-card,
  .review-card,
  .blog-card,
  .casestudy-card,
  .timeline-item,
  .career-card {
    margin-bottom: 1rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .team-member img {
    width: 150px;
    height: 150px;
  }
  
  /* Gallery and coreinfo use Bootstrap grid */
  
  .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
  }
  
  .navbar-collapse {
    background: white;
    border-radius: 10px;
    margin-top: 1rem;
    padding: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  .footer {
    text-align: center;
    padding: 2rem 0 1rem;
  }
  
  .footer .row > div {
    margin-bottom: 2rem;
  }
}

/* Tablet portrait adjustments */
@media (min-width: 576px) and (max-width: 767px) {
  .hero h1 {
    font-size: 2.89rem;
  }
  
  /* Gallery uses Bootstrap grid */
}

/* Print styles */
@media print {
  .navbar,
  .footer {
    display: none;
  }
  
  .hero {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .section {
    padding: 1rem 0;
  }
  
  .service-card,
  .feature-card,
  .price-card,
  .review-card,
  .blog-card,
  .casestudy-card,
  .timeline-item,
  .career-card {
    box-shadow: none;
    border: 1px solid #e0ddde;
  }
  
  .contact-form {
    box-shadow: none;
    border: 1px solid #d8c7ca;
  }
  
  /* Gallery uses Bootstrap grid */
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2),
       (min-resolution: 192dpi) {
  .hero::before {
    background-image: url('../COR_images/hero-bg-2x.webp');
  }
}

/* Landscape phone adjustments */
@media (max-width: 767px) and (orientation: landscape) {
  .hero {
    min-height: 70vh;
  }
  
  .section {
    padding: 2rem 0;
  }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  .service-card,
  .feature-card,
  .price-card,
  .review-card,
  .blog-card,
  .casestudy-card,
  .timeline-item,
  .career-card,
  .gallery-item {
    transition: none;
  }
  
  .service-card:hover,
  .feature-card:hover,
  .price-card:hover,
  .gallery-item:hover {
    transform: none;
  }
  
  .btn-primary:hover {
    transform: none;
  }
}

/* Dark mode support (optional) */

/* Focus styles for accessibility */
@media (min-width: 768px) {
  .nav-link:focus,
  .btn-primary:focus,
  .form-group input:focus,
  .form-group textarea:focus,
  .faq-question:focus {
    outline: 3px solid var(--primary-orange);
    outline-offset: 2px;
  }
} 

.hero-content {
    padding-top: 275px;
}