/* main */
/* main {
    justify-content: center;
    display: flex;
} */

/* header */

.vite_et_gourmand_logo {
    width: 100px;
}

.navbar_list {
    justify-content: space-evenly;
    width: 100%;
}

.nav-item-link {
    font-size: 20px !important;
}

.home_main_section {
    background-color: #3f2f2f;
    height: 100vh;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 10%;
}

.home_main_title {
    font-size: 100px;
    text-align: center;
    color: white;
}

.btn_go {
    background-color: #ffffff00;
    border: white 1px solid;
    color: white;
    border-radius: 30px;
    font-size: 25px;
    padding: 10px 50px;
    margin-top: 20px;
    text-decoration: none;
}

.btn_go:hover {
    text-decoration: none;
    color: white;
}

.home_description_section {
    height: 50vh;
    padding: 10%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home_description {
    font-size: 40px;
}


/*home page description*/
.hero-section {
    background-color: #f8f9fa;
    padding: 5rem;
}

.hero-section-colour {
    background-color: #e4e4e4;
}

.team-member {
    transition: transform 0.3s ease-in-out;
}

.team-member:hover {
    transform: translateY(-10px);
}

.service_section,
.review_section {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-1 * var(--bs-gutter-y));
    /* margin-right: calc(-.5 * var(--bs-gutter-x)); */
    margin-left: calc(-.5 * var(--bs-gutter-x));
    justify-content: center;
}

.service_title_section {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(-1 * var(--bs-gutter-y));
    /* margin-right: calc(-.5 * var(--bs-gutter-x)); */
    margin-left: calc(-.5 * var(--bs-gutter-x));
    justify-content: center;
}

.review_item {
    width: 360px !important;
    margin: 30px;
}

.social-links a:hover {
    background-color: #0d6efd;
    color: white;
    transform: translateY(-3px);
}

.team-member img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #f8f9fa;
    transition: transform 0.3s ease;
}

.team-member:hover img {
    transform: scale(1.05);
}

.section-title::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background-color: #0d6efd;
    margin: 20px auto;
}


.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-image {
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-image {
        margin: 2rem auto 0;
    }
}

/* footer */

.footer_section {
    background-color: rgb(45, 46, 45);
    display: flex;
    padding: 60px 100px;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.contact_logo {
    width: 40px;
    color: white;

}

.footer_right {
    display: flex;
}

.footer_condition_section {
    display: flex;
    align-items: center;


}

.condition_text {

    padding-left: 20px;

}

.footer_mention,
.condition_text {
    color: white;
    text-decoration: none;
}

.business-hours {
    background: #222;
    padding: 40px 14px;
    position: relative;
    width: 300px;
}

.business-hours:before {
    content: '';
    width: 23px;
    height: 23px;
    background: #111;
    position: absolute;
    top: 5px;
    left: -12px;
    transform: rotate(-45deg);
    z-index: -1;
}

.business-hours .title {
    font-size: 20px;
    color: #BBB;
    text-transform: uppercase;
    padding-left: 5px;
    border-left: 4px solid #ffac0c;
}

.business-hours li {
    color: #888;
    line-height: 30px;
    border-bottom: 1px solid #333;
}

.business-hours li:last-child {
    border-bottom: none;
}

.business-hours .opening-hours li.today {
    color: #ffac0c;
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: #2196F3;
}

input:focus+.slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.tablerole {
    color: #2196F3;
}


/* Result page */

.result_section {
    margin: 50px;
    display: flex;
}

.result_card_link,
.result_card_link:hover {
    text-decoration: none;
    color: black;
}

.result_card_link:hover {}

.result_card {
    display: flex;
    margin: 20px;
}

.result_card_detail {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    margin-bottom: 20px;
}

.result_card_time_left {
    text-align: left;
}

.result_card_time_middle {
    text-align: center;
}

.result_card_time_right {
    text-align: right;
}

.result_card_place,
.result_card_price {
    margin-bottom: 0px;
}

.result_card_note {
    margin-top: 15px;
}

/* Travel detail page  */

.container {
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 40px;
    /* display: flex; */
    /* flex-direction: column; */
    gap: 25px;
    /* max-width: 900px; */
    width: 100%;
}

.header {
    text-align: center;
}

.header h1 {
    color: #2c3e50;
    font-size: 2.5em;
    margin: 0;
    margin-bottom: 30px;
}

.header h2 {
    color: #7f8c8d;
    font-size: 1.2em;
    margin: 0;
    font-weight: normal;
}

.main-content {
    display: flex;
    flex-direction: row;
    gap: 25px;
    flex-wrap: wrap;
}

.left-panel {
    flex: 2;
    min-width: 300px;
    background-color: #ecf0f1;
    border-radius: 12px;
    padding: 30px;

}

.right-panel {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #bdc3c7;
}

.detail-item:last-child {
    border-bottom: none;
}

.label {
    color: #555;
    font-weight: bold;
}

.value {
    color: #34495e;
    text-align: right;
}

.price-value {
    font-size: 1.8em;
    font-weight: bold;
    color: #27ae60;
}

.driver-card,
.passenger-card,
.car-card {
    background-color: #ecf0f1;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
}

.driver-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #3498db;
    margin-bottom: 10px;
}

