/* Responsive CSS for Upcycled Furniture Workshop */

/* Tablet Styles */
@media (max-width: 991.98px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.4rem;
  }
  
  .service-item {
    margin-bottom: 3rem;
  }
  
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  .priceplan-item.featured {
    transform: none;
  }
  
  .gallery-masonry {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-auto-rows: 200px;
  }
  
  .gallery-item.gallery-wide {
    grid-column-end: auto;
  }
}

/* Mobile Styles */
@media (max-width: 767.98px) {
  :root {
    --font-size-h1: 1.8rem;
    --font-size-h2: 1.5rem;
    --font-size-h3: 1.3rem;
    --section-padding: 3rem 0;
  }
  
  .hero-section {
    height: 80vh;
    text-align: center;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .hero-desc {
    font-size: var(--font-size-base);
  }
  
  .hero-shape {
    display: none;
  }
  
  .navbar-brand {
    font-size: 1.2rem !important;
  }
  
  .section-title {
    margin-bottom: 2rem;
  }
  
  .about-feature {
    padding: 1.5rem 1rem;
  }
  
  .about-feature i {
    font-size: 2.5rem;
  }
  
  .service-item {
    padding: 1.5rem;
  }
  
  .service-price {
    font-size: 1.5rem;
  }
  
  .feature-item i {
    font-size: 3rem;
  }
  
  .priceplan-item {
    padding: 2rem 1.5rem;
    margin-bottom: 3rem;
  }
  
  .priceplan-price {
    font-size: 2rem;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .gallery-masonry {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
    gap: 1rem;
    padding: 0;
  }
  
  .gallery-item.gallery-wide,
  .gallery-item.gallery-tall {
    grid-column-end: auto;
    grid-row-end: auto;
  }
  
  .gallery-image {
    height: 200px;
  }
  
  .faq-question.accordion-button {
    padding: 1rem;
    font-size: 1rem;
  }
  
  .faq-icon {
    right: 1rem;
  }
  
  .accordion-body {
    padding: 1rem;
  }
  
  .footer {
    padding: 2rem 0 1rem;
  }
  
  .add-page-item {
    padding: 1.5rem;
  }
  
  /* Disable autoplay and effects for mobile */
  .swiper-autoplay {
    --swiper-autoplay-delay: 0;
  }
  
  .swiper-effect-fade,
  .swiper-effect-cube,
  .swiper-effect-coverflow,
  .swiper-effect-flip {
    --swiper-effect: none;
  }
}

/* Small Mobile Styles */
@media (max-width: 575.98px) {
  .container {
    padding: 0 1rem;
  }
  
  .hero-section {
    height: 70vh;
    padding: 2rem 0;
  }
  
  .hero-title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }
  
  .about-feature,
  .service-item,
  .team-member {
    padding: 1rem;
  }
  
  .priceplan-item {
    padding: 1.5rem 1rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .blog-content {
    padding: 1.5rem;
  }
  
  .faq-question,
  .faq-answer {
    padding: 1rem;
  }
  
  .add-page-item {
    padding: 1rem;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .hero-shape,
  .swiper-button-next,
  .swiper-button-prev,
  .swiper-pagination {
    display: none !important;
  }
  
  .hero-section {
    height: auto;
    padding: 2rem 0;
  }
  
  body {
    color: black !important;
    background: white !important;
  }
  
  .section {
    padding: 1rem 0;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --primary-forest: #000000;
    --primary-sage: #333333;
    --text-primary: #000000;
    --text-secondary: #333333;
  }
  
  .hero-section,
  .reviews-section,
  .faq-section,
  .footer {
    background: #000000 !important;
    color: #ffffff !important;
  }
  
  .service-item,
  .about-feature,
  .team-member,
  .blog-item {
    border: 2px solid #000000;
  }
}

/* Focus styles for accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus {
  outline: 3px solid var(--primary-sage);
  outline-offset: 2px;
}

/* Skip links for screen readers */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-forest);
  color: white;
  padding: 8px;
  text-decoration: none;
  z-index: 1000;
}

.skip-link:focus {
  top: 6px;
} 