/* Project breakdown page styles */

.project-hero {
    margin-top: 80px;
    padding: 4rem 2rem 3rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.project-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
}
.project-hero-content {
    max-width: 860px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.project-breadcrumb { font-size: 0.88rem; margin-bottom: 1.25rem; opacity: 0.85; }
.project-breadcrumb a { color: #fff; text-decoration: none; }
.project-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.35);
    padding: 0.35rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
}
.project-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.6rem;
    line-height: 1.25;
    margin-bottom: 1rem;
}
@media (max-width: 600px) { .project-hero h1 { font-size: 1.9rem; } }
.project-hero p { font-size: 1.1rem; line-height: 1.7; opacity: 0.9; max-width: 680px; }
.project-hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.3);
}
.project-hero-stat { text-align: center; }
.project-hero-stat strong { display: block; font-size: 1.3rem; font-weight: 800; }
.project-hero-stat span { font-size: 0.8rem; opacity: 0.8; }

/* Disclaimer */
.project-disclaimer {
    background: #fffbeb;
    border-left: 4px solid #f59e0b;
    padding: 1rem 1.5rem;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-size: 0.85rem;
    color: #78350f;
    line-height: 1.65;
    margin: 1.5rem 0 2rem;
    font-style: italic;
}

/* Project body */
.project-body { max-width: 860px; margin: 0 auto; padding: 3rem 2rem 4rem; }

/* Specs table */
.project-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin-bottom: 2.5rem;
}
.project-spec {
    background: var(--beige);
    border: 2px solid var(--stone);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    text-align: center;
}
.project-spec-value { font-size: 1.2rem; font-weight: 800; color: var(--primary); margin-bottom: 0.25rem; }
.project-spec-label { font-size: 0.8rem; color: var(--gray); font-weight: 600; }

/* Before / After */
.project-before-after {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}
@media (max-width: 600px) { .project-before-after { grid-template-columns: 1fr; } }
.project-image-box {
    background: var(--beige);
    border: 2px solid var(--stone);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.project-image-placeholder {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    background: linear-gradient(135deg, var(--stone), var(--beige));
}
.project-image-label {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--dark);
    text-align: center;
    border-top: 1px solid var(--stone);
}

/* Sections */
.project-section { margin-bottom: 2.5rem; }
.project-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    color: var(--dark);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--primary);
}
.project-section h3 { font-size: 1.15rem; font-weight: 700; color: var(--dark); margin: 1.25rem 0 0.5rem; }
.project-section p { font-size: 1rem; line-height: 1.8; color: #374151; margin-bottom: 1rem; }
.project-section ul, .project-section ol { padding-left: 1.75rem; margin: 0.75rem 0 1.25rem; }
.project-section li { font-size: 1rem; line-height: 1.75; color: #374151; margin-bottom: 0.5rem; }

/* Materials list */
.project-materials {
    background: var(--white);
    border: 2px solid var(--stone);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin: 1rem 0;
}
.project-materials table { width: 100%; border-collapse: collapse; }
.project-materials th { background: var(--primary); color: #fff; padding: 0.75rem 1rem; text-align: left; font-size: 0.88rem; }
.project-materials td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--stone); font-size: 0.95rem; color: #374151; }
.project-materials tr:last-child td { border-bottom: none; }
.project-materials .total-row td { font-weight: 700; color: var(--primary); background: #f0fdf4; }

/* Steps */
.project-step {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: var(--white);
    border: 2px solid var(--stone);
    border-radius: var(--radius-md);
    transition: border-color var(--transition-fast);
}
.project-step:hover { border-color: var(--primary); }
.project-step-num {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
}
.project-step-content h3 { margin-top: 0; font-size: 1.05rem; color: var(--dark); margin-bottom: 0.4rem; }
.project-step-content p { margin: 0; font-size: 0.95rem; line-height: 1.7; color: var(--gray); }

/* Lessons learned */
.project-lessons {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border: 2px solid var(--primary);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-top: 2rem;
}
.project-lessons h3 { color: var(--primary); margin-top: 0; margin-bottom: 1rem; }
.project-lessons ul { padding-left: 1.25rem; margin: 0; }
.project-lessons li { font-size: 0.95rem; line-height: 1.75; color: #1f2937; margin-bottom: 0.5rem; }

/* CTA */
.project-cta {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    color: #fff;
    margin-top: 3rem;
}
.project-cta h3 { font-family: 'Playfair Display', serif; font-size: 1.6rem; margin-bottom: 0.75rem; }
.project-cta p { font-size: 1rem; opacity: 0.9; margin-bottom: 1.5rem; }
.project-cta .cta-button { background: #fff; color: var(--primary) !important; padding: 0.85rem 2rem; border-radius: var(--radius-sm); font-weight: 700; text-decoration: none; display: inline-block; }
