/* 
 * Crantum Responsive Stylesheet
 * Handles viewport transformations
 */

@media (max-width: 1199px) {
    .glass-dashboard {
        max-width: 400px;
    }
}

@media (max-width: 991px) {
    /* Navbar collapse behaviors */
    .nav-link {
        padding: 10px 20px !important;
        border-radius: 8px;
        margin-bottom: 2px;
    }
    
    /* Mega menu transitions on mobile screens */
    .mega-menu-box {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        display: none; /* Let BS collapse logic control this or show as list */
        box-shadow: none !important;
        border: 0 !important;
        background-color: #f9fafb !important;
        transform: none !important;
        padding: 15px !important;
    }
    
    .dropdown:hover .mega-menu-box,
    .dropdown-menu.show {
        display: block !important;
    }
    
    .mega-link-item {
        padding: 8px 10px;
    }
    
    /* Hero section centering */
    .hero-section {
        text-align: center;
        padding: 40px 0;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .d-flex.flex-wrap {
        justify-content: center;
    }
    
    .hero-mockup-wrapper {
        margin-top: 50px;
        min-height: auto;
    }
    
    .glass-dashboard {
        width: 100%;
        max-width: 100%;
    }
    
    /* Sidebar collapse in admin */
    .sidebar-box {
        border-right: 0 !important;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding-bottom: 15px !important;
    }
}

@media (max-width: 767px) {
    .py-6 {
        padding-top: 3.5rem !important;
        padding-bottom: 3.5rem !important;
    }
    
    .mb-6 {
        margin-bottom: 3.5rem !important;
    }
    
    .display-3 {
        font-size: 2.2rem;
    }
    
    .mockup-float {
        display: none !important; /* Hide small decorative float cards on mobile */
    }
}

@media (max-width: 575px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .btn {
        width: 100%;
    }
}
