/* Page banners (About, Rooms, Services): the 365 Plaza photo with a slow, gentle zoom.
   Load AFTER modern-theme.css and BEFORE dark-theme.css.
   The photo is images/365-plaza-hero.jpg. Replace that file to change the banner. */

html body .hero-wrap.hero-wrap-2 {
    position: relative;
    overflow: hidden;
    min-height: 380px;
    background: #0b2236 !important;
}

/* The moving photo */
html body .hero-wrap.hero-wrap-2::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 0 !important;
    background-image: url('../images/365-plaza-hero.jpg') !important;
    background-size: cover !important;
    background-position: center 30% !important;
    background-repeat: no-repeat !important;
    opacity: 1 !important;
    filter: none !important;
    mix-blend-mode: normal !important;
    transform-origin: 30% 35%;
    animation: heroSlowZoom 26s ease-in-out infinite alternate;
    will-change: transform;
}

/* Dark tint so the title stays easy to read */
html body .hero-wrap.hero-wrap-2::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 1 !important;
    background: linear-gradient(180deg, rgba(7, 27, 45, .55) 0%, rgba(7, 27, 45, .32) 50%, rgba(7, 27, 45, .66) 100%) !important;
    opacity: 1 !important;
    filter: none !important;
    pointer-events: none;
}

html body .hero-wrap.hero-wrap-2 .overlay { display: none !important; }

html body .hero-wrap.hero-wrap-2 > .container { position: relative; z-index: 2; }

html body .hero-wrap.hero-wrap-2 .breadcrumbs,
html body .hero-wrap.hero-wrap-2 .breadcrumbs a,
html body .hero-wrap.hero-wrap-2 .breadcrumbs span { color: rgba(255, 255, 255, .88); }

html body .hero-wrap.hero-wrap-2 .bread {
    color: #ffffff;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .45);
}

@keyframes heroSlowZoom {
    from { transform: scale(1) translate3d(0, 0, 0); }
    to   { transform: scale(1.1) translate3d(-1.5%, 0, 0); }
}

@media (max-width: 767.98px) {
    html body .hero-wrap.hero-wrap-2 { min-height: 300px; }
    html body .hero-wrap.hero-wrap-2::before { background-position: 30% center !important; }
}

/* Visitors who asked their device for less motion get a still photo */
@media (prefers-reduced-motion: reduce) {
    html body .hero-wrap.hero-wrap-2::before { animation: none; }
}