.review-stars {
    color: #f39c12;
    font-size: 1.2em;
}

.review-count {
    color: #7f8c8d;
    font-size: 0.9em;
}

.car-card h3 {
    margin-top: 0;
    color: #2c3e50;
}

.car-detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.car-detail-list li {
    padding: 5px 0;
    border-bottom: 1px dashed #bdc3c7;
}

.car-detail-list li:last-child {
    border-bottom: none;
}

.btn_group {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.action-btn {
    background: #5cb85c;
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
    align-self: center;
    margin-top: 25px;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 20px #96ea96;
}

@media (min-width: 768px) {
    .main-content {
        flex-direction: row;
    }

    .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }

    .left-panel,
    .right-panel {
        min-width: auto;
    }
}

/* connexion */

.login-container {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
    box-sizing: border-box;
}

.login-container h2 {
    margin-bottom: 1.5rem;
    color: #333;
}

.form-group {
    margin-bottom: 1rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #555;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #007bff;
}

.form-group .error-msg {
    color: #d9534f;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.button-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    font-weight: bold;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background-color: #007bff;
    color: #fff;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-secondary {
    background-color: #f0f2f5;
    color: #007bff;
    border: 1px solid #007bff;
}

.btn-secondary:hover {
    background-color: #e2e6ea;
}

.text-link {
    display: block;
    margin-top: 1rem;
    color: #007bff;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s;
}

.text-link:hover {
    color: #0056b3;
    text-decoration: underline;
}


/* creation du compte */
.create_acct_container {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
    box-sizing: border-box;
}

.create_acct_container h2 {
    margin-bottom: 1.5rem;
    color: #333;
}

.form-group {
    margin-bottom: 1rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #555;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #28a745;
}

.form-group .error-msg {
    color: #d9534f;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.button-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    font-weight: bold;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-success {
    background-color: #28a745;
    color: #fff;
}

.btn-success:hover {
    background-color: #218838;
}

.text-link {
    display: block;
    margin-top: 1rem;
    color: #007bff;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s;
}

.text-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

