@import url('https://fonts.googleapis.com/css?family=Quicksand:300,400,500,700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css');
@import url('https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css');

/* ==========================================
   Global Base & Typography
   ========================================== */
* {
    box-sizing: border-box;
}

body {
    background-color: #F8F8F7;
    font-family: 'Quicksand', sans-serif;
    color: #333;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
}

a {
    color: #0f0d00;
    transition: all 0.2s ease-in-out;
}

a:hover, a:focus {
    color: #300404;
    text-decoration: none;
}

.text-princ, h3.text-princ, a.text-princ {
    color: #050300 !important;
}

.text-second, h3.text-second, a.text-second, p.text-second {
    color: #300404 !important;
}

.txt-justif {
    text-align: justify;
}

.text-bold {
    font-weight: 700;
}

.text-white {
    color: #ffffff !important;
}

.margin-top-15 {
    margin-top: 15px;
}

.margin-top-bottom {
    margin-top: 15px;
    margin-bottom: 15px;
}

.pad {
    padding: 15px;
}

.no-margin {
    margin: 0 !important;
}

.pointer {
    cursor: pointer;
}

/* ==========================================
   Header Bar (Centered to 1000px)
   ========================================== */
header.main-header {
    background-color: #0f0d00;
    color: #fff;
    min-height: 52px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    height: 52px;
}

.header_booking_text a {
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    text-decoration: none;
}

.header-right-nav {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-right-nav > li {
    margin-left: 20px;
    position: relative;
}

.header-right-nav > li > a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}


.header-right-nav .dropdown:hover .dropdown-menu,
.header-right-nav .dropdown.open .dropdown-menu,
.header-right-nav .dropdown.show .dropdown-menu {
    display: block !important;
}

.header-right-nav .dropdown-menu {
    min-width: 90px;
    padding: 5px 0;
    left: auto;
    right: 0;
}

.header-right-nav .dropdown-menu > li > a {
    padding: 6px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
}

.header-right-nav .dropdown-menu > li > a img {
    width: 20px;
    height: auto;
    border-radius: 2px;
}

/* ==========================================
   Navigation Menu Bar (Centered Container)
   ========================================== */
.site-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
}

.navbar-default {
    background-color: #ffffff;
    border: 1px solid #e7e7e7;
    border-radius: 4px;
    margin-top: 15px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.navbar-default .navbar-nav > li > a {
    color: #555;
    font-weight: 500;
    font-size: 15px;
    padding: 15px 20px;
    transition: all 0.2s ease;
}

.navbar-default .navbar-nav > li.active > a,
.navbar-default .navbar-nav > li.active > a:hover,
.navbar-default .navbar-nav > li.active > a:focus,
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
    color: #ffffff !important;
    background-color: #0f0d00 !important;
}

/* ==========================================
   Card Boxes (.box.box-solid)
   ========================================== */
