/*
|--------------------------------------------------------------------------
| Bali Indo Tour
| Homepage Hero
|--------------------------------------------------------------------------
*/


/*
|--------------------------------------------------------------------------
| Hero
|--------------------------------------------------------------------------
*/

.home-hero {

    position: relative;

    min-height: 780px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    overflow: hidden;

    color: var(--white);

    background:
        linear-gradient(90deg,
            rgba(15, 23, 42, .82) 0%,
            rgba(15, 23, 42, .68) 35%,
            rgba(15, 23, 42, .32) 65%,
            rgba(15, 23, 42, .08) 100%),
        url("../../img/home/hero.webp") center center / cover no-repeat;

}


/*
|--------------------------------------------------------------------------
| Navbar Inside Hero
|--------------------------------------------------------------------------
*/

.home-hero .site-header {

    position: absolute;

    top: 0;
    right: 0;
    left: 0;

    z-index: var(--z-fixed);

    width: 100%;

}


/*
|--------------------------------------------------------------------------
| Hero Content
|--------------------------------------------------------------------------
*/

.home-hero-content {

    position: relative;

    z-index: 2;

    width: 100%;

    padding-top: 8rem;

    padding-bottom: 7rem;

}

.home-hero-content .container {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

}


/*
|--------------------------------------------------------------------------
| Eyebrow
|--------------------------------------------------------------------------
*/

.home-hero-eyebrow {

    display: inline-block;

    margin-bottom: var(--space-lg);

    color: var(--secondary);

    font-size: var(--font-sm);

    font-weight: var(--fw-extra-bold);

    letter-spacing: .08em;

    text-transform: uppercase;

}


/*
|--------------------------------------------------------------------------
| Heading
|--------------------------------------------------------------------------
*/

.home-hero h1 {

    max-width: 760px;

    margin-bottom: var(--space-xl);

    color: var(--white);

    font-size: clamp(3rem,
            6vw,
            5rem);

    font-weight: var(--fw-bold);

    line-height: 1.02;

    letter-spacing: -.04em;

}

.home-hero h1 span {

    display: block;

    color: var(--secondary);

}


/*
|--------------------------------------------------------------------------
| Description
|--------------------------------------------------------------------------
*/

.home-hero p {

    max-width: 600px;

    margin-bottom: var(--space-2xl);

    color: rgba(255, 255, 255, .88);

    font-size: var(--font-md);

    line-height: var(--lh-lg);

}


/*
|--------------------------------------------------------------------------
| Hero Search
|--------------------------------------------------------------------------
*/

.home-search {

    display: flex;

    align-items: center;

    width: 100%;

    max-width: 820px;

    margin-bottom: var(--space-xl);

    padding: var(--space-sm);

    background: rgba(255, 255, 255, .97);

    border: var(--border-thin) solid rgba(255, 255, 255, .6);

    border-radius: var(--radius-pill);

    box-shadow: var(--shadow-lg);

}


/*
|--------------------------------------------------------------------------
| Search Icon
|--------------------------------------------------------------------------
*/

.home-search-icon {

    width: 50px;

    height: 50px;

    flex: 0 0 50px;

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--primary);

    font-size: var(--font-lg);

}


/*
|--------------------------------------------------------------------------
| Search Field
|--------------------------------------------------------------------------
*/

.home-search-field {

    min-width: 0;

    flex: 1;

    padding: 0 var(--space-md);

}

.home-search-field label,
.home-search-category label {

    display: block;

    margin-bottom: 2px;

    color: var(--text-muted);

    font-size: var(--font-xs);

    font-weight: var(--fw-semibold);

}

.home-search-field input {

    display: block;

    width: 100%;

    padding: 0;

    color: var(--text);

    background: transparent;

    border: 0;

    outline: 0;

    font-size: var(--font-sm);

}

.home-search-field input::placeholder {

    color: var(--text-muted);

}


/*
|--------------------------------------------------------------------------
| Search Category
|--------------------------------------------------------------------------
*/

.home-search-category {

    min-width: 170px;

    padding: 0 var(--space-xl);

    border-left: var(--border-thin) solid var(--border);

}

.home-search-category select {

    width: 100%;

    padding: 0;

    color: var(--text);

    background: transparent;

    border: 0;

    outline: 0;

    font-size: var(--font-sm);

    font-weight: var(--fw-semibold);

    cursor: pointer;

}


/*
|--------------------------------------------------------------------------
| Search Button
|--------------------------------------------------------------------------
*/

