/* ================================================
   PROJECT PAGE — Dasom Saessak Initiative
   ================================================ */

/* ─── Hero ─────────────────────────────────────── */
.proj-hero {
    position: relative;
    height: 540px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    margin-top: 70px;
}

.proj-hero-img {
    position: absolute;
    inset: 0;
}

.proj-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}

.proj-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10, 20, 10, 0.82) 0%,
        rgba(10, 20, 10, 0.45) 50%,
        rgba(10, 20, 10, 0.1) 100%
    );
}

.proj-hero-content {
    position: relative;
    z-index: 2;
    padding-bottom: 52px;
    color: #fff;
}

.proj-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    margin-bottom: 18px;
    opacity: 0.8;
}

.proj-breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.proj-breadcrumb a:hover { opacity: 0.7; }

.proj-breadcrumb i {
    width: 14px;
    height: 14px;
}

.proj-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(59,90,56,0.85);
    border: 1px solid rgba(255,255,255,0.25);
    color: #d4e9c8;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
    backdrop-filter: blur(6px);
}

.proj-badge i { width: 14px; height: 14px; }

.proj-hero-title {
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
    color: #fff;
}

.proj-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
    opacity: 0.85;
}

.proj-hero-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.proj-hero-meta i { width: 15px; height: 15px; }

/* ─── Stats Strip ────────────────────────────────── */
.stats-strip {
    background: var(--primary-color);
    padding: 36px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.stat-item {
    text-align: center;
    padding: 0 24px;
    border-right: 1px solid rgba(255,255,255,0.15);
}

.stat-item:last-child { border-right: none; }

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -1px;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
}

/* ─── Layout ─────────────────────────────────────── */
.proj-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
    padding-top: 64px;
    padding-bottom: 80px;
    align-items: start;
}

/* ─── Article ────────────────────────────────────── */
.proj-article {
    min-width: 0;
}

.proj-section {
    margin-bottom: 60px;
}

.proj-section h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--bg-light);
    letter-spacing: -0.5px;
}

.proj-section p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 16px;
}

.proj-section strong { color: var(--text-main); }

/* Quote */
.proj-quote {
    background: #f6f9f5;
    border-left: 4px solid var(--primary-color);
    border-radius: 0 12px 12px 0;
    padding: 24px 28px;
    margin: 32px 0;
}

.proj-quote p {
    font-size: 17px;
    font-style: italic;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.7;
}

.proj-quote cite {
    font-size: 13px;
    color: var(--primary-color);
    font-weight: 600;
    font-style: normal;
}

/* Challenge Grid */
.challenge-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 8px;
}

.challenge-card {
    background: #f8faf7;
    border: 1px solid #e8ede6;
    border-radius: 14px;
    padding: 24px;
    transition: box-shadow 0.2s;
}

.challenge-card:hover {
    box-shadow: 0 6px 20px rgba(59,90,56,0.08);
}

.challenge-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 14px;
}

.challenge-icon i { width: 20px; height: 20px; }

.challenge-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.challenge-card p {
    font-size: 14px;
    line-height: 1.65;
    color: #666;
    margin: 0;
}

/* Approach Steps */
.approach-steps {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 8px;
}

.approach-step {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 1px;
}

.step-content h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
}

.step-content p {
    font-size: 15px;
    line-height: 1.75;
    color: #555;
    margin: 0;
}

/* Timeline */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #dce8d9;
}

.timeline-item {
    display: flex;
    gap: 24px;
    padding-bottom: 36px;
    position: relative;
}

.timeline-dot {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    border: 2px solid transparent;
}

.timeline-dot i { width: 16px; height: 16px; }

