@charset "utf-8";

/* [색상 변수 정의] */
:root {
    --charcoal: #2c2c2c;     /* 메인 배경: 깊이 있는 차콜 */
    --charcoal-lux: #2f3136; /* 카드 뒷면: 럭셔리 차콜 */
    --cream: #f9f8f5;        /* 서브 배경: 아주 연한 크림 */
    --beige: #d4c8b4;        /* 포인트 컬러: 차분한 골드 베이지 */
    --burgundy: #800020;     /* 포인트 컬러: 우아한 버건디 */
    --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, .eng-font {
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -0.5px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 1. HERO SECTION (높이 및 여백 수정됨) */
.hero {
    position: relative;
    /* [수정] 높이를 90vh에서 550px로 고정하여 슬림하게 변경 */
    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%;
    /* 상단 이미지 */
    background: url('https://media.eoding.com/media/travelagent/1229/imagecontent/맞춤투어1.png') center/cover no-repeat;
    opacity: 0.7; 
}

.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. ABOUT 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);
}

.guide-box {
    background-color: var(--cream);
    padding: 30px;
    border-left: 4px solid var(--beige);
    margin-top: 40px;
    margin-bottom: 30px;
}

.guide-box strong {
    display: block;
    font-size: 1.1rem;
    color: var(--charcoal);
    margin-bottom: 15px;
}

.guide-box p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.8;
}

.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; /* [수정] 이미지 높이도 밸런스에 맞춰 조정 */
    background: url('https://media.eoding.com/media/travelagent/1229/imagecontent/1-맞춤투어2.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. TARGET SECTION */
.target {
    padding: 100px 0;
    background-color: var(--cream);
}

.target-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: 2.5rem;
    margin-bottom: 20px;
}

.flip-card-front h3 {
    color: var(--text-main);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
    font-family: 'Pretendard', sans-serif;
    letter-spacing: -0.5px;
}

.flip-card-front p {
    color: var(--text-main);
    font-size: 1rem;
    opacity: 0.85;
    font-weight: 500;
}

/* 뒷면: 럭셔리 차콜 */
.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. PROCESS SECTION */
.process {
    padding: 100px 0;
    background-color: var(--white);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px 30px;
    margin-top: 70px;
}

.process-item {
    position: relative;
    padding-top: 10px;
    transition: transform 0.3s ease;
}

.process-item:hover {
    transform: translateY(-5px);
}

.step-bg-num {
    position: absolute;
    top: -25px; left: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: rgba(128, 0, 32, 0.15); 
    z-index: 0;
    line-height: 1;
    transition: color 0.3s;
}

.process-item:hover .step-bg-num {
    color: rgba(128, 0, 32, 0.25);
}

.process-content {
    position: relative;
    z-index: 1;
}

.process-content h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--charcoal);
}

.process-content p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* 5. 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: 40px;
}

.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; }
    
    .target-grid { grid-template-columns: 1fr; } 
    .process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2.2rem; }
    .kor-title { font-size: 1.8rem; }
    .process-grid { grid-template-columns: 1fr; }
    .flip-card { height: 320px; }
}