/* Hero Image */
.hero-image-container {
    width: 100%;
    max-width: 800px;
    aspect-ratio: 16/9;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 2rem;
    border: 5px solid var(--text-color);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
    animation: float 6s ease-in-out infinite;
    position: relative;
    /* For absolute positioning of children */
}

.hero-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.5s ease;
}

.img-main {
    z-index: 1;
}

.img-sub {
    z-index: 2;
    opacity: 0;
}

.hero-image-container:hover .img-sub {
    opacity: 1;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Adjust Hero layout */
.hero {
    height: auto;
    /* Allow growth */
    min-height: 100vh;
    padding-top: 120px;
    /* Space for fixed header */
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Responsive adjustment for profiles */
@media (max-width: 900px) {
    .image-wrapper {
        aspect-ratio: 1/1;
        /* Square for mobile to see faces better if needed, or keep 16/9 */
    }
}