@font-face {
    font-family: 'playfairdisplay';
    src: url('Playfair_Display/PlayfairDisplay-VariableFont_wght.ttf');
}


body {
    background-color: #f4eee8; 
    font-family: 'playfairdisplay', serif;
    margin: 0;
    padding: 0;
}

.titre-encadre {
    border: 3px solid #D6C3A1; 
    display: inline-block;
    padding: 15px 50px;
    background-color: #fff;
    border-radius: 10px;
    margin-bottom: 40px;
}

.titre-encadre p {
    margin: 0;
    font-style: italic;
    color: #5a2d22;
    font-size: 1.2rem;
}

.titre-encadre h1 {
    margin: 0;
    font-weight: bold;
    color: #5a2d22;
    text-transform: uppercase;
}


.card-offre {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    background-color: white;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}


.img-container {
    width: 50%; 
    height: 350px; 
    position: relative;
    overflow: hidden;
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

.flex-md-row-reverse .img-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to left, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 40%);
}


.flex-md-row .img-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 40%);
}


.btn-gold {
    display: inline-block;
    text-decoration: none;
    background-color: #b8860b;
    color: white !important;
    padding: 8px 30px;
    border-radius: 20px; 
    border: 2px solid #D6C3A1;
    font-family: 'playfairdisplay', serif;
    transition: 0.3s ease;
}

.btn-gold:hover {
    background-color: #D6C3A1;
    color: #5a2d22 !important;
    transform: scale(1.05);
}

.btn-reserver {
    display: inline-block;
    text-decoration: none;
    background-color: #f8f1e7;
    color: #5a2d22;
    border: 2px solid #D6C3A1;
    padding: 15px 60px;
    border-radius: 35px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: 0.3s;
}

.btn-reserver:hover {
    background-color: #D6C3A1;
    color: white;
}

.hero-recrutement {
            background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('image/cuisine.webp');
            background-size: cover;
            background-position: center;
            height: 450px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 50px;
        }
        .filter-bar {
            background-color: rgba(140, 140, 140, 0.6); 
            backdrop-filter: blur(8px);
            padding: 15px 30px;
            border-radius: 25px; 
            display: inline-flex; 
            justify-content: center;
            align-items: center;
            gap: 15px;
            max-width: fit-content;
            margin: 0 auto;
            border: none;
}
        .filter-bar select, .btn-postuler-header {
            padding: 10px 25px;
            border-radius: 10px;
            border: none;
        }
        .btn-postuler-header {
            background-color: #222;
            color: white;
            cursor: pointer;
        }
        .badge-tag {
            background-color: #f8f1e7;
            color: #5a2d22;
            padding: 5px 15px;
            border-radius: 8px;
            font-size: 0.9rem;
            margin-right: 5px;
            border: 1px solid #D6C3A1;
        }





@media (max-width: 768px) {
    .card-offre {
        flex-direction: column;
    }
    .img-container {
        width: 100%;
        height: 250px;
    }
    .img-container::after {
        display: none; 
    }
    .card-body {
        text-align: center;
    }
    .hero-recrutement {
        height: auto;
        padding: 80px 0;
    }

    .filter-bar {
        display: flex;
        flex-direction: column; 
        width: 90% ; 
        max-width: 350px;
        border-radius: 20px; 
        padding: 20px;
    }

    .filter-bar .form-select, 
    .btn-dark-custom {
        width: 100% ;
        margin: 0;
    }
}