/**
 * Section: Thông tin dự án (Project Info) - Frontend Styles
 * 
 * Layout: Full screen section background, content floating on RIGHT.
 * 
 * @package HDev_Theme
 */

.hdev-fullpage .row:has(.hdev-project-info-wrapper),
.hdev-fullpage .row.has-hdev-project-info {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.hdev-fullpage .col:has(.hdev-project-info-wrapper),
.hdev-fullpage .col.has-hdev-project-info {
    padding-bottom: 0 !important;
    max-width: 100% !important;
    flex-basis: 100% !important;
}

.hdev-project-info-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    /* Align Content Right */
    padding-right: 0;
}

.hdev-project-info-content-panel {
    position: relative;
    z-index: 2;
    width: 35%;
    max-width: 600px;
    padding: 20px 0 20px 20px;
    background: rgba(0, 55, 17, 0.3);
    /* Glass effect */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hdev-project-info-inner {
    width: 100%;
    padding: 20px;
}

.hdev-pi-title {
    font-family: var(--hdev-font-heading);
    font-size: var(--hdev-fs-heading-opt);
    background: var(--hdev-color-heading-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
    margin: 0 0 5px 0;
    line-height: 1.1;
    text-transform: uppercase;
}

.hdev-pi-subtitle {
    font-family: var(--hdev-font-subheading);
    font-size: var(--hdev-fs-subheading-opt);
    color: var(--hdev-gold);
    font-weight: 300;
    font-style: italic;
    margin-top: -10px;
    margin-bottom: 10px;
    text-shadow: none;
    text-transform: none;
}

.hdev-pi-divider {
    width: 50px;
    height: 1px;
    background: rgba(255, 255, 255, 0.8);
    margin: 20px 0 30px 0;
}

.hdev-pi-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.hdev-pi-item {
    display: flex;
    align-items: center;
    /* Vertically center icon/text if needed, though no icon here */
    gap: 15px;
}

/* No Icon Wrapper needed as per request, just text */

.hdev-pi-label {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 3px;
    font-weight: 800;
}

.hdev-pi-value {
    display: block;
    line-height: 1.3;
    font-size: 0.9em;
}

.hdev-project-info-mobile-bg {
    display: none;
    width: 100%;
    background-size: cover;
    background-position: center;
}

@media (max-width: 1024px) {
    .hdev-project-info-content-panel {
        width: 50%;
    }
}

@media (max-width: 768px) {
    .hdev-project-info-wrapper {
        min-height: auto;
        height: auto;
        padding: 0;
        flex-direction: column;
        justify-content: flex-start;
    }

    .hdev-project-info-content-panel {
        width: 100%;
        max-width: 100%;
        background: #fff;
        color: #333;
        /* Dark text on white bg */
        padding: 30px 20px;
        border-radius: 0;
        text-align: left;
    }

    /* Override text colors for white background */
    .hdev-pi-title {
        background: var(--hdev-color-heading-text);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        color: transparent;
        display: inline-block;
        text-align: left;
    }

    /* .hdev-pi-label,
    .hdev-pi-value {
        color: #333;
    } */

    .hdev-pi-list,
    .hdev-pi-item {
        align-items: flex-start;
        justify-content: flex-start;
        text-align: left;
    }

    .hdev-pi-item {
        flex-direction: row;
        /* Keep side-by-side or column depending on preference, Ha Tang is text block */
        gap: 15px;
        padding: 5px 0;
        width: 100%;
    }

    .hdev-project-info-mobile-bg {
        display: block;
        height: 50vh;
        min-height: 300px;
        order: 2;
        /* Ensure it stays at bottom if column reversed, but default column puts it last which is bottom */
    }
}