.home-search-button {

    min-height: 50px;

    padding: 0 1.6rem;

    color: var(--white);

    background: var(--primary);

    border-radius: var(--radius-pill);

    font-size: var(--font-sm);

    font-weight: var(--fw-bold);

    transition: var(--transition);

}

.home-search-button:hover {

    background: var(--primary-dark);

}


/*
|--------------------------------------------------------------------------
| Hero Actions
|--------------------------------------------------------------------------
*/

.home-hero-actions {

    display: flex;

    flex-wrap: wrap;

    gap: var(--space-md);

}

.home-hero-actions .btn {

    min-height: 48px;

    padding: .75rem 1.5rem;

    border-radius: var(--radius-pill);

    font-size: var(--font-sm);

    font-weight: var(--fw-semibold);

}

.home-hero-actions .btn-primary {

    color: var(--white);

    background: var(--primary);

    border-color: var(--primary);

}

.home-hero-actions .btn-primary:hover {

    background: var(--primary-dark);

    border-color: var(--primary-dark);

}

.home-hero-actions .btn-outline-light {

    border-width: var(--border-thin);

}

/*
|--------------------------------------------------------------------------
| Hero Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 767.98px) {

    .home-hero {

        min-height: 720px;

        color: var(--white);

        background:
            linear-gradient(90deg,
                rgba(15, 23, 42, .82) 0%,
                rgba(15, 23, 42, .68) 35%,
                rgba(15, 23, 42, .32) 65%,
                rgba(15, 23, 42, .08) 100%),
            url("../../img/home/hero.webp") center center / cover no-repeat;

    }


    /*
    |--------------------------------------------------------------------------
    | Hero Content
    |--------------------------------------------------------------------------
    */

    .home-hero-content {

        padding-top: 7rem;

        padding-bottom: 4rem;

    }


    /*
    |--------------------------------------------------------------------------
    | Hero Heading
    |--------------------------------------------------------------------------
    */

    .home-hero h1 {

        margin-bottom: var(--space-lg);

        font-size: clamp(2.5rem,
                11vw,
                3.5rem);

        line-height: 1.04;

    }


    /*
    |--------------------------------------------------------------------------
    | Hero Description
    |--------------------------------------------------------------------------
    */

    .home-hero p {

        margin-bottom: var(--space-xl);

        font-size: var(--font-base);

        line-height: var(--lh-md);

    }


    /*
    |--------------------------------------------------------------------------
    | Search
    |--------------------------------------------------------------------------
    */

    .home-search {

        display: flex;

        align-items: center;

        gap: var(--space-sm);

        width: 100%;

        margin-bottom: var(--space-lg);

        padding: .45rem;

        border-radius: var(--radius-lg);

    }


    /*
    |--------------------------------------------------------------------------
    | Search Icon
    |--------------------------------------------------------------------------
    */

    .home-search-icon {

        width: 42px;

        height: 42px;

        flex: 0 0 42px;

        font-size: var(--font-md);

    }


    /*
    |--------------------------------------------------------------------------
    | Search Field
    |--------------------------------------------------------------------------
    */

    .home-search-field {

        min-width: 0;

        flex: 1;

        padding: 0;

    }

    .home-search-field label {

        margin-bottom: 1px;

        font-size: .6875rem;

    }

    .home-search-field input {

        width: 100%;

        font-size: var(--font-xs);

    }


    /*
    |--------------------------------------------------------------------------
    | Search Category
    |--------------------------------------------------------------------------
    */

    .home-search-category {

        display: none;

    }


    /*
    |--------------------------------------------------------------------------
    | Search Button
    |--------------------------------------------------------------------------
    */

    .home-search-button {

        width: 34px;

        height: 34px;

        min-height: 34px;

        flex: 0 0 34px;

        display: flex;

        align-items: center;

        justify-content: center;

        padding: 0;

        border-radius: 50%;

        font-size: 0;

    }

    .home-search-button::after {

        content: "\f061";

        font-family: "Font Awesome 7 Free";

        font-weight: 900;

        font-size: var(--font-sm);

    }


    /*
    |--------------------------------------------------------------------------
    | Hero Actions
    |--------------------------------------------------------------------------
    */

    .home-hero-actions {

        width: 100%;

        display: flex;

        flex-direction: column;

        gap: .65rem;

    }


    .home-hero-actions .btn {

        width: 100%;

        min-height: 46px;

        padding: .7rem 1.25rem;

        border-radius: var(--radius-pill);

        font-size: var(--font-sm);

    }

}