/* ==========================================================
   fullscreen-hero.css — JYL Fullscreen Hero
   ========================================================== */

/* ── Section ── */

.jyl-fh {
    position: relative;
    overflow: hidden;
    min-height: 80vh;
}

/* ── Background layer — fills section, contains all children ── */

.jyl-fh__bg {
    position: absolute;
    inset: 0;
    transition: none;
}

/* ── Parallax wrap ── */

.jyl-fh__parallax-wrap {
    position: absolute;
    inset: 0;
    will-change: transform;
    transition: none;
}

.jyl-fh__parallax-wrap img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    pointer-events: none;
    transition: none;
}

/* ── Overlay ── */

.jyl-fh__overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    transition: none;
    background: var(--jyl-fh-grad-m, none);
}

@media (min-width: 1198px) {
    .jyl-fh__overlay {
        background: var(--jyl-fh-grad-d, none);
    }
}

/* ── Content block ── */

.jyl-fh__content {
    position: absolute;
    z-index: 10;
    transition: none;
}

/* ── Title ── */

.jyl-fh__title {
    margin: 0 0 16px;
    font-size: 64px;
    font-weight: var(--jyl-fw-bold);
    color: var(--jyl-white);
    line-height: 1.05;
    transition: none;
}

/* ── Subtitle ── */

.jyl-fh__subtitle {
    margin: 0 0 12px;
    font-size: 24px;
    font-weight: 400;
    color: var(--jyl-white);
    line-height: 1.4;
    transition: none;
}

/* ── Description ── */

.jyl-fh__desc {
    margin: 0;
    font-size: var(--jyl-fs-16);
    color: rgba(255, 255, 255, .85);
    line-height: 1.6;
    transition: none;
}

/* ── Buttons row ── */

.jyl-fh__btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

/* ── Button base ── */

.jyl-fh__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: var(--jyl-fs-14);
    font-weight: var(--jyl-fw-medium);
    border-radius: var(--jyl-radius-lg);
    padding: 12px 24px;
    white-space: nowrap;
    cursor: pointer;
    border-style: none;
    border-width: 1px;
    border-color: transparent;
    /* transition-duration overridden by Elementor hover_duration control */
    transition-property: background-color, color, border-color, transform;
    transition-timing-function: var(--jyl-ease);
    transition-duration: 200ms;
}

/* ── Primary button defaults ── */

.jyl-fh__btn--primary {
    background-color: rgba(255, 255, 255, .15);
    color: var(--jyl-white);
    border-style: none;
    border-color: transparent;
}
.jyl-fh__btn--primary:hover {
    background-color: rgba(255, 255, 255, .30);
}
.jyl-fh__btn--primary:active {
    transform: scale(.96);
}

/* ── Secondary button defaults (ghost) ── */

.jyl-fh__btn--secondary {
    background-color: transparent;
    color: var(--jyl-white);
    border-style: solid;
    border-color: currentColor;
}
.jyl-fh__btn--secondary:hover {
    background-color: rgba(255, 255, 255, .15);
}
.jyl-fh__btn--secondary:active {
    transform: scale(.96);
}