/**
 * Demo homepage hero gallery — spacing & full-bleed shadows like the live theme.
 */

/* Full viewport width so left/right fade shadows touch screen edges */
.st-hero-1-area .container.st-container-1 > .st-hero-1-gallery {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: 65px;
    overflow: visible !important;
}

.st-hero-1-gallery {
    opacity: 1 !important;
    visibility: visible !important;
    position: relative;
}

.st-hero-1-gallery .shadow-1,
.st-hero-1-gallery .shadow-2 {
    position: absolute;
    top: 0;
    height: 100%;
    width: 200px;
    z-index: 2;
    pointer-events: none;
}

.st-hero-1-gallery .shadow-1 {
    left: 0;
    background: linear-gradient(90deg, #000 0%, transparent 100%);
}

.st-hero-1-gallery .shadow-2 {
    right: 0;
    background: linear-gradient(-90deg, #000 0%, transparent 100%);
}

.st-hero-1-gallery-slider {
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
}

.st-hero-1-gallery-slider .swiper-slide {
    opacity: 1 !important;
    visibility: visible !important;
}

.st-hero-1-gallery-slider-img {
    height: 245px !important;
}

/* Camera frame & lens — nudged down to match live demo overlay */
.st-hero-1-gallery-camera {
    position: absolute;
    left: 50%;
    top: 40%;
    transform: translate(-50%, -50%);
    z-index: 3;
    pointer-events: none;
}

.st-hero-1-gallery-camera img {
    display: block;
    width: auto;
    max-width: none;
    height: auto;
}

.st-hero-1-gallery-camera-lens {
    position: absolute;
    top: 56.5%;
    left: 50.21%;
    transform: translate(-50%, -50%);
    z-index: 4;
    mix-blend-mode: screen;
    pointer-events: none;
}

.st-hero-1-gallery-camera-lens img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
}

@media only screen and (min-width: 1400px) and (max-width: 1599px),
       only screen and (min-width: 1200px) and (max-width: 1399px) {
    .st-hero-1-area .container.st-container-1 > .st-hero-1-gallery {
        margin-top: 75px;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .st-hero-1-gallery-camera-lens {
        width: 21%;
    }

    .st-hero-1-gallery-camera-lens img {
        width: 100%;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px), (max-width: 767px) {
    .st-hero-1-area .container.st-container-1 > .st-hero-1-gallery {
        margin-top: 85px;
    }

    .st-hero-1-gallery .shadow-1,
    .st-hero-1-gallery .shadow-2 {
        width: 72px;
    }

    .st-hero-1-gallery-camera {
        width: 100%;
        text-align: center;
        top: 42%;
    }

    .st-hero-1-gallery-camera img {
        max-width: 100%;
    }

    .st-hero-1-gallery-camera-lens {
        width: 50%;
        text-align: center;
        top: 58%;
    }

    .st-hero-1-gallery-camera-lens img {
        width: 100%;
    }

    .st-hero-1-gallery-slider-img {
        height: 210px !important;
    }
}

@media (max-width: 575px) {
    .st-hero-1-area .container.st-container-1 > .st-hero-1-gallery {
        margin-top: 55px;
    }

    .st-hero-1-gallery-slider-img {
        height: 190px !important;
    }
}

body.wa-menu-open {
    overflow: hidden;
}

.wa-offcanvas-area {
    z-index: 10001;
}

.wa-overly:is(.active) {
    z-index: 10000;
}

/* Mobile menu — always dark text on white panel */
.wa-offcanvas-brand-link {
    text-decoration: none;
}

.wa-offcanvas-brand-name {
    font-family: var(--st-font-1, inherit);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #050505;
    line-height: 1;
}

.wa-offcanvas-area .mobile-main-navigation ul li a,
.has-inner-page .wa-offcanvas-area .mobile-main-navigation ul li a {
    color: #050505 !important;
}

.wa-offcanvas-area .mobile-main-navigation ul li a:hover,
.has-inner-page .wa-offcanvas-area .mobile-main-navigation ul li a:hover {
    color: var(--st-clr-pr-1, #ff8800) !important;
}

.wa-offcanvas-area .mobile-main-navigation li.current-menu-item > a,
.has-inner-page .wa-offcanvas-area .mobile-main-navigation li.current-menu-item > a {
    color: var(--st-clr-pr-1, #ff8800) !important;
}

/* Services section — contain grid glow lines on desktop */
.st-services-1-bg-line {
    overflow: hidden;
    pointer-events: none;
}

.st-services-1-bg-line .st-bg-border-grid {
    overflow: hidden;
}

/* Projects slider — ensure card images fill the image area */
.st-projects-1-slider-card .img-elm .main-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.st-projects-1-tabs-pane.wa_height_set {
    min-height: 520px;
}
