
/* ============================================================
   The Fulcrum Real Estate - Homepage Header and Video Hero
   Location: /home/securecart/thefulcrum868.com/css/homepage_hero.css

   Scope: homepage contact-strip alignment, homepage navigation,
   and the replacement full-width video hero only.

   This stylesheet is deliberately separate from homepage.css
   and homepage_foundation.css. It is loaded AFTER homepage.css.

   The new class names do not affect the existing hero until the
   corresponding PHP markup is updated. No site-wide rules.
   ============================================================ */

/* ------------------------------------------------------------
   Black contact strip: contact details only
   ------------------------------------------------------------ */
.homepage-utility-bar .homepage-utility-inner {
    justify-content: center;
}

.homepage-utility-bar .homepage-utility-contact {
    justify-content: center;
    flex-wrap: wrap;
}

/* ------------------------------------------------------------
   Slim white navigation / horizontal branding
   ------------------------------------------------------------ */
.fulcrum-home-header.header-area {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: 100%;
    background: #ffffff;
    z-index: 30;
    box-shadow: 0 1px 0 rgba(21, 29, 42, 0.08);
}

.fulcrum-home-header .container-fluid {
    padding: 0 clamp(20px, 4vw, 76px);
}

.fulcrum-home-header .header-inner {
    padding: 0;
    margin: 0;
    background: #ffffff;
    border-radius: 0;
    box-shadow: none;
}

.fulcrum-home-header .fulcrum-header-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(20px, 3vw, 46px);
    min-height: 88px;
}

.fulcrum-home-header .fulcrum-header-brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    min-width: 0;
    gap: 13px;
    color: #111111;
    text-decoration: none;
}

.fulcrum-home-header .fulcrum-header-brand:hover {
    color: #111111;
}

.fulcrum-home-header .fulcrum-header-brand-mark {
    display: block;
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    overflow: hidden;
    border-radius: 50%;
    background: #04079d;
}

.fulcrum-home-header .fulcrum-header-brand-mark img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.fulcrum-home-header .fulcrum-header-brand-name {
    display: block;
    margin: 0;
    color: #111111;
    font-size: clamp(19px, 2.05vw, 28px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.035em;
    white-space: nowrap;
}

.fulcrum-home-header .fulcrum-header-navigation {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.fulcrum-home-header .fulcrum-header-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(14px, 1.65vw, 30px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.fulcrum-home-header .fulcrum-header-menu-item {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fulcrum-home-header .fulcrum-header-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    color: #30343a;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.25;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.18s ease;
}

.fulcrum-home-header .fulcrum-header-nav-link:hover,
.fulcrum-home-header .fulcrum-header-nav-link:focus-visible {
    color: #d88814;
}

.fulcrum-home-header .fulcrum-header-nav-link:focus-visible,
.fulcrum-home-header .fulcrum-header-brand:focus-visible {
    outline: 2px solid #ffa726;
    outline-offset: 4px;
    border-radius: 3px;
}

/* Explore Properties dropdown: hover, keyboard and touch-ready. */
.fulcrum-home-header .fulcrum-header-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 40;
    width: max-content;
    min-width: 226px;
    max-width: 320px;
    margin: 0;
    padding: 10px;
    list-style: none;
    border: 1px solid #eceef1;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(17, 24, 39, 0.13);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.18s ease, transform 0.18s ease,
        visibility 0.18s ease;
}

.fulcrum-home-header .fulcrum-header-menu-item:hover > .fulcrum-header-dropdown,
.fulcrum-home-header .fulcrum-header-menu-item:focus-within > .fulcrum-header-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.fulcrum-home-header .fulcrum-header-dropdown a {
    display: block;
    padding: 11px 12px;
    border-radius: 7px;
    color: #30343a;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    white-space: normal;
}

.fulcrum-home-header .fulcrum-header-dropdown a:hover,
.fulcrum-home-header .fulcrum-header-dropdown a:focus-visible {
    color: #111111;
    background: #fff3df;
}

/* Existing Bootstrap modal is retained for the mobile menu. */
.fulcrum-home-header .fulcrum-header-toggle.offcanvas-toggler {
    position: relative;
    display: none;
    top: auto;
    left: auto;
    right: auto;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    margin-left: auto;
    border: 1px solid #e7e9ed;
    border-radius: 10px;
    background: #ffffff;
}

.fulcrum-home-header .fulcrum-header-toggle.offcanvas-toggler .line {
    background: #1b1b1b;
}

/* ------------------------------------------------------------
   Full-width video: no inherited .hero-area or Slick geometry
   ------------------------------------------------------------ */
.homepage-hero .fulcrum-video-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: stretch;
    width: 100%;
    height: clamp(550px, 74svh, 820px);
    min-height: 550px;
    overflow: hidden;
    background: linear-gradient(135deg, #172435 0%, #293848 54%, #0b1523 100%);
    color: #ffffff;
    /* Share the drawing's dimensions with the CTA so they stay together. */
    --fulcrum-blueprint-top: clamp(12px, 3vw, 42px);
    --fulcrum-blueprint-height: min(48%, 33.06vw, 418px);
}

.homepage-hero .fulcrum-video-hero-media {
    position: absolute;
    inset: 0;
    z-index: -3;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.homepage-hero .fulcrum-video-hero-media video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.homepage-hero .fulcrum-video-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(90deg,
        rgba(9, 18, 27, 0.42) 0%,
        rgba(9, 18, 27, 0.13) 48%,
        rgba(9, 18, 27, 0.12) 100%),
        linear-gradient(0deg,
        rgba(8, 17, 28, 0.32),
        transparent 45%);
    pointer-events: none;
}

.homepage-hero .fulcrum-video-hero-blueprint {
    position: absolute;
    z-index: -1;
    left: clamp(80px, 10vw, 175px);
    top: var(--fulcrum-blueprint-top);
    width: min(36vw, 455px);
    height: var(--fulcrum-blueprint-height);
    object-fit: contain;
    object-position: top left;
    opacity: 0.16;
    filter: grayscale(1) brightness(1.8);
    mix-blend-mode: screen;
    pointer-events: none;
    user-select: none;
}

/* Grey vector-like icons: WhatsApp, TikTok, Instagram. */
.homepage-hero .fulcrum-video-hero-socials {
    position: absolute;
    z-index: 5;
    left: clamp(8px, 1.3vw, 23px);
    top: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 17px;
    transform: translateY(-50%);
}

.homepage-hero .fulcrum-video-hero-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #c7cbd0;
    opacity: 0.84;
    font-size: 21px;
    line-height: 1;
    text-decoration: none;
    transition: color 0.18s ease, opacity 0.18s ease,
        transform 0.18s ease;
}

.homepage-hero .fulcrum-video-hero-social svg {
    display: block;
    width: 21px;
    height: 21px;
    fill: currentColor;
}

.homepage-hero a.fulcrum-video-hero-social:hover,
.homepage-hero button.fulcrum-video-hero-social:hover {
    color: #ffffff;
    opacity: 1;
    transform: translateX(3px);
}

.homepage-hero .fulcrum-video-hero-social:focus-visible,
.homepage-hero .fulcrum-video-hero-playback:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}

