/* ===================================
   EVENT PAGE - event.css
   ================================== */

.event-body {
    background: #F5F0E0;
    overflow-x: hidden;
}

.event-page {
    min-height: 100vh;
    background: #F5F0E0;
    padding-top: 161px;
    padding-left: 64px;
    position: relative;
    padding-bottom: 0;
}

/* Service Sub Navigation */
.service-nav {
    position: fixed;
    left: 64px;
    z-index: 100;
}

.service-nav-label {
    font-size: 13px;
    line-height: 18px;
    margin-bottom: 70px;
}

.service-nav a {
    display: block;
    font-size: 20px;
    font-weight: 500;
    line-height: 30px;
    color: #000;
    text-decoration: none;
    margin-bottom: 25px;
    transition: color 0.3s;
}

/* Service nav on dark section */
.service-nav.on-dark .service-nav-label {
    color: #FFF;
}

.service-nav.on-dark a,
.service-nav.on-dark a.active {
    color: #FFF;
}

.service-nav a:hover {
    color: #FF7632;
}

.service-nav a.active {
    color: #000;
    font-weight: 600;
}

.service-nav a.active::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url("/resources/service-sub-memu-active.png") no-repeat left center;
    /* margin-top: 4px; */
    margin-left: 10px;
}

/* Hero Section */
.event-hero {
    margin-left: 256px;
    margin-bottom: 100px;
}

.hero-top-line {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.hero-top-line::before {
    content: '';
    width: 40px;
    height: 1px;
    background: #000;
}

.dark-content .hero-top-line::before {
    background: #FFF;
}

.hero-top-line .subtitle {
    font-size: 13px;
    line-height: 18px;
}

.hero-title {
    font-size: 70px;
    font-weight: 600;
    line-height: 80px;
    color: #000;
}

.hero-title .title-line {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
}

.hero-title .title-line .title-bg-overlay {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 81px;
    background: #F5F0E0;
    z-index: 1;
    transform: translateX(-100%);
    animation: slideOverlay 0.8s ease-out forwards;
}

.hero-title .title-line:first-child .title-bg-overlay {
    animation-delay: 0s;
}

.hero-title .title-line:last-child .title-bg-overlay {
    animation-delay: 0.3s;
}

.hero-title .title-line span {
    display: inline-block;
    opacity: 0;
    transform: translateX(-100%);
    animation: slideInFromLeft 0.8s ease-out forwards;
    position: relative;
    z-index: 2;
}

.hero-title .title-line:first-child span {
    animation-delay: 0.2s;
}

.hero-title .title-line:last-child span {
    animation-delay: 0.5s;
}

@keyframes slideOverlay {
    0% {
        transform: translateX(-100%);
    }

    50% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(100%);
    }
}

@keyframes slideInFromLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-title .title-icon {
    width: 66px;
    height: 66px;
    opacity: 0;
    animation: fadeIn 0.6s ease-out 0.8s forwards;
}

.hero-title .hero-inline-img {
    width: 122px;
    height: 74px;
    object-fit: cover;
    border-radius: 4px;
    opacity: 0;
    transform: scale(0.8);
    animation: scaleIn 0.6s ease-out 0.7s forwards;
    margin-bottom: -10px;
    ;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Content Section */
.event-content {
    margin-left: 50px;
    margin-bottom: 100px;
    position: relative;
}

.section-subtitle {
    font-size: 13px;
    font-weight: 500;
    line-height: 18px;
    color: #FF7632;
    text-align: right;
    padding-right: 64px;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.content-grid {
    margin-top: 20px;
    overflow: hidden;
}

.content-grid::after {
    content: '';
    display: table;
    clear: both;
}

/* Content Items */
.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;
}

.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: 40px;
    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;
}

