.request-wrapper {
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.request-flex {
    display: flex;
    flex-direction: row;
}

.space-between {
    justify-content: space-between;
}

.request-items {
    gap: 20px;
}

#request_text {
    width: 34%;
    padding-top: 100px;
    padding-right: 20px;
}

#request_image {
    width: 50%;
}

#request_header-title {
    font-size: 18px;
}

#request_header-text {
    font-size: 18px;
    margin-bottom: 50px;
}

.resort-orange-text {
    color: #FF7139;
    font-size: 32px;
    line-height: 1.4;
}

.resort-common-text {
    font-size: 18px;
    color: #555555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.request-item--image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    overflow: hidden;

    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 10%, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 0.6) 100%);
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 10%, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 0.6) 100%);

    -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 10%, rgba(0, 0, 0, 1) 20%, rgba(0, 0, 0, 0.6) 100%);
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 10%, rgba(0, 0, 0, 1) 20%);
}

#request_image img {
    width: 100%;
    height: auto;
    display: block;
}

.big-button {
    width: 300px;
    padding: 12px 24px;
    text-align: center;
    border-radius: 4px;
    font-size: 18px;
    cursor: pointer;
}

.resort-orange-button {
    background-color: #FF7139;
    color: #FFFFFF;
    text-decoration: none;
    display: inline-block;
}

.resort-orange-button:hover {
    background-color: #4A4A4A;
}

.resort-orange-button:active {
    background-color: #FF9369
}

.resort-black-button {
    background-color: #4A4A4A;
    color: #FFFFFF;
    text-decoration: none;
    display: inline-block;
}

.resort-black-button:hover {
    background-color: #FF7139;
}

.resort-black-button:active {
    background-color: #FF9369
}

.request-button--text {
    color: #FFFFFF;
}

.text-orange {
    color: #FF7139;
}

.text-black {
    color: #555555;
}

.content-block {
    margin-bottom: 75px;
}

.content-header {
    font-size: 28px;
    margin: 0 auto;
    margin-bottom: 34px;
    line-height: 1.4em;
    font-weight: 700;
    text-align: center;
}

.photo-collage {
    display: grid;
    grid-template-columns: 1.4fr 1.3fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    grid-gap: 15px;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.photo-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.photo-item:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
}

.photo-item:nth-child(2) {
    grid-column: 2;
    grid-row: 1 / span 2;
    height: auto;
    object-position: 75% 50%;
}

.photo-item:nth-child(3) {
    grid-column: 3;
    grid-row: 1;
}

.photo-item:nth-child(4) {
    grid-column: 1;
    grid-row: 2 / span 3;
    height: auto;
}

.photo-item:nth-child(5) {
    grid-column: 2;
    grid-row: 3;
}

.photo-item:nth-child(6) {
    grid-column: 3;
    grid-row: 2 / span 3;
    height: auto;
}

.photo-item:nth-child(2) img {
    object-position: 75% 50%;
}

.photo-item:nth-child(6) img {
    object-position: 65% 50%;
}

.orange-shadow {
    box-shadow: 0px 5px #FF7139;
}

.image-grid {
    display: grid;
    grid-gap: 15px;
    align-items: start;
    margin-bottom: 15px;
}

.image-grid-row {
    display: contents;
    grid-template-columns: 2fr 1fr 1fr;
}

.image-grid-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.text-grid-item {
    position: relative;
    margin-right: 200px;
    font-size: 18px;
}

.image-grid-upper {
    height: 300px;
}

.image-grid-bottom {
    height: 420px;
}

.image-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.food-section {
    margin-bottom: -200px;
    width: 95%;
}

.food-section-content {
    position: relative;
    min-height: 350px;
}

.food-description-box {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    background-color: #F2F3F5;
    border-radius: 20px;
    padding: 30px;
    z-index: 1;
    font-size: 18px;
}

.food-description-box--inner {
    padding: 40px 30px 35px 85px;
}

.food-image-wrap {
    position: relative;
    right: -12%;
    transform: translateY(-110%);
    z-index: 2;
    width: 480px;
}

.food-image-wrap img {
    max-width: 100%;
    border-radius: 15px 0px 0px 15px;
    object-fit: cover;
    object-position: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.flex {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
}

.history-image {
    width: 100%;
    border-radius: 16px;
    box-shadow: 6px 6px #FF7139;
}

.history-image img {
    border-radius: 16px;
    width: 100%;
    height: 470px;
}

.content-block--item {
    flex: 0 0 50%;
    box-sizing: border-box;
    font-size: 18px;
}

.text-orange h5 {
    color: #FF7139;
}

.footer-form .form-group {
    margin-bottom: 15px;
}

.footer-form input {
    width: 100%;
    border: 1px solid #FFF;
    border-radius: 4px;
    padding: 16px 10px;
    font-size: 16px;
    background-color: #FF7139;
    outline: none;
    color: white;
    transition: border-color 0.2s;
}

.footer-form input::placeholder {
    text-align: center;
    color: #FFF;
}

.footer-btn-submit {
    width: 100%;
    background-color: #FFF;
    border: none;
    border-radius: 4px;
    padding: 20px 16px;
    font-size: 18px;
    color: #FF7139;
    font-weight: 700;
    cursor: pointer;
}

.footer-btn-submit:hover {
    background-color: #4A4A4A;
    color: #FFF;
}

.footer-btn-submit:active {
    background-color: #FF9369;
    color: #FFF;
}

#footer-form--item--left {
    margin: 50px;
    width: 100%;
    display: flex;
    align-items: center;
}

