/* ── Viral Works Hero 80a417d5 ── */

.vwh-wrap {
    position: relative;
    min-height: 95vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    direction: rtl;
    font-family: 'Cairo', 'Tajawal', sans-serif;
}

body.admin-bar .vwh-wrap {
    min-height: calc(95vh - var(--wp-admin--admin-bar--height, 32px));
}

/* Canvas connector overlay */
.vwh-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.55;
}

/* ── Inner Layout ── */
.vwh-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 80px 40px;
    gap: 40px;
    box-sizing: border-box;
}

/* ── Content Column 55% ── */
.vwh-col-content {
    flex: 0 0 55%;
    max-width: 55%;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* ── Visual Column 45% ── */
.vwh-col-visual {
    flex: 0 0 45%;
    max-width: 45%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Heading ── */
.vwh-heading {
    font-size: clamp(28px, 3.5vw, 52px);
    font-weight: 800;
    line-height: 1.35;
    color: #fff;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vwh-heading-line1 {
    display: block;
    opacity: 0.85;
    font-size: 0.82em;
}

.vwh-heading-line2 {
    display: block;
}

.vwh-heading-line2 span {
    color: #FF6B47;
}

/* ── Body Text ── */
.vwh-body {
    color: #EDE8FF;
    font-size: clamp(14px, 1.2vw, 17px);
    line-height: 1.85;
    opacity: 0.9;
}

.vwh-body p {
    margin: 0 0 12px;
}

.vwh-body p:last-child {
    margin-bottom: 0;
}

/* ── Buttons ── */
.vwh-buttons {
    display: flex;
    flex-direction: row;
    gap: 16px;
    flex-wrap: wrap;
}

.vwh-btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    cursor: pointer;
}

.vwh-btn:hover {
    transform: translateY(-2px);
    opacity: 0.92;
}

.vwh-btn-primary {
    background: #FF6B47;
    color: #fff;
    box-shadow: 0 8px 28px rgba(255,107,71,0.38);
}

.vwh-btn-primary:hover {
    box-shadow: 0 12px 36px rgba(255,107,71,0.52);
}

.vwh-btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.6);
}

.vwh-btn-secondary:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.08);
}

/* ── Services Bar ── */
.vwh-services-bar {
    font-size: 13px;
    color: rgba(237,232,255,0.6);
    letter-spacing: 0.04em;
    margin: 0;
}

/* ── Visual Wrap ── */
.vwh-visual-wrap {
    position: relative;
    width: 100%;
    max-width: 480px;
    aspect-ratio: 4 / 5;
}

/* ── Hero Image Frame ── */
.vwh-image-frame {
    position: absolute;
    inset: 12% 12%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0,0,0,0.55);
    border: 2px solid rgba(107,33,232,0.35);
    z-index: 2;
}

.vwh-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.vwh-image-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 55%, rgba(8,4,26,0.55) 100%);
    pointer-events: none;
}

/* ── Floating Cards ── */
.vwh-card {
    position: absolute;
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 14px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 3;
    white-space: nowrap;
    animation: vwh-float 3.5s ease-in-out infinite;
}

.vwh-card--top-right    { top: 4%;  right: 0;   animation-delay: 0s; }
.vwh-card--top-left     { top: 8%;  left: 0;    animation-delay: 0.8s; }
.vwh-card--bottom-right { bottom: 6%; right: 0;  animation-delay: 1.6s; }
.vwh-card--bottom-left  { bottom: 2%; left: 0;   animation-delay: 2.4s; }

.vwh-card-icon  { font-size: 18px; line-height: 1; }
.vwh-card-label { font-size: 12px; font-weight: 700; color: #EDE8FF; }

@keyframes vwh-float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-6px); }
}

/* ── Scroll Indicator ── */
.vwh-scroll-indicator {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.55;
}

.vwh-scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255,255,255,0.6);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
    box-sizing: border-box;
}

.vwh-scroll-wheel {
    width: 4px;
    height: 8px;
    background: #fff;
    border-radius: 2px;
    animation: vwh-scroll-wheel 1.8s ease-in-out infinite;
}

@keyframes vwh-scroll-wheel {
    0%   { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(10px); }
}

.vwh-scroll-text {
    font-size: 10px;
    color: #fff;
    letter-spacing: 0.08em;
}

/* ── Mobile ── */
@media (max-width: 768px) {
    .vwh-inner {
        flex-direction: column;
        padding: 60px 20px 40px;
        gap: 48px;
    }

    .vwh-col-content,
    .vwh-col-visual {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .vwh-col-visual {
        order: 1;
    }

    .vwh-col-content {
        order: 0;
    }

    .vwh-visual-wrap {
        max-width: 100%;
        aspect-ratio: 4 / 3;
    }

    .vwh-card {
        padding: 7px 10px;
    }

    .vwh-card-label { font-size: 10px; }

    .vwh-buttons {
        flex-direction: column;
    }

    .vwh-btn {
        text-align: center;
    }
}
