/* Local Makers' Gift Guide - Responsive CSS */

/* Mobile First Approach */
@media (max-width: 575.98px) {
  /* Extra Small devices */
  .navbar-brand {
    font-size: 1.18rem;
  }
  
  .navbar-nav {
    text-align: center;
    margin-top: 1.06rem;
  }
  
  #hero .hero-title {
    font-size: 2.04rem;
  }
  
  #hero .hero-subtitle {
    font-size: 1.23rem;
  }
  
  .service-card,
  .price-card,
  .about-feature {
    margin-bottom: 1.59rem;
    padding: 1.5rem;
  }
  
  .team-member img {
    width: 120px;
    height: 120px;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .section-padding {
    padding: 2.5rem 0;
  }
  
  .process-step .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.27rem;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  /* Small devices */
  .navbar-brand {
    font-size: 1.31rem;
  }
  
  #hero .hero-title {
    font-size: 2.35rem;
  }
  
  #hero .hero-subtitle {
    font-size: 1.27rem;
  }
  
  .team-member img {
    width: 150px;
    height: 150px;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .section-padding {
    padding: 3.5rem 0;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  /* Medium devices */
  .navbar-brand {
    font-size: 1.27rem;
  }
  
  #hero .hero-title {
    font-size: 2.89rem;
  }
  
  #hero .hero-subtitle {
    font-size: 1.47rem;
  }
  
  .service-card {
    min-height: 450px;
  }
  
  .price-card {
    min-height: 500px;
  }
  
  .team-member img {
    width: 180px;
    height: 180px;
  }
  
  .section-padding {
    padding: 4rem 0;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  /* Large devices */
  #hero .hero-title {
    font-size: 3.13rem;
  }
  
  #hero .hero-subtitle {
    font-size: 1.45rem;
  }
  
  .service-card {
    min-height: 480px;
  }
  
  .price-card {
    min-height: 520px;
  }
}

@media (min-width: 1200px) {
  /* Extra Large devices */
  #hero .hero-title {
    font-size: 3.57rem;
  }
  
  #hero .hero-subtitle {
    font-size: 1.52rem;
  }
  
  .service-card {
    min-height: 500px;
  }
  
  .price-card {
    min-height: 550px;
  }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 500px) {
  #hero {
    min-height: 80vh;
  }
  
  .section-padding {
    padding: 3rem 0;
  }
}

/* Touch device specific styles */
@media (hover: none) and (pointer: coarse) {
  .service-card:hover,
  .about-feature:hover,
  .team-member:hover img,
  .gallery-item:hover,
  .career-item:hover {
    transform: none;
  }
  
  .btn-primary:hover {
    transform: none;
  }
  
  .price-card:hover {
    transform: none;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .service-card img,
  .gallery-item img,
  .team-member img {
    image-rendering: -webkit-optimize-contrast;
  }
}

/* Print styles */
@media print {
  * {
    background: white !important;
    color: black !important;
    text-shadow: none !important;
    box-shadow: none !important;
  }
  
  .navbar,
  .btn,
  .contact-form,
  .hero-shape {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.5;
  }
  
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
  }
  
  .section-padding {
    padding: 1rem 0;
  }
}

/* Container adjustments for better spacing */
@media (max-width: 1199.98px) {
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Navigation improvements for mobile */
@media (max-width: 991.98px) {
  .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
  }
  
  .navbar-toggler:focus {
    box-shadow: none;
  }
  
  .navbar-collapse {
    margin-top: 1.06rem;
    padding-top: 1.11rem;
    border-top: 1px solid rgba(255,255,255,0.2);
  }
  
  .navbar-nav .nav-item {
    text-align: center;
    margin: 0.5rem 0;
  }
}

/* Form improvements for touch devices */
@media (max-width: 767.98px) {
  .form-control {
    padding: 1rem;
    font-size: 1.06rem;
  }
  
  .btn-primary {
    padding: 1rem 1.5rem;
    width: 100%;
  }
}

/* Gallery responsive grid */
@media (max-width: 575.98px) {
  .gallery-item {
    margin-bottom: 1.14rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .gallery-item img {
    height: 220px;
  }
}

@media (min-width: 768px) {
  .gallery-item img {
    height: 250px;
  }
}

/* Blog grid responsive */
@media (max-width: 767.98px) {
  .blog-item {
    margin-bottom: 1.59rem;
  }
}

/* Team grid responsive */
@media (max-width: 767.98px) {
  .team-member {
    margin-bottom: 2.24rem;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .team-member {
    margin-bottom: 2.70rem;
  }
}

/* FAQ responsive */
@media (max-width: 767.98px) {
  .faq-question,
  .faq-answer {
    padding: 1rem;
  }
}

/* Services grid responsive */
@media (max-width: 575.98px) {
  .service-card {
    padding: 1.5rem;
  }
  
  .service-card img {
    height: 150px;
  }
  
  .service-price {
    font-size: 1.52rem;
  }
}

/* Price plans responsive */
@media (max-width: 767.98px) {
  .price-card {
    padding: 2rem 1.5rem;
  }
  
  .price-amount {
    font-size: 2.63rem;
  }
}

/* Hero section responsive background */
@media (max-width: 767.98px) {
  #hero::before {
    opacity: 0.2;
  }
  
  .hero-shape-1,
  .hero-shape-2 {
    display: none;
  }
}

/* Timeline responsive */
@media (max-width: 767.98px) {
  .timeline-item {
    padding: 1.5rem;
    margin-left: 1rem;
  }
  
  .timeline-item::before {
    left: -15px;
  }
}

/* Process steps responsive */
@media (max-width: 767.98px) {
  .process-step {
    margin-bottom: 2.24rem;
  }
}

/* Core info responsive */
@media (max-width: 767.98px) {
  .core-info-item {
    padding: 1.5rem;
  }
  
  .core-info-item i {
    font-size: 2.63rem;
  }
} 