/* Detail Pages Styling with Fixed Photo Sizes */

.detail-hero {
    padding: 150px 0 80px;
    background: var(--color-1);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-3);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 2rem;
    transition: all 0.3s;
}

.back-link:hover {
    color: var(--color-4);
    transform: translateX(-5px);
}

.detail-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.achievement-icon-large {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--color-3);
    color: var(--color-1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 2rem;
}

.detail-category {
    display: inline-block;
    background: var(--color-3);
    color: var(--color-1);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.detail-header h1 {
    font-size: 3rem;
    color: var(--color-4);
    margin-bottom: 1rem;
    font-weight: 700;
}

.detail-subtitle {
    font-size: 1.3rem;
    color: var(--color-3);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.detail-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.detail-meta span {
    color: var(--color-3);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-meta i {
    color: var(--color-3);
}

/* Fixed Photo Size for Detail Pages */
.detail-image {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    border: 3px solid var(--color-3);
    box-shadow: 0 10px 40px rgba(157, 178, 191, 0.2);
    height: 500px;
}

.detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.detail-main h2 {
    font-size: 2rem;
    color: var(--color-4);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.detail-main h3 {
    font-size: 1.5rem;
    color: var(--color-3);
    margin: 2rem 0 1rem;
    font-weight: 700;
}

.detail-main p {
    font-size: 1.1rem;
    color: var(--color-4);
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.features-list {
    list-style: none;
    margin-top: 1.5rem;
}

.features-list li {
    color: var(--color-4);
    font-size: 1.05rem;
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    line-height: 1.7;
}

.features-list li i {
    position: absolute;
    left: 0;
    top: 3px;
    color: var(--color-3);
    font-size: 1.2rem;
}

.detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-box {
    background: var(--color-1);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--color-3);
}

.sidebar-box h3 {
    font-size: 1.3rem;
    color: var(--color-4);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 700;
}

.sidebar-box h3 i {
    color: var(--color-3);
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tech-item {
    background: var(--color-2);
    color: var(--color-4);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid var(--color-3);
    font-weight: 600;
}

.link-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.link-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: var(--color-2);
    color: var(--color-4);
    text-decoration: none;
    border-radius: 8px;
    border: 2px solid var(--color-3);
    font-weight: 600;
    transition: all 0.3s;
}

.link-btn:hover {
    background: var(--color-3);
    color: var(--color-1);
    transform: translateX(5px);
}

.detail-content-center {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.detail-content-center h2 {
    font-size: 2.5rem;
    color: var(--color-4);
    margin-bottom: 2rem;
    font-weight: 700;
}

.achievement-details {
    font-size: 1.2rem;
    color: var(--color-4);
    line-height: 2;
    margin-bottom: 3rem;
}

.achievement-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.more-projects,
.more-achievements {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.more-project-card {
    background: var(--color-2);
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--color-3);
    transition: all 0.3s;
    text-decoration: none;
    display: block;
}

.more-project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(157, 178, 191, 0.3);
}

.more-project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.more-project-content {
    padding: 1.5rem;
}

.more-project-content h3 {
    font-size: 1.3rem;
    color: var(--color-4);
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.more-project-content p {
    color: var(--color-4);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsive for Detail Pages */
@media (max-width: 968px) {
    .detail-header h1 {
        font-size: 2rem;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .more-projects,
    .more-achievements {
        grid-template-columns: 1fr;
    }

    .detail-image {
        height: 300px;
    }
}