.hero-section {
    color: white;
    background-color: var(--secondary);
    position: relative;
    height: 100vh;
    min-height: 620px;
    max-height: 1000px;
    overflow: hidden;
}

.hero__title {
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.hero__subtitle {
    max-width: 20rem;
    margin-bottom: 5rem;
    text-transform: uppercase;
    display: flex;
    flex-wrap: wrap;
    column-gap: 0.5rem;
}

.hero__text-swap-container {
    flex: 1;
    overflow: hidden;
    display: flex;
}

.hero__text-swap-wrapper {
    position: relative;
    height: 3.2rem;
    margin: 0;
    overflow: visible;
    height: 100%;
}

.hero__text-swap-word {
    position: absolute;
    opacity: 0;
    top: 0;
    transform: translateY(105%);
    color: var(--primary);
}

.hero__text-swap-word.active {
    transform: translateY(0%);
    position: relative;
}

.hero__text-swap-underline {
    position: absolute;
    height: 0.2rem;
    left: 0;
    bottom: 0.1rem;
    background-color: var(--primary);
}

.hero__main-image {
    position: absolute;
    object-fit: cover;
    width: 50%;
    height: 100%;
    right: 0;
    top: 0;
}

.hero__text-block-wrapper {
    display: flex;
    align-items: center;
    height: 100%;
}

.hero__text-block {
    max-width: 50%;
    width: 100%;
    padding-right: 48px;
}

.hero__cta-button-grid {
    display: grid;
    grid-template-columns: 100%;
    gap: 0.5rem; 
}

.hero__cta-button {
    width: 100%;
    max-width: 27.75rem;
    display: flex;
    justify-content: space-between;
    color: white;
}

.hero__cta-button--booking {
    background-color: var(--primary);
    transition: background-color 0.2s;
}

.hero__cta-button--booking:hover {
    background-color: #5f6d30;
}

.hero__cta-button--pricing {
    background-color: rgba(255, 255, 255, 0.05);
}

@media (min-width: 807px) {
    .hero__main-image {
        opacity: 0;
        transform: translateX(15%) scale(1.1);
    }
    
    .hero__title {
        transform: translateX(-10%);
        opacity: 0;
    }

    .hero__subtitle {
        transform: translateX(-10%);
        opacity: 0;
    }

    .hero__cta-button--booking {
        transform: translateX(-15%);
        opacity: 0;
    }

    .hero__cta-button--pricing {
        transform: translateX(-15%);
        opacity: 0;
    }
}

/* s screen */
@media (max-width: 806px) {
    .hero-section {
        padding-top: 0;
        padding-bottom: 6.25rem;
        height: auto;
    }

    .hero__main-image {
        position: relative;
        width: 100%;
        height: 40svh;
        min-height: 214px;
    }

    .hero__text-block {
        margin-top: 3rem;
        padding-right: 0;
        max-width: none;
    }

    .hero__cta-button-grid {
        grid-template-columns: 50% 50%;
        gap: 8px;
    }

    .hero__subtitle {
        margin-bottom: 3.75rem;
        font-size: 2rem;
    }

    .hero__text-swap-container {
        height: 2.4rem;
    } 

    .hero__text-swap-container {
        width: 100%;
        flex: auto;
    }

    .hero__text-swap-underline {
        bottom: 0;
        height: 0.2rem;
    }
}

@media (max-width: 532px) {
    .hero__cta-button-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}