/**
 * Hero Base Styles
 * Common styles shared by all hero layouts
 * 
 * @package Polanger_VideoHub
 * @since 1.5.0
 */

/* =====================================================
   HERO BASE - Common Elements
   ===================================================== */

.pvh-hero-section {
    position: relative;
    width: 100%;
    margin-bottom: 32px;
    overflow: hidden;
}

.pvh-hero-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.pvh-hero-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.4s ease;
}

.pvh-hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 40%, transparent 70%);
}

.pvh-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    z-index: 3;
    color: #ffffff;
}

.pvh-hero-category {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--pvh-primary-color, #ff0000);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.pvh-hero-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 8px 0;
    color: #fff !important;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.pvh-hero-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
}

.pvh-hero-separator {
    color: rgba(255, 255, 255, 0.5);
}

.pvh-hero-actions {
    display: flex;
    gap: 12px;
}

.pvh-hero-play-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.95);
    color: #000;
    font-weight: 600;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
}

.pvh-hero-play-btn:hover {
    background: rgba(255, 255, 255, 0.85);
    transform: scale(1.05);
}

.pvh-hero-play-btn .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

/* Video icon badge */
.pvh-hero-video-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 4;
    background: rgba(0, 0, 0, 0.5);
    padding: 6px 8px;
    border-radius: 4px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.pvh-hero-video-icon .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    color: rgba(255, 255, 255, 0.9);
}

/* Hero card link */
.pvh-hero-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
}

.pvh-hero-card:hover .pvh-hero-backdrop img {
    transform: scale(1.05);
}

.pvh-hero-card:hover .pvh-hero-video-icon {
    opacity: 1;
}
