/* ===== RESPONSIVE CSS - ECO BOARD GAMES ===== */

/* Mobile First Approach */
/* Base styles (mobile) are in main.css */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .hero-section h1 {
        font-size: 2.61rem;
    }
    
    .hero-section h2 {
        font-size: 1.41rem;
    }
    
    .container {
        max-width: 540px;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .hero-section h1 {
        font-size: 3.07rem;
    }
    
    .hero-section h2 {
        font-size: 1.52rem;
    }
    
    .container {
        max-width: 720px;
    }
    
    /* Navigation adjustments */
    .navbar-nav .nav-link {
  font-size: 10px !important;
        margin: 0 1rem;
    }
    
    /* Timeline for tablets */
    .timeline::before {
        left: 50%;
    }
    
    .timeline-item {
        width: calc(50% - 20px);
        margin-left: 0;
    }
    
    .timeline-item:nth-child(odd) {
        margin-left: auto;
    }
    
    .timeline-item:nth-child(odd)::before {
        left: -50px;
    }
    
    .timeline-item:nth-child(even)::before {
        right: -50px;
    }
    
    /* Team photos larger on tablets */
    .team-photo {
        width: 140px;
        height: 140px;
    }
    
    /* Service cards better spacing */
    .service-card .card-body {
  overflow-x: hidden;
        padding: 2rem;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
    
    .hero-section h1 {
        font-size: 3.56rem;
    }
    
    .hero-section h2 {
        font-size: 1.86rem;
    }
    
    /* Better spacing for larger screens */
    .py-5 {
        padding: 4rem 0;
    }
    
    .mt-5 {
        margin-top: 4.14rem;
    }
    
    /* Grid adjustments */
    .team-member {
        margin-bottom: 2.07rem;
    }
    
    /* Service cards full height */
    .service-card {
        min-height: 450px;
    }
    
    /* Price cards adjustments */
    .price-card {
        min-height: 400px;
    }
    
    /* Blog cards full height */
    .blog-card {
        min-height: 380px;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .hero-section h1 {
        font-size: 4.07rem;
    }
    
    .hero-section h2 {
        font-size: 2.03rem;
    }
    
    /* Better spacing for extra large screens */
    .py-5 {
        padding: 5rem 0;
    }
    
    .service-card .card-body {
  overflow-x: hidden;
        padding: 2.5rem;
    }
    
    /* Team section adjustments */
    .team-photo {
        width: 150px;
        height: 150px;
    }
}

/* Extra extra large devices (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-section {
        min-height: 110vh;
    }
    
    .hero-section h1 {
        font-size: 4.61rem;
    }
    
    .hero-section h2 {
        font-size: 2.35rem;
    }
}

/* Mobile specific optimizations */
@media (max-width: 576px) {
    /* Conservative font sizes for mobile */
    h1 { font-size: 1.86rem; }
    h2 { font-size: 1.52rem; }
    h3 { font-size: 1.41rem; }
    h4 { font-size: 1.14rem; }
    
    /* Navbar brand smaller on mobile */
    .navbar-brand {
        font-size: 1.33rem !important;
    }
    
    /* Hero section mobile */
    .hero-section {
        min-height: 100vh;
        padding: 2rem 0;
    }
    
    .hero-section h1 {
        font-size: 2.03rem;
        line-height: 1.2;
    }
    
    .hero-section h2 {
        font-size: 1.14rem;
    }
    
    .hero-section p {
        font-size: 1.09rem;
    }
    
    /* Service cards mobile */
    .service-card {
        margin-bottom: 2.07rem;
    }
    
    .service-card .card-body {
  overflow-x: hidden;
        padding: 1.5rem;
    }
    
    /* Price cards mobile */
    .price-card {
        margin-bottom: 2.07rem;
        padding: 1.5rem;
    }
    
    .price-card.featured {
        transform: none;
        margin-top: 0;
    }
    
    /* Timeline mobile */
    .timeline {
        padding-left: 2rem;
    }
    
    .timeline::before {
        left: 15px;
    }
    
    .timeline-item {
        width: calc(100% - 40px);
        margin-left: 40px;
        padding: 1.5rem;
    }
    
    .timeline-item::before {
        left: -25px !important;
        width: 15px;
        height: 15px;
    }
    
    /* Team mobile */
    .team-photo {
        width: 80px;
        height: 80px;
    }
    
    .team-member {
        margin-bottom: 2.07rem;
    }
    
    /* Process steps mobile */
    .process-step {
        margin-bottom: 2.07rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.33rem;
    }
    
    /* Feature boxes mobile */
    .feature-box {
        padding: 1.5rem;
        margin-bottom: 1.67rem;
    }
    
    .feature-box i {
        font-size: 2.03rem;
    }
    
    /* Contact form mobile */
    .contact-form {
        padding: 1.5rem;
    }
    
    /* Footer mobile */
    .footer {
        text-align: center;
    }
    
    .footer .col-lg-4 {
        margin-bottom: 2.07rem;
    }
    
    /* Gallery mobile */
    .gallery-section .col-md-4 {
        margin-bottom: 1.19rem;
    }
    
    /* Blog cards mobile */
    .blog-card {
        margin-bottom: 2.07rem;
    }
    
    /* FAQ mobile */
    .accordion-button {
        font-size: 0.96rem;
        padding: 1rem;
    }
    
    /* Additional pages mobile */
    .process-item,
    .quality-item,
    .supplier-item,
    .innovation-item,
    .certification-item {
        margin-bottom: 1.67rem;
        padding: 1.25rem;
    }
    
    /* Job cards mobile */
    .job-card {
        margin-bottom: 1.67rem;
        padding: 1.5rem;
    }
    
    /* Core values mobile */
    .core-value {
        margin-bottom: 1.67rem;
        padding: 1.5rem;
    }
}

/* Swiper mobile disabled animations */
@media (max-width: 768px) {
    .swiper {
        --swiper-pagination-bullet-size: 8px;
    }
    
    .reviews-swiper .swiper-slide {
        padding: 0 1rem;
    }
    
    .review-card {
        padding: 1.5rem;
    }
    
    /* Disable autoplay and effects on mobile */
    .swiper-wrapper {
        transform: none !important;
    }
}

/* Landscape phone adjustments */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        min-height: 100vh;
        padding: 1rem 0;
    }
    
    .hero-section h1 {
        font-size: 1.86rem;
    }
    
    .hero-section h2 {
        font-size: 1.09rem;
    }
    
    .py-5 {
        padding: 2rem 0;
    }
}

