/* ############### Begin: Muhammad Yousaf id-395 started here ################ */
/* Updated and Enhanced Styles */

.chef-detail-page {
    width: 100%;
    color: var(--quartenary-color1);
    font-family: var(--font-family-primary);
    font-weight: 600;
}

/* Profile Card Section */
.chef-profile-card {
    position: sticky;
    top: 20px;
    background: linear-gradient(135deg, rgba(23, 23, 24, 0.95) 0%, rgba(14, 13, 12, 0.95) 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.chef-profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.chef-profile-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
    background: var(--septenary-color1);
}

.chef-profile-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    pointer-events: none;
}

.chef-detail-profile {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.chef-profile-card:hover .chef-detail-profile {
    transform: scale(1.05);
}

.chef-profile-name-card {
    background: linear-gradient(135deg, var(--secondary-color1) 0%, var(--primary-color1) 100%);
    padding: 20px;
    text-align: center;
}

.chef-profile-name {
    font-family: var(--font-family-primary);
    font-size: 24px;
    font-weight: 600;
    color: var(--quartenary-color1);
    margin: 0;
    text-transform: capitalize;
}

.chef-detail-img-text {
    background-color: var(--secondary-color1);
    font-style: italic;
}

/* Main Content Section */
.chef-content-wrapper {
    padding-left: 20px;
}

.chef-detail-main {
    font-family: var(--font-family-primary);
    font-weight: 300;
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--quartenary-color1);
    text-transform: capitalize;
}

.detail-p {
    font-size: 18px;
    font-family: var(--font-family-primary);
    font-weight: 300;
    line-height: 1.8;
    color: var(--quartenary-color1);
    margin-bottom: 30px;
    opacity: 0.9;
}

/* About Card */
.chef-detail-about-card {
    background: linear-gradient(135deg, rgba(23, 23, 24, 0.95) 0%, rgba(14, 13, 12, 0.95) 100%);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.chef-about-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(248, 35, 72, 0.3);
    margin-bottom: 25px;
}

.chef-detail-title {
    color: var(--primary-color1);
    font-size: 28px;
    font-weight: 600;
    margin: 0;
    font-style: normal;
}

.chef-detail-review {
    color: var(--secondary-color1);
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.chef-detail-review:hover {
    color: var(--primary-color1);
    transform: translateX(5px);
}

.chef-detail-review i {
    color: #ffc107;
}

/* Info Items */
.chef-detail-info-item {
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border-left: 3px solid var(--primary-color1);
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.chef-detail-info-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
    border-left-color: var(--secondary-color1);
}

.chef-details-type {
    font-family: var(--font-family-primary);
    font-weight: 500;
    font-size: 14px;
    line-height: 1.5;
    padding-bottom: 8px;
    color: var(--tertiary-color1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chef-details-type i {
    color: var(--primary-color1);
    font-size: 16px;
}

.chef-details-loca {
    font-family: var(--font-family-primary);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: var(--quartenary-color1);
    font-style: normal;
}

/* Services List */
.chef-services-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.chef-service-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(229, 57, 53, 0.15);
    border: 1px solid rgba(229, 57, 53, 0.3);
    border-radius: 20px;
    font-size: 14px;
    color: var(--quartenary-color1);
    transition: all 0.3s ease;
}

.chef-service-badge:hover {
    background: rgba(229, 57, 53, 0.25);
    border-color: var(--primary-color1);
    transform: translateY(-2px);
}

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

/* Action Buttons */
.chef-action-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.chef-btn-primary,
.chef-btn-secondary {
    padding: 12px 30px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.chef-btn-primary {
    background: linear-gradient(135deg, var(--primary-color1) 0%, var(--secondary-color1) 100%);
    color: var(--quartenary-color1);
    box-shadow: 0 4px 15px rgba(229, 57, 53, 0.3);
}

.chef-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 57, 53, 0.4);
    color: var(--quartenary-color1);
}

.chef-btn-secondary {
    background: transparent;
    color: var(--quartenary-color1);
    border: 2px solid var(--primary-color1);
}

.chef-btn-secondary:hover {
    background: var(--primary-color1);
    color: var(--quartenary-color1);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(229, 57, 53, 0.3);
}

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

/* Gallery Section */
.chef-detail-overlay-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: var(--septenary-color1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    height: 300px;
    cursor: pointer;
}

.chef-detail-overlay-container:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.chef-detail-pic {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    border-radius: 20px;
}

.chef-detail-overlay-container:hover .chef-detail-pic {
    transform: scale(1.1);
}

/* The overlay itself */
.chef-detail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.8) 100%);
    color: var(--quartenary-color1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    gap: 12px;
}

/* 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: 600;
    color: var(--quartenary-color1);
    margin-bottom: 5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.chef-detail-img-locate {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--tertiary-color1);
    margin-bottom: 8px;
}

.chef-detail-img-p {
    font-size: 0.95rem;
    max-width: 90%;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

/* Responsive Design */
@media (min-width: 992px) and (max-width: 1199px) {
    .chef-detail-main {
        font-size: 42px;
    }
    
    .chef-detail-about-card {
        padding: 25px;
    }
    
    .chef-profile-name {
        font-size: 22px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .chef-detail-main {
        font-size: 36px;
    }
    
    .chef-content-wrapper {
        padding-left: 0;
        margin-top: 30px;
    }
    
    .chef-profile-card {
        position: relative;
        top: 0;
    }
    
    .chef-detail-about-card {
        padding: 20px;
    }
    
    .chef-detail-img-title {
        font-size: 1.3rem;
    }

    .chef-detail-img-locate {
        font-size: 1rem;
    }

    .chef-detail-img-p {
        font-size: 0.9rem;
    }
    
    .chef-action-buttons {
        justify-content: center;
    }
}

@media (min-width: 320px) and (max-width: 767px) {
    .chef-detail-page {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .chef-detail-summary {
        margin-bottom: 30px;
    }
    
    .chef-profile-card {
        position: relative;
        top: 0;
        margin-bottom: 30px;
    }
    
    .chef-content-wrapper {
        padding-left: 0;
    }
    
    .chef-detail-main {
        font-size: 32px;
        text-align: center;
    }
    
    .detail-p {
        font-size: 16px;
        text-align: center;
    }
    
    .chef-detail-about-card {
        padding: 20px;
    }
    
    .chef-about-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .chef-detail-title {
        font-size: 24px;
    }
    
    .chef-action-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .chef-btn-primary,
    .chef-btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .chef-detail-info-item {
        margin-bottom: 15px;
    }
    
    .chef-detail-overlay-container {
        height: 250px;
    }
    
    .chef-detail-img-title {
        font-size: 1.2rem;
    }

    .chef-detail-img-locate {
        font-size: 0.95rem;
    }

    .chef-detail-img-p {
        font-size: 0.85rem;
    }
}

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