/* =========================
   Dream Tour Home
========================= */

.home-container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 20px;
}

.home-section {
    padding-top: 60px !important; 
    padding-bottom: 60px !important;
}

.home-section-head {
	text-align: center;
	margin-bottom: 38px;
}

/* 2. 헤더 영역 반응형 정밀 조정 */
.home-section-head-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
}

.home-section-kicker {
	margin: 0 0 10px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #1565d8;
}

/* ✨ 추천 상품 섹션: 파란색 소제목(Kicker) 왼쪽 정렬 ✨ */
.home-featured-section .home-section-head-row {
    text-align: left !important; /* 👈 중앙 정렬을 무시하고 왼쪽으로 붙임 */
}

.home-featured-section .home-section-kicker {
    margin-left: 0 !important;
    display: block; /* 줄 전체를 차지하게 해서 확실히 왼쪽 정렬 */
}

/* 태블릿/모바일에서도 일관되게 왼쪽 정렬 유지 */
@media (max-width: 1024px) {
    .home-featured-section .home-section-head-row {
        text-align: left !important;
        align-items: flex-start !important;
    }
}

.home-section-title {
	margin: 0;
	font-size: 38px;
	line-height: 1.25;
	font-weight: 800;
	color: #111827;
}

.home-more-link {
	font-size: 15px;
	font-weight: 700;
	color: #1565d8;
	text-decoration: none;
	white-space: nowrap;
}

/* Hero */

.home-hero {
	position: relative;
	min-height: 640px;
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	overflow: hidden;
}

.home-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(7, 21, 51, 0.82) 0%, rgba(7, 21, 51, 0.55) 45%, rgba(7, 21, 51, 0.18) 100%);
}

.home-hero-inner {
	position: relative;
	z-index: 2;
	width: 100%;
}

.home-hero-content {
	max-width: 720px;
	color: #fff;
	padding: 60px 0;
}

.home-hero-kicker {
	margin: 0 0 14px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255,255,255,0.82);
}

.home-hero-title {
	margin: 0 0 20px;
	font-size: 56px;
	line-height: 1.15;
	font-weight: 800;
	letter-spacing: -0.03em;
}

.home-hero-text {
	margin: 0;
	max-width: 620px;
	font-size: 18px;
	line-height: 1.8;
	color: rgba(255,255,255,0.86);
}

.home-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 30px;
}

.home-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 148px;
	height: 52px;
	padding: 0 22px;
	border-radius: 999px;
	text-decoration: none;
	font-size: 15px;
	font-weight: 800;
	transition: all 0.2s ease;
}

.home-btn-primary {
	background: #1565d8;
	color: #fff;
}

.home-btn-primary:hover {
	background: #0f56bc;
}

.home-btn-secondary {
	background: rgba(255,255,255,0.12);
	color: #fff;
	border: 1px solid rgba(255,255,255,0.25);
}

.home-btn-secondary:hover {
	background: rgba(255,255,255,0.18);
}

/* Categories */

.home-category-section {
	background: #fff;
}

/* ✨ 카테고리 그리드: PC 버전 6개 1줄 배치 ✨ */
.home-category-grid {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important; 
    gap: 16px;
    overflow: visible !important; /* 슬라이드 기능 완전 해제 */
}

.home-category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #e8edf5;
    border-radius: 16px;
    padding: 20px 10px; /* 💡 콤팩트한 패딩 */
    text-decoration: none;
    text-align: center;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
    transition: all 0.2s ease;
}

.home-category-card:hover {
    transform: translateY(-4px);
    border-color: #1565d8;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.home-category-icon {
    font-size: 28px; /* 💡 아이콘 크기 최적화 */
    margin-bottom: 10px;
}

.home-category-name {
    font-size: 20px; /* 💡 제목 폰트 조절 */
    font-weight: 700;
    color: #111827;
    white-space: nowrap; /* 💡 글자 줄바꿈 방지 */
}



/* 2. 태블릿 구간 (1024px ~ 601px): 3개씩 두 줄 배치 💡 */
@media (max-width: 1024px) {
    .home-category-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important; /* 💡 3개씩 배치 */
        grid-template-rows: auto auto; /* 💡 2줄 구성 */
        gap: 12px;
        overflow: visible !important;
    }

    .home-category-card {
        padding: 18px 8px !important;
        flex: none !important; /* 가로 스크롤용 설정 해제 */
        width: auto !important;
    }

    .home-category-icon {
        font-size: 26px;
        margin-bottom: 8px;
    }

    
}

/* 3. 초소형 모바일 (480px 이하): 폰트 및 여백 추가 축소 💡 */
@media (max-width: 480px) {
    .home-category-grid {
        gap: 8px; /* 간격을 더 좁혀서 공간 확보 */
    }

    .home-category-card {
        padding: 15px 5px !important;
        border-radius: 12px !important;
    }

    .home-category-icon {
        font-size: 22px;
        margin-bottom: 6px;
    }

    .home-category-name {
        font-size: 16px !important; /* 💡 아주 작은 화면에 맞춰 폰트 더 축소 */
        letter-spacing: -0.03em; /* 자간을 줄여 가독성 유지 */
    }
}

/* Featured tours */

.home-featured-section {
	background: #f8fafc;
}

.home-tour-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

.home-tour-card {
	display: block;
	background: #fff;
	border: 1px solid #e8edf3;
	border-radius: 26px;
	overflow: hidden;
	text-decoration: none;
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
	transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.home-tour-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
	border-color: #d7e3f5;
}

.home-tour-thumb {
	position: relative;
	aspect-ratio: 1.28 / 1;
	background: #eef2f7;
	overflow: hidden;
}

