/* ==========================================================================
   Al-Sawas & Al-Enaya Master Portal — Architectural Split Hero Section
   Desktop 100vh Full Viewport, Photo-Free, Authentic Brand Palettes
   Clean, Optimized, High-Performance Corporate CSS
   ========================================================================== */

:root {
    /* Brand Sawas Palette (Deep Navy + Refined Metallic Gold) */
    --sawas-gold-bright: #dfb86c;
    --sawas-gold-warm: #c5a059;
    --sawas-gold-light: #fef3c7;
    --sawas-gold-glow: rgba(223, 184, 108, 0.22);
    --sawas-navy-bg: #070a12;
    --sawas-navy-panel: #111927;

    /* Brand Enaya Palette (Deep Slate + Ruby Crimson) */
    --enaya-red-primary: #dc2626;
    --enaya-red-bright: #ef4444;
    --enaya-red-deep: #991b1b;
    --enaya-red-glow: rgba(220, 38, 38, 0.22);
    --enaya-slate-bg: #070910;
    --enaya-slate-panel: #181119;
}

/* ==========================================================================
   Full-Viewport Hero Container (Desktop 100vh)
   ========================================================================== */
.portal-hero-split {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    padding-top: 74px; /* Offset for fixed header */
    display: flex;
    overflow: hidden;
    background: #060911;
    box-sizing: border-box;
}

/* Split Columns */
.split-hero-panel {
    flex: 1;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 54px;
    transition: flex 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.4s ease;
    cursor: pointer;
    overflow: hidden;
    box-sizing: border-box;
}

/* Sawas Side Panel (Right in RTL) */
.panel-sawas {
    background: radial-gradient(circle at 10% 20%, rgba(223, 184, 108, 0.16) 0%, transparent 60%),
                linear-gradient(160deg, #111927 0%, #070a12 100%);
    border-inline-end: 1px solid rgba(255, 255, 255, 0.08);
}

.panel-sawas:hover {
    background: radial-gradient(circle at 20% 30%, rgba(223, 184, 108, 0.26) 0%, transparent 65%),
                linear-gradient(160deg, #172235 0%, #090d18 100%);
}

/* Enaya Side Panel (Left in RTL) */
.panel-enaya {
    background: radial-gradient(circle at 90% 20%, rgba(220, 38, 38, 0.16) 0%, transparent 60%),
                linear-gradient(160deg, #181119 0%, #070910 100%);
}

.panel-enaya:hover {
    background: radial-gradient(circle at 80% 30%, rgba(239, 68, 68, 0.24) 0%, transparent 65%),
                linear-gradient(160deg, #221422 0%, #0b0c15 100%);
}

/* Center Interactive Divider Badge */
.split-center-divider {
    position: absolute;
    top: calc(50% + 37px);
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    pointer-events: none;
}

.split-divider-badge {
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: 8px 18px;
    border-radius: 50px;
    color: #e2e8f0;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
}

.split-divider-badge i {
    color: var(--sawas-gold-bright);
    font-size: 0.85rem;
}

/* Panel Inner Content */
.split-panel-body {
    position: relative;
    z-index: 2;
    max-width: 520px;
    width: 100%;
}

.split-brand-row {
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.split-logo {
    height: 42px;
    width: auto;
    object-fit: contain;
}

.split-tagline-badge {
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 6px;
    letter-spacing: 0.2px;
}

.tag-sawas {
    background: rgba(223, 184, 108, 0.14);
    color: var(--sawas-gold-bright);
    border: 1px solid rgba(223, 184, 108, 0.25);
}

.tag-enaya {
    background: rgba(239, 68, 68, 0.14);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.split-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.32;
    margin-bottom: 14px;
}

.split-desc {
    font-size: 1rem;
    color: #94a3b8;
    line-height: 1.75;
    margin-bottom: 24px;
}

/* Feature Chips Row */
.split-chips-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.split-chip {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 7px 16px;
    border-radius: 50px;
    font-size: 0.84rem;
    color: #e2e8f0;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.panel-sawas .split-chip:hover {
    border-color: rgba(223, 184, 108, 0.4);
    background: rgba(223, 184, 108, 0.08);
}

.panel-enaya .split-chip:hover {
    border-color: rgba(239, 68, 68, 0.4);
    background: rgba(239, 68, 68, 0.08);
}

.split-chip i { font-size: 0.8rem; }
.panel-sawas .split-chip i { color: var(--sawas-gold-bright); }
.panel-enaya .split-chip i { color: #f87171; }

/* Primary Action Buttons */
.split-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 0.98rem;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-sawas-gold {
    background: linear-gradient(135deg, #e6c278 0%, #c5a059 100%);
    color: #080d19;
    box-shadow: 0 4px 20px rgba(223, 184, 108, 0.38);
}

.btn-sawas-gold:hover {
    background: #ffffff;
    color: #080d19;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 255, 255, 0.3), 0 0 20px rgba(223, 184, 108, 0.3);
}

.btn-enaya-red {
    background: linear-gradient(135deg, #b91c1c, #dc2626);
    color: #ffffff;
    box-shadow: 0 4px 18px rgba(220, 38, 38, 0.35);
}

.btn-enaya-red:hover {
    background: #ffffff;
    color: #991b1b;
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(255, 255, 255, 0.25);
}

/* ==========================================================================
   Responsive Adaptations (Tablet & Mobile)
   ========================================================================== */
@media (max-width: 991px) {
    .portal-hero-split {
        height: auto;
        min-height: auto;
        flex-direction: column;
    }

    .split-hero-panel {
        height: auto;
        padding: 60px 32px;
    }

    .panel-sawas {
        border-inline-end: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .split-center-divider {
        display: none;
    }
}

@media (max-width: 640px) {
    .split-hero-panel {
        padding: 45px 20px;
    }

    .split-title {
        font-size: 1.55rem;
    }

    .split-desc {
        font-size: 0.92rem;
    }

    .split-action-btn {
        width: 100%;
        justify-content: center;
    }
}