/*
Theme Name: probusiness Child
Description: Child theme for the probusiness
Author: Your name here
Template: probusiness
*/

@import url("../probusiness/style.css");

/* Styles responsive globaux pour mobile */
* {
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    max-width: 100vw;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container responsive */
.container, .container-fluid {
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

/* Responsive pour tablettes */
@media (max-width: 992px) {
    body {
        font-size: 16px;
    }
    
    h1 { font-size: 2rem !important; }
    h2 { font-size: 1.75rem !important; }
    h3 { font-size: 1.5rem !important; }
    h4 { font-size: 1.25rem !important; }
    h5 { font-size: 1.1rem !important; }
    
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Responsive pour mobiles */
@media (max-width: 576px) {
    body {
        font-size: 14px;
    }
    
    h1 { font-size: 1.75rem !important; }
    h2 { font-size: 1.5rem !important; }
    h3 { font-size: 1.25rem !important; }
    h4 { font-size: 1.1rem !important; }
    h5 { font-size: 1rem !important; }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Forcer les éléments larges à s'adapter */
    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Responsive pour très petits écrans */
@media (max-width: 400px) {
    body {
        font-size: 13px;
    }
    
    h1 { font-size: 1.5rem !important; }
    h2 { font-size: 1.3rem !important; }
    h3 { font-size: 1.15rem !important; }
    
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
}