#footer-form--item--right {
    width: 100%;
    margin: 50px 0px;
}

.footer-form--text {
    font-size: 31px;
    font-weight: 700;
    width: 75%;
    line-height: 1.5;
}

.footer-form--inner {
    display: flex;
    justify-content: space-between;
}

.content-block--prelast {
    margin-bottom: 520px;
}

@media (max-width: 992px) {
    .content-block--last {
        transform: translateY(420px);
    }
}

@media (min-width: 541px) and (max-width: 1024px) {
    .content-block--last {
        transform: translateY(600px);
    }

    .food-image-wrap {
        right: 5%;
        transform: translateY(-100%);
        max-width: 60%;
    }

    .food-section {
        margin-bottom: -130px;
    }

    .food-description-box--inner {
        padding: 20px 10px 15px 85px;
        font-size: 16px;
    }

    .text-grid-item {
        margin-right: 0px;
    }

    .content-block--item {
        font-size: 16px;
    }

    #request_text {
        width: 55%;
        padding-top: 60px;
    }

    #request_image {
        width: 65%;
    }

    .resort-orange-text {
        font-size: 28px;
    }

    .resort-common-text {
        font-size: 16px;
    }

    .content-header {
        font-size: 20px;
    }

    text-grid-item p {
        font-size: 16px;
    }
}

@media (min-width: 1025px) and (max-width: 1280px) {
    .food-image-wrap {
        right: -5%;
    }

    .content-header {
        font-size: 20px;
    }

    .footer-form--text {
        font-size: 26px;
    }
}

@media (min-width: 1281px) and (max-width: 1366px) {
    .treatment-card-wrapper {
        flex: 0 1 calc(23.5%);
        cursor: pointer;
    }

    .food-image-wrap {
        right: -7%;
    }
}

@media (max-width: 1440px) {
    .request-item--inner {
        height: 100%;
        justify-content: space-between;
    }

    #request_text {
        padding: 0;
    }
}

@media (max-width: 1250px) {
    .request-item--inner {
        justify-content: unset;
    }

    #request_text {
        width: 43%;
    }
}

@media (max-width: 940px) {
    .content-header {
        font-size: 18px;
        flex-direction: column;
    }

    #request_text {
        width: 100%;
        padding-top: 0px;
    }

    #request_image {
        width: 100%;
    }

    #request_header-text {
        margin-bottom: 20px;
    }

    .request-flex {
        flex-direction: column-reverse;
    }
}

@media (max-width: 540px) {
    .content-block--prelast {
        margin-bottom: 900px;
    }

    .content-block--last {
        transform: translateY(850px);
    }

    .footer-form--inner {
        flex-direction: column;
    }

    .footer-form--text {
        text-align: center;
        font-size: 22px;
    }

    .request-flex {
        flex-direction: column-reverse;
    }

    #request_header-title {
        font-size: 14px;
    }

    #request_header-text {
        font-size: 14px;
        margin-bottom: 50px;
    }

    .resort-orange-text {
        font-size: 24px;
    }

    .resort-common-text {
        font-size: 14px;
    }

    .content-header {
        font-size: 18px;
        flex-direction: column;
    }

    #request_text {
        width: 100%;
        padding-top: 0px;
    }

    #request_image {
        width: 100%;
    }

    #request_header-text {
        margin-bottom: 20px;
    }

    .photo-collage {
        grid-template-columns: repeat(3, 1fr);
    }

    .photo-item:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
        height: 100px;
    }

    .photo-item:nth-child(2) {
        height: auto;
    }

    .photo-item:nth-child(4) {
        height: auto;
    }

    .photo-item:nth-child(5) {
        grid-row: 3 / span 2;
    }

    .photo-item:nth-child(6) {
        height: auto;
    }

    .image-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .image-grid-row {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .image-grid-upper {
        height: auto;
    }

    .image-grid-bottom {
        height: auto;
    }

    .text-grid-item {
        margin-right: 0;
        font-size: 15px;
    }

    .big-button {
        width: 100%;
    }

    .history-image img {
        height: auto;
    }

    .content-block--item {
        font-size: 15px;
        padding-right: 0 !important;
    }

    .content-block--inner {
        flex-direction: column;
    }

    .text-orange h5 {
        font-size: 18px;
        text-align: center;
    }

    #food {
        margin-bottom: 0;
        width: 100%;
    }

    .food-section {
        margin-bottom: 0;
        width: 100%;
        display: flex;
        flex-direction: column-reverse;
    }

    .food-description-box {
        position: relative;
        width: 100%;
        border-radius: 0px 0px 15px 15px;
        font-size: 15px;
    }

    .food-description-box--inner {
        padding: 0;
    }

    .food-image-wrap {
        position: relative;
        right: 0%;
        transform: translateY(0%);
        z-index: 0;
        width: 100%;
    }

    .food-image-wrap img {
        border-radius: 15px 15px 0px 0px;
    }

    #footer-form--item--left {
        margin: 0;
        margin-top: 50px;
        width: 100%;
        display: flex;
        align-items: baseline;
        justify-content: space-around;
        align-content: center;
    }

}