/* =========================================
   PROJECT DETAIL PAGE
========================================= */

.project-page {
    min-height: 100vh;
    padding-bottom: 80px;
}

.project-detail-nav {
    width: min(100% - 40px, var(--container));
    margin: auto;
    padding: 25px 0 45px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.back-link {
    color: #c8cad5;
    font-size: 13px;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--yellow);
}

.project-detail {
    width: min(100% - 40px, 920px);
    margin: auto;
}

.project-detail-hero {
    display: grid;
    grid-template-columns: 1fr 1.7fr;
    align-items: center;
    gap: 45px;
    padding: 35px 0 55px;
}

.project-logo {
    width: 108px;
    height: 108px;
    display: grid;
    place-items: center;
    border-radius: 28px;
    background: var(--yellow);
    color: #11131c;
    font-size: 52px;
    font-weight: 700;
    box-shadow: 0 16px 45px rgba(219, 255, 0, 0.12);
}

.project-detail-hero h1 {
    margin-top: 19px;
    font-size: clamp(38px, 6vw, 68px);
    line-height: 0.98;
    font-weight: 500;
    letter-spacing: -2px;
}

.project-detail-hero p {
    margin-top: 16px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.5;
}

.project-detail-preview {
    height: 310px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: #151a31;
}

.project-detail-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-detail-block {
    padding: 38px 0;
    border-top: 1px solid rgba(70, 110, 255, 0.2);
}

.project-detail-block h2 {
    margin-top: 8px;
    font-size: 28px;
    font-weight: 500;
}

.project-detail-block > p {
    max-width: 700px;
    margin-top: 15px;
    color: #b3b6c4;
    font-size: 15px;
    line-height: 1.65;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 24px;
    padding: 0;
    list-style: none;
}

.feature-list li {
    padding: 17px 18px;
    border: 1px solid rgba(70, 110, 255, 0.2);
    border-radius: 12px;
    background: rgba(17, 25, 53, 0.45);
    color: #d8dae3;
    font-size: 14px;
}

.feature-list li::before {
    content: "✓";
    margin-right: 10px;
    color: var(--yellow);
    font-weight: 700;
}

.order-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 28px;
    border-radius: 18px;
    background: linear-gradient(120deg, rgba(37, 91, 232, 0.38), rgba(21, 25, 55, 0.8));
}

.order-box h2 {
    margin-top: 0;
}

.order-box p {
    margin-top: 8px;
    color: #c0c4d2;
    font-size: 14px;
}

.whatsapp-btn {
    flex: 0 0 auto;
    padding: 13px 20px;
    border-radius: 8px;
    background: var(--yellow);
    color: #11131c;
    font-size: 13px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(219, 255, 0, 0.2);
}

@media (max-width: 700px) {
    .project-detail-nav {
        width: min(100% - 28px, var(--container));
        padding-bottom: 25px;
    }

    .project-detail {
        width: min(100% - 28px, var(--container));
    }

    .project-detail-hero {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-top: 25px;
    }

    .project-detail-preview {
        height: 230px;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .order-box {
        align-items: flex-start;
        flex-direction: column;
    }

    .whatsapp-btn {
        width: 100%;
        text-align: center;
    }
}
