/*! Smart Locker Systems Template - Responsive CSS */

/* ===== MOBILE FIRST BREAKPOINTS ===== */

/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  /* Typography */
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.375rem;
  }
  
  h4 {
    font-size: 1.25rem;
  }
  
  /* Hero Section */
  .hero-section {
    min-height: 70vh;
    padding: 2rem 0;
  }
  
  .hero-decorative-shape {
    display: none;
  }
  
  /* Buttons */
  .btn-primary,
  .btn-outline-primary {
    width: 100%;
    margin-bottom: 1rem;
  }
  
  /* Cards */
  .card-body {
    padding: 1.5rem;
  }
  
  /* Team Members */
  .team-member img {
    width: 120px;
    height: 120px;
  }
  
  /* Gallery */
  .gallery-item img {
    height: 200px;
  }
  
  /* Price Cards */
  .price-amount {
    font-size: 2.5rem;
  }
  
  /* Navigation */
  .navbar-brand {
    font-size: 1.25rem !important;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  /* Hero Section */
  .hero-section {
    min-height: 75vh;
  }
  
  /* Cards */
  .card-body {
    padding: 1.75rem;
  }
  
  /* Team Members */
  .team-member img {
    width: 140px;
    height: 140px;
  }
  
  /* Gallery */
  .gallery-item img {
    height: 220px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* Hero Section */
  .hero-section {
    min-height: 85vh;
  }
  
  /* Typography */
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  /* Team Members */
  .team-member img {
    width: 160px;
    height: 160px;
  }
  
  /* Gallery */
  .gallery-item img {
    height: 230px;
  }
  
  /* Price Cards */
  .price-card.featured {
    transform: scale(1.02);
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  /* Hero Section */
  .hero-section {
    min-height: 90vh;
  }
  
  /* Typography */
  h1 {
    font-size: 2.125rem;
  }
  
  h2 {
    font-size: 1.875rem;
  }
  
  /* Team Members */
  .team-member img {
    width: 180px;
    height: 180px;
  }
  
  /* Gallery */
  .gallery-item img {
    height: 240px;
  }
}

/* Extra Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  /* Hero Section */
  .hero-section {
    min-height: 100vh;
  }
  
  /* Container Max Width */
  .container {
    max-width: var(--container-max-width);
  }
  
  /* Team Members */
  .team-member img {
    width: 200px;
    height: 200px;
  }
  
  /* Gallery */
  .gallery-item img {
    height: 250px;
  }
}

/* ===== MOBILE SPECIFIC ADJUSTMENTS ===== */
@media (max-width: 767.98px) {
  /* Remove hover effects on mobile */
  .card:hover {
    transform: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .gallery-item:hover {
    transform: none;
  }
  
  .btn-primary:hover,
  .btn-outline-primary:hover {
    transform: none;
  }
  
  /* Section spacing adjustments */
  .section-padding {
    padding: 3rem 0;
  }
  
  /* Navbar adjustments */
  .navbar-nav {
    text-align: center;
    padding-top: 1rem;
  }
  
  .navbar-nav .nav-item {
    margin-bottom: 0.5rem;
  }
  
  /* Footer adjustments */
  .footer {
    text-align: center;
  }
  
  .footer .row > div {
    margin-bottom: 2rem;
  }
  
  /* Form adjustments */
  .form-control {
    font-size: 16px; /* Prevent zoom on iOS */
  }
}

/* ===== TABLET SPECIFIC ADJUSTMENTS ===== */
@media (min-width: 768px) and (max-width: 1023px) {
  /* Grid adjustments for tablets */
  .col-md-6 {
    margin-bottom: 2rem;
  }
  
  /* Navigation adjustments */
  .navbar-nav .nav-link {
    padding: 0.5rem 0.75rem;
  }
}

/* ===== HIGH DPI DISPLAYS ===== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  /* Optimize images for retina displays */
  .team-member img,
  .gallery-item img {
    image-rendering: -webkit-optimize-contrast;
  }
}

/* ===== LANDSCAPE ORIENTATION ===== */
@media (orientation: landscape) and (max-height: 600px) {
  .hero-section {
    min-height: 100vh;
    padding: 1rem 0;
  }
  
  .section-padding {
    padding: 2rem 0;
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  /* Hide navigation and decorative elements */
  .navbar,
  .hero-decorative-shape,
  .btn,
  .footer {
    display: none !important;
  }
  
  /* Adjust typography for print */
  body {
    font-size: 12pt;
    line-height: 1.4;
    color: #000;
  }
  
  h1, h2, h3, h4, h5, h6 {
    color: #000;
    page-break-after: avoid;
  }
  
  /* Ensure content fits page */
  .container {
    width: 100% !important;
    max-width: none !important;
  }
  
  /* Add page breaks */
  section {
    page-break-inside: avoid;
  }
}

/* ===== ACCESSIBILITY ENHANCEMENTS ===== */
@media (prefers-reduced-motion: reduce) {
  /* Remove all animations and transitions for users who prefer reduced motion */
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===== DARK MODE SUPPORT ===== */

/* ===== UTILITY CLASSES FOR RESPONSIVE DESIGN ===== */
.text-center-mobile {
  text-align: center;
}

@media (min-width: 768px) {
  .text-center-mobile {
    text-align: left;
  }
}

.d-block-mobile {
  display: block;
}

@media (min-width: 768px) {
  .d-block-mobile {
    display: inline-block;
  }
}

.mb-mobile-3 {
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .mb-mobile-3 {
    margin-bottom: 0;
  }
} 

.hero-section h1 {
    padding-top: 150px;
}