/* Responsive CSS for MushroomMaster Pro */

/* Extra Large Devices (1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .hero-section h1 {
        font-size: 3.63rem;
    }
    
    .hero-section h2 {
        font-size: 1.81rem;
    }
}

/* Large Devices (992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .hero-section h1 {
        font-size: 3.02rem;
    }
    
    .service-card img {
        height: 180px;
    }
}

/* Medium Devices (768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-section {
  padding-top: 50px;
        padding: 60px 0;
    }
    
    .hero-section h1 {
        font-size: 2.55rem;
    }
    
    .hero-section h2 {
        font-size: 1.40rem;
    }
    
    .navbar-brand {
        font-size: 1.40rem !important;
    }
    
    .service-card img {
        height: 160px;
    }
    
    .feature-card {
        padding: 1.5rem;
        margin-bottom: 1.12rem;
    }
    
    .price {
        font-size: 1.40rem;
    }
    
    /* Disable autoplay and effects for Swiper on tablet */
    .swiper {
        --swiper-navigation-size: 24px;
    }
}

/* Small Devices (576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .hero-section {
  padding-top: 50px;
        padding: 40px 0;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2.13rem;
    }
    
    .hero-section h2 {
        font-size: 1.13rem;
    }
    
    .hero-section p {
        font-size: 1.01rem;
    }
    
    .navbar-brand {
        font-size: 1.29rem !important;
    }
    
    .feature-card {
        padding: 1.2rem;
        margin-bottom: 1.12rem;
    }
    
    .service-card {
        padding: 1.2rem;
        margin-bottom: 1.57rem;
    }
    
    .service-card img {
        height: 150px;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .blog-card img {
        height: 180px;
    }
    
    .price {
        font-size: 1.29rem;
    }
    
    /* Stack columns on smaller screens */
    .col-md-6:not(.contact-form .col-md-6) {
        margin-bottom: 1.12rem;
    }
}

/* Extra Small Devices (less than 576px) */
@media (max-width: 575.98px) {
    /* Typography adjustments */
    :root {
        --font-size-h1: 1.8rem;
        --font-size-h2: 1.5rem;
        --font-size-h3: 1.3rem;
        --font-size-h4: 1.1rem;
        --font-size-base: 15px;
    }
    
    body {
        font-size: 16.00px;
    }
    
    .container {
        padding: 0 10px;
    }
    
    /* Navbar */
    .navbar-brand {
        font-size: 1.13rem !important;
    }
    
    .navbar-toggler {
        padding: 0.3rem 0.5rem;
    }
    
    /* Hero Section */
    .hero-section {
  padding-top: 50px;
        padding: 30px 0;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 1.84rem;
        margin-bottom: 0.86rem;
    }
    
    .hero-section h2 {
        font-size: 1.01rem;
        margin-bottom: 1.12rem;
    }
    
    .hero-section p {
        font-size: 1.01rem;
        margin-bottom: 1.57rem;
    }
    
    /* Cards and Components */
    .feature-card {
        padding: 1rem;
        margin-bottom: 1.12rem;
    }
    
    .feature-card i {
        font-size: 2.13rem !important;
    }
    
    .service-card {
        padding: 1rem;
        margin-bottom: 1.57rem;
    }
    
    .service-card img {
        height: 140px;
    }
    
    .service-card ul li {
        font-size: 1.01rem;
    }
    
    .price {
        font-size: 1.13rem;
        padding: 0.4rem 0.8rem;
    }
    
    /* Contact Form */
    .contact-form {
        padding: 1rem;
    }
    
    .contact-form .form-control {
        padding: 0.6rem 0.8rem;
        font-size: 1.01rem;
    }
    
    /* Blog Cards */
    .blog-card img {
        height: 160px;
    }
    
    .blog-card .p-3 {
        padding: 1rem !important;
    }
    
    .blog-card h4 {
        font-size: 1.01rem;
    }
    
    .blog-card p {
        font-size: 0.99rem;
    }
    
    /* Footer */
    footer {
        padding: 2rem 0 !important;
    }
    
    footer .col-lg-4 {
        margin-bottom: 1.57rem;
        text-align: center;
    }
    
    footer h5 {
        font-size: 1.13rem;
    }
    
    footer p {
        font-size: 1.01rem;
    }
    
    /* Additional Pages Cards */
    .item-card,
    .condition-card,
    .variety-card,
    .problem-card,
    .technique-card,
    .harvest-card,
    .nutrition-card,
    .cooking-card,
    .season-card,
    .sustainability-card {
        padding: 1rem;
        margin-bottom: 1.12rem;
    }
    
    .item-card h4,
    .condition-card h4,
    .variety-card h4,
    .problem-card h4,
    .technique-card h4,
    .harvest-card h4,
    .nutrition-card h4,
    .cooking-card h4,
    .season-card h4,
    .sustainability-card h4 {
        font-size: 1.01rem;
    }
    
    .item-card p,
    .condition-card p,
    .variety-card p,
    .problem-card p,
    .technique-card p,
    .harvest-card p,
    .nutrition-card p,
    .cooking-card p,
    .season-card p,
    .sustainability-card p {
        font-size: 0.99rem;
    }
    
    /* Feature Boxes */
    .feature-box {
        padding: 1.5rem 0.5rem;
    }
    
    .feature-box i {
        font-size: 2.13rem !important;
    }
    
    .feature-box h4 {
        font-size: 1.01rem;
    }
    
    .feature-box p {
        font-size: 0.99rem;
    }
    
    /* Buttons */
    .btn-primary {
        padding: 0.6rem 1.5rem;
        font-size: 1.01rem;
    }
    
    /* Sections spacing */
    section {
        padding: 2rem 0 !important;
    }
    
    .py-5 {
        padding: 2rem 0 !important;
    }
    
    .mb-5 {
        margin-bottom: 1.57rem !important;
    }
    
    /* Text center for mobile */
    .text-center-mobile {
        text-align: center;
    }
    
    /* Space page */
    #space h1 {
        font-size: 2.13rem;
    }
    
    #space p {
        font-size: 1.01rem;
    }
    
    /* Breadcrumb */
    .breadcrumb-section {
        padding: 0.5rem 0;
    }
    
    .breadcrumb-icon {
        height: 16px;
    }
    
    /* Disable Swiper autoplay and effects on mobile */
    .swiper-mobile-disabled {
        overflow: visible;
    }
    
    .swiper-mobile-disabled .swiper-wrapper {
        transform: none !important;
    }
    
    .swiper-mobile-disabled .swiper-slide {
        width: 100% !important;
        margin-bottom: 1.12rem;
    }
}

/* Landscape Mobile Devices */
@media (max-width: 767.98px) and (orientation: landscape) {
    .hero-section {
  padding-top: 50px;
        padding: 20px 0;
    }
    
    .hero-section h1 {
        font-size: 1.72rem;
    }
    
    .hero-section h2 {
        font-size: 1.01rem;
    }
    
    .navbar-toggler {
        padding: 0.2rem 0.4rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .breadcrumb-section,
    footer,
    .btn,
    .contact-form {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: black;
    }
    
    h1, h2, h3, h4, h5, h6 {
        color: black;
        page-break-after: avoid;
    }
    
    .hero-section {
  padding-top: 50px;
        background: none !important;
        color: black !important;
        padding: 1rem 0;
    }
    
    .service-card,
    .feature-card,
    .blog-card {
        border: 1px solid #c5c5c5;
        page-break-inside: avoid;
        margin-bottom: 1.12rem;
    }
} 