/**
 * CIRUS SOLUTIONS - Responsive Breakpoints & Fine-Grained Adjustments
 * Core PHP 8.x
 */

/* Desktop & Large Displays */
@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 0.8rem;
        padding-left: 0.8rem;
    }
}

/* Tablet & Mobile Devices */
@media (max-width: 991.98px) {
    .topbar {
        display: none;
    }

    .sticky-mobile-bar {
        display: block !important;
    }

    body {
        padding-bottom: 60px; /* Offset for sticky mobile bottom bar */
    }

    .floating-whatsapp-btn {
        bottom: 75px;
        right: 15px;
        width: 48px;
        height: 48px;
        font-size: 24px;
    }

    .back-to-top-btn {
        bottom: 75px;
        left: 15px;
    }

    .hero-headline {
        font-size: 2.2rem;
    }

    .hero-subheadline {
        font-size: 1.05rem;
    }

    .section-title {
        font-size: 1.85rem;
    }

    .mega-dropdown-menu {
        min-width: 100% !important;
        padding: 15px;
    }
}

/* Small Mobile (320px - 576px) */
@media (max-width: 575.98px) {
    .hero-headline {
        font-size: 1.85rem;
    }

    .hero-slide-item {
        padding: 70px 0 90px;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .btn-cirus-orange, .btn-cirus-dark, .btn-cirus-outline {
        width: 100%;
        margin-bottom: 8px;
    }

    /* Stacked Technical Specification Table for Ultra-Small Devices */
    .table-spec-responsive thead {
        display: none;
    }

    .table-spec-responsive, 
    .table-spec-responsive tbody, 
    .table-spec-responsive tr, 
    .table-spec-responsive td {
        display: block;
        width: 100%;
    }

    .table-spec-responsive tr {
        margin-bottom: 15px;
        border: 1px solid var(--cirus-border);
        border-radius: 8px;
        background: #ffffff;
        padding: 10px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.03);
    }

    .table-spec-responsive td {
        text-align: right;
        padding: 8px 10px;
        position: relative;
        border-bottom: 1px solid #f1f5f9;
        font-size: 13px;
    }

    .table-spec-responsive td::before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        width: 50%;
        font-weight: 700;
        text-align: left;
        color: var(--cirus-dark);
        font-family: var(--font-heading);
    }
}
