/* ═══════════════════════════════════════════
   HERO BANNER
   ═══════════════════════════════════════════ */

.hero {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 480px;
    overflow: hidden;
    flex-shrink: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
    padding: 0 60px;
}

.hero-slide.active {
    opacity: 1;
}

.hero-bg {
    position: absolute;
    inset: 0;
    animation: kenBurns 12s ease-in-out infinite alternate;
}

/* Strong bottom gradient so content rows don't bleed into hero */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 180px;
    background: linear-gradient(transparent, #0a0a0a);
    z-index: 3;
    pointer-events: none;
}

@keyframes kenBurns {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.08);
    }
}

.hero-watermark {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16rem;
    opacity: .1;
    pointer-events: none;
    user-select: none;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 4;
    /* above the bottom gradient */
    max-width: 600px;
}

.hero-badge {
    display: inline-block;
    background: var(--red);
    color: #fff;
    padding: 4px 12px;
    border-radius: 3px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.hero-content h1 {
    font-family: var(--font-title);
    font-size: 4.5rem;
    line-height: 1;
    margin-bottom: 14px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8);
}

.hero-content p {
    color: #bbb;
    font-size: .95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 480px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);
}

.hero-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.hero-tags span {
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(4px);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: .72rem;
    color: #ccc;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.hero-btns button {
    padding: 11px 28px;
    border: none;
    border-radius: 6px;
    font-size: .9rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .3s, transform .2s;
    font-family: var(--font-body);
}

.btn-play {
    background: #fff;
    color: #000;
}

.btn-play:hover {
    background: #e0e0e0;
    transform: scale(1.03);
}

.btn-info {
    background: rgba(255, 255, 255, .18);
    color: #fff;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.btn-info:hover {
    background: rgba(255, 255, 255, .28);
    transform: scale(1.03);
}

/* Hero Dots — inside hero, above the gradient overlay */
.hero-dots {
    position: absolute;
    bottom: 28px;
    right: 60px;
    display: flex;
    gap: 8px;
    z-index: 5;
    /* above the ::after gradient */
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .35);
    cursor: pointer;
    transition: all .4s ease;
}

.hero-dot.active {
    width: 32px;
    background: var(--red);
}

/* ── Below-hero wrapper ── */
#projects-below-hero {
    position: relative;
    z-index: 2;
    /* above hero */
    background: var(--black);
    padding-top: 8px;
}