/* ========================================
   RESPONSIVE STYLES
   ECO-FRIENDLY PET ACCESSORIES BRAND
======================================== */

/* Base Styles (Mobile First) */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .hero-shape-1 {
    width: 250px;
    height: 250px;
  }
  
  .hero-shape-2 {
    width: 200px;
    height: 200px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  /* Typography adjustments */
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.59rem;
  }
  
  /* Hero section */
  .hero-content {
    padding-right: 2rem;
    padding-top: 275px;
}
  
  .hero-shape-1 {
    width: 300px;
    height: 300px;
  }
  
  .hero-shape-2 {
    width: 250px;
    height: 250px;
  }
  
  /* Services grid */
  .service-card {
    margin-bottom: 2rem;
  }
  
  /* Gallery adjustments */
  .gallery-image {
    height: 300px;
  }
  
  /* Team cards */
  .team-image {
    height: 300px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  /* Navigation */
  .navbar-brand {
    font-size: 1.61rem;
  }
  
  /* Hero section */
  #hero {
    padding: 0;
  }
  
  .hero-content {
    padding-right: 3rem;
    padding-top: 275px;
}
  
  /* Section padding */
  .section-padding {
    padding: 6rem 0;
  }
  
  /* Gallery grid */
  .gallery-image {
    height: 350px;
  }
  
  /* Contact form */
  .contact-form {
    padding: 4rem;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  /* Typography */
  h1 {
    font-size: 3.57rem;
  }
  
  h2 {
    font-size: 3rem;
  }
  
  /* Hero adjustments */
  .hero-shape-1 {
    width: 400px;
    height: 400px;
  }
  
  .hero-shape-2 {
    width: 300px;
    height: 300px;
  }
  
  /* Section spacing */
  .section-padding {
    padding: 7rem 0;
  }
  
  /* Large container adjustments */
  .feature-item {
    padding: 3rem 2rem;
  }
  
  .gallery-image {
    height: 400px;
  }
}

/* Mobile-specific styles (max-width: 767px) */
@media (max-width: 767px) {
  /* Typography for mobile */
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.84rem;
  }
  
  h3 {
    font-size: 1.63rem;
  }
  
  /* Navigation */
  .navbar-brand {
    font-size: 1.19rem;
  }
  
  /* Hero section mobile */
  #hero {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-content {
    padding: 2rem 0;
    margin-bottom: 2rem;
    padding-top: 275px;
}
  
  .hero-shape {
    display: none; /* Hide decorative shapes on mobile */
  }
  
  /* Section padding mobile */
  .section-padding {
    padding: 3rem 0;
  }
  
  /* Cards on mobile */
  .service-card,
  .price-card,
  .team-card,
  .review-card {
    margin-bottom: 2rem;
  }
  
  /* Feature items mobile */
  .feature-item {
    padding: 1.5rem 1rem;
    margin-bottom: 1rem;
  }
  
  .feature-icon {
    font-size: 2.62rem;
  }
  
  /* Price amount mobile */
  .price-amount {
    font-size: 2.56rem;
  }
  
  /* Gallery mobile */
  .gallery-image {
    height: 200px;
    margin-bottom: 1rem;
  }
  
  /* Team image mobile */
  .team-image {
    height: 200px;
  }
  
  /* Contact form mobile */
  .contact-form {
    padding: 2rem 1.5rem;
    margin: 1rem;
  }
  
  /* FAQ mobile */
  .faq-card {
    padding: 1.5rem;
  }
  
  /* Button adjustments */
  .btn-primary,
  .btn-outline-primary {
    padding: 0.75rem 1.5rem;
    font-size: 1.01rem;
  }
}

/* Small mobile devices (max-width: 575px) */
@media (max-width: 575px) {
  /* Container padding */
  .container,
  .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  /* Typography extra small */
  h1 {
    font-size: 1.77rem;
  }
  
  h2 {
    font-size: 1.52rem;
  }
  
  p {
    font-size: 0.98rem;
  }
  
  /* Hero mobile */
  #hero {
    min-height: 70vh;
    padding: 2rem 0;
  }
  
  /* Section padding extra mobile */
  .section-padding {
    padding: 2rem 0;
  }
  
  /* Card adjustments */
  .service-card,
  .price-card,
  .review-card {
    padding: 1.5rem;
  }
  
  .team-card {
    margin-bottom: 1.67rem;
  }
  
  /* Contact form extra small */
  .contact-form {
    padding: 1.5rem 1rem;
    margin: 0.5rem;
  }
  
  /* Feature items extra small */
  .feature-item {
    padding: 1rem;
  }
  
  .feature-icon {
    font-size: 2rem;
  }
  
  /* Price amount extra small */
  .price-amount {
    font-size: 2rem;
  }
  
  /* Gallery extra small */
  .gallery-image {
    height: 180px;
  }
  
  /* Team image extra small */
  .team-image {
    height: 180px;
  }
}

/* Landscape phone orientation */
@media (max-height: 500px) and (orientation: landscape) {
  #hero {
    min-height: 100vh;
    padding: 1rem 0;
  }
  
  .section-padding {
    padding: 2rem 0;
  }
  
  .hero-content {
    padding: 1rem 0;
    padding-top: 275px;
}
}

/* Print styles */
@media print {
  /* Hide non-essential elements */
  .navbar,
  .hero-shape,
  .btn,
  .contact-form {
    display: none !important;
  }
  
  /* Adjust colors for print */
  body {
    color: #000;
    background: #fff;
  }
  
  /* Ensure readability */
  h1, h2, h3, h4, h5, h6 {
    color: #000;
    page-break-after: avoid;
  }
  
  /* Card adjustments for print */
  .service-card,
  .price-card,
  .team-card,
  .review-card,
  .faq-card {
    border: 1px solid #000;
    box-shadow: none;
    page-break-inside: avoid;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .service-card,
  .price-card,
  .team-card,
  .review-card,
  .faq-card {
    border: 2px solid var(--eco-charcoal);
  }
  
  .form-control {
    border: 2px solid var(--eco-charcoal);
  }
  
  .btn-primary {
    border: 2px solid var(--eco-charcoal);
  }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .hero-shape,
  .service-card,
  .price-card,
  .gallery-image,
  .btn-primary {
    transition: none;
    transform: none !important;
  }
  
  .fade-in {
    opacity: 1;
    animation: none;
  }
}

/* Dark mode support (if system prefers dark) */