/* ===================================
   Works Detail Page Styles
   =================================== */

/* Project Detail Section */
.project_detail_section {
    width: 100vw;
    padding: 48px 0 80px;
}

.project_detail_container {
    width: 80vw;
    max-width: 896px;
    margin: 100px auto 0 auto;
    padding: 0 24px;
}

/* Project Header */
.project_header {
    text-align: center;
    margin-bottom: 48px;
    position: relative;
}

.project_header_badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    background: rgba(26, 54, 93, 0.10);
    color: #1A365D;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.project_title {
    color: #1F2937;
    font-family: 'Zen Old Mincho', serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 24px;
}

.project_categories {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.project_category_tag {
    padding: 6px 16px;
    border-radius: 9999px;
    background: rgba(26, 54, 93, 0.10);
    color: #1A365D;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
}

/* Project Main Image */
.project_main_image {
    margin-bottom: 64px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.15);
}

.project_image {
    width: 100%;
    height: auto;
    display: block;
}

/* Project Overview */
.project_overview {
    background: #FFF;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0px 2px 4px -2px rgba(0, 0, 0, 0.10), 0px 4px 6px -1px rgba(0, 0, 0, 0.10);
    margin-bottom: 48px;
}

.section_subtitle {
    color: #1F2937;
    font-family: Inter, sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid #E5E7EB;
}

.overview_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.overview_item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.overview_item_full {
    grid-column: 1 / -1;
}

.overview_label {
    color: #6B7280;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.overview_value {
    color: #1F2937;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 500;
}

.project_link {
    color: #1A365D;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
}

.project_link:hover {
    color: #2C5282;
    gap: 8px;
}

.external_icon {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.project_link:hover .external_icon {
    transform: translate(2px, -2px);
}

/* Project Content */
.project_content {
    margin-bottom: 48px;
}

.content_wrapper {
    background: #FFF;
    border-radius: 16px;
    padding: 48px;
    box-shadow: 0px 2px 4px -2px rgba(0, 0, 0, 0.10), 0px 4px 6px -1px rgba(0, 0, 0, 0.10);
}

.content_wrapper h2 {
    color: #1F2937;
    font-family: Inter, sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 20px;
}

.content_wrapper h2:first-child {
    margin-top: 0;
}

.content_wrapper h3 {
    color: #374151;
    font-family: Inter, sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 16px;
}

.content_wrapper p {
    color: #4B5563;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.content_wrapper ul,
.content_wrapper ol {
    color: #4B5563;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    padding-left: 24px;
}

.content_wrapper li {
    margin-bottom: 8px;
}

.content_wrapper img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 24px 0;
}

.content_wrapper blockquote {
    border-left: 4px solid #1A365D;
    padding-left: 24px;
    margin: 24px 0;
    color: #4B5563;
    font-style: italic;
}

/* Technologies */
.project_technologies {
    background: #FFF;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0px 2px 4px -2px rgba(0, 0, 0, 0.10), 0px 4px 6px -1px rgba(0, 0, 0, 0.10);
    margin-bottom: 48px;
}

.tech_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tech_tag {
    padding: 8px 16px;
    border-radius: 8px;
    background: #F3F4F6;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tech_tag:hover {
    background: rgba(26, 54, 93, 0.10);
    color: #1A365D;
}

/* Gallery */
.project_gallery {
    background: #FFF;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0px 2px 4px -2px rgba(0, 0, 0, 0.10), 0px 4px 6px -1px rgba(0, 0, 0, 0.10);
    margin-bottom: 48px;
}

.gallery_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.gallery_item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery_item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.gallery_item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Navigation */
.project_navigation {
    margin-top: 64px;
    padding-top: 48px;
    border-top: 2px solid #E5E7EB;
}

.btn_back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    background: #FFF;
    color: #1A365D;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid #1A365D;
    transition: all 0.3s ease;
    margin-bottom: 32px;
}

.btn_back:hover {
    background: #1A365D;
    color: #FFF;
}

.arrow_icon {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.btn_back:hover .arrow_icon {
    transform: translateX(-4px);
}

.project_nav_links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.nav_link {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px;
    border-radius: 12px;
    background: #F9FAFB;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav_link:hover {
    background: #FFF;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.nav_prev {
    text-align: left;
}

.nav_next {
    text-align: right;
}

.nav_direction {
    color: #6B7280;
    font-size: 14px;
    font-weight: 600;
}

.nav_title {
    color: #1A365D;
    font-size: 16px;
    font-weight: 700;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .breadcrumb_container,
    .project_detail_container {
        width: 90vw;
        padding: 0 16px;
    }
    
    .project_title {
        font-size: 28px;
    }
    
    .overview_grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .content_wrapper {
        padding: 32px 24px;
    }
    
    .gallery_grid {
        grid-template-columns: 1fr;
    }
    
    .project_nav_links {
        grid-template-columns: 1fr;
    }
    
    .nav_next {
        text-align: left;
    }
}

@media screen and (max-width: 480px) {
    .project_title {
        font-size: 24px;
    }
    
    .project_overview,
    .project_technologies,
    .project_gallery {
        padding: 24px;
    }
    
    .content_wrapper {
        padding: 24px 16px;
    }
}