/* ===================================
   RESPONSIVE STYLES - KEYBOARD SHOP
   Bootstrap 5 Compatible (No Grid Overrides)
   =================================== */

/* ===================================
   EXTRA LARGE DEVICES (≥1400px)
   =================================== */
@media (min-width: 1400px) {
  .hero-section .container-xxl {
    max-width: 1320px;
  }
  
  .section-padding {
    padding: 5rem 0;
  }
  
  .hero-decorative-shape-1 {
    width: 250px;
    height: 250px;
  }
  
  .hero-decorative-shape-2 {
    width: 200px;
    height: 200px;
  }
}

/* ===================================
   LARGE DEVICES (≥1200px)
   =================================== */
@media (min-width: 1200px) {
  .services-card {
    padding: 2.5rem 2rem;
  }
  
  .feature-item {
    padding: 2.5rem 1.5rem;
  }
  
  .contact-form {
    padding: 2.5rem;
  }
}

/* ===================================
   MEDIUM DEVICES (≥768px)
   =================================== */
@media (min-width: 768px) {
  .hero-section {
    min-height: 80vh;
  }
  
  .section-title {
    text-align: center;
  }
  
  .section-subtitle {
    text-align: center;
  }
  
  .section-description {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
  }
  
  .services-card img {
    height: 220px;
  }
  
  .team-card img {
    height: 280px;
  }
}

/* ===================================
   SMALL DEVICES (≥576px)
   =================================== */
@media (min-width: 576px) {
  .hero-decorative-shape-1 {
    display: block;
  }
  
  .hero-decorative-shape-2 {
    display: block;
  }
  
  .navbar-brand {
    font-size: 10px !important;
    font-size: var(--font-size-xl);
  }
  
  .contact-form {
    margin-top: 2rem;
  }
}

/* ===================================
   EXTRA SMALL DEVICES (<576px)
   =================================== */
@media (max-width: 575.98px) {
  .hero-section {
    min-height: 70vh;
    text-align: center;
  }
  
  .hero-decorative-shape {
    display: none;
  }
  
  .section-padding {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: var(--font-size-h2);
    text-align: center;
  }
  
  .section-subtitle {
    font-size: var(--font-size-base);
    text-align: center;
  }
  
  .section-description {
    font-size: var(--font-size-small);
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .navbar-brand {
    font-size: 10px !important;
    font-size: var(--font-size-base);
  }
  
  .navbar-nav .nav-link {
    font-size: 10px !important;
    font-size: var(--font-size-small);
    padding: 0.5rem 1rem;
  }
  
  .services-card {
    padding: 1.5rem 1rem;
    margin-bottom: 2rem;
  }
  
  .services-card img {
    height: 180px;
  }
  
  .feature-item {
    padding: 1.5rem 1rem;
    margin-bottom: 1.69rem;
  }
  
  .feature-icon {
    font-size: 2.57rem;
  }
  
  .team-card {
    margin-bottom: 2rem;
  }
  
  .team-card img {
    height: 220px;
  }
  
  .review-card {
    padding: 1.5rem;
    margin-bottom: 1.65rem;
  }
  
  .faq-card {
    padding: 1rem;
  }
  
  .contact-form {
    padding: 1.5rem;
    margin-top: 1rem;
  }
  
  .btn-primary {
    width: 100%;
    padding: 1rem 2rem;
    font-size: var(--font-size-base);
  }
  
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  .footer .col-md-4 {
    margin-bottom: 2rem;
  }
}

/* ===================================
   LANDSCAPE PHONE ORIENTATION
   =================================== */
@media (max-width: 767.98px) and (orientation: landscape) {
  .hero-section {
    min-height: 60vh;
  }
  
  .section-padding {
    padding: 2rem 0;
  }
}

/* ===================================
   PRINT STYLES
   =================================== */
@media print {
  .hero-decorative-shape,
  .navbar,
  .footer,
  .btn {
    display: none;
  }
  
  .hero-section {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .section-padding {
    padding: 1rem 0;
  }
  
  * {
    color: #000000 !important;
    background: #ffffff !important;
  }
}

/* ===================================
   HIGH DPI DISPLAYS
   =================================== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .services-card img,
  .team-card img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* ===================================
   REDUCED MOTION PREFERENCES
   =================================== */
@media (prefers-reduced-motion: reduce) {
  .services-card:hover,
  .team-card:hover {
    transform: none;
  }
  
  .hero-section {
    background: var(--light-lavender);
  }
}

/* ===================================
   DARK MODE PREFERENCES
   =================================== */

/* ===================================
   CONTAINER MAX-WIDTH ADJUSTMENTS
   =================================== */
@media (min-width: 1200px) {
  .container-custom {
    max-width: 1140px;
  }
}

@media (min-width: 1400px) {
  .container-custom {
    max-width: 1320px;
  }
}

/* ===================================
   SPACING UTILITIES FOR MOBILE
   =================================== */
@media (max-width: 575.98px) {
  .mb-mobile-0 { margin-bottom: 0 !important; }
  .mb-mobile-1 { margin-bottom: 0.43rem !important; }
  .mb-mobile-2 { margin-bottom: 0.62rem !important; }
  .mb-mobile-3 { margin-bottom: 1rem !important; }
  .mb-mobile-4 { margin-bottom: 1.70rem !important; }
  .mb-mobile-5 { margin-bottom: 3rem !important; }
  
  .mt-mobile-0 { margin-top: 0 !important; }
  .mt-mobile-1 { margin-top: 0.49rem !important; }
  .mt-mobile-2 { margin-top: 0.70rem !important; }
  .mt-mobile-3 { margin-top: 1rem !important; }
  .mt-mobile-4 { margin-top: 1.61rem !important; }
  .mt-mobile-5 { margin-top: 3rem !important; }
} 

.hero-section h1 {
    padding-top: 150px;
}