.success-msg {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.error-msg {
    background-color: #edd4d4;
    color: #571515;
    border: 1px solid #e6c3c3;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.warning-msg {
    background-color: #ede4d4;
    color: #574015;
    border: 1px solid #e6dac3;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

/* édition profil */

.profile-container {
    background-color: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
}

.profile-container h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.message {
    background-color: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #555;
}

.form-group input:not([type="checkbox"]),
.form-group textarea,
.form-group select {
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #007bff;
}

.form-group textarea {
    min-height: 80px;
}

.form-group.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.form-group input[type="checkbox"] {
    width: auto;
    transform: scale(1.2);
}

.form-group.photo-upload {
    align-items: center;
    justify-content: center;
    text-align: center;
}

.photo-preview {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: #e9ecef;
    border: 2px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 1rem;
}

.photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.form-actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-primary {
    background-color: #007bff;
    color: #fff;
}

.btn-primary:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

/* accueil chauffeur */


.liste_voyages_container {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 1200;
    text-align: center;
    box-sizing: border-box;
}

.liste_voyages_container h2 {
    margin-bottom: 1.5rem;
    color: #333;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    border: 1px solid black;
    padding: 8px;
    text-align: left;
}

th {
    background-color: #f2f2f2;
}


/*accueil_employee.php*/

.avis_negatif {

    background-color: rgb(255, 214, 214);

}

/* détail avis */

.avis_note_section {
    align-items: center;
    display: flex;
}

.avis_star {
    height: 50px;
}

/* crétion_voyage */

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
}

.container {
    /* max-width: 600px; */
    margin: auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    color: #333;
}

form div {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="date"],
input[type="time"],
input[type="text"],
input[type="number"],
select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

button[type="submit"] {
    width: 100%;
    padding: 10px;
    background-color: #5cb85c;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

button[type="submit"]:hover {
    background-color: #4cae4c;
}

.message {
    margin-top: 15px;
    padding: 10px;
    text-align: center;
    border-radius: 4px;
}

.message.success {
    background-color: #dff0d8;
    color: #3c763d;
}

.message.error {
    background-color: #f2dede;
    color: #a94442;
}


/* mot_de_passe_oublié */


.container {
    /* width: 400px; */
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    color: #333;
}

.message {
    padding: 10px;
    text-align: center;
    border-radius: 4px;
    margin-bottom: 15px;
}

.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

form div {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="email"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

button {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background-color: #0056b3;
}

/* avis */

.rating {
    margin-top: 40px;
    border: none;
    float: left;
}

.rating>label {
    color: #90A0A3;
    float: right;
}

.rating>label:before {
    margin: 5px;
    font-size: 2em;
    font-family: 'Font Awesome 5 Free';
    content: "\f005";
    font-weight: 900;
    display: inline-block;
}

.rating>input {
    display: none;
}

.rating>input:checked~label,
.rating:not(:checked)>label:hover,
.rating:not(:checked)>label:hover~label {
    color: #F79426;
}

.rating>input:checked+label:hover,
.rating>input:checked~label:hover,
.rating>label:hover~input:checked~label,
.rating>input:checked~label:hover~label {
    color: #FECE31;
}

/* Menus */
/* filter_section */
.filter_section {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}

/* Theme pick list */

.pick_list_container {
    max-width: 300px;
}

.theme_filter {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.theme_select_filter {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    font-size: 16px;
    cursor: pointer;
}

.theme_select_filter:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

/* menu carte */

.section_our_solution .row {
    align-items: center;
}

.our_solution_category {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 50px;
}

.our_solution_category .solution_cards_box {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.solution_cards_box .solution_card {
    background: #fff;
    box-shadow: 0 2px 4px 0 rgba(136, 144, 195, 0.2),
        0 5px 15px 0 rgba(37, 44, 97, 0.15);
    border-radius: 15px;
    margin: 8px;
    padding: 10px 15px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    min-height: 265px;
    transition: 0.7s;
    width: 300px;
}

.solution_cards_box .solution_card:hover {
    background: #309df0;
    color: #fff;
    transform: scale(1.1);
    z-index: 9;
}

.solution_cards_box .solution_card:hover::before {
    background: rgb(85 108 214 / 10%);
}

.solution_cards_box .solution_card:hover .solu_title h3,
.solution_cards_box .solution_card:hover .solu_description p {
    color: #fff;
}

.solution_cards_box .solution_card:before {
    content: "";
    position: absolute;
    background: rgb(85 108 214 / 5%);
    width: 170px;
    height: 400px;
    z-index: -1;
    transform: rotate(42deg);
    right: -56px;
    top: -23px;
    border-radius: 35px;
}

.solution_cards_box .solution_card:hover .solu_description button {
    background: #fff !important;
    color: #309df0;
}

.solution_card .so_top_icon {}

.solution_card .solu_title h3 {
    color: #212121;
    font-size: 1.3rem;
    margin-top: 13px;
    margin-bottom: 13px;
}

.solu_description {
    overflow-wrap: break-word;
}

.solution_card .solu_description p {
    font-size: 15px;
    margin-bottom: 15px;
}

.solution_card .solu_description button {
    border: 0;
    border-radius: 15px;
    background: linear-gradient(140deg,
            #42c3ca 0%,
            #42c3ca 50%,
            #42c3cac7 75%) !important;
    color: #fff;
    font-weight: 500;
    font-size: 1rem;
    padding: 5px 16px;
}

.our_solution_content h1 {
    text-transform: capitalize;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.our_solution_content p {}

.hover_color_bubble {
    position: absolute;
    background: rgb(54 81 207 / 15%);
    width: 100rem;
    height: 100rem;
    left: 0;
    right: 0;
    z-index: -1;
    top: 16rem;
    border-radius: 50%;
    transform: rotate(-36deg);
    left: -18rem;
    transition: 0.7s;
}

.solution_cards_box .solution_card:hover .hover_color_bubble {
    top: 0rem;
}

.solution_cards_box .solution_card .so_top_icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution_cards_box .solution_card .so_top_icon img {
    width: 40px;
    height: 50px;
    object-fit: contain;
}

/*start media query*/
@media screen and (min-width: 320px) {
    /*   .sol_card_top_3 {
    position: relative;
    top: 0;
  } */

    .our_solution_category {
        /* width: 100%; */
        /* margin: 0 auto; */
    }

    .our_solution_category .solution_cards_box {
        flex: auto;
    }
}

@media only screen and (min-width: 768px) {
    .our_solution_category .solution_cards_box {
        flex: 1;
    }
}

@media only screen and (min-width: 1024px) {

    /*   .sol_card_top_3 {
    position: relative;
    top: -3rem;
  } */
    .our_solution_category {
        /* width: 50%; */
        /* margin: 0 auto; */
    }
}

.avis_image {
    height: 100px;
}