/* Plant-Based Cooking School - Responsive Styles */

/* Mobile First Approach */

/* Extra Small devices (phones, 576px and down) */
@media (max-width: 575.98px) {
  /* No animations on mobile as per requirements */
  * {
    animation: none !important;
    transition: none !important;
  }
  
  /* Typography adjustments */
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  /* Hero section mobile */
  #hero {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-shape {
    display: none;
  }
  
  /* Navbar mobile */
  .navbar-brand {
    font-size: 1.1rem !important;
  }
  
  .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
  }
  
  .navbar-collapse {
    background: var(--white);
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  }
  
  /* Section padding mobile */
  .section-padding {
    padding: 40px 0;
  }
  
  /* Cards mobile */
  .service-card,
  .feature-card,
  .price-card,
  .team-card,
  .review-card,
  .case-card,
  .career-card,
  .info-card,
  .blog-card,
  .faq-card {
    margin-bottom: 1.5rem;
  }
  
  .price-card.featured {
    transform: none;
  }
  
  /* Contact form mobile */
  .contact-form {
    padding: 1.5rem;
  }
  
  /* Gallery mobile */
  .gallery-image {
    height: 200px;
  }
  
  /* Footer mobile */
  #footer {
    padding: 2rem 0 1rem;
  }
  
  .footer-section {
    margin-bottom: 2rem;
    text-align: center;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
  
  /* Hero adjustments */
  #hero {
    min-height: 85vh;
  }
  
  /* Gallery grid */
  .gallery-item {
    margin-bottom: 1.5rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
  
  /* Typography scale up */
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  /* Hero section tablet */
  #hero {
    min-height: 90vh;
  }
  
  .hero-shape {
    display: block;
  }
  
  /* Navbar tablet */
  .navbar-brand {
    font-size: 1.25rem !important;
  }
  
  /* Section padding tablet */
  .section-padding {
    padding: 60px 0;
  }
  
  /* Cards tablet - 2 columns */
  .service-card,
  .feature-card,
  .review-card,
  .case-card,
  .career-card,
  .blog-card {
    height: 100%;
  }
  
  /* Price cards tablet */
  .price-card.featured {
    transform: scale(1.02);
  }
  
  /* Team cards tablet */
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  /* Gallery tablet - 2 columns */
  .gallery-image {
    height: 220px;
  }
  
  /* Footer tablet */
  .footer-section {
    text-align: left;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
  
  /* Hero section desktop */
  #hero {
    min-height: 100vh;
  }
  
  /* Section padding desktop */
  .section-padding {
    padding: 80px 0;
  }
  
  /* Cards desktop - proper 3 column layout */
  .service-card,
  .feature-card,
  .case-card,
  .blog-card {
    margin-bottom: 2rem;
  }
  
  /* Price cards desktop */
  .price-card.featured {
    transform: scale(1.05);
  }
  
  /* Team cards desktop */
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  /* Process steps desktop */
  .process-step {
    margin-bottom: 3rem;
  }
  
  /* Gallery desktop - 3 columns */
  .gallery-image {
    height: 250px;
  }
  
  /* Contact form desktop */
  .contact-form {
    padding: 2.5rem;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  /* Typography maximum scale */
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.25rem;
  }
  
  /* Hero section large desktop */
  .hero-shape-1 {
    width: 400px;
    height: 400px;
  }
  
  .hero-shape-2 {
    width: 250px;
    height: 250px;
  }
  
  /* Section padding large desktop */
  .section-padding {
    padding: 100px 0;
  }
  
  /* Cards large desktop - 4 columns where appropriate */
  .feature-card,
  .career-card {
    margin-bottom: 2rem;
  }
  
  /* Gallery large desktop - 4 columns */
  .gallery-image {
    height: 280px;
  }
}

/* Extra extra large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  /* Maximum spacing for very large screens */
  .section-padding {
    padding: 120px 0;
  }
  
  /* Hero shapes even larger */
  .hero-shape-1 {
    width: 500px;
    height: 500px;
  }
  
  .hero-shape-2 {
    width: 300px;
    height: 300px;
  }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 600px) {
  /* Reduce hero height on landscape mobile */
  #hero {
    min-height: 70vh;
  }
  
  /* Reduce section padding on landscape mobile */
  .section-padding {
    padding: 30px 0;
  }
}

/* High DPI / Retina displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  /* Ensure crisp images on retina displays */
  .service-image,
  .team-photo,
  .gallery-image,
  .blog-image {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Print styles */
@media print {
  /* Remove animations and shadows for print */
  * {
    animation: none !important;
    transition: none !important;
    box-shadow: none !important;
  }
  
  /* Hide navigation and footer for print */
  #header,
  #footer {
    display: none;
  }
  
  /* Ensure proper contrast for print */
  body {
    color: #000;
    background: #fff;
    overflow-x: hidden;
}
  
  /* Remove background colors */
  #hero,
  #about,
  #features,
  #priceplan,
  #team,
  #reviews,
  #casestudy,
  #process,
  #timeline,
  #career,
  #coreinfo,
  #contact,
  #blog,
  #faq,
  #gallery {
    background: #fff !important;
  }
}

/* Accessibility enhancements */
@media (prefers-contrast: high) {
  /* High contrast mode adjustments */
  :root {
    --text-dark: #000000;
    --text-light: #333333;
    --primary-green: #006633;
    --primary-orange: #CC6600;
    --primary-yellow: #CC9900;
    --primary-pink: #CC0066;
    --primary-blue: #0066CC;
  }
  
  .btn-primary {
    border: 2px solid var(--text-dark);
  }
  
  .form-control {
    border: 2px solid var(--text-dark);
  }
}

/* Focus indicators for better accessibility */
@media (prefers-reduced-motion: no-preference) {
  .nav-link:focus,
  .btn:focus,
  .form-control:focus {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
  }
}

/* Dark mode preference (optional enhancement) */

.hero-content {
    padding-top: 150px;
}