.header-bar {
    background-image: url('../../assets/custom/background-5.svg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: left top;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    height: 75px;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    top: 0;
    left: 0;
    width: 100%;
    position: fixed;
    transition: opacity 0.5s;
    box-shadow: 0px 3px 5px var(--brand-grey);

    &.active {
        opacity: 1;
        pointer-events: all;
    }


    .heading-holder {
        display: flex;
        align-items: center;
    }

    button, a {
        background-color: white;
        color: var(--brand-blue);
        font-size: 18px;
        padding: 5px;
        border-radius: 50%;
        height: 30px;
        width: 30px;
        display: flex;
        justify-content: center;
        align-items: center;

        &.active {
            color: white;
            background-color: var(--brand-blue);
        }
    }

    h3 {
        font-size: 16px;
        color: white;
        letter-spacing: 0.5px;
        margin-left: 10px;
        font-weight: 600;
    }

    .stats-holder {
        font-size: 10px;
        color: white;
        display: flex;
        align-items: center;

        .stat {
            margin-left: 10px;
        }
    }

    .utilities-buttons-holder {
        position: absolute;
        right: 15px;
        bottom: -15px;
        display: flex;
        align-items: center;
        button, a {
            margin-left: 10px;
            box-shadow: 0px 3px 5px var(--brand-grey);
        }
    }
}

.upfold-holder {
    position: relative;
    height: 30vh;
    width: 100%;
    padding: 30px 0;
	margin-bottom: calc(-30vh + 90px);

    .icons-holder {
        position: relative;
        display: flex;
        width: 90%;
        margin: 0 auto;
        justify-content: space-between;

		.action-buttons-holder {
			display: flex;
			align-items: center;
			width: 50%;
			justify-content: flex-end;

			button {
				margin-right: 15px;
			}
		}

        &.navigate-button {
            position: absolute;
            left: 86%;
            bottom: 30px;
            width: auto;

            a {
                display: flex;
                justify-content: center;
                align-items: center;
            }
        }

        button, a {
            background-color: white;
            color: var(--brand-blue);
            font-size: 18px;
            padding: 5px;
            border-radius: 50%;
            height: 30px;
            width: 30px;
            display: block;
            box-shadow: 0px 0px 5px var(--brand-grey);

            &.active {
                background-color: var(--brand-blue);
                color: white;
            }
        }
    }

    img {
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 100%;
        object-fit: cover;
        filter: brightness(80%);
    }
}

.card-holder {
    background-color: transparent;
    position: relative;

    .card {
        box-shadow: 0px 0px 5px var(--brand-grey);
        width: 90%;
        margin: 0 auto;
        border-radius: 10px;
        overflow: hidden;
        padding: 20px;
        background-color: white;
		opacity: 0.95;

        h3 {
            color: var(--brand-dark-grey);
            font-size: 20px;
            letter-spacing: 0.5px;
            font-weight: 600;
			margin: 0;
        }

        .stats-holder {
            display: flex;
            justify-content: space-between;
            color: var(--brand-blue);
            font-size: 12px;
            font-weight: bold;
            margin: 10px 0;

            span {
                color: var(--brand-grey);
            }
        }

        p {
            margin: 0 auto;
            font-size: 11px;
            line-height: 1.5;
            color: var(--brand-grey);
        }
    }
}

.tabs-holder {
    display: flex;
    width: 90%;
    margin: 20px auto;
    overflow: hidden;
    border-radius: 30px;
    box-shadow: 0px 0px 5px var(--brand-grey);
    position: relative;

    &::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 50%;
        background-color: var(--brand-blue);
        border-radius: 30px;
        transform: translateX(0%);
        transition: transform 0.3s;
    }

    &.right {
        &::before {
            transform: translateX(100%);
        }
    }

    button {
        position: relative;
        background-color: transparent;
        color: var(--brand-blue);
        font-size: 12px;
        letter-spacing: 0.5px;
        height: 35px;
        width: 50%;
        transition: color 0.3s;

        &.active {
            color: white;
        }
    }
}

.result-list {
    ion-item {
        h3 .rating-holder {
            font-size: 9px;
            margin-left: auto;
            align-self: flex-start;
            display: flex;
            align-items: flex-end;
            margin-right: 10px;

            ion-icon {
                font-size: 12px;
                margin-right: 3px;
            }
        }

        .offers-holder {
            border-bottom: 0;
            border-top: 1px solid #efefef;

            .offer {
				padding: 7px 0;
                ion-icon {
                    color: var(--brand-grey);
                    transform: scale(1.1);
                }
            }
        }

        .description {
            margin: 5px 0;
			padding-right: 20px;
			position: relative;

            .share-button {
				position: absolute;
                right: 0px;
				top: 5px;
                font-size: 14px;
                background-color: transparent;
                border: 0px;
                color: var(--brand-dark-grey);
                padding: 0;
            }
        }
    }
}

.advertisement-slots {
    white-space: nowrap;
    width: 100%;
    overflow-x: auto;

    figure {
        margin: 0;
        display: inline-block;
        width: 100px;
        height: 100px;
        margin: 0 5px;

        img {
            object-fit: cover;
            width: 100%;
            height: 100%;
        }
    }
}
