/**
 * ═══════════════════════════════════════════════════
 *  shop.css — 전역 리셋 · 요소(element) · ID 셀렉터
 * ═══════════════════════════════════════════════════
 */

/* common reset */
body { margin: 0; padding: 0; font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', sans-serif; }
* { margin: 0; padding: 0; word-break: keep-all; box-sizing: border-box; vertical-align: middle; font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', sans-serif !important; }
a { text-decoration: none; color: inherit; font-size: inherit; }
dl, ul, li { list-style: none; margin: 0; padding: 0; }

table { border-collapse: collapse; }
h1 { display: inline; font-size: inherit; }
footer { background-color: #f1f1f1; }

/* #nav */
#nav { background: rgba(255,255,255,1); padding: 0; }
#nav .container { display: flex; height: 80px; max-width: 1200px; margin: 0 auto; align-items: center; }
#nav .top-right { display: flex; align-items: center; gap: 8px; margin-left: auto; }
#nav .menu { margin-left: 20px; font-size: 16px; color: #000; }
#nav .nav-link { padding: 0; margin-top: 2px; }
#nav .link-space { padding-left: 7px; margin-left: 7px; border-left: 1px solid #ddd; }

/* #branch-all */
#branch-all { position: fixed; top: 80px; left: 0; background: rgba(0,0,0,0.5); width: 100%; height: 100%; z-index: 1000; }
#branch-all .list { margin: 0 auto; padding: 20px 0 40px 30px; width: 1100px; background: rgba(255,255,255,1); border-bottom-left-radius: 8px; border-bottom-right-radius: 8px; }
#branch-all .list a { position: relative; padding: 18px 10px 0; border-radius: 8px; font-size: 16px; }
#branch-all .list a:not(:last-child)::after { content: "|"; position: absolute; padding-left: 8px; color: #333; }
#branch-all .list .country { display: block; padding-top: 20px; width: 120px; font-size: 16px; }

/* #container */
#container { margin: 0 auto; width: 1200px; max-width: 100%; }

/* ═══════════════════════════════════════════════════
 *  테마 여행 - 메인 섹션
 * ═══════════════════════════════════════════════════ */
.reveal { padding: 30px 0 0;}
.main-theme-section {
    background: #f8f9fa;
    padding: 60px 10px 56px;
}
.main-theme-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 ;
}
.main-theme-head {
    margin-bottom: 15px;
    padding: 0 4px;
}
.main-theme-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #20B2D6;
    margin-bottom: 8px;
}
.main-theme-title {
    font-size: 24px;
    font-weight: 800;
    color: #111;
    display: block;
    margin: 0 0 8px;
}
.main-theme-desc {
    font-size: 15px;
    color: #888;
    margin: 0;
}

/* 테마 그리드 - 모바일: 1열 가로형, PC: 4열 정방형 */
.main-theme-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.main-theme-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    display: block;
    height: 130px;
    background: #1a1a2e;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.25s, box-shadow 0.25s;
}
.main-theme-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.18);
}
.main-theme-card img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.main-theme-card:hover img { transform: scale(1.05); }
.main-theme-card__bg {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, #1a1a2e, #0f3460);
}
.main-theme-card__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.70) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
}
.main-theme-card__body {
    position: absolute; top: 0; bottom: 0; left: 0;
    display: flex; flex-direction: column; justify-content: center;
    padding: 0 20px;
    z-index: 1;
}
.main-theme-card__icon {
    width: 30px; height: 30px;
    border-radius: 50%;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(6px);
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; color: #fff;
    margin-bottom: 6px;
}
.main-theme-card__title {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.main-theme-card__sub {
    color: rgba(255,255,255,0.70);
    font-size: 16px;
    margin: 3px 0 0;
    display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.main-theme-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #20B2D6, #1a8fb0);
    border: none;
    border-radius: 50px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(32, 178, 214, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}
.main-theme-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(32, 178, 214, 0.45);
    color: #fff;
    text-decoration: none;
}

/* 반응형 */
@media (min-width: 768px) {
    .main-theme-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: auto auto;
        gap: 16px;
    }
    .main-theme-section {
        padding: 50px 10px 46px;
    }
    /* 일반 카드: 정방형 */
    .main-theme-card {
        height: auto;
        aspect-ratio: 1/1;
    }
    /* 첫 번째 카드: 2x2 크게 */
    .main-theme-card--large {
        grid-column: span 2;
        grid-row: span 2;
        aspect-ratio: auto;
    }
    .main-theme-card__overlay {
        background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.08) 30%, transparent 100%);
    }
    .main-theme-card__body {
        top: auto; bottom: 0; left: 0; right: 0;
        justify-content: flex-end;
        padding: 18px;
    }
    .main-theme-card--large .main-theme-card__body {
        padding: 24px 28px;
    }
    .main-theme-card--large .main-theme-card__title {
        font-size: 28px;
    }
    .main-theme-card__sub { -webkit-line-clamp: 2; }
    .main-theme-title { font-size: 32px; }
    .main-theme-head { padding: 0; }
}


