:root {
    --clr-primary: #043873;
    --clr-accent: #F99D1C;
    --clr-accent-hover: #4f46e5;
    --clr-light: #fff;
    --clr-muted: #64748b;
}

body {
    background-color: #f8f9fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Inter', sans-serif;
}

/* ─── NAVBAR ─── */
.navbar-custom {
    background: var(--clr-light);
    box-shadow: 0 2px 12px rgba(0,0,0,.18);
    padding: .85rem 0;
}

.navbar-custom .navbar-brand {
    color: var(--clr-primary);
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: -.5px;
    text-decoration: none;
}

.navbar-custom .navbar-brand span {
    color: var(--clr-accent);
}

.navbar-custom .nav-link {
    color: #043873;
    font-weight: 500;
    font-size: .92rem;
    padding: .5rem .85rem;
    border-radius: 6px;
    transition: background .2s, color .2s;
    text-decoration: none;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
    color: #043873;
    background: rgba(255,255,255,.1);
}

.navbar-custom .btn-nav-action {
    background: var(--clr-accent);
    color: #fff;
    border: none;
    font-weight: 600;
    font-size: .88rem;
    padding: .45rem 1.1rem;
    border-radius: 6px;
    text-decoration: none;
    transition: background .2s;
}

.navbar-custom .btn-nav-action:hover {
    background: #fff;
    color: var(--clr-accent);
    border: solid 1px var(--clr-accent);
}

/* ─── MAIN SECTION ─── */
.project-detail-section {
    flex: 1;
    padding: 3rem 0;
}

/* BACK BUTTON */
.btn-back {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.2rem;
    background: #fff;
    color: #0b3d6d;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all .3s;
}

.btn-back:hover {
    background: #0b3d6d;
    color: #fff;
    border-color: #0b3d6d;
    transform: translateX(-3px);
}

/* PROJECT HEADER */
.project-header {
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

.project-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0b3d6d;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.badge-category {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #1565c0 0%, #0b3d6d 100%);
    color: #fff;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    padding: 0.7rem 1.5rem;
    background: #dc3545;
    color: #fff;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all .3s;
}

.btn-download:hover {
    background: #c82333;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

/* SECTION TITLE */
.section-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0b3d6d;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #F99D1C;
}

/* VIDEO CONTAINER */
.video-container {
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

/* DESCRIPTION */
.description-container {
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

.description-content {
    color: #495057;
    font-size: 1rem;
    line-height: 1.8;
    text-align: justify;
}

/* INFO CARD */
.info-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

/* INFO LIST */
.info-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-item i {
    font-size: 1.5rem;
    color: #1565c0;
    margin-top: 0.2rem;
}

.info-item > div {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 500;
}

.info-value {
    font-size: 1rem;
    color: #212529;
    font-weight: 600;
}

/* TEAM LIST */
.team-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.team-member {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all .3s;
}

.team-member:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.member-avatar {
    font-size: 2.5rem;
    color: #1565c0;
}

.member-info {
    display: flex;
    flex-direction: column;
}

.member-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #212529;
}

.member-role {
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 500;
    text-transform: uppercase;
}

.member-role.ketua {
    color: #1565c0;
    font-weight: 700;
}

/* THUMBNAIL PREVIEW */
.thumbnail-preview {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,.1);
}

/* ─── FOOTER ─── */
.footer-custom {
    background: var(--clr-primary);
    color: rgba(255,255,255,.5);
    padding: 1.8rem 0;
    font-size: .85rem;
    margin-top: auto;
}

.footer-custom a {
    color: rgba(255,255,255,.6);
    text-decoration: none;
    transition: color .2s;
}

.footer-custom a:hover {
    color: #fff;
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .project-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.2rem;
    }
    
    .project-header {
        padding: 1.5rem;
    }
    
    .video-container,
    .description-container,
    .info-card {
        padding: 1.5rem;
    }
}

@media (max-width: 767px) {
    .project-title {
        font-size: 1.5rem;
    }
    
    .btn-download {
        width: 100%;
        justify-content: center;
    }
}
