/* ===================================
   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: absolute;
    left: 64px;
}

.service-nav-label {
    font-size: 13px;
    line-height: 18px;
    color: #000;
    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 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;
}

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

.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;
}

.hero-title .title-icon {
    width: 66px;
    height: 66px;
}

.hero-title .hero-inline-img {
    width: 122px;
    height: 74px;
    object-fit: cover;
    border-radius: 4px;
}

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

.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;
}

.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-label {
    font-size: 20px;
    font-weight: 500;
    line-height: 30px;
    color: #000;
    margin-bottom: 30px;
}

.content-item .item-description {
    font-size: 30px;
    font-weight: 500;
    line-height: 100%;
    color: #000;
}

.content-item .item-description p {
    margin-bottom: 8px;
}

.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%;
}

.content-item.item-1 {
    width: calc(47% - 20px);
    height: 360px;
    display: flex;
    flex-direction: row;
}

.content-item.item-1 .item-left {
    width: 30%;
    height: 100%;
}

.content-item.item-1 .item-right {
    width: 70%;
    height: 100%;
}

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

.content-item.item-1 .item-text {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Item 2: Large Image */
.content-item.item-2 {
    width: calc(43% - 20px);
    height: 360px;
    margin-right: 0;
}

/* Item 3: Large Image */
.content-item.item-3 {
    width: calc(35% - 20px);
    height: 279px;
}

/* Item 4: Orange Text (top) + Image (bottom) */
.content-item.item-4 {
    width: calc(60% - 20px);
    height: 359px;
    display: flex;
    flex-direction: row;
}

.content-item.item-4 .item-text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 60%;
}

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

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

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

.feature-item {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-inline-img,
.feature-inline-img-2 {
    height: 52px;
    width: auto;
    vertical-align: middle;
}

.feature-icon {
    width: 50px;
    height: 50px;
    vertical-align: middle;
}

.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.2;
    z-index: 1;
}

/* CTA Section */
.event-cta-section {
    background: url("/resources/event-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: 700;
    letter-spacing: 10px;
    margin-bottom: 30px;
}

.cta-subtitle {
    font-size: 60px;
    font-weight: 600;
    line-height: 80px;
    color: #FFFF81;
    margin-bottom: 30px;
}

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

.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;
    transition: all 0.3s;
}

.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;
}

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

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

/* Services Section */
.event-services-section {
    padding: 240px 64px 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: 100px;
    padding: 100px 0;
    border-bottom: 1px solid #DACFC3;
}

.service-detail:last-child {
    border-bottom: none;
}

.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: 100%;
    color: #000;
    margin-bottom: 30px;
}

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

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

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

.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;
}

.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;
    }

    .cta-image-left,
    .cta-image-right {
        display: none;
    }

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

    .service-nav {
        position: static;
        display: flex;
        gap: 20px;
        margin-bottom: 40px;
        left: auto;
        top: auto;
    }

    .service-nav-label {
        margin-bottom: 0;
        margin-right: 20px;
    }

    .service-nav a {
        margin-bottom: 0;
    }

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

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

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

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

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

    .content-item.item-1,
    .content-item.item-4 {
        min-height: 400px;
        height: auto;
    }

    .content-item.item-2,
    .content-item.item-3,
    .content-item.item-5 {
        height: 300px;
    }

    .content-item.item-1 {
        flex-direction: column;
    }

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

    .content-item.item-1 .item-image {
        height: 200px;
    }

    .content-item.item-4 .item-image {
        height: 200px;
    }

    .event-dark-section {
        padding: 120px 32px 100px;
        margin-left: -32px;
        margin-right: -32px;
    }

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

    .dark-features {
        font-size: 32px;
        line-height: 42px;
    }

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

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

    .dark-symbol {
        width: 200px;
        height: 200px;
        right: 20px;
        top: 20px;
    }

    .event-cta-section {
        padding: 120px 32px;
        margin-left: -32px;
        margin-right: -32px;
    }

    .cta-logo {
        font-size: 40px;
        letter-spacing: 5px;
    }

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

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

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

    .event-services-section {
        padding: 120px 32px 60px;
    }

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

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

    .service-image {
        height: 300px;
    }

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

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

    .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;
    }
}