
/* Hero Image & Cool Effects */
.hero {
    position: relative;
    background: #0b0e11; /* Fallback */
    overflow: hidden;
}

.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%; /* Focus on the upper part where the head usually is */
    opacity: 0.6; /* Dim the image slightly by default */
    filter: contrast(1.1) saturate(0.9);
}

/* Gradient overlay to fade into the content below */
.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(11, 14, 17, 0.4) 0%,
        rgba(11, 14, 17, 0.7) 60%,
        #0b0e11 100%
    );
    z-index: 1;
}

/* Optional: CRT Scanline effect for that tactical monitor look */
.hero__scanlines {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0) 50%,
        rgba(0, 0, 0, 0.1) 50%
    );
    background-size: 100% 4px;
    z-index: 2;
    pointer-events: none;
    opacity: 0.3;
}

/* Ensure content sits above the image */
.hero .inner {
    position: relative;
    z-index: 3;
}

/* Enhance text readability */
.hero__title {
    text-shadow: 0 4px 20px rgba(0, 245, 255, 0.3);
}

.hero__body {
    color: #d4d9df;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    background: linear-gradient(90deg, rgba(11, 14, 17, 0.8) 0%, transparent 100%);
    padding: 10px;
    border-radius: 8px;
    backdrop-filter: blur(2px);
    display: inline-block;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .hero__img {
        object-position: center;
        opacity: 0.4; /* Darker on mobile for text readability */
    }
}
