/* Cloud Kitchen for Vegan Meals - Responsive Styles */

/* Mobile First Approach */

/* Extra Small devices (phones, 576px and down) */
@media (max-width: 575.98px) {
  /* Disable animations on mobile as per rules */
  * {
    animation: none !important;
    transition: none !important;
  }
  
  /* Typography adjustments */
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  /* Section padding */
  section {
    padding: 2rem 0;
  }
  
  /* Hero section mobile */
  #hero {
    min-height: 100vh;
    text-align: center;
  }
  
  .hero-shape {
    display: none; /* Hide decorative shapes on mobile */
  }
  
  /* Cards mobile spacing */
  .feature-card,
  .service-card,
  .team-card,
  .review-card,
  .blog-card,
  .career-card,
  .coreinfo-item,
  .casestudy-card {
    margin-bottom: 2rem;
  }
  
  /* Contact form mobile */
  .contact-form,
  .contact-info {
    padding: 2rem 1rem;
    margin-bottom: 2rem;
  }
  
  /* Price cards mobile */
  .price-card {
    margin-bottom: 2rem;
    transform: none;
  }
  
  .price-card.featured {
    transform: none;
  }
  
  /* Gallery mobile */
  .gallery-image {
    height: 200px;
  }
  
  /* Process steps mobile */
  .process-step {
    padding: 1rem 0.5rem;
    margin-bottom: 2rem;
  }
  
  /* Timeline mobile */
  .timeline-item {
    margin-bottom: 1.5rem;
  }
  
  /* Footer mobile */
  #footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  .footer-section {
    margin-bottom: 2rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  /* Disable animations on mobile as per rules */
  * {
    animation: none !important;
    transition: none !important;
  }
  
  /* Typography */
  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.875rem;
  }
  
  /* Section spacing */
  section {
    padding: 3rem 0;
  }
  
  /* Hero adjustments */
  .hero-shape {
    display: none;
  }
  
  /* Card spacing */
  .feature-card,
  .service-card,
  .team-card,
  .review-card,
  .blog-card,
  .career-card,
  .coreinfo-item,
  .casestudy-card {
    margin-bottom: 2rem;
  }
  
  /* Price cards */
  .price-card.featured {
    transform: none;
  }
  
  /* Contact sections */
  .contact-form,
  .contact-info {
    padding: 2.5rem 2rem;
    margin-bottom: 2rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* Re-enable animations for tablets and up */
  
  /* Typography */
  h1 {
    font-size: 2.5rem;
  }
  
  /* Hero shapes - smaller on tablets */
  .hero-shape-1 {
    width: 150px;
    height: 150px;
  }
  
  .hero-shape-2 {
    width: 100px;
    height: 100px;
  }
  
  /* Card grid adjustments */
  .feature-card,
  .service-card,
  .team-card,
  .review-card,
  .blog-card,
  .career-card,
  .coreinfo-item {
    margin-bottom: 2rem;
  }
  
  /* Gallery */
  .gallery-image {
    height: 220px;
  }
  
  /* Process steps */
  .process-step {
    padding: 1.5rem 1rem;
  }
  
  /* Featured price card scaling */
  .price-card.featured {
    transform: scale(1.02);
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  /* Full animations enabled */
  
  /* Hero shapes */
  .hero-shape-1 {
    width: 180px;
    height: 180px;
  }
  
  .hero-shape-2 {
    width: 130px;
    height: 130px;
  }
  
  /* Gallery */
  .gallery-image {
    height: 240px;
  }
  
  /* Team photos */
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  /* Process numbers */
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  /* Featured price card */
  .price-card.featured {
    transform: scale(1.03);
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  /* Full feature set */
  
  /* Container max-width adjustments */
  .container {
    max-width: 1140px;
  }
  
  /* Hero shapes full size */
  .hero-shape-1 {
    width: 200px;
    height: 200px;
  }
  
  .hero-shape-2 {
    width: 150px;
    height: 150px;
  }
  
  /* Gallery */
  .gallery-image {
    height: 250px;
  }
  
  /* Team photos */
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  /* Process numbers */
  .process-number {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  /* Featured price card */
  .price-card.featured {
    transform: scale(1.05);
  }
  
  /* Enhanced spacing for large screens */
  .section-title {
    margin-bottom: 4rem;
  }
  
  /* Contact sections */
  .contact-form {
    padding: 4rem 3rem;
  }
  
  .contact-info {
    padding: 4rem 3rem;
  }
}

/* XXL devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
  
  /* Enhanced hero shapes */
  .hero-shape-1 {
    width: 250px;
    height: 250px;
  }
  
  .hero-shape-2 {
    width: 180px;
    height: 180px;
  }
  
  /* Larger sections */
  section {
    padding: 5rem 0;
  }
  
  /* Enhanced spacing */
  .section-title {
    margin-bottom: 5rem;
  }
}

/* Height-based media queries for hero section */
@media (max-height: 600px) {
  #hero {
    min-height: 90vh;
  }
  
  .hero-shape {
    display: none;
  }
}

@media (min-height: 800px) {
  #hero {
    min-height: 100vh;
  }
}

