/* Responsive CSS for Botanical Bitters Template */

/* Extra Large Devices (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-section h1 {
        font-size: 4rem;
    padding-top: 275px;
}
    
    .hero-section h2 {
        font-size: 2.28rem;
    }
}

/* Large Devices (992px to 1199px) */
@media (max-width: 1199.98px) {
    .hero-section h1 {
        font-size: 3rem;
    padding-top: 275px;
}
    
    .hero-section h2 {
        font-size: 1.75rem;
    }
    
    .price-card.featured {
        transform: scale(1.02);
    }
    
    .team-member img {
        width: 100px;
        height: 100px;
    }
}

/* Medium Devices (768px to 991px) */
@media (max-width: 991.98px) {
    /* Typography adjustments */
    h1 {
        font-size: 2.30rem;
    }
    
    h2 {
        font-size: 1.92rem;
    }
    
    .hero-section h1 {
        font-size: 2.60rem;
    padding-top: 275px;
}
    
    .hero-section h2 {
        font-size: 1.48rem;
    }
    
    /* Spacing adjustments */
    section {
        padding: 3rem 0;
    }
    
    /* Navigation */
    .navbar-nav .nav-link {
        text-align: center;
        padding: 0.75rem 1rem !important;
    }
    
    /* Cards */
    .feature-card,
    .service-card,
    .price-card,
    .review-card,
    .case-study-card,
    .info-card,
    .blog-card {
        padding: 2rem;
        margin-bottom: 2rem;
    }
    
    .price-card.featured {
        transform: none;
        margin-top: 1rem;
    }
    
    /* Hero section */
    .hero-section {
        padding: 2rem 0;
        background-attachment: scroll;
    }
    
    /* Process and timeline items */
    .process-step,
    .timeline-item {
        margin-bottom: 2rem;
    }
    
    /* Contact form */
    .contact-form {
        padding: 2rem;
        margin-bottom: 2rem;
    }
    
    .contact-info {
        padding: 2rem;
    }
    
    /* Gallery adjustments */
    #gallery img {
        height: 200px;
        margin-bottom: 1rem;
    }
    
    /* Team adjustments */
    .team-member {
        margin-bottom: 2rem;
    }
}

/* Small Devices (576px to 767px) */
@media (max-width: 767.98px) {
    /* Typography */
    h1 {
        font-size: 1.88rem;
    }
    
    h2 {
        font-size: 1.54rem;
    }
    
    h3 {
        font-size: 1.38rem;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    padding-top: 275px;
}
    
    .hero-section h2 {
        font-size: 1.25rem;
    }
    
    /* Spacing */
    section {
        padding: 2.5rem 0;
    }
    
    :root {
        --spacing-xl: 2rem;
        --spacing-xxl: 3rem;
    }
    
    /* Cards */
    .feature-card,
    .service-card,
    .price-card,
    .review-card,
    .case-study-card,
    .info-card,
    .blog-card {
        padding: 1.5rem;
    }
    
    /* Hero section adjustments */
    .hero-section {
        min-height: 80vh;
        text-align: center;
    }
    
    .hero-section .row {
        flex-direction: column-reverse;
    }
    
    .hero-section img {
        max-height: 300px;
        margin-bottom: 2rem;
    }
    
    /* Price cards */
    .price-large {
        font-size: 2rem;
    }
    
    /* Team grid adjustments */
    .team-member {
        margin-bottom: 2rem;
    }
    
    .team-member img {
        width: 80px;
        height: 80px;
    }
    
    /* Process steps responsive */
    .step-number,
    .year {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    /* Gallery responsive */
    #gallery img {
        height: 180px;
    }
    
    /* FAQ adjustments */
    .faq-item {
        padding: 1rem;
    }
    
    /* Footer adjustments */
    footer {
        text-align: center;
    }
    
    footer .col-lg-4 {
        margin-bottom: 2rem;
    }
}

