/* ============================================================
   HERO SEARCH BOX OVERLAY
   Moves the pathfinder logo + search into the hero section
   inside a semi-transparent grey rounded box.
   Hero title is repositioned to the very top of the screen.
   ============================================================ */

/* --- Hero title: move to very top of the hero --- */
.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
    text-align: center;
    padding: 24px 20px 0;
    width: 100%;
}

/* --- "be inspired" subtitle: keep at bottom-right --- */

/* --- The semi-transparent search box --- */
.hero-search-box {
    position: relative;
    z-index: 2;
    background: rgba(230, 230, 230, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
    /*top right bottom left*/
    padding: 25px 48px 48px 15px;
    max-width: 660px;
    width: 90%;
    margin: 0 auto;
    text-align: center;
    animation: fadeInUp 1s ease-out 0.6s backwards;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

/* Pathfinder logo inside the box */
.hero-search-box .hero-pathfinder-logo {
    max-width: 400px;
    margin: 0 auto 32px;
}

.hero-search-box .hero-pathfinder-logo img {
    width: 100%;
    height: auto;
    display: block;
}

/* Search form inside the box */
.hero-search-box .search-container {
    max-width: 100%;
    margin: 0 auto;
}

/* Hide the original standalone pathfinder section */
.pathfinder-section {
    display: none !important;
}


/* ---- Responsive ---- */

@media (max-width: 600px) {
    .hero-content {
        padding: 16px 12px 0;
    }

    .hero-search-box {
        padding: 28px 20px 32px;
        width: 92%;
        border-radius: 18px;
    }

    .hero-search-box .hero-pathfinder-logo {
        max-width: 260px;
        margin-bottom: 24px;
    }

    .hero-search-box .search-container {
        flex-direction: column;
        border-radius: 20px;
        gap: 0;
    }

    .hero-search-box .search-container input {
        width: 100%;
        padding: 16px 20px;
        text-align: center;
    }

    .hero-search-box .search-container button {
        width: calc(100% - 10px);
        border-radius: 50px;
        margin: 0 5px 5px;
        padding: 14px;
    }
}

@media (max-width: 480px) {
    .hero-search-box {
        padding: 22px 16px 26px;
        border-radius: 14px;
    }

    .hero-search-box .hero-pathfinder-logo {
        max-width: 220px;
        margin-bottom: 20px;
    }
}