/* Print styles */
@media print {
  /* Hide non-essential elements when printing */
  #header,
  #footer,
  .btn,
  .hero-shape {
    display: none;
  }
  
  /* Adjust colors for print */
  * {
    background: white !important;
    color: black !important;
    box-shadow: none !important;
  }
  
  /* Page breaks */
  section {
    page-break-inside: avoid;
    page-break-after: auto;
  }
  
  h1, h2, h3 {
    page-break-after: avoid;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --primary-green: #2E7D32;
    --primary-orange: #E65100;
    --primary-purple: #4A148C;
    --primary-teal: #004D40;
    --primary-pink: #880E4F;
  }
  
  .feature-card,
  .service-card,
  .team-card,
  .review-card,
  .blog-card,
  .career-card,
  .coreinfo-item,
  .casestudy-card {
    border: 2px solid var(--black);
  }
}

/* Reduced motion support - Critical for accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .hero-shape {
    animation: none;
  }
  
  .feature-card:hover,
  .service-card:hover,
  .team-card:hover,
  .blog-card:hover,
  .career-card:hover {
    transform: none;
  }
  
  .gallery-item:hover .gallery-image {
    transform: none;
  }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 500px) {
  #hero {
    min-height: 80vh;
  }
  
  section {
    padding: 2rem 0;
  }
  
  .hero-shape {
    display: none;
  }
}

/* Focus improvements for accessibility */
@media (prefers-reduced-motion: no-preference) {
  .btn:focus,
  .form-control:focus,
  .nav-link:focus {
    outline: 3px solid var(--primary-green);
    outline-offset: 2px;
  }
}

/* Dark mode preferences */

/* Specific mobile hamburger menu styles - Standard Bootstrap only */
@media (max-width: 991.98px) {
  .navbar-toggler {
    border: 2px solid var(--primary-green);
    padding: 0.5rem 0.75rem;
  }
  
  .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(102, 187, 106, 0.25);
  }
  
  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%2366BB6A' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }
  
  .navbar-collapse {
    background: var(--white);
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--light-green);
    text-align: center;
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
}

/* Utility classes for responsive design */
.d-mobile-none {
  display: block;
}

@media (max-width: 767.98px) {
  .d-mobile-none {
    display: none !important;
  }
}

.d-mobile-block {
  display: none;
}

@media (max-width: 767.98px) {
  .d-mobile-block {
    display: block !important;
  }
}

/* Text size adjustments for mobile */
@media (max-width: 575.98px) {
  .service-price {
    font-size: 1.75rem;
  }
  
  .price-amount {
    font-size: 2.5rem;
  }
  
  .feature-icon,
  .features-icon,
  .coreinfo-icon {
    font-size: 2.5rem;
  }
  
  .contact-icon {
    font-size: 1.25rem;
  }
} 

body {
    overflow-x: hidden;
}

.hero-content {
    padding-top: 225px;
}