/* Extra Small Devices (up to 575px) */
@media (max-width: 575.98px) {
    /* Typography */
    h1 {
        font-size: 1.68rem;
    }
    
    h2 {
        font-size: 1.41rem;
    }
    
    .hero-section h1 {
        font-size: 1.82rem;
    padding-top: 275px;
}
    
    .hero-section h2 {
        font-size: 1.25rem;
    }
    
    /* Navigation */
    .navbar-brand {
        font-size: 1.26rem;
    }
    
    /* Spacing */
    section {
        padding: 2rem 0;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    /* Cards */
    .feature-card,
    .service-card,
    .price-card,
    .review-card,
    .case-study-card,
    .info-card,
    .blog-card {
        padding: 1.25rem;
        margin-bottom: 1.61rem;
    }
    
    /* Hero adjustments */
    .hero-section {
        min-height: 70vh;
        padding: 1rem 0;
    }
    
    .hero-section img {
        max-height: 250px;
    }
    
    /* Button adjustments */
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 1.05rem;
    }
    
    /* Form adjustments */
    .contact-form {
        padding: 1.5rem;
    }
    
    .contact-info {
        padding: 1.5rem;
    }
    
    /* Team adjustments */
    .team-member img {
        width: 70px;
        height: 70px;
    }
    
    /* Process and timeline */
    .process-step,
    .timeline-item {
        padding: 1rem;
    }
    
    .step-number,
    .year {
        width: 40px;
        height: 40px;
        font-size: 0.96rem;
    }
    
    /* Gallery */
    #gallery img {
        height: 150px;
    }
    
    /* Service card features list */
    .service-card ul li {
        font-size: 0.93rem;
        padding: 0.25rem 0;
        padding-left: 1.2rem;
    }
    
    /* Price display */
    .price {
        font-size: 1.31rem;
    }
    
    .price-large {
        font-size: 1.90rem;
    }
    
    /* FAQ */
    .faq-item {
        padding: 0.75rem;
    }
    
    .faq-item h5 {
        font-size: 1rem;
    }
    
    /* Career cards */
    .role-badge {
        position: static;
        display: inline-block;
        margin-top: 0.63rem;
        font-size: 0.87rem;
    }
}

/* High DPI/Retina Display Support */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Optimize for high-resolution displays */
    .hero-section {
        background-size: cover;
    }
    
    img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Dark Mode Support (Optional) */

/* Landscape Orientation Adjustments for Mobile */
@media (max-width: 767.98px) and (orientation: landscape) {
    .hero-section {
        min-height: 100vh;
    }
    
    .hero-section h1 {
        font-size: 1.90rem;
    padding-top: 275px;
}
    
    .hero-section h2 {
        font-size: 1.16rem;
    }
    
    section {
        padding: 2rem 0;
    }
}

/* Print Styles */
@media print {
    .navbar,
    footer,
    .breadcrumb-section {
        display: none;
    }
    
    .hero-section {
        min-height: auto;
        background: none;
        color: black;
    }
    
    .hero-section h1,
    .hero-section h2,
    .hero-section p {
        color: black;
    }
    
    section {
        page-break-inside: avoid;
        padding: 1rem 0;
    }
    
    .card,
    .feature-card,
    .service-card {
        box-shadow: none;
        border: 1px solid #e3e3e3;
    }
}

/* Focus and Accessibility Improvements */
@media (max-width: 991.98px) {
    /* Improve touch targets on mobile */
    .navbar-toggler {
        padding: 0.5rem;
        min-width: 44px;
        min-height: 44px;
    }
    
    .btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    .form-control {
        min-height: 44px;
    }
    
    /* Improve link spacing on mobile */
    .navbar-nav .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Container Adjustments for Very Small Screens */
@media (max-width: 360px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .hero-section h1 {
        font-size: 1.56rem;
    padding-top: 275px;
}
    
    .hero-section h2 {
        font-size: 1rem;
    }
    
    .feature-card,
    .service-card,
    .price-card,
    .review-card,
    .case-study-card,
    .info-card,
    .blog-card {
        padding: 1rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.91rem;
    }
}

/* Hover Effects Disabled on Touch Devices */
@media (hover: none) and (pointer: coarse) {
    .feature-card:hover,
    .service-card:hover,
    .price-card:hover,
    .review-card:hover,
    .case-study-card:hover,
    .info-card:hover,
    .blog-card:hover,
    .career-card:hover {
        transform: none;
        box-shadow: var(--shadow);
    }
    
    .team-member:hover img {
        transform: none;
    }
    
    #gallery img:hover {
        transform: none;
    }
    
    .btn-primary:hover {
        transform: none;
    }
}

/* Additional Mobile-First Improvements */
@media (max-width: 767.98px) {
    /* Ensure images don't break layout */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Improve readability on small screens */
    p {
        font-size: 1.10rem;
        line-height: 1.6;
    }
    
    /* Better spacing for form elements */
    .form-control {
        margin-bottom: 1rem;
    }
    
    /* Improve table responsiveness if any tables are added */
    table {
        width: 100%;
        overflow-x: auto;
        display: block;
        white-space: nowrap;
    }
} 