/* 
* SERYIL DESIGN - Project Detail Page Styles
*/

/* Hero section styling */
.project-hero {
    height: 50vh;
    min-height: 400px;
    background-position: center;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding-top: 80px;
    padding-bottom: 50px;
}

.project-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8));
    z-index: 0;
}

/* Breadcrumb styling */
.project-breadcrumb {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.project-breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.project-breadcrumb a:hover {
    color: var(--primary-color);
}

/* Project title and category */
.project-title {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.project-category-badge {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    font-size: 14px;
    font-weight: 500;
    padding: 6px 16px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Project gallery styling */
.project-gallery {
    margin-bottom: 40px;
}

.main-project-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    margin-bottom: 15px;
}

.project-image-small {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Project description styling */
.project-description {
    margin-bottom: 40px;
}

.project-description h2 {
    font-family: var(--heading-font);
    font-size: 28px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.project-description h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Project details sidebar */
.project-details {
    border-left: 4px solid var(--primary-color);
}

.project-details h3 {
    font-family: var(--heading-font);
    font-size: 22px;
    margin-bottom: 20px;
}

.detail-label {
    display: block;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.detail-value {
    display: block;
    color: #666;
}

/* Related projects section */
.related-projects h2 {
    font-family: var(--heading-font);
    font-size: 28px;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
    text-align: center;
}

.related-projects h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Call to action section */
.project-cta {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 60px 30px;
}

.project-cta h2 {
    font-family: var(--heading-font);
    font-size: 32px;
    color: var(--secondary-color);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .project-hero {
        height: 40vh;
        min-height: 350px;
    }
    
    .main-project-image {
        height: 400px;
    }
    
    .project-image-small {
        height: 150px;
    }
    
    .project-title {
        font-size: 2.5rem;
    }
    
    .project-cta {
        padding: 40px 20px;
    }
    
    .project-cta h2 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .project-hero {
        height: 30vh;
        min-height: 250px;
    }
    
    .main-project-image {
        height: 300px;
    }
    
    .project-image-small {
        height: 120px;
        margin-bottom: 15px;
    }
    
    .project-title {
        font-size: 2rem;
    }
    
    .project-details {
        margin-top: 30px;
    }
    
    .project-cta {
        padding: 30px 15px;
    }
    
    .project-cta h2 {
        font-size: 24px;
    }
}