.box.box-solid {
    background: #ffffff;
    border-radius: 4px;
    border: 1px solid #e5e5e5;
    margin-bottom: 25px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.box-title {
    color: #050300;
    font-weight: 700;
    font-size: 20px;
    padding: 16px 20px;
    margin: 0;
}

.box-title.section-title-center {
    text-align: center;
    font-size: 26px;
    font-weight: 400;
    padding: 15px 20px;
    color: #0f0d00;
}

.box-title.border-bottom {
    border-bottom: 1px solid #efefef;
}

.box-body {
    padding: 20px;
}

/* ==========================================
   Service Listing Grid
   ========================================== */
.portfolio-item {
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
}

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

.service-img-container {
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.service-img-container img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover .service-img-container img {
    transform: scale(1.03);
}

.service-details h3 {
    margin-top: 0;
    font-size: 18px;
    font-weight: 700;
}

.service-details p.desc {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 15px;
    color: #444;
}

.service-details .price-info {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.service-details .price-info i {
    font-style: italic;
    color: #300404;
}

/* ==========================================
   Buttons & Hover Effects (.hvr-sweep-to-right)
   ========================================== */
.hvr-sweep-to-right {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    position: relative;
    background-color: #0f0d00;
    border: 1px solid #0f0d00;
    color: #ffffff !important;
    -webkit-transition-property: color;
    transition-property: color;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none !important;
    cursor: pointer;
    overflow: hidden;
}

.hvr-sweep-to-right:before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #F8F8F7;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: 0 50%;
    transform-origin: 0 50%;
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}

.hvr-sweep-to-right:hover, 
.hvr-sweep-to-right:focus, 
.hvr-sweep-to-right:active {
    color: #0f0d00 !important;
}

.hvr-sweep-to-right:hover:before, 
.hvr-sweep-to-right:focus:before, 
.hvr-sweep-to-right:active:before {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
}

.btn-big {
    padding: 12px 28px;
    font-size: 16px;
}

/* ==========================================
   Presentation & Sidebar Blocks
   ========================================== */
.avatar-frame {
    background: #ffffff;
    border: 1px solid #d5d5d5;
    padding: 4px;
    border-radius: 2px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.avatar-frame img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.alert-custom {
    background-color: #F8F8F7;
    border: 1px solid #e0e0e0;
    border-radius: 3px;
    padding: 15px;
    margin-bottom: 20px;
}

.desc-subtitle {
    font-style: italic;
    font-weight: 700;
    font-size: 16px;
    color: #000;
    margin-top: 15px;
    margin-bottom: 10px;
}

.desc-text {
    font-size: 15px;
    color: #333;
    line-height: 1.6;
}

.company-name {
    font-weight: 700;
    color: #300404;
    font-size: 16px;
    margin-bottom: 12px;
}

.secured-logos {
    text-align: center;
    padding: 10px 0;
}

/* ==========================================
   Témoignages / Reviews Section
   ========================================== */
.review-score-banner {
    background-color: #F8F8F7;
    border: 1px solid #e2e2e2;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.review-score-number {
    font-size: 36px;
    font-weight: 700;
    color: #0f0d00;
    line-height: 1;
}

.star-rating {
    color: #f39c12;
    font-size: 18px;
}

.review-card {
    border-bottom: 1px solid #f0f0f0;
    padding: 20px 0;
    transition: background 0.2s ease;
}

.review-card:last-child {
    border-bottom: none;
}

.review-author {
    font-weight: 700;
    font-size: 16px;
    color: #0f0d00;
}

.review-date {
    font-size: 13px;
    color: #888;
}

.review-badge-verified {
    background-color: #e8f5e9;
    color: #2e7d32;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 12px;
    display: inline-block;
    margin-left: 8px;
}

.review-service-tag {
    font-size: 13px;
    font-style: italic;
    color: #300404;
    margin: 4px 0 8px 0;
}

.review-text {
    font-size: 15px;
    color: #444;
    line-height: 1.6;
}

/* ==========================================
   Boutique / Shop Section
   ========================================== */
.product-card {
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    background: #ffffff;
    padding: 15px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.product-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.product-img-wrapper {
    overflow: hidden;
    border-radius: 4px;
    height: 180px;
    margin-bottom: 15px;
    background: #fdfdfd;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.product-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f0d00;
    margin-top: 0;
    margin-bottom: 8px;
    min-height: 44px;
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: #300404;
    margin-bottom: 12px;
}

.product-desc {
    font-size: 13px;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.5;
    min-height: 40px;
}

/* ==========================================
   Form Controls
   ========================================== */
.form-group label {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.form-control {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px 12px;
    height: auto;
    font-size: 14px;
    color: #444;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
    border-color: #0f0d00;
    box-shadow: 0 0 5px rgba(15, 13, 0, 0.2);
    outline: none;
}

/* ==========================================
   Step Wizard (.wrap-etapes)
   ========================================== */
.wrap-etapes {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 25px 0 35px;
    padding: 0 20px;
}

.wrap-etapes .etape {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #ddd;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #888;
    z-index: 2;
    transition: all 0.3s ease;
}

.wrap-etapes .etape.active {
    border-color: #0f0d00;
    color: #0f0d00;
    box-shadow: 0 0 8px rgba(15, 13, 0, 0.2);
}

.wrap-etapes .etape.valide {
    background-color: #0f0d00;
    border-color: #0f0d00;
    color: #ffffff;
}

.wrap-etapes [class*="liaison-etapes"] {
    height: 3px;
    background-color: #ddd;
    flex-grow: 1;
    margin: 0 -2px;
    z-index: 1;
    transition: background-color 0.3s ease;
}

.wrap-etapes [class*="liaison-etapes"].valide {
    background-color: #0f0d00;
}

/* ==========================================
   Datepicker & Time Slots
   ========================================== */
.datepicker-container {
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 20px;
}

.datepicker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #0f0d00;
    color: #ffffff;
    padding: 10px 15px;
    border-radius: 4px 4px 0 0;
    font-weight: 700;
}

.datepicker-header button {
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    font-size: 16px;
}

.datepicker-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    text-align: center;
    margin-top: 10px;
}

.datepicker-grid div.day-name {
    font-weight: 700;
    font-size: 13px;
    color: #0f0d00;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.datepicker-grid div.day-cell {
    padding: 10px 0;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.datepicker-grid div.day-cell.empty {
    cursor: default;
}

.datepicker-grid div.day-cell.available {
    background-color: #f0ede8;
    color: #0f0d00;
}

.datepicker-grid div.day-cell.available:hover {
    background-color: #0f0d00;
    color: #ffffff;
}

.datepicker-grid div.day-cell.selected {
    background-color: #0f0d00 !important;
    color: #ffffff !important;
}

.datepicker-grid div.day-cell.disabled {
    color: #ccc;
    cursor: not-allowed;
}

.time-slots-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.time-slot-btn {
    padding: 8px 14px;
    border: 1px solid #0f0d00;
    border-radius: 4px;
    background: #ffffff;
    color: #0f0d00;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.time-slot-btn:hover, .time-slot-btn.active {
    background-color: #0f0d00;
    color: #ffffff;
}

.bloc-TTC {
    background-color: #F8F8F7;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 15px;
    margin: 20px 0;
    text-align: center;
}

.bloc-TTC .lead {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #0f0d00;
}

/* ==========================================
   Footer
   ========================================== */
footer {
    margin-top: 40px;
    padding: 25px 0;
    font-size: 13px;
    color: #666;
    background-color: #F8F8F7;
    border-top: 1px solid #e7e7e7;
}

footer a {
    color: #0f0d00;
    text-decoration: underline;
}

/* ==========================================
   Responsive Breakpoints
   ========================================== */
@media (max-width: 767px) {
    .header-container {
        padding: 0 10px;
    }
    .header_booking_text a {
        font-size: 15px;
    }
    .service-details .price-info {
        flex-direction: column;
        align-items: flex-start;
    }
    .btn-list-services {
        width: 100%;
        text-align: center;
        margin-top: 8px;
    }
    .service-img-container {
        margin-bottom: 15px;
    }
}


/* ==========================================
   Static Solid Black Booking Button (No animation, No detail tarifs)
   ========================================== */
.service-details .price-info {
    font-size: 14px;
    color: #666;
    margin-top: 12px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.btn-book-service,
a.btn-book-service,
.service-details .btn-book-service {
    background-color: #0f0d00 !important;
    background: #0f0d00 !important;
    border: 1px solid #0f0d00 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    padding: 8px 22px !important;
    border-radius: 4px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    position: static !important;
    overflow: hidden !important;
    transition: none !important;
    transform: none !important;
    animation: none !important;
    box-shadow: none !important;
}

.btn-book-service:before,
.btn-book-service:after,
a.btn-book-service:before,
a.btn-book-service:after {
    display: none !important;
    content: none !important;
}

.btn-book-service:hover,
.btn-book-service:focus,
.btn-book-service:active,
a.btn-book-service:hover,
.service-details .btn-book-service:hover {
    background-color: #0f0d00 !important;
    background: #0f0d00 !important;
    border-color: #0f0d00 !important;
    color: #ffffff !important;
    transform: none !important;
    box-shadow: none !important;
}

.btn-book-service i,
a.btn-book-service i {
    color: #ffffff !important;
    font-size: 16px !important;
}



/* ==========================================
   Mobile Responsive Navigation Menu
   ========================================== */
@media (max-width: 767px) {
    .navbar-header {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        padding: 6px 10px;
    }
    
    .navbar-toggle {
        display: block !important;
        background-color: #0f0d00 !important;
        border: 1px solid #0f0d00 !important;
        border-radius: 4px;
        padding: 9px 10px;
        margin: 5px 0;
        cursor: pointer;
    }

    .navbar-toggle .icon-bar {
        background-color: #ffffff !important;
        display: block;
        width: 22px;
        height: 2px;
        border-radius: 1px;
    }

    .navbar-toggle .icon-bar + .icon-bar {
        margin-top: 4px;
    }

    .navbar-collapse {
        max-height: 340px;
        overflow-y: auto;
        border-top: 1px solid #e7e7e7;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        background: #ffffff;
    }

    .navbar-collapse.collapse {
        display: none !important;
    }

    .navbar-collapse.in {
        display: block !important;
    }

    .navbar-default .navbar-nav > li > a {
        padding: 12px 20px;
        border-bottom: 1px solid #f4f4f4;
        display: flex;
        align-items: center;
        gap: 10px;
    }
}

