/**
 * BIOMEDIS Ireland - Responsive Adaptations
 * Boundary Breakpoint Matrix
 */

@import url("variables.css");

/* =========================================================================
   LARGE DESKTOP OVERRIDES (Ultra-Wide Prevention)
   ========================================================================= */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* =========================================================================
   LAPTOP & TABLET BREAKPOINTS (Down to 992px)
   ========================================================================= */
@media (max-width: 991.98px) {
    :root {
        --section-padding: 5rem 0;
    }

    /* --- Step 1: Mobile Navbar Layout --- */
    .modern-navbar {
        padding: 1rem 0 !important;
        background-color: var(--clr-white) !important;
        box-shadow: var(--shadow-premium-sm);
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .modern-navbar .brand-text {
        color: var(--clr-primary-dark) !important;
    }

    .primary-menu-links {
        padding: 1.5rem 0 1rem 0;
    }

    .primary-menu-links .nav-link {
        color: var(--clr-dark-text) !important;
        padding: 0.65rem 0 !important;
    }

    .nav-cta-wrapper {
        margin-left: 0 !important;
        padding-top: 0.5rem;
    }

    .nav-cta-wrapper .btn-premium-accent {
        width: 100%;
        text-align: center;
    }

    /* --- Step 2: Cinematic Hero Scale --- */
    .hero-viewport {
        background-attachment: scroll; /* Disables parallax issues on mobile viewports */
    }

    .cinematic-title {
        font-size: 2.85rem !important;
    }

    /* --- Step 4: Editorial Image Stack Adjustment --- */
    .picture-frame-premium::before {
        display: none; /* Simplifies layout rendering mechanics on smaller touch devices */
    }

    .transform-x-negative-15 {
        transform: translateX(0) !important;
        position: relative !important;
        bottom: 0 !important;
        margin-top: 1.5rem;
    }
}

/* =========================================================================
   PHABLET & SMARTPHONE BREAKPOINTS (Down to 768px)
   ========================================================================= */
@media (max-width: 767.98px) {
    .section-main-heading {
        font-size: 2rem;
    }

    /* --- Step 6: Visual Timeline Flow Conversion --- */
    .step-timeline-row::before {
        display: none; /* Drops horizontal layout connection lines */
    }

    .step-container:not(:last-child) {
        margin-bottom: 3rem;
    }

    /* --- Step 9: Testimonials Text Balance --- */
    #testimonialEngine .fs-4 {
        font-size: 1.25rem !important;
    }
}

/* =========================================================================
   SMALL MOBILE BREAKPOINTS (Down to 576px)
   ========================================================================= */
@media (max-width: 575.98px) {
    .cinematic-title {
        font-size: 2.25rem !important;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .premium-product-card .card-img-wrapper {
        height: 200px;
        padding: 1.5rem;
    }
}