/* Responsive CSS for Personal Chef Service Template */

/* Large Desktop - 1200px and up */
@media (min-width: 1200px) {
    .hero-section h1 {
        font-size: 3.5rem;
    }
    
    .hero-section h2 {
        font-size: 2.2rem;
    }
    
    .container {
        max-width: 1140px;
    }
}

/* Desktop - 992px to 1199px */
@media (max-width: 1199.98px) {
    .hero-section h1 {
        font-size: 3rem;
    }
    
    .hero-section h2 {
        font-size: 2rem;
    }
    
    .timeline-item {
        width: 100%;
        left: 0 !important;
        text-align: left !important;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item::before {
        left: 20px !important;
    }
}

/* Tablet - 768px to 991px */
@media (max-width: 991.98px) {
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .hero-section {
        padding: 100px 0 60px;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section h2 {
        font-size: 1.8rem;
    }
    
    .hero-section p {
        font-size: 1.1rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .team-photo {
        width: 100px;
        height: 100px;
    }
    
    .price-card.featured {
        transform: none;
        margin-bottom: 2rem;
    }
    
    .process-step {
        margin-bottom: 2rem;
    }
    
    /* Disable Swiper effects on tablets */
    .reviewsSwiper .swiper-slide {
        transform: none !important;
    }
}

/* Mobile Large - 576px to 767px */
@media (max-width: 767.98px) {
    :root {
        --section-padding: 50px 0;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .hero-section {
        padding: 80px 0 50px;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-section p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.4rem;
    }
    
    .service-card img {
        height: 180px;
    }
    
    .team-member {
        margin-bottom: 1.5rem;
    }
    
    .team-photo {
        width: 80px;
        height: 80px;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .price-card .price {
        font-size: 2rem;
    }
    
    .timeline {
        padding-left: 2rem;
    }
    
    .timeline::before {
        left: 15px;
    }
    
    .timeline-item::before {
        left: 5px !important;
    }
    
    .timeline-content {
        padding: 1rem;
    }
    
    /* Disable autoplay and effects for mobile */
    .reviewsSwiper {
        pointer-events: auto;
    }
    
    .swiper-pagination {
        display: block !important;
    }
    
    /* Stack team members in smaller grids */
    .team-member {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Mobile Small - Below 576px */
@media (max-width: 575.98px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .hero-section {
        padding: 70px 0 40px;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .hero-section h2 {
        font-size: 1.3rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    .feature-card {
        padding: 1.5rem 1rem;
        margin-bottom: 1rem;
    }
    
    .service-card .card-body {
        padding: 1rem;
    }
    
    .service-card img {
        height: 160px;
    }
    
    .price-card {
        margin-bottom: 1.5rem;
    }
    
    .price-card .price {
        font-size: 1.8rem;
    }
    
    .contact-form {
        padding: 1rem;
    }
    
    .review-card {
        padding: 1.5rem;
        margin: 0.5rem;
    }
    
    .review-card p {
        font-size: 1rem;
    }
    
    .btn-primary,
    .btn-outline-primary {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .navbar-nav {
        text-align: center;
        padding-top: 1rem;
    }
    
    .navbar-nav .nav-link {
  font-size: 10px;
        padding: 0.5rem 1rem;
        margin: 0;
    }
    
    /* Full width team members on mobile */
    .team-member {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 1rem;
    }
    
    /* Single column layout for process steps */
    .process-step {
        margin-bottom: 1.5rem;
    }
    
    /* Gallery responsive adjustments */
    .gallery-section .col-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    /* Blog cards responsive */
    .blog-card img {
        height: 150px;
    }
    
    /* Accordion adjustments */
    .accordion-button {
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
    }
    
    /* Career items */
    .career-item {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    /* Footer responsive */
    .footer {
        text-align: center;
    }
    
    .footer .col-lg-4 {
        margin-bottom: 2rem;
    }
}

/* Extra Small Mobile - Below 480px */
@media (max-width: 479.98px) {
    .hero-section h1 {
        font-size: 1.6rem;
    }
    
    .hero-section h2 {
        font-size: 1.2rem;
    }
    
    h1 {
        font-size: 1.6rem;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .service-card img {
        height: 140px;
    }
    
    .gallery-section .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 1rem;
    }
    
    .team-photo {
        width: 60px;
        height: 60px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .contact-form {
        padding: 0.8rem;
    }
    
    .form-control {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
}

/* Disable animations and transitions for users who prefer reduced motion */
@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;
    }
    
    /* Disable hover effects */
    .feature-card:hover,
    .service-card:hover,
    .price-card:hover,
    .team-photo:hover,
    .gallery-img:hover,
    .info-card:hover,
    .career-item:hover,
    .case-study-card:hover,
    .blog-card:hover,
    .cuisine-item:hover,
    .menu-item:hover,
    .technique-item:hover,
    .service-item:hover,
    .quality-item:hover,
    .event-item:hover,
    .cuisine-style:hover,
    .equipment-item:hover,
    .diet-item:hover,
    .training-item:hover {
        transform: none !important;
        box-shadow: initial !important;
    }
    
    /* Disable Swiper autoplay and effects */
    .swiper-wrapper {
        transform: none !important;
    }
    
    .swiper-slide {
        transform: none !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000000;
        --secondary-color: #333333;
        --accent-color: #666666;
        --dark-color: #000000;
    }
    
    .btn-primary {
        background: #000000;
        border: 2px solid #000000;
    }
    
    .btn-outline-primary {
        color: #000000;
        border: 2px solid #000000;
    }
    
    .form-control:focus {
        border-color: #000000;
        box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.5);
    }
}

/* Print styles */
@media print {
    .navbar,
    .footer,
    .btn,
    .swiper-pagination,
    .accordion-button {
        display: none !important;
    }
    
    body {
        color: #000 !important;
        background: #fff !important;
    }
    
    .hero-section,
    .section {
        background: #fff !important;
        color: #000 !important;
    }
    
    .hero-section h1,
    .hero-section h2,
    .hero-section p {
        color: #000 !important;
    }
    
    a {
        color: #000 !important;
        text-decoration: underline !important;
    }
}

/* Landscape orientation adjustments for mobile */
@media screen and (orientation: landscape) and (max-height: 500px) {
    .hero-section {
        padding: 60px 0 30px;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .hero-section h2 {
        font-size: 1.4rem;
    }
    
    section {
        padding: 40px 0;
    }
}

/* Dark mode support (if user has dark mode preference) */
@media (prefers-color-scheme: dark) {
    .card,
    .feature-card,
    .service-card,
    .price-card,
    .review-card,
    .contact-form,
    .info-card,
    .career-item,
    .case-study-card,
    .blog-card,
    .cuisine-item,
    .menu-item,
    .technique-item,
    .service-item,
    .quality-item,
    .event-item,
    .cuisine-style,
    .equipment-item,
    .diet-item,
    .training-item {
        background: #2d3748 !important;
        color: #e2e8f0 !important;
    }
    
    .form-control {
        background: #4a5568 !important;
        color: #e2e8f0 !important;
        border-color: #6b7280 !important;
    }
    
    .accordion-button {
        background: #4a5568 !important;
        color: #e2e8f0 !important;
    }
} 