/* =============================================
   SOY CANDLE SUBSCRIPTION CLUB - RESPONSIVE STYLES
   Mobile-First Responsive Design
   ============================================= */

/* Base Mobile Styles (320px+) */
@media (max-width: 575.98px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  /* Typography adjustments */
  h1 {
    font-size: 1.61rem;
    line-height: 1.3;
  }
  
  h2 {
    font-size: 1.51rem;
    line-height: 1.3;
  }
  
  h3 {
    font-size: 1.23rem;
  }
  
  p {
    font-size: 1.03rem;
  }
  
  /* Header */
  .navbar {
    padding: 0.5rem 0;
  }
  
  .navbar-brand {
    font-size: 1.32rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 0.5rem;
    font-size: 1.02rem;
  }
  
  /* Hero Section */
  .hero {
    min-height: 70vh;
    padding: 2rem 0;
  }
  
  .hero-content {
    text-align: center;
    padding: 1rem 0;
    padding-top: 250px;
}
  
  .hero-image {
    margin-top: 2rem;
  }
  
  /* Section spacing */
  .section {
    padding: 3rem 0;
  }
  
  .section-title {
    margin-bottom: 2rem;
  }
  
  .section-description {
    margin-bottom: 3rem;
  }
  
  /* Service cards */
  .service-card {
    padding: 1.5rem;
    margin-bottom: 1.61rem;
  }
  
  .service-card img {
    width: 60px;
    height: 60px;
  }
  
  .service-price {
    font-size: 1.33rem;
  }
  
  /* About features */
  .about-feature {
    margin-bottom: 1.64rem;
  }
  
  .about-feature i {
    font-size: 2.60rem;
  }
  
  /* Features */
  .feature-item {
    padding: 1.5rem;
    margin-bottom: 1.67rem;
  }
  
  .feature-item i {
    font-size: 2.61rem;
  }
  
  /* Price plans */
  .price-card {
    padding: 2rem;
    margin-bottom: 1.56rem;
  }
  
  .price-card-price {
    font-size: 2rem;
  }
  
  /* Team */
  .team-member {
    margin-bottom: 1.59rem;
  }
  
  .team-member img {
    width: 120px;
    height: 120px;
  }
  
  /* Reviews */
  .review-card {
    padding: 1.5rem;
    margin-bottom: 1.56rem;
  }
  
  /* Process */
  .process-item {
    margin-bottom: 1.65rem;
    padding-top: 2rem;
  }
  
  .process-item::before {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
  
  /* FAQ */
  .faq-card {
    padding: 1.2rem;
  }
  
  /* Gallery */
  .gallery-item img {
    height: 200px;
  }
  
  /* Contact */
  .contact-form {
    padding: 1.5rem;
  }
  
  .contact-info {
    padding: 1.5rem;
  }
  
  .contact-info-item {
    margin-bottom: 1rem;
  }
  
  .contact-info-item i {
    font-size: 1.21rem;
  }
  
  /* Footer */
  .footer {

    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  /* Form elements */
  .form-control {
    font-size: 0.97rem;
  }
  
  .btn-primary {
    padding: 0.6rem 1.5rem;
    font-size: 0.91rem;
  }
  
  /* Blog */
  .blog-card-body {
    padding: 1.2rem;
  }
  
  .blog-card-title {
    font-size: 1.12rem;
  }
}

/* Small Devices (576px+) */
@media (min-width: 576px) and (max-width: 767.98px) {
  /* Typography adjustments */
  h1 {
    font-size: 1.83rem;
  }
  
  h2 {
    font-size: 1.64rem;
  }
  
  /* Hero adjustments */
  .hero {
    min-height: 75vh;
  }
  
  .hero-content {
    padding: 1.5rem 0;
    padding-top: 250px;
}
  
  /* Service cards in 2 columns */
  .service-card {
    margin-bottom: 2rem;
  }
  
  .service-card img {
    width: 70px;
    height: 70px;
  }
  
  /* Price cards */
  .price-card-price {
    font-size: 2.25rem;
  }
  
  /* Team members */
  .team-member img {
    width: 130px;
    height: 130px;
  }
  
  /* Gallery */
  .gallery-item img {
    height: 220px;
  }
  
  /* Process items */
  .process-item::before {
    width: 38px;
    height: 38px;
    font-size: 1.23rem;
  }
}

/* Medium Devices (768px+) */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* Hero section */
  .hero {
    min-height: 80vh;
  }
  
  /* Service cards layout */
  .service-card {
    margin-bottom: 2rem;
  }
  
  .service-card img {
    width: 75px;
    height: 75px;
  }
  
  /* About features in 2 columns */
  .about-feature {
    margin-bottom: 2rem;
  }
  
  /* Features in 2 columns */
  .feature-item {
    margin-bottom: 2rem;
  }
  
  /* Price plans */
  .price-card {
    margin-bottom: 2rem;
  }
  
  /* Team members */
  .team-member {
    margin-bottom: 2rem;
  }
  
  .team-member img {
    width: 140px;
    height: 140px;
  }
  
  /* Reviews */
  .review-card {
    margin-bottom: 2rem;
  }
  
  /* Process */
  .process-item {
    margin-bottom: 2rem;
  }
  
  /* Gallery */
  .gallery-item {
    margin-bottom: 1.68rem;
  }
  
  .gallery-item img {
    height: 240px;
  }
  
  /* Contact section */
  .contact-form {
    margin-bottom: 2rem;
  }
}

/* Large Devices (992px+) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  /* Hero section */
  .hero {
    min-height: 90vh;
  }
  
  /* Service cards in 3 columns */
  .service-card {
    margin-bottom: 2rem;
  }
  
  /* About features in 4 columns */
  .about-feature {
    margin-bottom: 2rem;
  }
  
  /* Features in 4 columns */
  .feature-item {
    margin-bottom: 2rem;
  }
  
  /* Price plans in 3 columns */
  .price-card {
    margin-bottom: 2rem;
  }
  
  /* Team members */
  .team-member {
    margin-bottom: 2rem;
  }
  
  /* Reviews */
  .review-card {
    margin-bottom: 2rem;
  }
  
  /* Process items */
  .process-item {
    margin-bottom: 2rem;
  }
  
  /* Gallery in 3 columns */
  .gallery-item {
    margin-bottom: 2rem;
  }
  
  .gallery-item img {
    height: 260px;
  }
}

