/* ═══════════════════════════════════════════════════════════════
   ABH HOLDING — CINEMATIC VIDEO HERO
   Professional Video Background Hero with Premium Typography
   Color Palette: Black #000 | Silver #cbcdcd | White #fff
   ═══════════════════════════════════════════════════════════════ */

:root {
    --c-black:   #000000;
    --c-white:   #ffffff;
    --c-silver:  #cbcdcd;
    --c-muted:   #666a6e;
    --c-bg:      #050505;
    --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-silk: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ═══════════════════════
   HERO SECTION — VIDEO
   ═══════════════════════ */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    background: var(--c-black);
    isolation: isolate;
}

/* Video Background */
.hero-video-container {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.hero-video-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0,0,0,0.3) 0%,
        rgba(0,0,0,0.5) 40%,
        rgba(0,0,0,0.75) 70%,
        rgba(0,0,0,0.95) 100%
    );
    z-index: 2;
    pointer-events: none;
}

.hero-video-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse 80% 50% at 50% 50%,
        rgba(0,0,0,0.2) 0%,
        transparent 100%
    );
    z-index: 2;
    pointer-events: none;
}

.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
    /* Performance: prevent layout shift */
    will-change: transform;
}

/* ═══════════════════════
   HERO CONTENT
   ═══════════════════════ */
.hero-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

/* Badge */
.hero-intro-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(203,205,205,0.08);
    border: 1px solid rgba(203,205,205,0.2);
    border-radius: 100px;
    padding: 10px 24px;
    margin-bottom: 2.5rem;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    animation: fadeSlideDown 1.2s var(--ease-expo) 0.1s both;
}

.hero-intro-badge i {
    color: var(--c-silver);
    font-size: 12px;
}

.hero-intro-badge span {
    font-family: 'Tajawal', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--c-silver);
    letter-spacing: 0.04em;
}

/* Headline */
.hero-headline {
    font-family: 'Tajawal', sans-serif;
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--c-white);
    text-align: center;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 30px rgba(0,0,0,0.5), 0 1px 2px rgba(0,0,0,0.8);
    overflow: hidden;
}

.hero-headline .line {
    display: block;
    animation: lineReveal 1s var(--ease-expo) both;
}
.hero-headline .line:nth-child(1) { animation-delay: 0.3s; }
.hero-headline .line:nth-child(2) { animation-delay: 0.5s; }

.hero-headline .accent {
    background: linear-gradient(90deg, #ffffff 0%, #cbcdcd 50%, #ffffff 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 5s ease-in-out infinite;
}

/* Subtitle */
.hero-subtitle {
    font-family: 'Tajawal', sans-serif;
    font-size: clamp(1.1rem, 2.2vw, 1.35rem);
    font-weight: 400;
    color: rgba(203,205,205,0.85);
    text-align: center;
    max-width: 600px;
    line-height: 1.8;
    margin-bottom: 3rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    animation: fadeSlideDown 1s var(--ease-expo) 0.7s both;
}

/* CTA Button */
.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: var(--c-white);
    color: var(--c-black);
    font-family: 'Tajawal', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    padding: 18px 40px;
    border-radius: 100px;
    letter-spacing: 0.01em;
    transition: all 0.4s var(--ease-expo);
    animation: fadeSlideDown 1s var(--ease-expo) 0.9s both;
    pointer-events: all;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.hero-cta-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(203,205,205,0.3) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
}

.hero-cta-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 60px rgba(255,255,255,0.12), 0 8px 20px rgba(0,0,0,0.3);
}
.hero-cta-btn:hover::before { opacity: 1; }

.hero-cta-btn .btn-arrow {
    width: 32px;
    height: 32px;
    background: var(--c-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s var(--ease-expo);
}
.hero-cta-btn:hover .btn-arrow { transform: translateX(-4px); }
.hero-cta-btn .btn-arrow i { font-size: 12px; color: var(--c-white); }

/* Scroll hint */
.hero-scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 10;
    animation: fadeSlideDown 1s var(--ease-expo) 1.4s both;
}

.hero-scroll-hint span {
    font-family: 'Tajawal', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--c-muted);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.scroll-track {
    width: 1px;
    height: 50px;
    background: rgba(102,106,110,0.3);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.scroll-track::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to bottom, transparent, var(--c-silver));
    animation: scrollTrack 2s ease-in-out infinite;
}

/* ═══════════════════════
   ANIMATIONS
   ═══════════════════════ */
@keyframes fadeSlideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes lineReveal {
    from { opacity: 0; transform: translateY(40px) rotateX(-8deg); filter: blur(6px); }
    to   { opacity: 1; transform: translateY(0) rotateX(0); filter: blur(0); }
}

@keyframes shimmer {
    0%,100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

@keyframes scrollTrack {
    0%   { top: -50%; opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* ═══════════════════════
   RESPONSIVE
   ═══════════════════════ */
@media (max-width: 768px) {
    .hero-section { min-height: 600px; }
    .hero-headline { font-size: clamp(2.2rem, 10vw, 3.2rem); }
    .hero-subtitle { font-size: 1rem; max-width: 90%; }
    .hero-cta-btn { padding: 16px 32px; font-size: 0.95rem; }
    .hero-scroll-hint { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-section { height: auto; min-height: 600px; }
    .hero-intro-badge,
    .hero-headline .line,
    .hero-subtitle,
    .hero-cta-btn,
    .hero-scroll-hint {
        animation: none;
        opacity: 1;
        transform: none;
        filter: none;
    }
}