.timeline-item.completed .timeline-dot {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.timeline-item.active .timeline-dot {
    background: #fff;
    color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(59,90,56,0.15);
}

.timeline-item.upcoming .timeline-dot {
    background: #f0f4ef;
    color: #aaa;
    border-color: #dce8d9;
}

.timeline-body {
    padding-top: 8px;
}

.timeline-date {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 6px;
}

.timeline-item.upcoming .timeline-date { color: #aaa; }

.timeline-body h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 6px;
}

.timeline-item.upcoming .timeline-body h4 { color: #aaa; }

.timeline-body p {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

/* Updates */
.updates-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.update-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #f8faf7;
    border-radius: 14px;
    border: 1px solid #e8ede6;
    transition: box-shadow 0.2s;
}

.update-item:hover {
    box-shadow: 0 6px 20px rgba(59,90,56,0.07);
}

.update-date {
    flex-shrink: 0;
    width: 52px;
    text-align: center;
}

.update-day {
    display: block;
    font-size: 26px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.update-month {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-top: 2px;
}

.update-body h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 6px;
}

.update-body p {
    font-size: 14px;
    line-height: 1.65;
    color: #666;
    margin: 0;
}

.update-body a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

/* Partners */
.partners-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.partner-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: #f8faf7;
    border: 1px solid #e8ede6;
    border-radius: 12px;
    transition: box-shadow 0.2s;
}

.partner-card:hover { box-shadow: 0 4px 16px rgba(59,90,56,0.08); }

.partner-icon {
    width: 44px;
    height: 44px;
    background: var(--primary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.partner-icon i { width: 20px; height: 20px; }

.partner-info h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 2px;
}

.partner-info span {
    font-size: 12px;
    color: #888;
}

/* ─── Sidebar ─────────────────────────────────────── */
.proj-sidebar {
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-card {
    background: #fff;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    border: 1px solid #eef2ec;
}

/* Donate Card */
.donate-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.donate-card-header h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 2px;
    color: var(--text-main);
}

.donate-card-header p {
    font-size: 13px;
    color: #888;
    margin: 0;
}

.sidebar-progress {
    margin-bottom: 20px;
}

.progress-sub-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 12px;
    color: #888;
}

.progress-sub-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.impact-preview {
    background: #f0f7ee;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 14px;
    color: #444;
    border: 1px dashed #c3debb;
}

/* Share Card */
.share-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-main);
}

.share-card p {
    font-size: 13px;
    color: #888;
    margin-bottom: 16px;
}

.share-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 10px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Pretendard', sans-serif;
}

.share-btn i { width: 16px; height: 16px; }

.share-btn.kakao {
    background: #FEE500;
    color: #3A1D1D;
}

.share-btn.kakao:hover { background: #f0d800; }

.share-btn.instagram {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
}

.share-btn.instagram:hover { opacity: 0.9; }

.share-btn.copy {
    background: #f0f4ef;
    color: var(--primary-color);
    border: 1px solid #dce8d9;
}

.share-btn.copy:hover { background: #e5ede3; }

/* Impact Card */
.impact-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-main);
}

.impact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.impact-list li {
    display: flex;
    align-items: center;
    gap: 14px;
}

.impact-icon {
    width: 36px;
    height: 36px;
    background: #f0f7ee;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.impact-icon i { width: 18px; height: 18px; }

.impact-list strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
}

.impact-list span {
    font-size: 13px;
    color: #777;
}

