/* ===================================
   CREATE JEJU - Style.css
   Based on Figma Design
   ================================== */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #F5F0E0;
    color: #000;
    overflow-x: hidden;
    line-height: 1.5;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    background: rgba(245, 240, 224, 0.95);
    backdrop-filter: blur(10px);
    z-index: 999;
}

.header-content {
    max-width: 1920px;
    height: 100%;
    margin: 0 auto;
    padding: 0 64px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 24px;
    font-weight: 600;
    color: #000;
    text-decoration: none;
    letter-spacing: 1px;
}

.nav {
    display: flex;
    gap: 60px;
}

.nav a {
    font-size: 18px;
    font-weight: 500;
    color: #000;
    text-decoration: none;
    transition: color 0.3s;
}

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

/* Hero Section */
.hero {
    position: relative;
    min-height: calc(100vh - 71px);
    margin-top: 71px;
    background: #F5F0E0;
    padding: 90px 64px 100px;
    padding-top: calc(90px + 140px);
}

.hero-logo-text {
    position: absolute;
    bottom: 100px;
    left: -21px;
    font-size: 210px;
    font-weight: 900;
    color: #000;
    letter-spacing: 15px;
    line-height: 1;
    pointer-events: none;
    white-space: nowrap;
}

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

.hero-title {
    font-size: 40px;
    font-weight: 500;
    line-height: 56px;
    margin-top: 160px;
}

.hero-title span {
    display: block;
}

.hero-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 650px;
    z-index: 99999;
}

.hero-image {
    position: absolute;
    background: #D3D3D3;
    background-size: cover;
    background-position: center;
}

.hero-image-1 {
    top: 135px;
    left: -82px;
    width: 297px;
    height: 292px;
    background-image: url("/resources/Rectangle\ 40586.png");
    animation: slideInFromLeft 1s ease-out;
}

.hero-image-2 {
    top: 17px;
    left: 400px;
    width: 362px;
    height: 225px;
    background-image: url("/resources/Rectangle\ 40583.png");
    animation: slideInFromTop 1s ease-out 1s backwards;
}

.hero-image-3 {
    top: 60px;
    right: 148px;
    width: 444px;
    height: 220px;
    animation: slideInFromRight 1s ease-out 3s backwards;
}

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

.hero-image-3-desc {
    font-size: 13px;
    color: #FFF;
    background-color: #FF7632;
    height: 40px;
    margin-top: -5px;
    text-align: center;
    line-height: 38px;
}

.hero-episode {
    font-size: 13px;
}

.episode-subtitle {
    color: #A68B74;
}

.hero-image-4 {
    bottom: 0px;
    right: 0;
    width: 220px;
    height: 272px;
    background-image: url("/resources/Rectangle\ 40587.png");
    animation: slideInFromRight 1s ease-out 2s backwards;
}

.mouse-scroll {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
}

.mouse {
    width: 14px;
    height: 30px;
    border: 2px solid #000;
    border-radius: 17.5px;
    position: relative;
}

.mouse::before {
    content: '';
    width: 2px;
    height: 8px;
    background: #000;
    position: absolute;
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.5s infinite;
}

@keyframes scroll-wheel {

    0%,
    100% {
        top: 7px;
        opacity: 1;
    }

    50% {
        top: 15px;
        opacity: 0.5;
    }
}

