/**
 * Hero Banner Styles
 * ====================
 */

.hero-banner {
    position: relative;
    width: 100%;
    min-height: 520px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

/* Background Layers */
.hero-background {
    position: absolute;
    inset: 0;
    z-index: var(--z-below);
}

.hero-background-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 20%;
    transform: scale(1.05);
    transition: transform var(--duration-slowest) var(--ease-default);
}

.hero-banner:hover .hero-background-image {
    transform: scale(1);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: var(--gradient-overlay);
}

/* Additional gradient for text readability */
.hero-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(13, 11, 9, 0.9) 0%,
        rgba(13, 11, 9, 0.6) 50%,
        transparent 100%
    );
}

[data-theme="light"] .hero-gradient {
    background: var(--gradient-overlay);
}

[data-theme="light"] .hero-gradient::before {
    background: linear-gradient(
        90deg,
        rgba(250, 246, 240, 0.95) 0%,
        rgba(250, 246, 240, 0.7) 50%,
        transparent 100%
    );
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: var(--z-raised);
    padding: var(--space-10);
    max-width: 600px;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-1) var(--space-3);
    background: var(--accent-soft);
    color: var(--accent-primary);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-4);
}

.hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent-primary);
    border-radius: var(--radius-full);
    animation: pulse 2s ease-in-out infinite;
}

/* Hero Title */
.hero-title {
    font-size: var(--text-5xl);
    font-weight: 800;
    line-height: var(--leading-tight);
    letter-spacing: var(--tracking-tighter);
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

/* Hero Arabic Subtitle */
.hero-subtitle {
    font-family: var(--font-arabic);
    font-size: var(--text-2xl);
    color: var(--accent-primary);
    direction: rtl;
    margin-bottom: var(--space-4);
    opacity: 0.9;
}

/* Hero Description */
.hero-description {
    font-size: var(--text-md);
    line-height: var(--leading-relaxed);
    color: var(--text-secondary);
    margin-bottom: var(--space-5);
    max-width: 480px;
}

/* Hero Meta Info */
.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-5);
    margin-bottom: var(--space-6);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.meta-item svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    opacity: 0.7;
}

/* Hero Actions */
.hero-actions {
    display: flex;
    gap: var(--space-3);
}

/* Featured Tags */
.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-top: var(--space-5);
}

.hero-tag {
    padding: var(--space-1) var(--space-3);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    color: var(--text-tertiary);
}

/* Skeleton Loading State */
.hero-skeleton .hero-badge,
.hero-skeleton .hero-title,
.hero-skeleton .hero-subtitle,
.hero-skeleton .hero-description,
.hero-skeleton .hero-meta,
.hero-skeleton .hero-actions {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}
