/* STYLE CUSTOM - GROUPE BINCHA S.A.R.L 
    Design: Moderne, Épuré, Mobile-First
*/

:root {
    --bincha-green: #1E824C; /* Vert forêt du logo */
    --bincha-blue: #003366;  /* Bleu marine du logo */
    --bincha-light: #f8f9fa;
    --bincha-dark: #212529;
    --bincha-grey: #6c757d;
}
/* Déclaration de Roboto Regular */
@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('../fonts/InterVariable.woff2') format('woff2-variations');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* Déclaration de Montserrat Bold */
@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
/* Déclaration de Montserrat Regular */
@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Application à tout le site */
body {
    font-family: 'Inter', sans-serif;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--bincha-dark);
    scroll-behavior: smooth;
    overflow-x: hidden;
    -webkit-font-smoothing:antialiased;
    letter-spacing: -0.011em;
}
/*Titres puissants*/
h1,h2,h3,h4,h5,h6{
    font-family: 'Inter';
    font-weight: 500;
}
/* Navbar */
.navbar {
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar-brand img {
    max-height: 45px;
}

.nav-link {
    color: var(--bincha-blue) !important;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    margin: 0 10px;
}

.nav-link:hover {
    color: var(--bincha-green) !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 140px 0 100px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(0,51,102,0.9) 0%, rgba(30,130,76,0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Boutons */
.btn-bincha {
    background-color: var(--bincha-green);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-bincha:hover {
    background-color: #166139;
    color: white;
    transform: translateY(-2px);
}

/* Cards */
.card-hover {
    transition: all 0.3s ease;
    border-radius: 15px;
}

.card-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

/* Footer */
footer {
    background-color: #f1f1f1;
}

.footer-title {
    color: var(--bincha-blue);
    font-weight: 700;
    margin-bottom: 20px;
}

/* Responsive fixes */
@media (max-width: 991px) {
    .navbar-collapse {
        background: white;
        padding: 20px;
        margin-top: 15px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
}
.page-link{
    color:#003366;
    transition:all 0.3s ease;
    font-weight: 50;
}
.pager-item.active .page-link{
    background-color: #003366!important;
    border: #003366!important;
    transform: scale(1.1);
}
.page-link:hover{
    background-color: #1E824C;
    color: white;
}
.bg-primary{
        background-color: #003366!important;
}
.btn-outline-primary{
    color:#1E824C;
    border-color: #1E824C;
}
.btn-outline-primary:hover{
    color:white;
    background-color: #1E824C;
    border-color: #1E824C;
}
.btn-outline-blue{
    color:#003366;
    border-color: #003366;
}
.btn-outline-blue:hover{
    color:white;
    background-color: #003366;
    border-color: #003366;
}
.text-primary{
    color:#003366!important;
}
.bg-cool{
    /*background-color: rgba(0, 51, 102,0.1)!important;*/
    background-color: rgba(30, 130, 76,0.1)!important;
}
/* Carte CTA (Gauche) */
.cta-services {
    height: 100px;
    /*background: linear-gradient(135deg, #003366 0%, #1E824C 100%);*/
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
}
.cta-products {
    height: 100px;
    /*background: linear-gradient(135deg, #1E824C 0%, #003366 100%);*/
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
}

/* Carte Liste (Droite) */
.list-services-card {
    height: 500px;
    border-radius: 20px;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
}

.scroll-area {
    overflow-y: auto;
    flex-grow: 1;
    padding-right: 5px;
}

/* Custom scrollbar pour que ce soit beau */
.scroll-area::-webkit-scrollbar {
    width: 6px;
}
.scroll-area::-webkit-scrollbar-thumb {
    background: #003366;
    border-radius: 10px;
}

/* Style des items de la liste */
.service-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
    text-decoration: none;
    color: inherit;
}

.service-item:hover {
    background: #f8f9fa;
    color: #1E824C;
}

.service-mini-img {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
    margin-right: 15px;
}

.border-green{
    border-color: #1E824C;
}
.text-green{
    color: #1E824C;
}
.btn-blue{
    background-color: #003366;
    color:white
}
.btn-blue:hover{
    background-color: #1E824C;
    color:white
}
#preloader{
    position: fixed;
    top: 0;left: 0;
    width: 100%;height: 100%;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease,visibility 0.5s ease;
}
.preloader.fade-out{
    opacity: 0!important;
    visibility: hidden!important;
    pointer-events: none;
}