/* ─── Responsive ─────────────────────────────────── */
@media (max-width: 1100px) {
    .proj-layout {
        grid-template-columns: 1fr;
    }
    .proj-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .donate-card { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    .proj-hero { height: 400px; margin-top: 60px; }
    .proj-hero-title { font-size: 30px; letter-spacing: -0.8px; }
    .proj-hero-content { padding-bottom: 36px; }
    .proj-breadcrumb { font-size: 12px; margin-bottom: 12px; }
    .proj-badge { font-size: 12px; padding: 5px 12px; margin-bottom: 12px; }
    .stats-strip { padding: 28px 0; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .stat-item { border-right: none; padding: 12px 16px; }
    .stat-item:nth-child(1), .stat-item:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.15); }
    .stat-number { font-size: 28px; }
    .stat-label { font-size: 12px; }
    .proj-layout { padding-top: 40px; padding-bottom: 50px; gap: 32px; }
    .proj-section { margin-bottom: 44px; }
    .proj-section h2 { font-size: 22px; margin-bottom: 16px; }
    .proj-section p { font-size: 15px; line-height: 1.75; }
    .challenge-grid { grid-template-columns: 1fr; }
    .challenge-card { padding: 20px; }
    .approach-step { gap: 16px; }
    .step-number { width: 40px; height: 40px; font-size: 13px; border-radius: 10px; }
    .step-content h4 { font-size: 16px; }
    .step-content p { font-size: 14px; }
    .timeline-item { gap: 16px; padding-bottom: 28px; }
    .timeline::before { left: 16px; }
    .timeline-dot { width: 34px; height: 34px; }
    .timeline-dot i { width: 14px; height: 14px; }
    .timeline-body h4 { font-size: 15px; }
    .timeline-body p { font-size: 13px; }
    .update-item { flex-direction: column; gap: 12px; padding: 16px; }
    .update-date { display: flex; align-items: baseline; gap: 8px; width: auto; text-align: left; }
    .update-day { font-size: 22px; display: inline; }
    .update-month { display: inline; }
    .partners-grid { grid-template-columns: 1fr; }
    .proj-sidebar { grid-template-columns: 1fr; }
    .sidebar-card { padding: 22px; }
    .proj-hero-meta { gap: 10px; font-size: 12px; flex-direction: column; }
    .proj-quote { padding: 20px 22px; margin: 24px 0; }
    .proj-quote p { font-size: 15px; }

    /* Bottom CTA mobile */
    .bottom-cta-container {
        flex-direction: column !important;
        text-align: center;
        gap: 24px;
    }
    .bottom-cta-left {
        flex-direction: column !important;
        align-items: center !important;
    }
    .bottom-cta-text {
        text-align: center;
    }
    .bottom-cta-text h3 { font-size: 20px; }
    .bottom-cta-text p { font-size: 14px; }
}

@media (max-width: 480px) {
    .proj-hero { height: 340px; margin-top: 56px; }
    .proj-hero-title { font-size: 26px; line-height: 1.15; letter-spacing: -0.5px; }
    .proj-hero-content { padding-bottom: 28px; }
    .proj-breadcrumb { display: none; }
    .stats-strip { padding: 20px 0; }
    .stats-grid { gap: 12px; }
    .stat-number { font-size: 22px; }
    .stat-label { font-size: 11px; }
    .stat-item { padding: 8px 10px; }
    .proj-layout { padding-top: 28px; padding-bottom: 36px; }
    .proj-section { margin-bottom: 36px; }
    .proj-section h2 { font-size: 20px; padding-bottom: 10px; }
    .proj-section p { font-size: 14px; }
    .challenge-card { padding: 16px; }
    .challenge-card h4 { font-size: 15px; }
    .challenge-card p { font-size: 13px; }
    .approach-step { flex-direction: column; gap: 10px; }
    .step-number { width: 36px; height: 36px; font-size: 12px; }
    .step-content h4 { font-size: 15px; }
    .step-content p { font-size: 13px; }
    .timeline-item { gap: 12px; padding-bottom: 24px; }
    .timeline::before { left: 14px; }
    .timeline-dot { width: 30px; height: 30px; }
    .timeline-dot i { width: 12px; height: 12px; }
    .timeline-date { font-size: 11px; }
    .timeline-body h4 { font-size: 14px; }
    .timeline-body p { font-size: 12px; line-height: 1.6; }
    .update-item { padding: 14px; }
    .update-body h4 { font-size: 14px; }
    .update-body p { font-size: 13px; }
    .sidebar-card { padding: 18px; border-radius: 14px; }
    .donate-card-header h3 { font-size: 16px; }
    .amount-grid { gap: 8px; }
    .amount-btn { padding: 10px 16px; font-size: 13px; }
    .freq-btn { padding: 8px 16px; font-size: 13px; }
    .impact-list li { gap: 10px; }
    .impact-list strong { font-size: 13px; }
    .impact-list span { font-size: 12px; }
    .share-btn { padding: 10px 14px; font-size: 13px; }
    .partner-card { padding: 14px 16px; gap: 12px; }
    .partner-icon { width: 38px; height: 38px; }
    .partner-info h4 { font-size: 13px; }
    .partner-info span { font-size: 11px; }
    .bottom-cta-text h3 { font-size: 18px; }
    .icon-circle-lg { width: 48px; height: 48px; }
}

