/* Responsive Styles for Wall Art Printing Template */

/* Mobile First Approach */

/* Extra Small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
  /* Disable animations on mobile */
  * {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
  
  /* Hero Section */
  #hero {
    min-height: 70vh;
    padding: 2rem 0;
  }
  
  #hero h1 {
    font-size: 1.5rem;
  }
  
  #hero .lead {
    font-size: 1rem;
  }
  
  /* Section Padding */
  section {
    padding: 3rem 0 !important;
  }
  
  /* Section Titles */
  .section-title {
    font-size: 1.25rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  /* Service Cards */
  .service-card {
    margin-bottom: 2rem;
    transform: none !important;
  }
  
  .service-card:hover {
    transform: none !important;
  }
  
  /* Price Cards */
  .price-card.featured {
    transform: none !important;
  }
  
  /* Team Members */
  .team-member img {
    width: 120px;
    height: 120px;
  }
  
  /* Gallery */
  .gallery-item img {
    height: 200px;
    transform: none !important;
  }
  
  .gallery-item img:hover {
    transform: none !important;
  }
  
  /* Blog Cards */
  .blog-card:hover {
    transform: none !important;
  }
  
  /* Contact Form */
  .contact-form {
    padding: 1.5rem;
  }
  
  /* Decorative Blobs - Hide on Mobile */
  .decorative-blob {
    display: none;
  }
  
  /* Process Steps */
  .process-step {
    margin-bottom: 1.5rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  #hero h1 {
    font-size: 1.75rem;
  }
  
  section {
    padding: 4rem 0 !important;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
  
  .team-member img {
    width: 130px;
    height: 130px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  #hero h1 {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .team-member img {
    width: 140px;
    height: 140px;
  }
  
  .gallery-item img {
    height: 220px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  #hero h1 {
    font-size: 2.25rem;
  }
  
  .team-member img {
    width: 150px;
    height: 150px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  #hero h1 {
    font-size: var(--font-size-3xl);
  }
  
  .decorative-blob {
    display: block;
  }
}

/* Navbar Responsive */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: var(--primary-cream);
    border-radius: 10px;
    margin-top: 1rem;
    padding: 1rem;
    box-shadow: 0 5px 15px rgba(93, 109, 126, 0.1);
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--cream-dark);
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
}

/* Print Styles */
@media print {
  * {
    background: white !important;
    color: black !important;
    box-shadow: none !important;
  }
  
  .decorative-blob,
  #header,
  #footer,
  .btn {
    display: none !important;
  }
  
  section {
    page-break-inside: avoid;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --primary-sage: #5A6B47;
    --primary-cream: #FFFFFF;
    --primary-terracotta: #B8834F;
    --primary-slate: #2C3E50;
    --primary-burgundy: #6B2C4A;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .service-card,
  .blog-card,
  .gallery-item img,
  .price-card.featured {
    transform: none !important;
    transition: none !important;
  }
  
  .service-card:hover,
  .blog-card:hover,
  .gallery-item img:hover {
    transform: none !important;
  }
}

/* Focus Styles for Accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus {
  outline: 2px solid var(--primary-burgundy);
  outline-offset: 2px;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-burgundy);
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 1000;
}

.skip-link:focus {
  top: 6px;
}

/* Form Validation Styles */
.form-control.is-valid {
  border-color: var(--primary-sage);
}

.form-control.is-invalid {
  border-color: var(--primary-burgundy);
}

.invalid-feedback {
  color: var(--primary-burgundy);
}

.valid-feedback {
  color: var(--primary-sage);
} 

body {
    overflow-x: hidden;
}