/* Responsive CSS for Peer-to-Peer Gear Rental for Musicians */

/* Mobile First Approach */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .hero-section h1 {
    font-size: 2.5rem;
    padding-top: 250px;
}
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .hero-section h1 {
    font-size: 3rem;
    padding-top: 250px;
}
  
  .section-padding {
    padding: 6rem 0;
  }
  
  .navbar-brand {
    font-size: 1.5rem !important;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .hero-section h1 {
    font-size: 3.5rem;
    padding-top: 250px;
}
  
  .section-padding {
    padding: 7rem 0;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-section h1 {
    font-size: 4rem;
    padding-top: 250px;
}
}

/* Mobile Specific Styles (767px and below) */
@media (max-width: 767.98px) {
  /* No animations on mobile as per requirements */
  * {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
  
  /* Conservative mobile typography */
  .navbar-brand {
    font-size: 1.1rem !important;
  }
  
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  /* Mobile hero adjustments */
  .hero-section {
    min-height: 70vh;
    text-align: center;
  }
  
  .hero-decoration {
    display: none; /* Hide decorative elements on mobile */
  }
  
  /* Mobile section spacing */
  .section-padding {
    padding: 3rem 0;
  }
  
  /* Mobile cards */
  .service-card,
  .team-card,
  .price-card {
    margin-bottom: 1.5rem;
  }
  
  /* Mobile forms */
  .contact-form {
    padding: 2rem 1rem;
  }
  
  /* Mobile gallery */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  /* Mobile navigation spacing */
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
  }
  
  /* Mobile footer */
  .footer {
    text-align: center;
    padding: 2rem 0 1rem;
  }
  
  .footer .row > div {
    margin-bottom: 2rem;
  }
  
  /* Mobile price cards - remove scale effect */
  .price-card.featured {
    transform: none;
    border-color: var(--primary-mint);
  }
  
  /* Mobile team cards - remove hover effects */
  .team-card:hover {
    transform: none;
  }
  
  /* Mobile service cards - remove hover effects */
  .service-card:hover {
    transform: none;
  }
  
  /* Mobile process steps */
  .process-step {
    padding: 1.5rem 0.5rem;
  }
  
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  /* Mobile core info */
  .core-info-item {
    padding: 1.5rem 0.5rem;
    margin-bottom: 1rem;
  }
  
  .core-info-icon {
    font-size: 2rem;
  }
  
  /* Mobile timeline */
  .timeline-item {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  /* Mobile career cards */
  .career-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  
  /* Mobile case studies */
  .case-study-card {
    margin-bottom: 1.5rem;
  }
  
  /* Mobile blog cards */
  .blog-card {
    margin-bottom: 1.5rem;
  }
  
  .blog-card .card-img-top {
    height: 180px;
  }
  
  /* Mobile breadcrumb */
  .breadcrumb-container {
    padding: 0.5rem 0;
  }
}

/* Tablet Portrait Styles (768px to 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .section-padding {
    padding: 4rem 0;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-section {
    min-height: 80vh;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .hero-decoration,
  .btn,
  .contact-form {
    display: none !important;
  }
  
  .hero-section {
    min-height: auto;
    background: none !important;
  }
  
  .section-padding {
    padding: 2rem 0;
  }
  
  * {
    color: #000 !important;
    background: transparent !important;
  }
}

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

/* Landscape Phone Styles */
@media (max-width: 767.98px) and (orientation: landscape) {
  .hero-section {
    min-height: 50vh;
  }
  
  .section-padding {
    padding: 2rem 0;
  }
}

/* Focus States for Accessibility */
@media (any-hover: hover) {
  .btn:hover,
  .card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .gallery-item img:hover,
  .service-card:hover,
  .team-card:hover,
  .blog-card:hover {
    transform: none !important;
  }
} 