/* ========================================================================
   PROJECT LAYOUT STYLES — Canopus.lk
   Used by: /projects/project-layout.php
   ======================================================================== */


/* ------------------------------
   HERO IMAGE
------------------------------ */
.project-hero {
    height: 520px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    margin-bottom: 40px;
    position: relative;
}

@media (max-width: 992px) {
    .project-hero {
        height: 420px;
    }
}

@media (max-width: 576px) {
    .project-hero {
        height: 260px;
        border-radius: 10px;
    }
}


/* ------------------------------
   TITLE
------------------------------ */
.project-title {
    font-weight: 800;
    color: #198754;
    margin-bottom: 25px;
}


/* ------------------------------
   META BOX
------------------------------ */
.meta-box {
    background: #fff;
    border-radius: 14px;
    padding: 30px 25px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.08);
    margin-bottom: 50px;
}

.meta-item i {
    font-size: 1.8rem;
    color: #198754;
}

.meta-item h6 {
    margin-top: 10px;
    font-weight: 600;
    color: #198754;
}

.meta-item p {
    margin: 0;
    font-size: 0.95rem;
    color: #555;
}


/* ------------------------------
   INFO CARDS (Overview, Scope, Outcomes)
------------------------------ */
.info-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    margin-bottom: 35px;
}

.info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 32px rgba(0,0,0,0.12);
}

.info-card h4 {
    color: #198754;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-card p,
.info-card li {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.65;
}

.info-card ul {
    padding-left: 18px;
}


/* ------------------------------
   LINK SECTION
------------------------------ */
.info-card ul li a {
    color: #198754;
    font-weight: 600;
    text-decoration: none;
}

.info-card ul li a:hover {
    text-decoration: underline;
}
/* ================= PROJECT VIDEO ================= */
.project-video-section {
    margin-top: 40px;
}

.video-title {
    font-weight: 700;
    color: var(--c-primary, #198754);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-video-wrapper {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 18px 45px rgba(0,0,0,0.25);
}

.project-video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Optional full-width feature video */
.project-video-wrapper.is-feature {
    max-width: 100%;
}

.video-note {
    margin-top: 12px;
    font-size: 0.9rem;
    color: #666;
    text-align: center;
}
/* ================= END PROJECT VIDEO ================= */