/* Print media adjustments */
@media print {
    * {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
    }
    
    .hero-section {
        min-height: auto;
        page-break-after: always;
    }
    
    .service-card,
    .price-card,
    .blog-card {
        break-inside: avoid;
        border: 1px solid #b7b7b7;
        margin-bottom: 1.19rem;
    }
    
    .navbar,
    .footer,
    .breadcrumbs,
    .swiper-pagination {
        display: none !important;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
    
    .container {
        max-width: none;
        width: 100%;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-green: #000000;
        --secondary-green: #353535;
        --accent-brown: #000000;
        --text-dark: #000000;
        --text-light: #ffffff;
    }
    
    .service-card,
    .price-card,
    .blog-card,
    .feature-box,
    .contact-form {
        border: 2px solid #000000;
    }
    
    .btn-primary {
        background: #000000;
        color: #ffffff;
        border: 2px solid #000000;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .swiper-wrapper {
        transform: none !important;
    }
    
    .service-card:hover,
    .price-card:hover,
    .blog-card:hover,
    .feature-box:hover,
    .job-card:hover {
        transform: none;
    }
    
    .gallery-section img:hover {
        transform: none;
    }
    
    .btn-primary:hover {
        transform: none;
    }
}

/* Focus management for accessibility */
@media (max-width: 768px) {
    .navbar-toggler:focus {
        outline: 2px solid var(--forest-green);
        outline-offset: 2px;
    }
    
    .accordion-button:focus {
        outline: 2px solid var(--forest-green);
        outline-offset: 2px;
    }
    
    .form-control:focus {
        outline: 2px solid var(--forest-green);
        outline-offset: 2px;
    }
    
    .btn:focus {
        outline: 2px solid var(--forest-green);
        outline-offset: 2px;
    }
}

/* Dark mode support (if needed) */
@media (prefers-color-scheme: dark) {
    /* Note: Requirements specify no dark mode, but keeping structure */
    /* Implementation would go here if dark mode was required */
} 