/* ==========================================================================
   Responsive CSS for Rare Plant Seeds Subscription Template
   ========================================================================== */

/* Extra Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    h1 {
        font-size: 3rem;
    }
    
    .hero-decorative-1 {
        width: 250px;
        height: 250px;
    }
    
    .hero-decorative-2 {
        width: 200px;
        height: 200px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .container {
        max-width: 960px;
    }
    
    .service-card {
        padding: 1.75rem;
    }
    
    .team-card {
        padding: 1.75rem;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .container {
        max-width: 720px;
    }
    
    h1 {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 1.875rem;
    }
    
    .hero-decorative {
        opacity: 0.2;
    }
    
    .hero-decorative-1 {
        width: 150px;
        height: 150px;
    }
    
    .hero-decorative-2 {
        width: 120px;
        height: 120px;
    }
    
    .service-card {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .team-card {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .pricing-card {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .pricing-card.featured {
        transform: scale(1.02);
    }
    
    .contact-form {
        padding: 2rem;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .container {
        max-width: 540px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.375rem;
    }
    
    .hero-decorative {
        display: none;
    }
    
    #hero {
        min-height: 80vh;
        text-align: center;
    }
    
    .service-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .team-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .team-card img {
        width: 100px;
        height: 100px;
    }
    
    .pricing-card {
        padding: 1.75rem 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .pricing-card.featured {
        transform: none;
        border-width: 2px;
    }
    
    .pricing-price {
        font-size: 2rem;
    }
    
    .contact-form {
        padding: 1.75rem;
    }
    
    .faq-card {
        padding: 1.25rem;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .container {
        max-width: 100%;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Disable all animations on mobile as per requirements */
    *,
    *::before,
    *::after {
        animation-duration: 0s !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0s !important;
        transform: none !important;
    }
    
    /* Typography adjustments */
    h1 {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    h2 {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    h4 {
        font-size: 1.125rem;
    }
    
    p {
        font-size: 0.95rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    /* Header adjustments */
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.95rem;
    }
    
    /* Hero section */
    #hero {
        min-height: 70vh;
        padding-top: 100px;
        text-align: center;
    }
    
    .hero-decorative {
        display: none;
    }
    
    /* Buttons */
    .btn-primary-custom,
    .btn-outline-custom {
        padding: 0.625rem 1.5rem;
        font-size: 0.95rem;
        border-radius: 20px;
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    /* Cards */
    .card-custom {
        margin-bottom: 1.5rem;
        border-radius: 10px;
    }
    
    .card-custom .card-body {
        padding: 1.5rem;
    overflow-x: hidden;
}
    
    .service-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
        border-radius: 10px;
    }
    
    .service-card img {
        max-width: 100%;
        height: auto;
    }
    
    .service-price {
        font-size: 1.375rem;
    }
    
    /* Team cards */
    .team-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
        border-radius: 10px;
    }
    
    .team-card img {
        width: 80px;
        height: 80px;
        border-width: 3px;
    }
    
    .team-role {
        font-size: 0.85rem;
    }
    
    /* Pricing cards */
    .pricing-card {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
        border-radius: 10px;
    }
    
    .pricing-card.featured {
        border-width: 2px;
    }
    
    .pricing-price {
        font-size: 1.75rem;
    }
    
    .pricing-features {
        font-size: 0.9rem;
    }
    
    /* FAQ cards */
    .faq-card {
        padding: 1rem;
        border-radius: 8px;
        border-left-width: 3px;
    }
    
    .faq-question {
        font-size: 1rem;
    }
    
    .faq-answer {
        font-size: 0.9rem;
    }
    
    /* Contact form */
    .contact-form {
        padding: 1.5rem;
        border-radius: 10px;
    }
    
    .contact-form .form-control {
        padding: 0.625rem 0.875rem;
        font-size: 0.95rem;
        border-radius: 8px;
    }
    
    .contact-form .form-label {
        font-size: 0.9rem;
    }
    
    /* Footer adjustments */
    #footer {
        padding: 2rem 0 1rem;
        text-align: center;
    }
    
    #footer h5 {
        font-size: 1.125rem;
        margin-bottom: 0.75rem;
    }
    
    #footer .footer-policies a {
        font-size: 0.9rem;
        padding: 0.375rem 0;
    }
    
    /* Gallery adjustments */
    #gallery .col-6 {
        margin-bottom: 1rem;
    }
    
    #gallery img {
        border-radius: 8px;
    }
    
    /* Blog grid */
    #blog_grid .card {
        margin-bottom: 1.5rem;
        border-radius: 10px;
    }
    
    #blog_grid .card img {
        height: 150px;
    }
    
    #blog_grid .card-body {
        padding: 1rem;
    }
    
    /* Section spacing adjustments */
    section {
        padding: 2.5rem 0;
    }
    
    .section-title {
        margin-bottom: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
}

/* Landscape orientation for small devices */
@media (max-width: 767.98px) and (orientation: landscape) {
    #hero {
        min-height: 90vh;
    }
    
    .navbar-brand {
        font-size: 1.125rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.375rem 0.625rem;
        font-size: 0.9rem;
    }
}

/* Print styles */
@media print {
    .navbar,
    #footer,
    .btn-primary-custom,
    .btn-outline-custom {
        display: none !important;
    }
    
    body {
        background-color: white !important;
        color: black !important;
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3, h4, h5, h6 {
        color: black !important;
        page-break-after: avoid;
    }
    
    .card-custom,
    .service-card,
    .team-card,
    .pricing-card,
    .faq-card,
    .contact-form {
        border: 1px solid #ddd !important;
        box-shadow: none !important;
        page-break-inside: avoid;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-green: #2d5233;
        --primary-brown: #4a2c1a;
        --dark-green: #1a3d1f;
        --dark-brown: #3a1f0f;
    }
    
    .card-custom,
    .service-card,
    .team-card,
    .pricing-card,
    .faq-card,
    .contact-form {
        border: 2px solid var(--dark-brown);
    }
}

/* Reduced motion support - reinforcement */
@media (prefers-reduced-motion: reduce) {
    .card-custom:hover,
    .service-card:hover,
    .team-card:hover,
    .pricing-card:hover,
    .btn-primary-custom:hover,
    #gallery img:hover,
    #blog_grid .card:hover {
        transform: none !important;
    }
} 