/* Responsive CSS for Non-Electric Gadgets Store Template */

/* Mobile First Approach - Default styles for small screens */

/* Base responsive utilities */
.container-fluid {
  padding-left: 15px;
  padding-right: 15px;
}

/* Mobile styles (default - up to 767px) */
@media (max-width: 767.98px) {
  /* Typography adjustments */
  h1 {
    font-size: 1.82rem;
  }
  
  h2 {
    font-size: 1.57rem;
  }
  
  h3 {
    font-size: 1.29rem;
  }
  
  /* Navigation */
  .navbar-nav {
    text-align: center;
    margin-top: 1.07rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  
  /* Hero section */
  .hero-section {
  padding-top: 50px;
    min-height: 70vh;
    padding: 2rem 0;
  }
  
  .hero-content {
  padding-top: 100px !important;
    text-align: center;
  }
  
  .hero-decorative {
    display: none; /* Hide decorative elements on mobile */
  }
  
  /* Section padding */
  .section-padding {
    padding: 40px 0;
  }
  
  /* Services cards */
  .services-card {
    margin-bottom: 1.66rem;
    padding: 1.5rem;
  }
  
  .services-card img {
    height: 150px;
  }
  
  /* Features grid */
  .features-item {
    margin-bottom: 1.66rem;
    padding: 1.5rem;
  }
  
  .features-item i {
    font-size: 2.01rem;
  }
  
  /* Price plans */
  .priceplan-card {
    padding: 2rem 1.5rem;
    margin-bottom: 1.66rem;
  }
  
  .priceplan-price {
    font-size: 2.57rem;
  }
  
  /* Team members */
  .team-member {
    padding: 1.5rem;
    margin-bottom: 1.66rem;
  }
  
  .team-member img {
    width: 120px;
    height: 120px;
  }
  
  /* Reviews slider */
  .reviews-slide {
    padding: 2rem;
    margin: 0.5rem;
  }
  
  /* Process steps */
  .process-number {
    width: 60px;
    height: 60px;
    font-size: 1.57rem;
  }
  
  /* Contact form */
  .contact-form {
    padding: 2rem;
  }
  
  /* Blog items */
  .blog-item {
    margin-bottom: 1.66rem;
  }
  
  .blog-content {
    padding: 1.5rem;
  }
  
  /* FAQ */
  .faq-question {
    padding: 1rem;
  }
  
  .faq-answer {
    padding: 1rem;
  }
  
  /* Gallery */
  .gallery-item img {
    height: 200px;
  }
  
  /* Footer */
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  /* Space page */
  #space {
    min-height: 50vh;
    font-size: 1.57rem;
    padding: 2rem;
  }
  
  /* Disable animations on mobile for Swiper */
  .swiper-slide {
    animation: none !important;
    transition: none !important;
  }
}

/* Tablet styles (768px to 991.98px) */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* Hero section */
  .hero-section {
  padding-top: 50px;
    min-height: 80vh;
  }
  
  /* Services grid - 2 columns */
  .services-row .col-md-6 {
    margin-bottom: 2.20rem;
  }
  
  /* Features grid - 2 columns */
  .features-row .col-md-6 {
    margin-bottom: 2.20rem;
  }
  
  /* Price plans - stack on tablet */
  .priceplan-card {
    margin-bottom: 2.20rem;
  }
  
  /* Team members - 2 per row */
  .team-row .col-md-6 {
    margin-bottom: 2.20rem;
  }
  
  /* Blog - 2 columns */
  .blog-row .col-md-6 {
    margin-bottom: 2.20rem;
  }
  
  /* Core info - 2 per row */
  .coreinfo-row .col-md-6 {
    margin-bottom: 2.20rem;
  }
}

/* Desktop styles (992px and up) */
@media (min-width: 992px) {
  /* Hero section full height */
  .hero-section {
  padding-top: 50px;
    min-height: 100vh;
  }
  
  /* Services grid - 3 columns */
  .services-row .col-lg-4 {
    margin-bottom: 2.20rem;
  }
  
  /* Features grid - 4 columns */
  .features-row .col-lg-3 {
    margin-bottom: 2.20rem;
  }
  
  /* Price plans - 3 columns */
  .priceplan-row .col-lg-4 {
    margin-bottom: 2.20rem;
  }
  
  /* Team members - 5 per row, adjusting for equal distribution */
  .team-row .col-lg-2-4 {
    flex: 0 0 20%;
    max-width: 20%;
  }
  
  /* Blog - 3 columns */
  .blog-row .col-lg-4 {
    margin-bottom: 2.20rem;
  }
  
  /* Core info - 3 per row */
  .coreinfo-row .col-lg-4 {
    margin-bottom: 2.20rem;
  }
  
  /* Gallery - 4 columns */
  .gallery-row .col-lg-3 {
    margin-bottom: 2.20rem;
  }
}

/* Large desktop styles (1200px and up) */
@media (min-width: 1200px) {
  /* Container adjustments */
  .container {
    max-width: 1140px;
  }
  
  /* Enhanced hover effects for large screens */
  .services-card:hover {
    transform: translateY(-15px);
  }
  
  .team-member:hover {
    transform: translateY(-15px);
  }
  
  .blog-item:hover {
    transform: translateY(-15px);
  }
}

/* Extra large desktop styles (1400px and up) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  /* Section padding increase for very large screens */
  .section-padding {
    padding: 100px 0;
  }
}

/* Print styles */
@media print {
  /* Hide non-essential elements */
  .navbar,
  .hero-decorative,
  .footer,
  .swiper-pagination,
  .swiper-button-prev,
  .swiper-button-next {
    display: none !important;
  }
  
  /* Adjust colors for print */
  * {
    background: white !important;
    color: black !important;
    box-shadow: none !important;
  }
  
  /* Ensure proper page breaks */
  .section-padding {
    page-break-inside: avoid;
  }
  
  /* Adjust font sizes for print */
  body {
    font-size: 12pt;
  }
  
  h1 { font-size: 18pt; }
  h2 { font-size: 16pt; }
  h3 { font-size: 14pt; }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --text-dark: #000000;
    --support-light: #ffffff;
  }
  
  .services-card,
  .priceplan-card,
  .team-member,
  .blog-item {
    border: 2px solid #000000;
  }
}

/* Landscape orientation adjustments for mobile */
@media (max-width: 767.98px) and (orientation: landscape) {
  .hero-section {
  padding-top: 50px;
    min-height: 60vh;
  }
  
  #space {
    min-height: 40vh;
  }
  
  .section-padding {
    padding: 30px 0;
  }
}
