/* layout-all-in.css 
    Sistem Layout & Button Responsif untuk Bapas Magelang 
*/

/* --- 1. Container Otomatis --- */
.container-responsive {
    width: 100%;
    padding-right: var(--bs-gutter-x, .75rem);
    padding-left: var(--bs-gutter-x, .75rem);
    margin-right: auto;
    margin-left: auto;
}

/* --- 2. Pengaturan Layout & Button Berdasarkan Ukuran Layar --- */

/* Smartphone (Layar Kecil < 576px) */
@media (max-width: 575.98px) {
    .text-responsive-header { font-size: 1.75rem !important; }
    .text-responsive-p { font-size: 0.9rem !important; }
    
    /* Button di HP: Lebih lebar agar mudah ditekan jari */
    .btn-responsive {
        width: 100% !important;
        padding: 12px 20px !important;
        font-size: 1rem !important;
    }
    
    .card-responsive { margin-bottom: 1rem; }
}

/* Tablet / Laptop Kecil (576px - 991px) */
@media (min-width: 576px) and (max-width: 991.98px) {
    .container-responsive { max-width: 720px; }
    .btn-responsive {
        width: auto !important;
        padding: 10px 25px !important;
        font-size: 0.95rem !important;
    }
}

/* Laptop Standar & Desktop (992px - 1199px) */
@media (min-width: 992px) {
    .container-responsive { max-width: 960px; }
    .btn-responsive {
        padding: 10px 30px !important;
        font-size: 1rem !important;
    }
}

/* Layar Besar / Monitor UltraWide (> 1200px) */
@media (min-width: 1200px) {
    .container-responsive { max-width: 1140px; }
    .text-responsive-header { font-size: 2.5rem !important; }
}

/* --- 3. Utility Button Hover (Global) --- */
.btn-responsive {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    border: none;
}

.btn-responsive:active {
    transform: scale(0.95);
}