/* Styles pour la page principale */
body {
    background-image: url('../images/background.png');
    background-repeat: no-repeat;
    background-position: center center;

    background-size: cover;
    color: #fff;
    font-family: 'Arial', sans-serif;
}

.divider {
    width: 3px;
    background: #F05551;
    height: 95%;
    min-height: 300px;
    margin: auto 0;
    border-radius: 1px;
}

.content-block {
    padding: 30px 28px;
    margin-bottom: 20px;
}

header.header {
    position: relative;
    padding-bottom: 4rem;
    padding-top: 2rem;
    z-index: 1;
}

.footer {
    color: #444;
    background: #EFEFEF;
    position: relative;
    z-index: 2;
}

@media (max-width: 991.98px) {
    .header .d-flex {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .header-left {
        margin: 0;
        padding: 0;
        width: auto;
        justify-content: flex-start;
    }

    .header-left img {
        margin: 0;
        padding: 0;
        display: block;
        max-width: 100%;
    }

    .navigationBar,
    .container-fluid.navigationBar {
        padding-left: 0;
        margin-left: 0;
    }

    .d-flex.mx-5 {
        margin-left: 1rem !important;
        margin-right: 0 !important;
    }

    .header-right {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        justify-content: flex-end;
        gap: 0.3rem;
        width: auto;
        margin: 0;
    }

    .header-right .mb-4 {
        order: 1;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 0.2rem;
        margin-bottom: 0;
    }

    .header-right nav {
        order: 2;
        width: 100%;
        display: flex;
        justify-content: flex-end;
    }

    .header-right a {
        font-size: 0.8em !important;
        display: flex;
        align-items: center;
        gap: 0.3em;
        padding: 2px 0;
    }

    .burger-mobile {
        margin-top: 0.5rem;
        align-self: flex-end;
    }

    .navbar {
        margin-bottom: 0;
    }

    .footer-phone-number,
    .footer-contact-text {
        font-size: 0.8em !important;
        display: inline-block !important;
        vertical-align: middle;
        white-space: nowrap;
    }
}

.navbar-toggler {
    border-color: #F05551 !important;
    z-index: 1001;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 85, 85, 0.25);
}

.navbar-toggler-icon {
    background-image: none !important;
    position: relative;
    width: 1.5em;
    height: 1.5em;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after,
.navbar-toggler-icon div {
    content: '';
    display: block;
    height: 3px;
    width: 100%;
    background: #F05551;
    margin: 5px 0;
    border-radius: 2px;
}

.navbar-toggler-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* --- Footer Styles --- */
.footer-left {
    margin: 2rem !important;
}

.footer-left img {
    height: 40px;
}

.footer-links {
    margin-left: 1.5rem;
}

.footer-links a {
    color: #404040;
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.footer-links a:last-child {
    margin-bottom: 0;
}

.footer-right {
    margin-right: 2rem;
    display: flex;
    flex-wrap: wrap;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.footer-contact {
    margin-right: 2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 250px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-contact:last-child {
    margin-right: 0;
    max-width: 300px;
}

.footer-phone-number,
.footer-contact-text {
    color: #404040;
    font-weight: bold;
    font-size: 18pt;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 991.98px) {
    .footer-links {
        display: none !important;
    }

    .footer-phone-number,
    .footer-contact-text {
        font-size: 0.8em !important;
        display: inline-block !important;
        vertical-align: middle;
        white-space: nowrap;
    }
}

@media (min-width: 992px) {
    .footer-left .d-flex {
        display: flex;
        flex-direction: row;
        gap: 0.5rem !important;
        align-items: flex-start;
    }

    .footer-links {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start;
        gap: 0.8rem !important;
        margin: 0 !important;
        padding: 0 !important;
        width: auto;
    }

    .footer-links a {
        margin: 0 !important;
        padding: 0 !important;
        font-size: 16px !important;
    }

    .footer-contact i {
        font-size: 1.5em;
    }
}

/* Style page à Propos */
.about-section {
    background-color: #EFEFEF;
    padding: 60px 0;
    color: #333;
}

.about-container {
    background-color: #fff;
    padding: 40px;
    max-width: 1100px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-top: -100px;
    z-index: 2;
}

.about-title {
    font-weight: bold;
    color: #000;
    padding-bottom: 10px;
    margin-bottom: 40px;
    font-size: 28px;
    text-transform: uppercase;
    position: relative;
}

.about-title::after {
    content: '';
    display: block;
    width: 60%;
    height: 3px;
    background-color: #c30d23;
    position: absolute;
    left: 0;
    bottom: 0;
}

.about-image {
    max-width: 100%;
    width: 100%;
    height: auto;
    border: 1px solid #ccc;
    border-radius: 8px;
    object-fit: cover;
}

/* Pour forcer une hauteur spécifique si nécessaire */
.about-image.fixed-height {
    height: 400px;
    object-fit: cover;
}

/* Pour une image plus petite */
.about-image.small {
    max-width: 80%;
    margin: 0 auto;
    display: block;
}

/* Pour une image plus grande */
.about-image.large {
    max-width: 120%;
    margin-left: -10%;
}

.about-text p {
    color: #333;
    line-height: 1.7;
    margin-bottom: 16px;
}

.btn-container {
    text-align: right;
    margin-top: 20px;
}

.btn-devis {
    padding: 12px 24px;
    background-color: #F05551;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-devis:hover {
    background-color: #a10b1d;
    color: #fff;
    text-decoration: none;
}

.header-left img {
    transition: transform 0.3s ease;
    cursor: pointer;
}

.header-left img:hover {
    transform: scale(1.1);
}