/* Portfolio Detail Page Enhanced Styles */

/* Global background */
body.single-arrox-portfolios {
    background-color: #111111 !important;
}

/* Main content area background */
.arrox-portfolio-details-area {
    background-color: #111111 !important;
}

/* Container background */
.container {
    background-color: transparent;
}

/* Hero Section */
.portfolio-details-hero {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
    margin-bottom: 80px;
}

.portfolio-details-hero-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.3s ease-out;
}

/* Meta Box */
.portfolio-meta-box {
    padding: 40px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-detail-title {
    font-size: 48px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0;
    color: #ffffff !important;
}

.portfolio-meta-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-top: 10px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.meta-label {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999999;
    min-width: 80px;
}

.meta-value {
    font-size: 16px;
    color: #ffffff;
    font-weight: 400;
}

/* Content Area */
.portfolio-content {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    min-height: 200px;
    display: block;
    opacity: 1;
}

.portfolio-content p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
}

.portfolio-content h2,
.portfolio-content h3,
.portfolio-content h4,
.portfolio-content h5,
.portfolio-content h6 {
    color: #ffffff;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
}

.portfolio-content ul,
.portfolio-content ol {
    padding-left: 20px;
    margin-bottom: 20px;
}

.portfolio-content ul li,
.portfolio-content ol li {
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.portfolio-content a {
    color: #FFC107;
    text-decoration: none;
}

.portfolio-content a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.portfolio-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.portfolio-content blockquote {
    border-left: 3px solid #FFC107;
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
}

/* Related Projects */
.related-project-item {
    position: relative;
    margin-bottom: 40px;
    background-color: transparent;
}

.related-project-thumb {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 20px;
    background-color: transparent;
}

.related-project-thumb .image {
    overflow: hidden;
    position: relative;
    display: block;
    border-radius: 10px;
    height: 300px;
    width: 100%;
}

.related-project-thumb .image.scale {
    transform: scale(0.95);
    transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.related-project-item:hover .related-project-thumb .image.scale {
    transform: scale(1);
}

.related-project-thumb .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transform-origin: center;
    transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.related-project-item:hover .related-project-thumb .image img {
    transform: scale(1.1);
}

.related-project-content {
    padding: 0;
}

.related-project-title {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 10px;
}

.related-project-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-project-title a:hover {
    color: #FFC107;
}

.related-project-meta {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: #999999;
}

.project-cat,
.project-year {
    display: inline-block;
}

/* Navigation Arrows */
.arrox-portfolio-details-np-area {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    background-color: transparent;
}

.arrox-portfolio-details-prev p a {
    color: #999999;
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.arrox-portfolio-details-prev p a:hover {
    color: #ffffff;
}

.arrox-portfolio-details-prev-title {
    font-size: 20px;
    color: #ffffff;
    margin-top: 10px;
    font-weight: 500;
}

/* Category Tags */
.arrox-portfolio-details-btn a {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.arrox-portfolio-details-btn a:hover {
    background: #FFC107;
    color: #000000;
}

/* Responsive */
@media (max-width: 991px) {
    .portfolio-detail-title {
        font-size: 36px;
        margin-bottom: 20px;
    }
    
    .portfolio-meta-info {
        padding-top: 0;
    }
}

@media (max-width: 767px) {
    .portfolio-details-hero {
        height: 50vh;
        min-height: 350px;
        margin-bottom: 40px;
    }
    
    .portfolio-detail-title {
        font-size: 28px;
    }
    
    .portfolio-meta-box {
        padding: 20px 0;
    }
    
    .related-project-thumb .image {
        height: 250px;
    }
    
    .arrox-portfolio-details-np-area {
        flex-direction: column;
        gap: 30px;
    }
    
    .arrox-portfolio-details-prev.text-end {
        text-align: left !important;
    }
}

/* Additional content styling */
.arrox-portfolio-details-wrapper p {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.arrox-portfolio-details-wrapper * {
    color: rgba(255, 255, 255, 0.8);
}

.portfolio-content {
    min-height: 200px;
}

/* Ensure content is visible */
.project-description-content {
    opacity: 1 !important;
    display: block !important;
    visibility: visible !important;
    min-height: 100px;
    padding: 20px 0;
}

.project-description-content * {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Debug messages */
.project-description-content p strong,
.project-description-content em {
    color: #FFC107 !important;
}

.project-description-content h2 {
    color: #ffffff !important;
    margin-bottom: 20px;
}
