/*------------------------------------------------------------------
    File Name: custom.css
-------------------------------------------------------------------*/

/** ADD YOUR AWESOME CODES HERE **/

/* ===== View More Button ===== */
.btn-view-more {
    display: inline-block;
    padding: 10px 28px;
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-view-more:hover,
.btn-view-more:focus {
    background: #fff;
    color: #00870d;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.btn-view-more i {
    margin-left: 6px;
    transition: transform 0.3s ease;
}

.btn-view-more:hover i {
    transform: translateX(4px);
}

.btn-view-more-lg {
    padding: 12px 35px;
    font-size: 15px;
    background: #00870d;
    color: #fff;
    border-color: #00870d;
}

.btn-view-more-lg:hover,
.btn-view-more-lg:focus {
    background: #006a0a;
    border-color: #006a0a;
    color: #fff;
}

/* ===== Back to Products Button ===== */
.btn-back-products {
    display: inline-block;
    padding: 10px 24px;
    color: #00870d;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #00870d;
    border-radius: 30px;
}

.btn-back-products:hover,
.btn-back-products:focus {
    background: #00870d;
    color: #fff;
    text-decoration: none;
}

.btn-back-products i {
    margin-right: 6px;
    transition: transform 0.3s ease;
}

.btn-back-products:hover i {
    transform: translateX(-4px);
}

/* ===== Product Detail Page ===== */
.produit-detail-image {
    border: 5px solid #00870d;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.produit-detail-info {
    padding-left: 15px;
}

.produit-detail-title {
    font-size: 32px;
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
    margin-top: 0;
}

.produit-detail-subtitle {
    color: #f7a614;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 25px;
    margin-top: 0;
}

.produit-detail-description,
.produit-detail-long-description {
    margin-bottom: 25px;
}

.produit-detail-description h4,
.produit-detail-long-description h4 {
    font-size: 18px;
    font-weight: 700;
    color: #00870d;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e8f5e9;
}

.produit-detail-text {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
}

/* ===== Realisations Hover & Zoom ===== */
.gallery_product {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.gallery_product .overlay_hover {
    position: absolute;
    top: 5px;
    left: 20px;
    right: 20px;
    bottom: 35px;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.4s ease-in-out;
    border-radius: 4px;
}

.gallery_product:hover .overlay_hover {
    opacity: 1;
}

.gallery_product img {
    transition: all 0.5s ease;
    width: 100%;
}

.gallery_product:hover img {
    transform: scale(1.1);
}

.btn-zoom {
    background: #00870d;
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    border: 2px solid #00870d;
    transition: all 0.3s ease;
}

.btn-zoom:hover {
    background: #fff;
    color: #00870d;
    border-color: #fff;
}

#image_zoom_modal .modal-content {
    background: transparent;
    border: none;
    box-shadow: none;
}

#image_zoom_modal .modal-header {
    border: none;
    padding: 10px;
    position: absolute;
    right: 0;
    z-index: 10;
}

#image_zoom_modal .close {
    color: #fff;
    opacity: 1;
    font-size: 30px;
}

#image_zoom_modal img {
    width: 100%;
    border-radius: 4px;
}