@keyframes slideInFromLeft {
    0% {
        transform: translateX(-200px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromTop {
    0% {
        transform: translateY(-200px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(200px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes revealFromRight {
    0% {
        transform: translateX(0);
    }

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

@keyframes revealDivFromRight {
    0% {
        clip-path: inset(0 0 0 100%);
    }

    100% {
        clip-path: inset(0 0 0 0);
    }
}

@keyframes slideOutRight {
    0% {
        transform: translateX(0);
        opacity: 1;
    }

    100% {
        transform: translateX(100vw);
        opacity: 0;
    }
}

@keyframes slideOutLeft {
    0% {
        transform: translateX(0);
        opacity: 1;
    }

    100% {
        transform: translateX(-100vw);
        opacity: 0;
    }
}

/* Services Section */
.services {
    padding: 190px 0px 100px;
    background: #F5F0E0;
}

.services-intro h2 {
    font-size: 80px;
    font-weight: 600;
    line-height: 100px;
    margin-bottom: 40px;
    padding-left: 54px;
}

.services-intro h2 span {
    display: block;
}

.arrow-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 80px;
    padding-left: 54px;
}

.service-banners {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 20px;
}

.banner {
    height: 130px;
    display: flex;
    align-items: center;
    padding: 0 64px 0 0;
    justify-content: end;
    gap: 30px;
    clip-path: inset(0 0 0 100%);
}

.services.animate .banner {
    animation: revealDivFromRight 1s ease-out forwards;
}

.banner-orange {
    background: #FF7632;
    margin-left: 680px;
}

.banner-yellow {
    background: #FFAB58;
    margin-left: 340px;
}

.banner-light-yellow {
    background: #FFCB70;
}

.banner-icon {
    width: 66px;
    height: 66px;
}

.banner-text {
    font-size: 50px;
    font-weight: 600;
    line-height: 65px;
    color: #000;
}

.banner-subtitle {
    font-size: 52px;
    font-style: italic;
    color: #FFFF81;
}

.banner-mice-box {
    width: 163px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url("/resources/Rectangle\ 40534.png");
    background-size: cover;
}

.mice-text {
    font-size: 50px;
    font-style: italic;
    color: #FFF;
}

.services-footer {
    text-align: right;
    padding-right: 64px;
    position: absolute;
    top: 20px;
    right: 0;
}

.services-tagline {
    font-size: 13px;
    color: #FF7632;
}

/* With Section */
.with-section {
    position: relative;
    background: #201E1C;
    padding: 240px 64px 150px;
    color: #FFF;
}

.with-section2,
.with-section3 {
    position: relative;
    background: #201E1C;
    color: #FFF;
}

.with-bg {
    position: absolute;
    top: 460px;
    left: 50%;
    transform: translateX(-50%);
    width: 1052px;
    height: 1280px;
    background: rgba(74, 144, 226, 0.15);
    z-index: 1;
    background-image: url("/resources/with_bg.png");
    background-size: cover;
}

.with-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 80px;
}

.with-symbol {
    width: 140px;
    height: 140px;
    margin: 0 auto 40px;
}

.with-title {
    margin-bottom: 200px;
}

.with-sub {
    display: block;
    font-size: 120px;
    font-style: italic;
    font-weight: 500;
    line-height: 120px;
}

.with-main {
    display: block;
    font-size: 120px;
    font-weight: 600;
    line-height: 120px;
}

.with-services {
    display: flex;
    flex-direction: column;
    gap: 100px;
    text-align: left;
}

.with-service {
    padding-left: 100px;
    z-index: 2;
    transition: transform 1s ease-out, opacity 1s ease-out;
}

.with-section2.animate .with-service:nth-child(1) {
    animation: slideOutRight 1s ease-out forwards;
}

.with-section2.animate .with-service:nth-child(2) {
    animation: slideOutLeft 1s ease-out forwards;
}

.with-section2.animate .with-service:nth-child(3) {
    animation: slideOutRight 1s ease-out forwards;
}

.with-service:nth-child(2) {
    padding-left: 800px;
}

.with-service img {
    margin-left: 20px;
    vertical-align: bottom;
}

.service-name {
    font-size: 148px;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 30px;
}

.mice-details {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 44px;
    font-weight: 500;
    margin-top: 30px;
    width: 680px;
}

.inline-wrapper {
    display: inline-block;
}

.bracket {
    font-size: 106px;
    font-weight: 300;
}

.mice-items {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.mice-items .dot {
    font-size: 18px;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-top: 20px;
}

.with-signature {
    text-align: center;
    margin-top: 200px;
}

.with-signature p {
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 10px;
}

.signature-sub {
    font-size: 20px;
    opacity: 0.5;
}

/* Detail Sections */
.detail-section {
    padding: 190px 0px 100px;
    display: flex;
    align-items: center;
    gap: 80px;
}

.event-detail {
    background: #F5F0E0;
}

.mice-detail {
    background: #F5F0E0;
    border-top: 1px solid #DACFC3;
    border-bottom: 1px solid #DACFC3;
}

.tour-detail {
    background: #F5F0E0;
}

.detail-top-left {
    position: absolute;
    top: 40px;
    left: 0px;
    font-size: 13px;
}

.detail-top-right {
    position: absolute;
    top: 40px;
    right: 64px;
    font-size: 13px;
}

.detail-top-right img {
    vertical-align: super;
}

.detail-image {
    height: 100%;
    position: relative;
    overflow: hidden;
}

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

.detail-image img.slide-in {
    animation: slideInFromBottom 0.6s ease-out forwards;
}

.detail-image img:not(:first-child) {
    position: absolute;
    top: 0;
    left: 0;
}

@keyframes slideInFromBottom {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.detail-content {
    flex: 1;
    position: relative;
    height: 100%;
}

.detail-content ul {
    list-style: none;
    margin-top: 120px;
}

.detail-content ul li {
    border-bottom: 1px solid #DACFC3;
    padding-bottom: 10px;
}

.detail-content ul li:not(.active) .detail-body {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease-out, opacity 0.5s ease-out, padding 0.5s ease-out;
    padding-bottom: 0;
}

.detail-content ul li.active .detail-body {
    max-height: 1000px;
    opacity: 1;
    transition: max-height 0.5s ease-in, opacity 0.5s ease-in, padding 0.5s ease-in;
    padding-bottom: 50px;
}

.detail-body {
    padding-bottom: 50px;
}

.detail-label {
    font-size: 20px;
    color: #FF7632;
    display: block;
    margin-bottom: 20px;
}

.detail-title {
    font-size: 80px;
    font-weight: 600;
    line-height: 100px;
    cursor: pointer;
}

.detail-description {
    font-size: 25px;
    font-weight: 500;
    line-height: 35px;
    margin-top: 120px;
    margin-bottom: 30px;
}

.detail-description p {
    margin-bottom: 5px;
}

.detail-description-en {
    font-size: 15px;
    line-height: 22px;
    opacity: 0.5;
}

.detail-description-en p {
    margin-bottom: 5px;
}

.detail-logo {
    position: absolute;
    right: 64px;
    font-size: 13px;
}

/* Animated Banner */
.animated-banner {
    background: #FF7632;
    height: 83px;
    overflow: hidden;
    position: relative;
    position: absolute;
    bottom: 70px;
}

.banner-track {
    display: flex;
    animation: scroll-banner 30s linear infinite;
    white-space: nowrap;
}

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

.banner-item .icon {
    font-size: 38px;
    color: #FFFF81;
}

.mice-inline {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 500;
}

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

.mice-inline .bracket img {
    height: 60px;
    vertical-align: sub;
}

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

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

/* Client Section */
.client-section {
    background: #FF7632;
    padding: 240px 64px 150px;
    text-align: center;
    color: #FFF;
}

.client-symbol {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin: 0 auto 40px;
}

.client-title {
    font-size: 60px;
    font-weight: 600;
    line-height: 80px;
    margin-bottom: 20px;
}

.client-title span {
    display: block;
}

.client-subtitle {
    font-size: 20px;
    color: #FFFF81;
    display: block;
    margin-bottom: 80px;
}

.client-logos {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.logo-row {
    display: flex;
    justify-content: center;
    gap: 100px;
    flex-wrap: wrap;
}

.client-logo {
    width: 180px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

/* Footer */
.footer {
    background: #000;
    color: #FFF;
    padding: 60px 64px;
    position: relative;
    z-index: 1;
}

.footer-content {
    display: flex;
    gap: 200px;
    margin-bottom: 60px;
}

.footer-left {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.footer-symbol {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
}

.footer-left h3 {
    font-size: 60px;
    font-weight: 600;
    line-height: 80px;
}

.footer-left h3 span {
    display: block;
}

.footer-info {
    display: flex;
    gap: 100px;
}

.info-group p {
    font-size: 15px;
    line-height: 22px;
    margin-bottom: 10px;
}

.info-group .label {
    color: #FF7632;
    margin-right: 15px;
}

.copyright {
    font-size: 13px;
    line-height: 18px;
    opacity: 0.5;
}

/* Contact Button */
.contact-button {
    position: fixed;
    bottom: 22px;
    right: 30px;
    z-index: 1000;
}

.contact-circle {
    width: 130px;
    height: 130px;
    background: #FFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: transform 0.3s;
}

.contact-circle:hover {
    transform: scale(1.05);
}

.contact-circle span {
    font-size: 15px;
    font-style: italic;
    text-align: center;
}

/* Responsive */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 32px;
        line-height: 45px;
    }

    .services-intro h2 {
        font-size: 60px;
        line-height: 75px;
    }

    .banner {
        padding: 0 40px;
    }

    .banner-text {
        font-size: 36px;
        line-height: 48px;
    }

    .banner-subtitle {
        font-size: 38px;
    }

    .with-sub,
    .with-main {
        font-size: 80px;
        line-height: 90px;
    }

    .service-name {
        font-size: 100px;
    }

    .mice-details {
        font-size: 32px;
    }

    .client-title {
        font-size: 48px;
        line-height: 60px;
    }
}

@media (max-width: 768px) {
    .dev-bar-content {
        flex-direction: column;
        padding: 10px 20px;
    }

    .header-content {
        padding: 0 20px;
    }

    .nav {
        gap: 30px;
    }

    .nav a {
        font-size: 16px;
    }

    .hero {
        padding: 100px 20px;
    }

    .hero-title {
        font-size: 28px;
        line-height: 40px;
    }

    .hero-logo-text {
        font-size: 100px;
        letter-spacing: 10px;
    }

    .services {
        padding: 80px 20px;
    }

    .services-intro h2 {
        font-size: 40px;
        line-height: 50px;
    }

    .banner {
        height: auto;
        min-height: 100px;
        padding: 20px;
        flex-wrap: wrap;
    }

    .banner-text {
        font-size: 24px;
        line-height: 32px;
    }

    .banner-subtitle {
        font-size: 26px;
    }

    .with-section {
        padding: 100px 20px;
    }

    .with-sub,
    .with-main {
        font-size: 50px;
        line-height: 60px;
    }

    .service-name {
        font-size: 60px;
    }

    .detail-section {
        flex-direction: column;
        padding: 80px 20px;
    }

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

    .detail-description {
        font-size: 18px;
        line-height: 28px;
    }

    .client-title {
        font-size: 32px;
        line-height: 42px;
    }

    .footer-content {
        flex-direction: column;
        gap: 60px;
    }

    .footer-left h3 {
        font-size: 40px;
        line-height: 50px;
    }

    .footer-info {
        flex-direction: column;
        gap: 40px;
    }
}