/* Active Link Underline */
.nav a.active {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

/* Dark Section */
.event-dark-section {
    background: #201E1C;
    padding: 240px 64px 200px 320px;
    position: relative;
    color: #FFF;
    margin-left: -64px;
    margin-right: -64px;
}

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

.dark-label {
    font-size: 13px;
    line-height: 18px;
    color: #FFF;
    margin-bottom: 40px;
}

.dark-subtitle-line {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 80px;
}

.dark-subtitle-line::before {
    content: '';
    width: 40px;
    height: 1px;
    background: #FFF;
}

.dark-subtitle {
    font-size: 13px;
    line-height: 18px;
    color: #FFF;
}

.dark-title {
    font-size: 50px;
    font-weight: 600;
    line-height: 65px;
    color: #FFF;
    margin-bottom: 80px;
}

.dark-title span {
    display: block;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.dark-title.animate-in span {
    opacity: 1;
    transform: translateX(0);
}

.dark-title.animate-in span:nth-child(1) {
    transition-delay: 0.1s;
}

.dark-title.animate-in span:nth-child(2) {
    transition-delay: 0.3s;
}

.dark-features {
    font-size: 50px;
    font-weight: 600;
    line-height: 65px;
    color: #FFF;
    opacity: 1;
}

.feature-item {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.feature-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #201E1C;
    transform: translateX(-100%);
    transition: transform 0.8s ease-out;
    z-index: 1;
}

.dark-features.animate-in .feature-item {
    transform: translateX(0);
    animation: darkFeatureOpacity 0.8s ease-out forwards;
}

.dark-features.animate-in .feature-item:nth-child(1) {
    transition-delay: 0.5s;
    animation-delay: 0.5s;
}

.dark-features.animate-in .feature-item:nth-child(2) {
    transition-delay: 0.7s;
    animation-delay: 0.7s;
}

.dark-features.animate-in .feature-item:nth-child(3) {
    transition-delay: 0.9s;
    animation-delay: 0.9s;
}

@keyframes darkFeatureOpacity {
    0% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

.feature-inline-img,
.feature-inline-img-2 {
    height: 52px;
    width: auto;
    vertical-align: middle;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.dark-features.animate-in .feature-item:nth-child(1) .feature-inline-img,
.dark-features.animate-in .feature-item:nth-child(1) .feature-inline-img-2 {
    opacity: 1;
    transform: scale(1);
    transition-delay: 0.8s;
}

.dark-features.animate-in .feature-item:nth-child(2) .feature-inline-img,
.dark-features.animate-in .feature-item:nth-child(2) .feature-inline-img-2 {
    opacity: 1;
    transform: scale(1);
    transition-delay: 1s;
}

.dark-features.animate-in .feature-item:nth-child(3) .feature-inline-img,
.dark-features.animate-in .feature-item:nth-child(3) .feature-inline-img-2 {
    opacity: 1;
    transform: scale(1);
    transition-delay: 1.2s;
}

.feature-icon {
    width: 50px;
    height: 50px;
    vertical-align: middle;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.dark-features.animate-in .feature-item:nth-child(2) .feature-icon {
    opacity: 1;
    transform: scale(1);
    transition-delay: 1s;
}

.dark-symbol {
    position: absolute;
    right: 100px;
    top: 50px;
    width: 506px;
    height: 506px;
    background-image: url("/resources/client-symbol.png");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0;
    z-index: 1;
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.dark-symbol.animate-in {
    opacity: 0.2;
    transform: rotate(0deg) scale(1);
}

/* Services Section */
.event-services-section {
    padding: 240px 0px 100px 320px;
    background: #F5F0E0;
}

.services-label {
    font-size: 13px;
    line-height: 18px;
    color: #000;
    margin-bottom: 40px;
}

.services-subtitle-line {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 80px;
}

.services-subtitle-line::before {
    content: '';
    width: 40px;
    height: 1px;
    background: #000;
}

.services-subtitle {
    font-size: 13px;
    line-height: 18px;
    color: #000;
}

.services-title {
    font-size: 70px;
    font-weight: 600;
    line-height: 80px;
    color: #000;
    margin-bottom: 10px;
}

.services-description {
    font-size: 20px;
    line-height: 30px;
    color: #FF7632;
    margin-bottom: 100px;
}

/* Service Details */
.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 0px;
    padding: 0;
    border-top: 1px solid #DACFC3;
}

.service-image {
    width: 100%;
    height: 512px;
    overflow: hidden;
}

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

.service-text h3 {
    font-size: 40px;
    font-weight: 600;
    line-height: 140%;
    color: #000;
    margin: 30px 0;
}

.service-text h3 span {
    display: block;
}

.service-subtitle-en {
    font-size: 15px;
    font-weight: 500;
    line-height: 22px;
    color: #000;
    margin-bottom: 160px;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    width: 60%;
}

.service-tags .tag {
    display: inline-block;
    padding: 10px 16px;
    border: 1px solid #000;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    line-height: 18px;
    color: #000;
}

/* Animated Banner */
.event-banner {
    background: #FF7632;
    height: 83px;
    overflow: hidden;
    position: relative;
    margin-left: -64px;
    margin-right: -64px;
}

.event-banner .banner-track {
    display: flex;
    animation: scroll-banner 30s linear infinite;
    white-space: nowrap;
    padding: 0 20px;
}

.event-banner .banner-item {
    display: inline-flex;
    align-items: center;
    font-size: 50px;
    font-weight: 600;
    color: #FFF;
    padding: 0 30px 0 0;
}

.event-banner .banner-icon {
    font-size: 38px;
    padding: 0 15px;
}

@keyframes scroll-banner {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Footer */
.footer {
    background: #000;
    color: #FFF;
    padding: 80px 320px;
    font-size: 14px;
    line-height: 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.footer-text p {
    margin-bottom: 5px;
    opacity: 0.7;
}

.footer-right {
    text-align: right;
}

.footer-right p {
    margin-bottom: 10px;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 1440px) {
    .event-dark-section {
        padding: 200px 64px 160px 200px;
    }

    .dark-symbol {
        right: 50px;
        width: 400px;
        height: 400px;
    }

    .event-services-section {
        padding: 200px 64px 100px 200px;
    }
}

@media (max-width: 1200px) {
    .event-page {
        padding-left: 48px;
        padding-right: 40px;
    }

    .service-nav {
        left: 48px;
    }

    .event-hero {
        margin-left: 200px;
    }

    .event-content {
        margin-left: 200px;
    }

    .hero-title {
        font-size: 50px;
        line-height: 60px;
    }

    .event-dark-section {
        padding: 160px 48px 120px 48px;
    }

    .dark-title {
        font-size: 40px;
        line-height: 52px;
        margin-bottom: 60px;
    }

    .dark-features {
        font-size: 40px;
        line-height: 52px;
    }

    .dark-symbol {
        right: 30px;
        top: 30px;
        width: 300px;
        height: 300px;
    }

    .event-cta-section {
        padding: 180px 48px;
    }

    .cta-logo {
        font-size: 60px;
    }

    .cta-subtitle {
        font-size: 40px;
        line-height: 52px;
    }

    .event-services-section {
        padding: 160px 48px 80px 48px;
    }

    .services-title {
        font-size: 50px;
        line-height: 65px;
        margin-bottom: 100px;
    }

    .service-detail {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 60px 0;
    }

    .service-image {
        height: 400px;
    }

    .footer {
        padding: 60px 48px;
    }
}

@media (max-width: 768px) {
    .event-page {
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 80px;
    }

    .service-nav {
        display: none;
    }

    .service-nav-label {
        margin-bottom: 0px;
        float: left;
        margin-right: 10px;
    }

    .hero-top-line {
        gap: 10px;
    }

    .hero-title .title-icon {
        height: 30px;
        width: 30px;
        margin-bottom: -3px;
    }

    .hero-title .title-icon-mobile {
        width: auto;
        height: 30px;
        opacity: 0;
        animation: fadeIn 0.6s ease-out 0.8s forwards;
        display: inline-block;
        vertical-align: bottom;
        margin-bottom: 4px;
    }

    .hero-title .hero-inline-img {
        width: auto;
        height: 30px;
        vertical-align: bottom;
        margin-bottom: 4px;
    }

    .hero-title .title-line {
        gap: 8px;
        margin-bottom: 0px;
    }

    .title-line span img {
        display: inline-block;
    }

    .section-subtitle {
        display: none;
    }

    .content-grid {
        margin-top: 20px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }

    .event-hero {
        margin-left: 0;
        margin-bottom: 0px;
    }

    .event-content {
        margin-left: 0;
    }

    .hero-title {
        font-size: 30px;
        line-height: 40px;
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: 16px;
        line-height: 24px;
    }

    .event-content {
        margin-bottom: 50px;
    }

    .event-dark-section {
        padding: 50px 32px 250px;
        margin-left: -32px;
        margin-right: -32px;
    }

    .dark-title {
        font-size: 28px;
        line-height: 38px;
        margin-top: 175px;
        margin-bottom: 40px;
    }

    .dark-features {
        font-size: 1.4rem;
        line-height: 38px;
    }

    .feature-inline-img,
    .feature-inline-img-2 {
        height: 36px;
    }

    .dark-features.animate-in .feature-item:nth-child(3) {
        flex-wrap: wrap;
        gap: 0px 15px;
    }

    .feature-item {
        margin-bottom: 0px;
    }

    .feature-item-m {
        margin-bottom: 5px;
        align-items: center;
        gap: 15px;
        position: relative;
        overflow: hidden;
        opacity: 0;
        transform: translateX(-50px);
        transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    }

    .dark-features.animate-in .feature-item-m {
        transform: translateX(0);
        animation: darkFeatureOpacity 0.8s ease-out forwards;
    }

    .feature-icon {
        width: 36px;
        height: 36px;
    }

    .dark-symbol {
        width: 170px;
        height: 170px;
        right: -30px;
        top: 90px;
    }

    .event-services-section {
        padding: 30px 15px 60px;
    }

    .mice-inline .bracket {
        font-size: 28px;
    }

    .mice-inline {
        font-size: 12px;
    }

    .mice-inline .bracket img {
        height: 34px;
    }

    .services-title {
        font-size: 40px;
        line-height: 42px;
        margin-bottom: 5px;
    }

    .services-description {
        font-size: 13px;
        line-height: 30px;
        color: #FF7632;
        margin-bottom: 60px;
    }

    .service-text {
        padding: 0px 15px;
    }

    .service-detail {
        padding: 0px 0px 40px;
        gap: 30px;
        margin: 0 -35px;
    }

    .service-image {
        height: 300px;
        grid-row: 1;
    }

    .service-text h3 {
        font-size: 28px;
        margin: 0;
    }

    .service-subtitle-en {
        font-size: 13px;
        line-height: 20px;
        margin-bottom: 30px;
    }

    .service-tags {
        width: 100%;
    }

    .event-banner {
        height: 60px;
        margin-left: -32px;
        margin-right: -32px;
    }

    .event-banner .banner-item {
        font-size: 32px;
    }

    .event-banner .banner-icon {
        font-size: 24px;
    }

    .footer {
        padding: 40px 32px;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-right {
        text-align: left;
    }
}