/* ==========================================================
   JT MAISON — Project Hero Widget
   ========================================================== */

.jtm-project-hero {
    position: relative;
    width: 100%;
    /* At least 100vh to cover the whole screen on load */
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Top padding accounts for the absolute header so content isn't hidden under it */
    padding: calc(var(--jtm-header-h) + 40px) 40px 60px 40px;
    box-sizing: border-box;
    overflow: hidden;
}

.jtm-project-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient: darker at top for header legibility, darker at bottom for text legibility, subtle in middle */
    background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
    pointer-events: none;
}

.jtm-project-hero__inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.jtm-project-hero__breadcrumb {
    font-family: var(--jtm-font-ui);
    font-size: 11px;
    letter-spacing: 0.1em;
    color: var(--jtm-white);
    text-transform: uppercase;
    opacity: 0.8;
}

.jtm-project-hero__bottom {
    max-width: 800px;
    margin-top: auto; /* Push content to bottom */
}

.jtm-project-hero__tag {
    display: inline-block;
    background: var(--jtm-white);
    color: var(--jtm-dark);
    font-family: var(--jtm-font-ui);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 6px 12px;
    margin-bottom: 24px;
    text-transform: uppercase;
}

.jtm-project-hero__subtitle {
    font-family: var(--jtm-font-ui);
    font-size: 11px;
    letter-spacing: 0.1em;
    color: var(--jtm-white);
    text-transform: uppercase;
    margin-bottom: 16px;
    font-weight: 500;
}

.jtm-project-hero__title {
    font-family: var(--jtm-font-ui);
    font-size: clamp(40px, 6vw, 64px);
    font-weight: bold;
    color: var(--jtm-white);
    margin: 0 0 16px 0;
    line-height: 1.1;
}

.jtm-project-hero__desc {
    font-family: var(--jtm-font-ui);
    font-size: 16px;
    color: var(--jtm-white);
    margin: 0;
    line-height: 1.5;
    opacity: 0.9;
}

/* Responsive Mobile */
@media (max-width: 768px) {
    .jtm-project-hero {
        padding: calc(var(--jtm-header-h) + 24px) 24px 40px 24px;
    }
    
    .jtm-project-hero__title {
        font-size: 36px;
    }
    
    .jtm-project-hero__desc {
        font-size: 14px;
    }
}
