/* Responsive Styles for Handmade Soy-Candle Subscription Club */

/* Large screens (1200px and up) */
@media (min-width: 1200px) {
  .hero-title {
    font-size: 3.5rem;
    padding-top: 225px;
}
  
  .section-title {
    font-size: 3rem;
  }
  
  .container-xl {
    max-width: 1200px;
  }
}

/* Medium screens (768px to 1199px) */
@media (min-width: 768px) and (max-width: 1199px) {
  .hero-title {
    font-size: 2.5rem;
    padding-top: 225px;
}
  
  .section-title {
    font-size: 2.25rem;
  }
  
  .service-card {
    margin-bottom: 1.5rem;
  }
  
  .team-photo {
    width: 150px;
    height: 150px;
  }
}

/* Small screens (576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  .hero-section {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2rem;
    padding-top: 225px;
}
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  .contact-form,
  .contact-info {
    padding: 2rem;
    margin-bottom: 2rem;
  }
  
  .priceplan-card {
    padding: 2rem 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .priceplan-card.featured {
    transform: none;
  }
}

/* Extra small screens (up to 575px) */
@media (max-width: 575px) {
  /* Disable animations on mobile */
  * {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
  
  .hero-section {
    min-height: 100vh;
    text-align: center;
    padding: 2rem 0;
  }
  
  .hero-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    padding-top: 225px;
}
  
  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-desc {
    font-size: 1rem;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .section-title {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
  }
  
  .section-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }
  
  .section-desc {
    margin-bottom: 2rem;
  }
  
  /* Navbar adjustments */
  .navbar {
    padding: 0.5rem 0;
  }
  
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  .navbar-collapse {
    margin-top: 1rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 0;
    margin: 0;
  }
  
  /* Card adjustments */
  .service-card,
  .review-card,
  .blog-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .service-image {
    height: 150px;
  }
  
  .service-name {
    font-size: 1.25rem;
  }
  
  .service-price {
    font-size: 1.5rem;
  }
  
  /* About features */
  .about-feature {
    padding: 1.5rem 1rem;
    margin-bottom: 1.5rem;
  }
  
  .about-feature-icon {
    font-size: 2.5rem;
  }
  
  /* Feature items */
  .feature-item {
    padding: 1.5rem;
  }
  
  .feature-icon {
    font-size: 3rem;
  }
  
  .feature-name {
    font-size: 1.25rem;
  }
  
  /* Team section */
  .team-photo {
    width: 100px;
    height: 100px;
    margin-bottom: 1rem;
  }
  
  .team-name {
    font-size: 1.25rem;
  }
  
  /* Price plan */
  .priceplan-card {
    padding: 2rem 1rem;
    margin-bottom: 1.5rem;
  }
  
  .priceplan-card.featured {
    transform: none;
    border-width: 2px;
  }
  
  .priceplan-name {
    font-size: 1.5rem;
  }
  
  .priceplan-price {
    font-size: 2rem;
  }
  
  /* Contact section */
  .contact-form,
  .contact-info {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .form-control {
    padding: 0.75rem;
  }
  
  .btn-primary {
    padding: 0.75rem 1.5rem;
    width: 100%;
  }
  
  /* FAQ cards */
  .faq-card {
    padding: 1.5rem;
  }
  
  /* Gallery adjustments */
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.5rem;
  }
  
  /* Blog cards */
  .blog-content {
    padding: 1.5rem;
  }
  
  .blog-title {
    font-size: 1.25rem;
  }
  
  /* Footer */
  .footer {
    padding: 2rem 0 1rem 0;
    text-align: center;
  }
  
  .footer h5 {
    margin-bottom: 1rem;
  }
  
  /* Additional pages */
  .additional-page-section {
    padding: 2rem 0;
  }
  
  .additional-element {
    padding: 1rem;
  }
  
  .additional-element-title {
    font-size: 1.1rem;
  }
}

/* Portrait orientation specific adjustments */
@media (max-width: 575px) and (orientation: portrait) {
  .hero-section {
    min-height: 90vh;
  }
  
  .service-card {
    max-width: 100%;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Landscape orientation on small screens */
@media (max-width: 767px) and (orientation: landscape) {
  .hero-section {
    min-height: 100vh;
    padding: 1rem 0;
  }
  
  .hero-title {
    font-size: 1.5rem;
    padding-top: 225px;
}
  
  .section {
    padding: 1.5rem 0;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2),
       (min-resolution: 192dpi) {
  .service-image,
  .blog-image,
  .team-photo {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Focus and accessibility improvements */
@media (max-width: 767px) {
  .nav-link:focus,
  .btn:focus,
  .form-control:focus {
    outline: 2px solid var(--primary-warm-amber);
    outline-offset: 2px;
  }
  
  /* Increase touch targets */
  .btn,
  .nav-link {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .form-control {
    min-height: 44px;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .contact-section,
  #space {
    display: none;
  }
  
  .section {
    page-break-inside: avoid;
    padding: 1rem 0;
  }
  
  .service-card,
  .review-card,
  .blog-card {
    page-break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
  }
  
  body {
    font-size: 12px;
    line-height: 1.4;
  }
  
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
  }
}