/* B2B Virtual Trade-Show Booth Template - Responsive Styles */

/* Mobile First Approach */
@media (max-width: 575.98px) {
  /* Typography adjustments for mobile */
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  /* Section padding for mobile */
  .section-padding {
    padding: 3rem 0;
  }
  
  .section-padding-sm {
    padding: 2rem 0;
  }
  
  /* Hero section mobile */
  .hero-section {
    min-height: 70vh;
    text-align: center;
  }
  
  .hero-decorative {
    display: none;
  }
  
  /* Service cards mobile */
  .service-card {
    margin-bottom: 1.5rem;
  }
  
  /* Team cards mobile */
  .team-image {
    height: 200px;
  }
  
  /* Price cards mobile */
  .price-card.featured {
    transform: none;
  }
  
  /* Contact form mobile */
  .contact-form,
  .contact-info {
    margin-bottom: 1.5rem;
  }
  
  /* Gallery mobile */
  .gallery-item img {
    height: 150px;
  }
  
  /* Blog cards mobile */
  .blog-image {
    height: 150px;
  }
  
  /* No scroll animations on mobile */
  .sal-animate {
    animation: none;
    opacity: 1;
    transform: none;
  }
  
  /* Disable hover effects on mobile */
  .service-card:hover,
  .team-card:hover,
  .blog-card:hover {
    transform: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }
  
  .gallery-item:hover img {
    transform: none;
  }
}

/* Tablet Portrait */
@media (min-width: 576px) and (max-width: 767.98px) {
  .section-padding {
    padding: 4rem 0;
  }
  
  .hero-section {
    min-height: 80vh;
  }
  
  .team-image {
    height: 220px;
  }
  
  .gallery-item img {
    height: 180px;
  }
  
  .blog-image {
    height: 180px;
  }
}

/* Tablet Landscape */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-decorative:nth-child(1) {
    width: 150px;
    height: 150px;
  }
  
  .hero-decorative:nth-child(2) {
    width: 100px;
    height: 100px;
  }
}

/* Desktop */
@media (min-width: 992px) {
  /* Enhanced hover effects for desktop */
  .service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
  }
  
  .team-card:hover {
    transform: translateY(-8px);
  }
  
  .blog-card:hover {
    transform: translateY(-8px);
  }
}

/* Large Desktop */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero-decorative:nth-child(1) {
    width: 250px;
    height: 250px;
  }
  
  .hero-decorative:nth-child(2) {
    width: 180px;
    height: 180px;
  }
}

/* Extra Large Desktop */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .hero-decorative {
    display: none;
  }
  
  .hero-section {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .section-padding {
    padding: 1rem 0;
  }
  
  * {
    background: white !important;
    color: black !important;
    box-shadow: none !important;
  }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  .service-card,
  .team-card,
  .testimonial-card,
  .faq-card,
  .price-card,
  .contact-form,
  .contact-info,
  .blog-card {
    border: 2px solid var(--text-dark);
  }
  
  .btn-primary-custom,
  .btn-secondary-custom {
    border: 2px solid var(--text-dark);
  }
}

/* Focus Styles for Accessibility */
.btn:focus,
.form-control:focus,
.navbar-nav .nav-link:focus {
  box-shadow: 0 0 0 3px var(--primary-blue);
  outline: none;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  /* Disable all scroll animations on mobile and when reduced motion is preferred */
  .sal-animate {
    animation: none;
    opacity: 1;
    transform: none;
  }
  
  .service-card:hover,
  .team-card:hover,
  .blog-card:hover,
  .gallery-item:hover img {
    transform: none;
  }
} 

.hero-section h1 {
    padding-top: 150px;
}
/* Disable horizontal scroll on desktop resolutions */
@media (min-width: 992px) {
    html, body {
        overflow-x: hidden;
        max-width: 100%;
    }
}
