@charset "utf-8";

/* [색상 및 변수 정의] */
:root {
    --charcoal: #2c2c2c;     /* 메인 배경 */
    --charcoal-lux: #2f3136; /* 카드 뒷면 배경 */
    --cream: #f9f8f5;        /* 서브 배경 */
    --beige: #d4c8b4;        /* 포인트 컬러 (골드 베이지) */
    --burgundy: #800020;     /* 포인트 컬러 (버건디) */
    --burgundy-sub: rgba(128, 0, 32, 0.15); /* 워터마크용 */
    --text-main: #333333;    
    --text-light: #555555;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Pretendard', sans-serif;
    color: var(--text-main);
    line-height: 1.75;
    background-color: var(--white);
    word-break: keep-all;
}

h1, h2, h3, h4, .eng-font {
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -0.5px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 1. HERO SECTION (슬림형 550px) */
.hero {
    position: relative;
    height: 550px;
    min-height: 500px;
    background-color: var(--charcoal);
    color: var(--cream);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0; right: 0;
    width: 55%;
    height: 100%;
    /* [이미지] 항공권_문의.png */
    background: url('https://media.eoding.com/media/travelagent/1229/imagecontent/항공권_문의.png') center/cover no-repeat;
    opacity: 0.8; 
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, var(--charcoal) 15%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 50%;
    padding-left: 5%;
}

.sub-badge {
    display: inline-block;
    color: var(--beige);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 24px;
    font-weight: 600;
    border-bottom: 1px solid var(--beige);
    padding-bottom: 5px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 200;
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero p {
    font-size: 1.05rem;
    font-weight: 300;
    color: rgba(249, 248, 245, 0.8);
    max-width: 500px;
}

/* 2. PHILOSOPHY SECTION */
.about {
    padding: 100px 0;
    background-color: var(--white);
}

.layout-flex {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.about-text {
    flex: 1;
}

.section-header {
    margin-bottom: 40px;
}

.eng-title {
    display: block;
    color: var(--beige);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.kor-title {
    font-size: 2.2rem;
    font-weight: 400;
    color: var(--charcoal);
}

.philosophy-text p {
    font-size: 1.05rem;
    margin-bottom: 20px;
    color: var(--text-light);
}

.highlight-quote {
    margin-top: 30px;
    border-left: 3px solid var(--beige);
    padding-left: 20px;
}

.quote-en {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.quote-ko {
    display: block;
    font-family: 'Pretendard', sans-serif;
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

.about-image {
    flex: 1;
    height: 500px;
    /* [이미지] 항공권_문의1.png */
    background: url('https://media.eoding.com/media/travelagent/1229/imagecontent/항공권_문의1.png') center/cover no-repeat;
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 30px; left: -30px;
    width: 100%; height: 100%;
    border: 1px solid var(--charcoal);
    z-index: -1;
}

/* 3. SPECIALIZATIONS SECTION (플립 애니메이션) */
.flip-section {
    padding: 100px 0;
    background-color: var(--cream);
}

.flip-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.flip-card {
    background-color: transparent;
    height: 350px;
    perspective: 1000px;
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1);
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 35px 25px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

/* 앞면 */
.flip-card-front {
    background-color: var(--white);
    border: 1px solid #eee;
}

.flip-card-front .card-icon {
    color: var(--beige);
    font-size: 3rem;
    margin-bottom: 25px;
}

.flip-card-front h3 {
    color: var(--burgundy);
    font-size: 1.35rem;
    font-weight: 700;
    font-family: 'Pretendard', sans-serif;
    letter-spacing: -0.5px;
}

/* 뒷면 */
.flip-card-back {
    background-color: var(--charcoal-lux);
    color: #f5f5f5;
    transform: rotateY(180deg);
    border: 1px solid var(--beige);
}

.flip-card-back p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: rgba(255,255,255,0.95);
    word-break: keep-all;
}

/* 4. RECOMMENDED FOR SECTION (체크리스트) */
.target-check {
    background-color: var(--white);
    padding: 100px 0;
}

.check-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.check-card {
    background-color: var(--white);
    padding: 35px;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.08);
    display: flex;
    align-items: flex-start;
    gap: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

.check-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: var(--beige);
}

.icon-box {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background-color: rgba(212, 200, 180, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--beige);
    font-size: 1.8rem;
}

.text-box h3 {
    font-family: 'Pretendard', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
    margin-top: 0;
}

.text-box p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.check-card.full-width {
    grid-column: span 2;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

/* 5. PROCESS SECTION (6단계 - 3열 배치) */
.process {
    padding: 100px 0;
    background-color: var(--cream);
}

.process-grid {
    display: grid;
    /* [수정] 3열 배치 (PC) */
    grid-template-columns: repeat(3, 1fr);
    gap: 50px 30px;
    margin-top: 70px;
}

.process-item {
    position: relative;
    padding-top: 15px;
    transition: transform 0.3s ease;
}

.process-item:hover {
    transform: translateY(-5px);
}

.step-bg-num {
    position: absolute;
    top: -20px; left: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--burgundy-sub);
    z-index: 0;
    line-height: 1;
}

.process-content {
    position: relative;
    z-index: 1;
}

.process-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--charcoal);
}

.process-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* 6. CTA SECTION */
.cta {
    padding: 80px 0;
    background-color: var(--charcoal);
    text-align: center;
    color: var(--white);
}

.cta h2 {
    font-size: 2.2rem;
    font-weight: 200;
    margin-bottom: 30px;
}

.cta-btn {
    display: inline-block;
    background-color: var(--beige);
    color: var(--charcoal);
    padding: 18px 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
}

.cta-btn:hover {
    background-color: var(--white);
}

/* 반응형 설정 */
@media (max-width: 960px) {
    .hero { flex-direction: column; height: auto; padding-bottom: 60px; }
    .hero-bg { width: 100%; height: 350px; position: relative; order: 2; margin-top: 30px; opacity: 1; }
    .hero-content { width: 100%; padding: 60px 24px 0; order: 1; text-align: center; }
    .hero h1 { font-size: 2.5rem; }
    .hero-bg::after { display: none; }
    
    .layout-flex { flex-direction: column-reverse; gap: 50px; }
    .about-image { width: 100%; height: 350px; }
    
    /* 태블릿: 플립카드 및 프로세스 2열 배치 */
    .flip-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .check-grid { grid-template-columns: 1fr; }
    .check-card.full-width { grid-column: span 1; max-width: 100%; }
    .check-card { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2.2rem; }
    .kor-title { font-size: 1.8rem; }
    /* 모바일: 1열 배치 */
    .process-grid, .flip-grid { grid-template-columns: 1fr; }
    .flip-card { height: 320px; }
}