/* ===================================
   PROJECT OVERVIEW PAGE ONLY
   Uses same brand style as main CSS
=================================== */

.project-overview-page {
    width: 100%;
    min-height: 100vh;
    color: var(--soft-white);
}

/* Main content wrapper */
.project-overview-content {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 0 50px;
}

/* Sections */
.project-section {
    margin-bottom: 65px;
    text-align: center;
}

.project-section h1 {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    font-size: 42px;
    margin-bottom: 18px;
}

.project-section h2 {
    font-family: 'Cinzel', serif;
    color: var(--gold);
    font-size: 30px;
    margin-bottom: 18px;
}

.project-section h3 {
    color: var(--gold);
    font-size: 20px;
    margin-bottom: 12px;
}

.project-section p {
    color: var(--soft-white);
    font-size: 16px;
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto 15px;
}

/* Grid layout */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

/* Cards */
.project-box {
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 14px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 0 5px rgba(212, 175, 55, 0.35);
    transition: 0.3s ease;
}

.project-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.45);
}

.project-box i {
    color: var(--gold);
    margin-bottom: 15px;
}

.project-box p {
    font-size: 15px;
    line-height: 1.6;
}

/* Book-style featured project */
.book-card {
    border-left: 4px solid rgba(212, 175, 55, 0.6);
    position: relative;
}

.book-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 9px;
    width: 1px;
    height: 100%;
    background: rgba(212, 175, 55, 0.2);
}

/* Project links/buttons */
.project-link {
    display: inline-block;
    margin-top: 15px;
    text-decoration: none;
}

/* CTA section */
.project-cta .cn {
    display: inline-block;
    margin: 10px;
}

/* Deliverables section */
.deliverable-box {
    min-height: 210px;
}

/* Mobile */
@media (max-width: 768px) {
    .project-overview-content {
        width: 90%;
        padding: 60px 0 40px;
    }

    .project-section {
        margin-bottom: 50px;
    }

    .project-section h1 {
        font-size: 34px;
    }

    .project-section h2 {
        font-size: 25px;
    }

    .project-section p {
        font-size: 15px;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .project-cta .cn {
        display: block;
        width: fit-content;
        margin: 12px auto;
    }
}

/* PROJECT OVERVIEW PAGE TRANSITION OVERLAY */
#projectRevealOverlay {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transform: scaleX(0);
    transform-origin: center;
    transition: opacity 0.2s ease;
}

#projectRevealOverlay.active {
    opacity: 1;
    animation: engineReveal 0.9s ease forwards;
}

#projectRevealOverlay .cut-line {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 0;
    background: var(--gold);
    box-shadow: 0 0 20px var(--gold);
    transform: translate(-50%, -50%);
}

#projectRevealOverlay.active .cut-line {
    animation: cutLine 0.45s ease forwards;
}

@keyframes cutLine {
    0% {
        height: 0;
        opacity: 0;
    }
    100% {
        height: 100vh;
        opacity: 1;
    }
}

@keyframes engineReveal {
    0% {
        clip-path: circle(0% at 50% 50%);
    }
    45% {
        clip-path: circle(12% at 50% 50%);
    }
    100% {
        clip-path: circle(150% at 50% 50%);
    }
}
.project-preview-img {
    width: 100%;
    max-width: 100%;
    border-radius: 10px;
    margin: 15px 0;
    border: 1px solid rgba(212, 175, 55, 0.25);
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.25);
}