/* Services Hub Hero — Cinematic Search Portal */

.elementor-widget-vina_services_hub_hero {
    max-width: 100%;
}

.vina-sh-hero {
    --vina-sh-accent: #a78295;
    --vina-sh-text: #f5efe7;
    --vina-sh-navy: #213555;
    --vina-sh-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --vina-sh-overlay: 0.85;

    position: relative;
    isolation: isolate;
    width: 100%;
    min-height: 80vh;
    min-height: 80dvh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--vina-sh-text);
}

.vina-sh-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.vina-sh-hero__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.08);
    transition: transform 12s var(--vina-sh-ease);
}

.vina-sh-hero.is-visible .vina-sh-hero__bg-img,
.vina-sh-hero--parallax.is-visible .vina-sh-hero__bg-img {
    transform: scale(1);
}

.vina-sh-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(33, 53, 85, calc(var(--vina-sh-overlay) * 0.6)) 0%, rgba(33, 53, 85, var(--vina-sh-overlay)) 45%, rgba(33, 53, 85, 0.95) 100%),
        radial-gradient(ellipse 70% 50% at 50% 100%, rgba(167, 130, 149, 0.25) 0%, transparent 70%);
}

.vina-sh-hero__aurora {
    position: absolute;
    inset: -20%;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(ellipse 40% 30% at 20% 30%, rgba(167, 130, 149, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse 35% 25% at 80% 70%, rgba(245, 239, 231, 0.08) 0%, transparent 55%);
    animation: vinaShAurora 16s ease-in-out infinite alternate;
}

@keyframes vinaShAurora {
    from { transform: translate(0, 0) rotate(0deg); opacity: 0.7; }
    to { transform: translate(-3%, 2%) rotate(2deg); opacity: 1; }
}

.vina-sh-hero__grid-lines {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.04;
    background-image:
        linear-gradient(rgba(255,255,255,0.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.5) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 75%);
}

.vina-sh-hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    box-sizing: border-box;
}

.vina-sh-hero__content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vina-sh-hero__eyebrow {
    display: inline-block;
    margin-bottom: clamp(12px, 2vw, 20px);
    padding-bottom: 6px;
    border-bottom: 1px solid var(--vina-sh-accent);
    font-size: clamp(0.7rem, 1.2vw, 0.85rem);
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.vina-sh-hero__title {
    margin: 0 0 clamp(16px, 3vw, 28px);
    line-height: 1.2;
    font-weight: 700;
    font-size: clamp(1.75rem, 5vw, 3.5rem);
}

.vina-sh-hero__title-main {
    display: block;
}

.vina-sh-hero__title-accent {
    display: block;
    font-weight: 300;
    font-style: italic;
    margin-top: 0.15em;
}

.vina-sh-hero__desc {
    margin: 0 0 clamp(28px, 4vw, 48px);
    max-width: 42rem;
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 300;
    line-height: 1.75;
    opacity: 0.9;
}

/* Search bar — floating glass capsule */
.vina-sh-hero__search {
    position: relative;
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 42rem;
    padding: 6px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.vina-sh-hero__search-input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: #fff;
    padding: clamp(14px, 2.5vw, 22px) clamp(20px, 3vw, 28px);
    border-radius: 999px;
    font-size: clamp(0.9rem, 1.8vw, 1.1rem);
}

.vina-sh-hero__search-input::placeholder {
    opacity: 0.55;
}

.vina-sh-hero__search-btn {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-shrink: 0;
    margin-right: 0;
    margin-left: 6px;
    padding: clamp(12px, 2vw, 16px) clamp(20px, 3vw, 32px);
    border: none;
    cursor: pointer;
    font-weight: 700;
    transition: transform 0.3s var(--vina-sh-ease), box-shadow 0.3s var(--vina-sh-ease), background 0.3s;
}

.vina-sh-hero__search-icon {
    color: #fff;
    fill: #fff;
    font-size: 1em;
    width: 1em;
    height: 1em;
}

.vina-sh-hero__search-icon svg {
    fill: currentColor;
}

.vina-sh-hero__search-glow {
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    background: linear-gradient(135deg, var(--vina-sh-accent), transparent 60%);
    transition: opacity 0.4s;
}

.vina-sh-hero--glow .vina-sh-hero__search-glow {
    animation: vinaShSearchPulse 3s ease-in-out infinite;
}

@keyframes vinaShSearchPulse {
    0%, 100% { opacity: 0; }
    50% { opacity: 0.35; }
}

.vina-sh-hero__scroll-hint {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.vina-sh-hero__scroll-line {
    display: block;
    width: 1px;
    height: 48px;
    background: linear-gradient(180deg, transparent, rgba(245, 239, 231, 0.5));
    animation: vinaShScrollLine 2s ease-in-out infinite;
}

@keyframes vinaShScrollLine {
    0%, 100% { transform: scaleY(0.6); opacity: 0.4; }
    50% { transform: scaleY(1); opacity: 1; }
}

/* Entrance animations */
.vina-sh-hero--animate .vina-sh-hero__reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s var(--vina-sh-ease), transform 0.9s var(--vina-sh-ease);
}

.vina-sh-hero--animate.is-visible .vina-sh-hero__reveal {
    opacity: 1;
    transform: translateY(0);
}

.vina-sh-hero--animate.is-visible .vina-sh-hero__reveal:nth-child(1) { transition-delay: 0.05s; }
.vina-sh-hero--animate.is-visible .vina-sh-hero__reveal:nth-child(2) { transition-delay: 0.15s; }
.vina-sh-hero--animate.is-visible .vina-sh-hero__reveal:nth-child(3) { transition-delay: 0.25s; }
.vina-sh-hero--animate.is-visible .vina-sh-hero__reveal:nth-child(4) { transition-delay: 0.38s; }

@media (max-width: 767px) {
    .vina-sh-hero__search {
        flex-direction: column;
        border-radius: 24px;
        padding: 8px;
    }

    .vina-sh-hero__search-input {
        border-radius: 16px;
    }

    .vina-sh-hero__search-btn {
        margin: 6px 0 0;
        width: 100%;
        border-radius: 16px !important;
        padding: 14px 20px;
    }

    .vina-sh-hero__scroll-hint {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vina-sh-hero__aurora,
    .vina-sh-hero__scroll-line,
    .vina-sh-hero--glow .vina-sh-hero__search-glow {
        animation: none;
    }

    .vina-sh-hero--animate .vina-sh-hero__reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