/* ═══════════════════════════════════════════════════
 *  가이드맨을 선택하는 이유 섹션
 * ═══════════════════════════════════════════════════ */
.why-section {
    background: #f5f2ee;
    padding: 64px 0 0;
}
.why-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.why-head {
    text-align: center;
    margin-bottom: 40px;
}
.why-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #20B2D6;
    margin-bottom: 10px;
}
.why-title {
    font-size: 24px;
    font-weight: 800;
    color: #111;
    display: block;
    margin: 0 0 10px;
    line-height: 1.2;
}
.why-desc {
    font-size: 15px;
    color: #94a3b8;
    margin: 0;
}

/* 그리드 */
.why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    padding-bottom: 60px;
}

/* 카드 공통 */
.why-card {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 10px 36px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
}
.why-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 20px 48px rgba(0,0,0,0.12);
}
.why-card--red   { background: linear-gradient(160deg, #fff5f5 0%, #fff 100%); border: 1px solid rgba(220,38,38,0.06); }
.why-card--cyan  { background: linear-gradient(160deg, #f0fdfa 0%, #fff 100%); border: 1px solid rgba(6,182,212,0.06); }
.why-card--amber { background: linear-gradient(160deg, #fffbeb 0%, #fff 100%); border: 1px solid rgba(245,158,11,0.06); }

.why-card__bar { height: 5px; width: 100%; }
.why-card__bar--red   { background: linear-gradient(90deg, #dc2626, #ef4444); }
.why-card__bar--cyan  { background: linear-gradient(90deg, #0891b2, #06b6d4); }
.why-card__bar--amber { background: linear-gradient(90deg, #d97706, #f59e0b); }

.why-card__body { padding: 28px; }

/* 아이콘 */
.why-card__icon-wrap {
    position: relative;
    width: 72px; height: 72px;
    margin-bottom: 20px;
}
.why-card__icon-bg {
    position: absolute; inset: 0;
    border-radius: 20px;
    transform: rotate(6deg);
    transition: transform 0.4s;
}
.why-card:hover .why-card__icon-bg { transform: rotate(12deg); }
.why-card__icon-bg--red   { background: #fef2f2; }
.why-card__icon-bg--cyan  { background: #ecfeff; }
.why-card__icon-bg--amber { background: #fffbeb; }

.why-card__icon {
    position: relative;
    width: 100%; height: 100%;
    border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
}
.why-card__icon--red   { background: #20B2D6; box-shadow: 0 8px 20px rgba(32,178,214,0.25); }
.why-card__icon--cyan  { background: #0891b2; box-shadow: 0 8px 20px rgba(8,145,178,0.25); }
.why-card__icon--amber { background: #f59e0b; box-shadow: 0 8px 20px rgba(245,158,11,0.25); }

.why-card__title {
    font-size: 19px;
    font-weight: 800;
    color: #111;
    margin: 0 0 10px;
}
.why-card__desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.7;
    margin: 0 0 20px;
}

/* 통계 */
.why-card__stat {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    padding-top: 18px;
    border-top: 1px solid transparent;
}
.why-card__stat--red   { border-color: #fef2f2; }
.why-card__stat--cyan  { border-color: #ecfeff; }
.why-card__stat--amber { border-color: #fffbeb; }

.why-stat-num {
    font-size: 24px;
    font-weight: 800;
    color: #111;
    line-height: 1;
}
.why-stat-unit {
    font-size: 16px;
    font-weight: 700;
    color: #20B2D6;
    margin-bottom: 2px;
}
.why-stat-label {
    font-size: 12px;
    color: #94a3b8;
    margin-bottom: 3px;
    margin-left: 4px;
}

/* 반응형 */
@media (min-width: 768px) {
    .why-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .why-title { font-size: 32px; }
    .why-card__body { padding: 32px; }
}
