/* Responsive Styles */

/* Extra Large Screens (1200px and up) */
@media (min-width: 1200px) {

    
    .hero-section {
        padding: var(--spacing-3xl) 0;
    }
    
    .hero-image {
        height: 500px;
    }
}

/* Large Screens (992px and up) */
@media (min-width: 992px) {

    
    .timeline-item {
        width: 50%;
    }
    
    .timeline-item:nth-child(odd) {
        left: 0;
        text-align: right;
        padding-right: var(--spacing-2xl);
    }
    
    .timeline-item:nth-child(even) {
        left: 50%;
        text-align: left;
        padding-left: var(--spacing-2xl);
    }
}

/* Medium Screens (768px and up) */
@media (min-width: 768px) {

    

    
    .hero-section {
        padding: var(--spacing-2xl) 0;
    }
    
    .hero-image {
        height: 400px;
    }
    
    .service-card {
        margin-bottom: var(--spacing-xl);
    }
}

/* Small Screens (576px and up) */
@media (min-width: 576px) {

    
    .hero-section .row {
        align-items: center;
    }
    
    .feature-card, .service-card, .price-card {
        margin-bottom: var(--spacing-lg);
    }
    
    .team-photo {
        width: 100px;
        height: 100px;
    }
    
    .process-step {
        margin-bottom: var(--spacing-lg);
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: var(--fs-lg);
    }
}

/* Extra Small Screens (below 576px) */
@media (max-width: 575.98px) {

    

    
    /* Hero Section */
    .hero-section {
        padding: var(--spacing-xl) 0;
        text-align: center;
    }
    
    .hero-section .row {
        flex-direction: column-reverse;
    }
    
    .hero-image {
        height: 250px;
        margin-bottom: var(--spacing-lg);
    }
    
    h1 {
        font-size: var(--fs-2xl);
    }
    
    h2 {
        font-size: var(--fs-xl);
    }
    
    h3 {
        font-size: var(--fs-lg);
    }
    
    /* Sections */
    section {
        padding: var(--spacing-xl) 0;
    }
    
    .text-center {
        text-align: center;
    }
    
    /* Cards */
    .feature-card, .service-card, .price-card, .review-card, .faq-card, .blog-card {
        padding: var(--spacing-lg);
        margin-bottom: var(--spacing-lg);
    }
    
    .service-image {
        height: 200px;
    }
    
    .price-card.featured {
        transform: none;
        margin-bottom: var(--spacing-lg);
    }
    
    /* Team */
    .team-member {
        margin-bottom: var(--spacing-lg);
    }
    
    .team-photo {
        width: 80px;
        height: 80px;
    }
    
    /* Process */
    .process-step {
        margin-bottom: var(--spacing-lg);
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: var(--fs-base);
    }
    
    /* Timeline */
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        left: 0;
        text-align: left;
        padding-left: var(--spacing-3xl);
    }
    
    .timeline-item::before {
        left: 10px;
    }
    
    /* Gallery */
    .gallery-image {
        height: 200px;
        margin-bottom: var(--spacing-md);
    }
    
    /* Contact Form */
    .contact-form {
        padding: var(--spacing-lg);
    }
    
    .form-control {
        padding: var(--spacing-sm);
        font-size: var(--fs-sm);
    }
    
    .btn-primary {
        width: 100%;
        padding: var(--spacing-md);
    }
    
    /* Footer */
    .footer {
        text-align: center;
    }
    
    .footer .row > div {
        margin-bottom: var(--spacing-lg);
    }
    

    
    /* Space Page */
    .space-container {
        margin-top: 56px;
        padding: var(--spacing-xl) 0;
    }
    
    /* Additional Pages */
    .mission-item, .impact-item, .benefit-item, .innovation-item, .vision-item,
    .product-item, .packaging-item, .seasonal-item, .quality-item, .collection-item {
        text-align: center;
        padding: var(--spacing-lg);
        background: white;
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-sm);
        margin-bottom: var(--spacing-md);
    }
}

/* Tablet Portrait (768px to 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-section {
        padding: var(--spacing-2xl) 0;
    }
    
    .hero-image {
        height: 300px;
    }
    
    .service-card {
        margin-bottom: var(--spacing-lg);
    }
    
    .team-photo {
        width: 100px;
        height: 100px;
    }
    
    .timeline-item {
        width: 100%;
        left: 0;
        text-align: left;
        padding-left: var(--spacing-2xl);
    }
    
    .timeline::before {
        left: 15px;
    }
    
    .timeline-item::before {
        left: 5px;
    }
    
    .contact-form {
        padding: var(--spacing-xl);
    }
}

/* Tablet Landscape (992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .hero-image {
        height: 350px;
    }
    
    .service-image {
        height: 180px;
    }
    
    .gallery-image {
        height: 220px;
    }
}

/* Print Styles */
@media print {
    .navbar, .footer {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: black;
        background: white;
    }
    
    .hero-section, .bg-light {
        background: white !important;
    }
    
    .feature-card, .service-card, .price-card, .review-card, .faq-card, .blog-card {
        border: 1px solid #ccc;
        break-inside: avoid;
        page-break-inside: avoid;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
        color: black;
    }
    
    .timeline-item {
        width: 100%;
        left: 0;
        text-align: left;
        padding-left: 0;
    }
    
    .timeline::before {
        display: none;
    }
    
    .timeline-item::before {
        display: none;
    }
    
    .gallery-image {
        height: auto;
        max-width: 100%;
    }
    
    .contact-form {
        border: 1px solid #ccc;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-image, .service-image, .gallery-image, .team-photo {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Landscape Orientation */
@media (orientation: landscape) and (max-height: 500px) {
    .hero-section {
        padding: var(--spacing-lg) 0;
    }
    
    .hero-image {
        height: 200px;
    }
    
    .navbar {
        padding: var(--spacing-xs) 0;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .hero-image, .gallery-image, .feature-card, .service-card {
        transition: none;
    }
    
    .hero-image:hover, .gallery-image:hover, .feature-card:hover, .service-card:hover {
        transform: none;
    }
    
    .animate-fadeInUp {
        animation: none;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --neutral-cream: #2D2D2D;
        --dark-forest: #E8E8E8;
        --dark-green: #B8B8B8;
        --light-cream: #3D3D3D;
        --light-green: #4D4D4D;
        --light-mint: #5D5D5D;
        --light-coral: #6D6D6D;
    }
    
    .feature-card, .service-card, .price-card, .review-card, .faq-card, .blog-card, .contact-form {
        background: #3D3D3D;
        color: #E8E8E8;
    }
    
    .form-control {
        background: #4D4D4D;
        color: #E8E8E8;
        border-color: #6D6D6D;
    }
}

/* Accessibility - High Contrast */
@media (prefers-contrast: high) {
    :root {
        --primary-green: #000000;
        --secondary-mint: #0066CC;
        --accent-coral: #CC0000;
        --neutral-cream: #FFFFFF;
        --dark-forest: #000000;
    }
    
    .feature-card, .service-card, .price-card, .review-card, .faq-card, .blog-card {
        border: 2px solid #000000;
    }
    
    .btn-primary {
        background: #000000;
        color: #FFFFFF;
        border: 2px solid #000000;
    }
    
    .btn-primary:hover {
        background: #FFFFFF;
        color: #000000;
    }
}

/* Focus Visible */
@media (prefers-reduced-motion: no-preference) {
    .nav-link:focus-visible,
    .btn-primary:focus-visible,
    .form-control:focus-visible {
        outline: 3px solid var(--secondary-mint);
        outline-offset: 2px;
    }
}


