/* Content Items */
.section-subtitle {
    font-size: 13px;
    font-weight: 500;
    line-height: 18px;
    color: #FF7632;
    width: 360px;
    float: left;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    text-align: left;
    padding: 0;
}

.section-subtitle.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.content-item {
    float: left;
    position: relative;
    overflow: hidden;
    margin-right: 20px;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.content-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

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

.content-item .item-image {
    width: 100%;
    overflow: hidden;
}

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

.content-item .item-text {
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.content-item .item-text::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    transform: translateX(-100%);
    transition: transform 0.6s ease-out 0.3s;
}

.content-item.animate-in .item-text::before {
    transform: translateX(0);
}

.content-item .item-label {
    font-size: 20px;
    font-weight: 500;
    line-height: 30px;
    color: #000;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease-out 0.6s;
}

.content-item.animate-in .item-label {
    opacity: 1;
}

.content-item .item-description {
    font-size: 30px;
    font-weight: 500;
    line-height: 140%;
    color: #000;
    position: relative;
    z-index: 1;
}

.content-item .item-description p {
    margin-bottom: 8px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.content-item.animate-in .item-description p:nth-child(1) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.7s;
}

.content-item.animate-in .item-description p:nth-child(2) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.8s;
}

.content-item.animate-in .item-description p:nth-child(3) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.9s;
}

.content-item .bg-yellow {
    background: #FFCB70;
}

.content-item .bg-orange {
    background: #FFAB58;
}

/* Item 1: Image (left) + Yellow Text (right) - Horizontal */
.content-item.item-0 {
    width: 10%;
    transition-delay: 0s !important;
}

.content-item.item-00 {
    width: 15%;
    transition-delay: 0.3s !important;
}

.content-item.item-2 {
    width: calc(65% - 20px);
    height: 360px;
    display: flex;
    flex-direction: row;
    transition-delay: 0.2s !important;
}

.content-item.item-2 .item-left {
    width: 55%;
    height: 100%;
}

.content-item.item-2 .item-right {
    width: 45%;
    height: 100%;
}

.content-item.item-2 .item-image {
    height: 100%;
}

.content-item.item-2 .item-text {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

/* Item 2: Large Image */
.content-item.item-1 {
    width: calc(14% - 20px);
    height: 360px;
    margin-right: 20px;
    transition-delay: 0.1s !important;
}

/* Item 3: Large Image */
.content-item.item-4 {
    width: calc(25% - 20px);
    height: 279px;
    transition-delay: 0.5s !important;
}

/* Item 4: Orange Text (top) + Image (bottom) */
.content-item.item-3 {
    width: calc(55% - 20px);
    height: 359px;
    display: flex;
    flex-direction: row;
    transition-delay: 0.4s !important;
}

.content-item.item-3 .item-text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 70%;
    position: relative;
    overflow: hidden;
}

.content-item.item-3 .item-image {
    width: 30%;
}

/* CTA Section */
.event-cta-section {
    background: url("/resources/tour-cta-bg.png") center/cover;
    padding: 240px 64px;
    position: relative;
    text-align: center;
    color: #FFF;
    margin-left: -64px;
    margin-right: -64px;
    overflow: hidden;
}

.event-cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-logo {
    font-size: 93px;
    font-weight: 900;
    letter-spacing: 5px;
    margin-bottom: 30px;
    opacity: 0;
    transform: scale(0.9) translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.event-cta-section.animate-in .cta-logo {
    opacity: 1;
    transform: scale(1) translateY(0);
    transition-delay: 0.4s;
}

.cta-subtitle {
    font-size: 60px;
    font-weight: 600;
    line-height: 80px;
    color: #FFFF81;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.event-cta-section.animate-in .cta-subtitle {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.cta-text {
    font-size: 20px;
    line-height: 30px;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.event-cta-section.animate-in .cta-text {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border: 2px solid #FFF;
    border-radius: 100px;
    color: #FFF;
    text-decoration: none;
    font-size: 24px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out, background 0.3s ease, color 0.3s ease;
}

.event-cta-section.animate-in .cta-button {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.8s;
}

.cta-button:hover {
    background: #FFF;
    color: #000;
}

.cta-image-left,
.cta-image-right {
    position: absolute;
    width: 282px;
    height: 384px;
    border: 2px solid #FFF;
    z-index: 2;
    opacity: 0;
    transform: translateY(300px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.cta-image-left {
    left: 64px;
    bottom: 60px;
    background: url("/resources/tour-cta-left.png") center/cover;
}

.cta-image-right {
    right: 64px;
    top: 0px;
    width: 390px;
    height: 250px;
    background: url("/resources/tour-cta-right.png") center/cover;
}

.event-cta-section.cta-in-view .cta-image-left {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.event-cta-section.cta-in-view .cta-image-right {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.event-cta-section.cta-exit-up .cta-image-left,
.event-cta-section.cta-exit-up .cta-image-right {
    opacity: 0;
    transform: translateY(-60px);
}

@media (max-width: 768px) {

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-title .hero-inline-img {
        margin-bottom: 5px;
    }

    .content-item {
        float: none;
        width: 100% !important;
        margin-right: 0;
        margin-bottom: 15px;
    }

    .content-item .item-text {
        padding: 15px;
    }

    .content-item .item-description {
        font-size: 18px;
        line-height: 24px;
    }

    .content-item.item-1,
    .content-item.item-4 {
        height: 183px;
    }

    .content-item.item-2,
    .content-item.item-3,
    .content-item.item-5 {
        height: 183px;
        flex-direction: row-reverse;
    }

    .content-item.item-2 .item-left,
    .content-item.item-3 .item-left {
        width: 70%;
        height: 100%;
    }

    .content-item.item-2 .item-right,
    .content-item.item-3 .item-right {
        width: 30%;
        height: 100%;
    }

    .content-item.item-1 .item-left,
    .content-item.item-1 .item-right {
        height: auto;
    }

    .content-item.item-3 {
        order: 1;
    }

    .content-item .item-label {
        font-size: 12px;
        font-weight: 500;
        line-height: 140%;
        color: #000;
        margin-bottom: 24px;
        position: relative;
        z-index: 1;
        opacity: 0;
        transition: opacity 0.4s ease-out 0.6s;
    }

    .content-item.item-4 .item-text {
        width: 70%;
    }

    .feature-item {
        flex-wrap: wrap;
        margin-bottom: 16px;
    }

    .service-tags {
        width: 60%;
    }

    .event-cta-section {
        padding: 200px 32px;
        margin-left: -32px;
        margin-right: -32px;
        height: 85vh;
    }

    .cta-image-left {
        left: 20px;
        bottom: 30px;
        width: 134px;
        height: 182px;
        background: url("/resources/tour-cta-left.png") center/cover;
        transform: translateX(-50px);
    }

    .cta-image-right {
        right: 20px;
        top: 30px;
        width: 174px;
        height: 112px;
        background: url("/resources/tour-cta-right.png") center/cover;
        transform: translateX(50px);
    }

    .cta-logo {
        font-size: 50px;
        letter-spacing: 0px;
        margin-bottom: 50px;
    }

    .cta-subtitle {
        font-size: 32px;
        line-height: 42px;
        margin-bottom: 2px;
    }

    .cta-text {
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 20px;
    }

    .cta-button {
        font-size: 18px;
        padding: 8px 16px;
    }
}