/* Responsive CSS for Minimalist Living Course Template */

/* Mobile First Approach */

/* Small devices (phones, 576px and down) */
@media (max-width: 575.98px) {
  /* Disable animations on mobile */
  * {
    animation: none !important;
    transition: none !important;
  }
  
  /* Typography adjustments for mobile */
  :root {
    --h1-size: 1.75rem;
    --h2-size: 1.5rem;
    --h3-size: 1.25rem;
    --h4-size: 1.1rem;
    --p-size: 0.9rem;
  }
  
  /* Section padding reduction */
  section {
    padding: 2rem 0;
  }
  
  /* Hero section mobile */
  .hero-section {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-decorative {
    display: none;
  }
  
  /* Service cards mobile */
  .service-card {
    margin-bottom: 1.5rem;
  }
  
  /* Team images smaller on mobile */
  .team-image {
    width: 120px;
    height: 120px;
  }
  
  /* Process steps mobile */
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  /* Contact form mobile */
  .contact-form {
    padding: 2rem 1rem;
  }
  
  /* Gallery images mobile */
  .gallery-image {
    height: 200px;
  }
  
  /* Blog images mobile */
  .blog-image {
    height: 180px;
  }
  
  /* Price cards mobile */
  .price-value {
    font-size: 2rem;
  }
  
  /* Footer mobile */
  footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  /* Section padding for tablets */
  section {
    padding: 3rem 0;
  }
  
  /* Hero section tablet */
  .hero-section {
    min-height: 90vh;
  }
  
  /* Team images tablet */
  .team-image {
    width: 140px;
    height: 140px;
  }
  
  /* Gallery images tablet */
  .gallery-image {
    height: 220px;
  }
  
  /* Blog images tablet */
  .blog-image {
    height: 190px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* Hero decorative elements */
  .hero-decorative {
    opacity: 0.08;
  }
  
  /* Gallery images desktop */
  .gallery-image {
    height: 240px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 992px) {
  /* Full desktop experience */
  .hero-decorative {
    opacity: 0.1;
  }
  
  /* Larger containers for XL screens */
  .container-xl {
    max-width: 1200px;
  }
}

/* Specific mobile menu overrides - NO CUSTOMIZATION */
@media (max-width: 991.98px) {
  /* Using standard Bootstrap 5 mobile menu - no customizations */
  .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
  }
  
  .navbar-toggler:focus {
    box-shadow: none;
  }
  
  .navbar-collapse {
    background-color: var(--light-cream);
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --primary-sage: #405f36;
    --primary-slate: #3a5564;
    --light-cream: #FFFFFF;
    --primary-cream: #F8F9FA;
  }
  
  .service-card,
  .review-card,
  .case-study-card,
  .career-card,
  .core-info-item,
  .faq-card,
  .blog-card {
    border-width: 2px;
  }
}

/* Print styles */
@media print {
  /* Hide navigation and interactive elements */
  .navbar,
  .btn,
  .contact-form,
  footer {
    display: none;
  }
  
  /* Optimize for print */
  section {
    page-break-inside: avoid;
    padding: 1rem 0;
  }
  
  /* Remove background colors for print */
  * {
    background: white !important;
    color: black !important;
  }
}

/* Landscape orientation on mobile */
@media (max-width: 767.98px) and (orientation: landscape) {
  .hero-section {
    min-height: 100vh;
  }
  
  section {
    padding: 1.5rem 0;
  }
}

/* Dark mode support */

.hero-section h1 {
    padding-top: 100px;
}