/* --- THEME VARIABLES --- */
:root {
    --bg-main: #0f172a;
    --bg-card: #1e293b;
    --primary-blue: #3b82f6;
    --text-white: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.05);
}

body { background: var(--bg-main); color: var(--text-white); }

/* --- HEADER SECTION --- */
.details-header {
    padding-top: 140px; padding-bottom: 60px;
    background: radial-gradient(circle at top center, rgba(59, 130, 246, 0.15), var(--bg-main) 70%);
}

.back-btn { color: var(--primary-blue); font-weight: 500; display: inline-flex; align-items: center; gap: 8px; margin-bottom: 30px; transition: 0.3s; }
.back-btn:hover { gap: 12px; }

.header-content { text-align: center; max-width: 900px; margin: 0 auto 50px; }
.category-badge { background: rgba(59, 130, 246, 0.15); color: var(--primary-blue); padding: 5px 15px; border-radius: 50px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; border: 1px solid rgba(59, 130, 246, 0.3); }

.header-content h1 { font-size: 3rem; margin: 20px 0; line-height: 1.2; }
.meta-info { display: flex; justify-content: center; gap: 30px; color: var(--text-muted); font-size: 1rem; }
.meta-info i { color: var(--primary-blue); margin-right: 5px; }

.main-visual {
    width: 100%; height: 500px; border-radius: 20px; overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4); border: 1px solid var(--border-color);
    background: var(--bg-card);
}
.main-visual img { width: 100%; height: 100%; object-fit: cover; }

/* --- CONTENT GRID --- */
.details-body { padding: 80px 0; }
.layout-grid { display: flex; gap: 60px; align-items: flex-start; }

/* Left Column: Story */
.content-col { flex: 2; }

.story-block { margin-bottom: 60px; }
.story-block h3 {
    font-size: 1.8rem; margin-bottom: 20px; display: flex; align-items: center; gap: 15px;
    color: white; border-bottom: 1px solid var(--border-color); padding-bottom: 15px;
}
.icon-circle {
    width: 45px; height: 45px; background: var(--bg-card); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; color: var(--primary-blue); font-size: 1.2rem;
    border: 1px solid var(--border-color);
}
.text-content { font-size: 1.1rem; line-height: 1.8; color: #cbd5e1; white-space: pre-line; }

/* Right Column: Sidebar */
.sidebar-col { flex: 1; position: sticky; top: 120px; }

.stat-card {
    background: var(--bg-card); padding: 30px; border-radius: 16px;
    border: 1px solid var(--border-color); text-align: center; margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.stat-card h4 { font-size: 0.9rem; text-transform: uppercase; color: var(--text-muted); letter-spacing: 1px; }
.big-stat { font-size: 3.5rem; font-weight: 800; color: #10b981; margin: 10px 0; }
.separator { height: 1px; background: var(--border-color); margin: 20px 0; }
.w-100 { width: 100%; display: block; text-align: center; }

.info-card {
    background: rgba(15, 23, 42, 0.6); padding: 30px; border-radius: 16px;
    border: 1px solid var(--border-color);
}
.info-card h4 { font-size: 1.1rem; color: white; margin-bottom: 20px; }
.service-list li { margin-bottom: 12px; color: var(--text-muted); display: flex; gap: 10px; }
.service-list i { color: var(--primary-blue); }

/* --- NEXT PROJECT STRIP --- */
.next-project-strip {
    padding: 80px 0; background: #0b1120; border-top: 1px solid var(--border-color);
}
.next-project-strip h3 { font-size: 2rem; margin-bottom: 30px; color: white; }
.btn-outline-white { border: 2px solid white; color: white; padding: 12px 35px; border-radius: 50px; transition: 0.3s; display: inline-block; }
.btn-outline-white:hover { background: white; color: var(--bg-main); }

/* --- SKELETON LOADING --- */
.skeleton-text { color: transparent; background: #1e293b; border-radius: 4px; animation: pulse 1.5s infinite; }
.skeleton-block { min-height: 100px; background: #1e293b; border-radius: 8px; animation: pulse 1.5s infinite; color: transparent; }
.skeleton-img { min-height: 100%; opacity: 0; transition: opacity 0.5s; }
.skeleton-img.loaded { opacity: 1; }

@keyframes pulse { 0%{opacity: 0.5;} 50%{opacity: 1;} 100%{opacity: 0.5;} }

/* RESPONSIVE */
@media (max-width: 991px) {
    .layout-grid { flex-direction: column; }
    .sidebar-col { width: 100%; position: static; order: -1; margin-bottom: 40px; }
    .header-content h1 { font-size: 2.2rem; }
    .main-visual { height: 300px; }
}