/* Place the buttons immediately under the towers like a supporting base. */
.homepage-hero .fulcrum-video-hero-actions {
    position: absolute;
    z-index: 4;
    left: clamp(74px, 9vw, 148px);
    top: calc(var(--fulcrum-blueprint-top) + var(--fulcrum-blueprint-height) - 4px);
    bottom: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.homepage-hero .fulcrum-video-hero-actions .homepage-hero-actions {
    margin: 0;
}

.homepage-hero .fulcrum-video-hero-playback {
    position: absolute;
    z-index: 5;
    right: clamp(18px, 3vw, 44px);
    bottom: clamp(30px, 5vw, 70px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.52);
    border-radius: 50%;
    background: rgba(11, 20, 30, 0.34);
    color: #ffffff;
    font-size: 17px;
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition: background 0.18s ease, border-color 0.18s ease;
}

.homepage-hero .fulcrum-video-hero-playback:hover {
    border-color: #ffffff;
    background: rgba(11, 20, 30, 0.65);
}

/* Search should start below the video, not overlap the new hero. */
.homepage-search-section .property-details-area {
    position: relative;
    top: 0;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 28px;
    padding-bottom: 32px;
}

/* ------------------------------------------------------------
   Responsive navigation and cinematic hero
   ------------------------------------------------------------ */
@media (max-width: 1199.98px) {
    .fulcrum-home-header .fulcrum-header-layout {
        min-height: 78px;
    }

    .fulcrum-home-header .fulcrum-header-navigation {
        display: none;
    }

    .fulcrum-home-header .fulcrum-header-toggle.offcanvas-toggler {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .fulcrum-home-header .fulcrum-header-brand-name {
        font-size: clamp(18px, 2.8vw, 25px);
    }
}

@media (max-width: 767.98px) {
    .fulcrum-home-header .container-fluid {
        padding: 0 18px;
    }

    .fulcrum-home-header .fulcrum-header-layout {
        min-height: 70px;
        gap: 10px;
    }

    .fulcrum-home-header .fulcrum-header-brand {
        gap: 10px;
    }

    .fulcrum-home-header .fulcrum-header-brand-mark {
        width: 45px;
        height: 45px;
        flex-basis: 45px;
    }

    .fulcrum-home-header .fulcrum-header-brand-name {
        font-size: clamp(13px, 3.9vw, 19px);
        letter-spacing: -0.04em;
    }

    .homepage-hero .fulcrum-video-hero {
        height: clamp(500px, 70svh, 650px);
        min-height: 500px;
        --fulcrum-blueprint-top: 22px;
        --fulcrum-blueprint-height: min(35%, 66.1vw, 294px);
    }

    .homepage-hero .fulcrum-video-hero-blueprint {
        left: 66px;
        top: var(--fulcrum-blueprint-top);
        width: min(72vw, 320px);
        height: var(--fulcrum-blueprint-height);
        opacity: 0.13;
    }

    .homepage-hero .fulcrum-video-hero-socials {
        left: 8px;
        gap: 12px;
    }

    .homepage-hero .fulcrum-video-hero-social {
        width: 37px;
        height: 37px;
        font-size: 19px;
    }

    .homepage-hero .fulcrum-video-hero-actions {
        left: 58px;
        right: 72px;
    }

    .homepage-hero .fulcrum-video-hero-actions .homepage-hero-actions {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .homepage-hero .fulcrum-video-hero-actions .homepage-hero-button {
        width: auto;
        min-height: 44px;
    }

    .homepage-hero .fulcrum-video-hero-playback {
        right: 16px;
        bottom: 25px;
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 380px) {
    .fulcrum-home-header .container-fluid {
        padding: 0 12px;
    }

    .fulcrum-home-header .fulcrum-header-brand-mark {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .fulcrum-home-header .fulcrum-header-brand-name {
        font-size: 12px;
    }

    .fulcrum-home-header .fulcrum-header-toggle.offcanvas-toggler {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fulcrum-home-header .fulcrum-header-nav-link,
    .fulcrum-home-header .fulcrum-header-dropdown,
    .homepage-hero .fulcrum-video-hero-social,
    .homepage-hero .fulcrum-video-hero-playback {
        transition: none;
    }
}