.home-tour-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}

.home-tour-card:hover .home-tour-thumb img {
	transform: scale(1.04);
}

.home-tour-noimage {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #6b7280;
	font-size: 14px;
	font-weight: 700;
}

.home-tour-badge {
	position: absolute;
	top: 18px;
	left: 18px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 13px;
	border-radius: 999px;
	background: rgba(11, 23, 48, 0.82);
	backdrop-filter: blur(6px);
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0.01em;
}

.home-tour-body {
	padding: 24px 24px 22px;
}

.home-tour-meta {
	display: inline-flex;
	align-items: center;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #1565d8;
	margin-bottom: 12px;
}

.home-tour-title {
	margin: 0 0 10px;
	font-size: 25px;
	line-height: 1.32;
	font-weight: 800;
	color: #111827;
	letter-spacing: -0.02em;
}

.home-tour-text {
	margin: 0;
	font-size: 15px;
	line-height: 1.8;
	color: #6b7280;
	min-height: 56px;
}

.home-tour-bottom {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-top: 22px;
	padding-top: 16px;
	border-top: 1px solid #edf2f7;
}

.home-tour-duration {
	font-size: 14px;
	font-weight: 700;
	color: #4b5563;
}

.home-tour-price {
	font-size: 21px;
	font-weight: 800;
	line-height: 1.2;
	color: #0f172a;
	letter-spacing: -0.02em;
}

.home-empty-box {
	padding: 40px;
	border: 1px dashed #d1d5db;
	border-radius: 20px;
	background: #fff;
	text-align: center;
	color: #6b7280;
}

/* Why */

.home-why-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px;
}

.home-why-card {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 22px;
	padding: 28px 24px;
}

.home-why-number {
	font-size: 14px;
	font-weight: 800;
	color: #1565d8;
	margin-bottom: 14px;
}

.home-why-card h3 {
	margin: 0 0 12px;
	font-size: 22px;
	line-height: 1.35;
	font-weight: 800;
	color: #111827;
}

.home-why-card p {
	margin: 0;
	font-size: 15px;
	line-height: 1.8;
	color: #6b7280;
}

/* Reviews */

.home-review-section {
	background: #ffffff;
}

.home-review-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.home-review-card {
	position: relative;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 24px;
	padding: 28px 24px;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.home-review-quote {
	font-size: 44px;
	line-height: 1;
	font-weight: 800;
	color: #1565d8;
	margin-bottom: 12px;
}

.home-review-text {
	margin: 0;
	font-size: 15px;
	line-height: 1.9;
	color: #4b5563;
	min-height: 140px;
}

.home-review-meta {
	margin-top: 22px;
	padding-top: 16px;
	border-top: 1px solid #eef2f7;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.home-review-meta strong {
	font-size: 15px;
	font-weight: 800;
	color: #111827;
}

.home-review-meta span {
	font-size: 14px;
	color: #6b7280;
}

@media (max-width: 1200px) {
	.home-review-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	.home-review-grid {
		grid-template-columns: 1fr;
	}

	.home-review-text {
		min-height: auto;
	}
}

/* Trust */

.home-trust-section {
	background: #fff;
}

.home-trust-box {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.home-trust-item {
	background: #f8fafc;
	border: 1px solid #e5e7eb;
	border-radius: 22px;
	padding: 28px 24px;
}

.home-trust-item h3 {
	margin: 0 0 12px;
	font-size: 22px;
	line-height: 1.35;
	font-weight: 800;
	color: #111827;
}

.home-trust-item p {
	margin: 0;
	font-size: 15px;
	line-height: 1.8;
	color: #6b7280;
}

/* CTA */

.home-cta-section {
	padding-top: 20;
}

.home-cta-box {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	background: linear-gradient(135deg, #0b1730 0%, #12356f 100%);
	border-radius: 28px;
	padding: 42px 40px;
	color: #fff;
	overflow: hidden;
}

.home-cta-title {
	margin: 0 0 14px;
	font-size: 36px;
	line-height: 1.2;
	font-weight: 800;
}

.home-cta-text {
	margin: 0;
	max-width: 680px;
	font-size: 16px;
	line-height: 1.8;
	color: rgba(255,255,255,0.82);
}

.home-cta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

/* Responsive */

@media (max-width: 1200px) {
	.home-hero-title {
		font-size: 48px;
	}

	.home-category-grid,
	.home-tour-grid,
	.home-trust-box {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.home-why-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.home-section {
		padding: 60px 0;
	}

	.home-section-head-row,
	.home-cta-box {
		flex-direction: column;
		align-items: flex-start;
	}

	.home-hero {
		min-height: 560px;
	}

	.home-hero-title {
		font-size: 42px;
	}
}

@media (max-width: 768px) {
	.home-container {
		padding: 0 14px;
	}

	.home-section {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

	.home-section-title {
		font-size: 30px;
	}

	.home-hero {
		min-height: 520px;
	}

	.home-hero-content {
		padding: 42px 0;
	}

	.home-hero-title {
		font-size: 34px;
	}

	.home-hero-text {
		font-size: 16px;
	}

	.home-category-grid,
	.home-tour-grid,
	.home-why-grid,
	.home-trust-box {
		grid-template-columns: 1fr;
	}

	.home-category-name,
	.home-why-card h3,
	.home-trust-item h3,
	.home-tour-title {
		font-size: 22px;
	}

	.home-cta-box {
		padding: 30px 24px;
		border-radius: 22px;
	}

	.home-cta-title {
		font-size: 28px;
	}
}

