/* Virtual Craft Workshops Marketplace - Responsive CSS */

/* Mobile First - Base styles for mobile devices */
@media (max-width: 767.98px) {
  /* Disable animations on mobile */
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
  
  /* Hero Section Mobile */
  .hero-section {
    min-height: 80vh;
    padding: 2rem 0;
  }
  
  .hero-section::before,
  .hero-section::after {
    display: none;
  }
  
  /* Typography Mobile */
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.375rem; }
  h3 { font-size: 1.25rem; }
  h4 { font-size: 1.125rem; }
  
  .navbar-brand {
    font-size: 1rem;
  }
  
  /* Services Cards Mobile */
  .services-card {
    margin-bottom: 1.5rem;
  }
  
  /* Team Cards Mobile */
  .team-img {
    height: 200px;
  }
  
  /* Contact Form Mobile */
  .contact-form {
    padding: 1.5rem;
    margin: 1rem 0;
  }
  
  /* Section Spacing Mobile */
  .section-padding {
    padding: 2rem 0;
  }
  
  /* Price Plans Mobile */
  .price-plan-featured {
    transform: none;
    margin: 1rem 0;
  }
  
  /* Blog Cards Mobile */
  .blog-card img {
    height: 150px;
  }
  
  /* Process Steps Mobile */
  .process-step {
    margin-bottom: 2rem;
  }
  
  /* Timeline Mobile */
  .timeline-item {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
  }
}

/* Tablet Styles */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
    min-height: 90vh;
  }
  
  .services-card:hover {
    transform: translateY(-3px);
  }
  
  .team-card:hover {
    transform: translateY(-2px);
  }
  
  .gallery-item:hover {
    transform: scale(1.02);
  }
}

/* Desktop Styles */
@media (min-width: 992px) {
  .hero-section {
    min-height: 100vh;
  }
  
  /* Enhanced hover effects for desktop */
  .services-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  }
  
  .team-card:hover {
    transform: translateY(-3px);
  }
  
  .gallery-item:hover {
    transform: scale(1.03);
  }
  
  /* Price plan featured scaling */
  .price-plan-featured {
    transform: scale(1.05);
  }
}

/* Large Desktop Styles */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero-section::before {
    width: 400px;
    height: 400px;
  }
  
  .hero-section::after {
    width: 250px;
    height: 250px;
  }
}

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

/* Print Styles */
@media print {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    box-shadow: none !important;
  }
  
  .hero-section {
    min-height: auto;
    background: white !important;
  }
  
  .hero-section::before,
  .hero-section::after {
    display: none !important;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .services-card,
  .team-card,
  .review-card,
  .faq-card {
    border: 2px solid #000;
  }
  
  .btn-primary {
    border: 2px solid #000;
  }
}

/* Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
  .hero-section::before,
  .hero-section::after {
    animation: none;
  }
  
  .services-card:hover,
  .team-card:hover,
  .gallery-item:hover {
    transform: none;
  }
}

/* Focus Styles for Accessibility */
.btn:focus,
.form-control:focus,
.navbar-nav .nav-link:focus {
  outline: 2px solid var(--primary-purple);
  outline-offset: 2px;
}

/* Skip to main content link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-purple);
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 1000;
}

.skip-link:focus {
  top: 6px;
} 

body {
    overflow-x: hidden;
}

.hero-content {
    padding-top: 275px;
}