/* ############### Begin: Muhammad Yousaf id-395 started here ################ */
.chef-detail-img-text {
    background-color: var(--secondary-color1);
    font-style: italic;
}

.chef-detail-main {
    font-family: var(--font-family-primary);
    font-weight: lighter !important;
    font-size: 45px;
    line-height: 62px;
}

.detail-p {
    font-size: 16px;
    font-family: var(--font-family-primary);
    font-weight: lighter !important;
    line-height: 27px;
    color: var(--quartenary-color1);
    width: 95%;
}

.chef-details-type {
    font-family: var(--font-family-primary);
    font-weight: lighter !important;
    font-size: 16px;
    line-height: 31px;
    padding-block: 5px;
}

.chef-details-loca {
    font-family: var(--font-family-primary);
    font-weight: lighter !important;
    font-size: 16px;
    line-height: 31px;
    padding-block: 5px;
    font-style: italic;
}

.chef-detail-page {
    width: 100%;
    color: var(--quartenary-color1);

    font-family: var(--font-family-primary);

    font-weight: 600;
}

.chef-detail-title,
.chef-detail-review {
    color: var(--primary-color1);
    font-style: italic;
    font-weight: 500;
}

.chef-detail-profile {
    width: 100%;
}

.chef-detail-button {
    background-color: var(--primary-color1);
    border-radius: 10px;
    color: var(--quartenary-color1);
    font-size: 18px;
    font-weight: 700;
}

.chef-detail-about {
    background-color: var(--septenary-color1);
    border-radius: 15px;
    padding: 10px;
}

.chef-detail-num {
    color: var(--primary-color1);
}

.chef-detail-overlay-container {
    position: relative;
    overflow: hidden;
}

.chef-detail-overlay-container img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

/* Hover zoom effect on the image */
.chef-overlay-container:hover img {
    transform: scale(1.1);
}

/* The overlay itself */
.chef-detail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--transparant-colour1);
    /* Black overlay with transparency */
    color: var(--septenary-color1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    cursor: pointer;
    border-radius: 10px;
    opacity: 0;
    transition: opacity 2s ease;
    gap: 10px;
}

/* Hover effect to display the overlay */
.chef-detail-overlay-container:hover .chef-detail-overlay {
    opacity: 1;
}

.chef-detail-img-title {
    font-size: 1.5rem;
    font-weight: 500;
}

.chef-detail-img-locate {
    font-size: 1.2rem;
    font-weight:500;
}

.chef-detail-img-p {
    font-size: 1rem;
    max-width: 70%;
    font-weight: 400;
}

@media(min-width:992px) and (max-width:1199px) {

    .chef-detail-about {
        font-size: 14px;
    }

}

@media (min-width:768px) and (max-width:991px) {

    .chef-detail-overlay {
        font-size: 8px;
    }

    .chef-detail-about {
        font-size: 10px;
    }

    .chef-detail-button {
        font-size: 14px;
    }


    .chef-detail-img-title {
        font-size: 18px;
    }

    .chef-detail-img-locate {
        font-size: 16px;
    }

    .chef-detail-img-p {
        font-size: 14px;
    }
}

@media (min-width:320px) and (max-width:768px) {
    .chef-detail-page {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }


    .chef-detail-btn {
        width: 100%;
    }

    .chef-detail-p {
        font-size: 12px;
    }

    .chef-detail-btn {
        justify-content: center;
    }

    .chef-detail-about-item {
        display: flex;
        font-size: 12px;
        gap: 15 px;
    }

    .chef-detail-image {
        margin-top: 15px;
    }

    .chef-detail-img {
        margin-bottom: 30px;
    }
}

/* ############### End: Muhammad Yousaf id-395 ended here ################ */