/* Extra Large Devices (1200px+) */
@media (min-width: 1200px) {
  /* Hero section */
  .hero {
    min-height: 100vh;
  }
  
  /* Service cards optimal layout */
  .service-card {
    margin-bottom: 2rem;
  }
  
  /* Gallery optimal layout */
  .gallery-item img {
    height: 280px;
  }
  
  /* Process items with more spacing */
  .process-item {
    margin-bottom: 2.68rem;
  }
  
  /* Team members with more spacing */
  .team-member {
    margin-bottom: 2.66rem;
  }
  
  /* Reviews with more spacing */
  .review-card {
    margin-bottom: 2.59rem;
  }
}

/* Extra Extra Large Devices (1400px+) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  /* Larger spacing for very large screens */
  .section {
    padding: 6rem 0;
  }
  
  .section-title {
    margin-bottom: 4rem;
  }
  
  .section-description {
    margin-bottom: 5rem;
  }
  
  /* Service cards */
  .service-card {
    padding: 2.5rem;
  }
  
  /* Price cards */
  .price-card {
    padding: 3rem;
  }
  
  /* Contact form */
  .contact-form {
    padding: 2.5rem;
  }
  
  /* Gallery */
  .gallery-item img {
    height: 300px;
  }
}

/* Landscape Orientation Adjustments */
@media (orientation: landscape) and (max-height: 600px) {
  .hero {
    min-height: 100vh;
    padding: 1rem 0;
  }
  
  .hero-content {
    padding: 1rem 0;
    padding-top: 250px;
}
  
  .section {
    padding: 2rem 0;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  /* Adjust font rendering for high DPI */
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

/* Print Styles */
@media print {
  * {
    background: transparent !important;
    color: black !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  
  .navbar,
  .footer,
  .contact-form,
  .btn {
    display: none !important;
  }
  
  .hero {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .page-break {
    page-break-after: always;
  }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
  .service-card,
  .blog-card,
  .gallery-item img,
  .btn-primary {
    transition: none !important;
    transform: none !important;
  }
  
  .hero::before {
    animation: none !important;
  }
}

/* Focus States for Keyboard Navigation */
.nav-link:focus,
.btn:focus,
.form-control:focus {
  outline: 2px solid var(--primary-soft-amber);
  outline-offset: 2px;
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  .service-card:hover,
  .blog-card:hover,
  .gallery-item img:hover,
  .btn-primary:hover {
    transform: none;
  }
  
  .btn-primary,
  .nav-link {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Container Fluid Adjustments */
@media (max-width: 575.98px) {
  .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Navbar Collapse Adjustments */
@media (max-width: 991.98px) {
  .navbar-collapse {
    margin-top: 1rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
} 