/* ToonTours Landing Page — navy / turquoise / white / warm sand */

:root {
	--tt-navy: #0b2545;
	--tt-navy-2: #13315c;
	--tt-turquoise: #0d9488;
	--tt-turquoise-light: #14b8a6;
	--tt-sand: #f4e9d7;
	--tt-sand-deep: #e6d3b3;
	--tt-white: #ffffff;
	--tt-ink: #1f2937;
	--tt-muted: #5b6b7f;
	--tt-radius: 14px;
	--tt-shadow: 0 10px 30px rgba(11, 37, 69, .10);
}

body.toontours-landing {
	margin: 0;
	font-family: "Prompt", "Sarabun", "Noto Sans Thai", "Segoe UI", system-ui, sans-serif;
	color: var(--tt-ink);
	background: var(--tt-white);
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

.tt-container {
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 1.25rem;
}

.tt-center { text-align: center; }

/* Accessibility */
.tt-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--tt-turquoise);
	color: #fff;
	padding: .6rem 1rem;
	z-index: 999;
	border-radius: 0 0 8px 0;
}
.tt-skip-link:focus { left: 0; }

a:focus-visible, button:focus-visible {
	outline: 3px solid var(--tt-turquoise-light);
	outline-offset: 2px;
	border-radius: 4px;
}

.screen-reader-text {
	position: absolute;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* Header */
.tt-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(11, 37, 69, .92);
	backdrop-filter: blur(10px);
	transition: background .25s ease;
}
.tt-header.tt-scrolled { background: rgba(11, 37, 69, 1); }

.tt-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 68px;
}

.tt-logo {
	font-size: 1.5rem;
	font-weight: 700;
	color: #fff;
	text-decoration: none;
	letter-spacing: .02em;
}
.tt-logo span { color: var(--tt-turquoise-light); }

.tt-nav ul {
	display: flex;
	gap: 1.75rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.tt-nav a {
	color: #e5edf5;
	text-decoration: none;
	font-weight: 500;
	padding: .35rem 0;
	border-bottom: 2px solid transparent;
	transition: color .2s, border-color .2s;
}
.tt-nav a:hover { color: #fff; border-color: var(--tt-turquoise-light); }

.tt-nav-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: 0;
	padding: .5rem;
	cursor: pointer;
}
.tt-nav-toggle-bar {
	width: 24px; height: 2px;
	background: #fff;
	border-radius: 2px;
}

/* Hero */
.tt-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: min(88vh, 780px);
	background:
		radial-gradient(1200px 500px at 80% -10%, rgba(20, 184, 166, .35), transparent 60%),
		linear-gradient(160deg, var(--tt-navy) 0%, var(--tt-navy-2) 60%, #0e4d64 100%);
	color: #fff;
	padding: 7rem 0 9rem;
	overflow: hidden;
}

.tt-hero-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}
.tt-hero-bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

.tt-hero-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(11, 37, 69, .62) 0%, rgba(11, 37, 69, .42) 45%, rgba(11, 37, 69, .74) 100%);
}

.tt-hero-waves {
	position: absolute;
	bottom: -1px; left: 0; right: 0;
	line-height: 0;
	z-index: 2;
	pointer-events: none;
}
.tt-hero-waves svg { width: 100%; height: 90px; display: block; }
.tt-hero-waves path { fill: var(--tt-white); }

.tt-hero-inner { position: relative; z-index: 3; max-width: 760px; }

.tt-ai-note {
	display: inline-block;
	font-size: .72rem;
	line-height: 1.5;
	color: rgba(255, 255, 255, .92);
	background: rgba(11, 37, 69, .55);
	padding: .15rem .65rem;
	border-radius: 999px;
	backdrop-filter: blur(4px);
}
.tt-hero-note {
	position: absolute;
	right: 1rem;
	bottom: 1.1rem;
	z-index: 4;
}
.tt-tour-media .tt-ai-note {
	position: absolute;
	right: .6rem;
	bottom: .6rem;
	z-index: 2;
}

.tt-hero-eyebrow {
	display: inline-block;
	margin: 0 0 1rem;
	padding: .25rem 1rem;
	border: 1px solid rgba(153, 246, 228, .6);
	border-radius: 999px;
	font-size: .85rem;
	letter-spacing: .12em;
	color: #99f6e4;
	text-transform: uppercase;
	background: rgba(11, 37, 69, .35);
	backdrop-filter: blur(4px);
}

.tt-hero h1 {
	font-size: clamp(2rem, 5vw, 3.4rem);
	line-height: 1.25;
	margin: 0 0 1.25rem;
	font-weight: 700;
	text-shadow: 0 2px 18px rgba(11, 37, 69, .45);
}

.tt-hero-sub {
	font-size: clamp(1rem, 2vw, 1.2rem);
	color: #e3ecf5;
	max-width: 600px;
	margin: 0 0 2rem;
	text-shadow: 0 1px 12px rgba(11, 37, 69, .5);
}

.tt-hero-actions {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}

/* Buttons */
.tt-btn {
	display: inline-block;
	padding: .8rem 1.9rem;
	border-radius: 999px;
	font-weight: 600;
	text-decoration: none;
	transition: transform .15s ease, box-shadow .15s ease, background .2s;
	border: 2px solid transparent;
}
.tt-btn:hover { transform: translateY(-2px); }

.tt-btn-sand {
	background: var(--tt-sand);
	color: var(--tt-navy);
}
.tt-btn-sand:hover { background: #fff; }

.tt-btn-ghost {
	border-color: rgba(255, 255, 255, .7);
	color: #fff;
}
.tt-btn-ghost:hover { background: rgba(255, 255, 255, .12); }

.tt-btn-primary {
	background: var(--tt-turquoise);
	color: #fff;
	box-shadow: 0 8px 20px rgba(13, 148, 136, .35);
}
.tt-btn-primary:hover { background: var(--tt-turquoise-light); }

.tt-btn-outline-dark {
	border-color: var(--tt-turquoise);
	color: var(--tt-turquoise);
}
.tt-btn-outline-dark:hover { background: var(--tt-turquoise); color: #fff; }

.tt-btn-small {
	padding: .45rem 1.2rem;
	background: var(--tt-turquoise);
	color: #fff;
	font-size: .9rem;
}
.tt-btn-small:hover { background: var(--tt-turquoise-light); }

/* Sections */
.tt-section { padding: 4.5rem 0; }

.tt-section-sand { background: var(--tt-sand); }

.tt-section-navy {
	background: linear-gradient(160deg, var(--tt-navy) 0%, #0e4d64 100%);
}

.tt-section-cta {
	background:
		radial-gradient(800px 300px at 20% 0%, rgba(20, 184, 166, .18), transparent 60%),
		var(--tt-white);
	text-align: center;
}

.tt-section-title {
	font-size: clamp(1.5rem, 3vw, 2.1rem);
	color: var(--tt-navy);
	text-align: center;
	margin: 0 0 .75rem;
}
.tt-section-title-light { color: #fff; }

.tt-section-lead {
	text-align: center;
	color: var(--tt-muted);
	max-width: 640px;
	margin: 0 auto 2.5rem;
}
.tt-section-lead-light { color: #b8c9da; }

/* Features */
.tt-features {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

.tt-feature {
	background: #fff;
	border: 1px solid #e8eef4;
	border-radius: var(--tt-radius);
	padding: 2rem 1.5rem;
	box-shadow: var(--tt-shadow);
}
.tt-feature h3 { color: var(--tt-navy); margin: .9rem 0 .5rem; }
.tt-feature p { margin: 0; color: var(--tt-muted); font-size: .95rem; }

.tt-feature-icon {
	display: inline-flex;
	width: 52px; height: 52px;
	align-items: center;
	justify-content: center;
	border-radius: 14px;
	background: linear-gradient(135deg, var(--tt-turquoise), var(--tt-turquoise-light));
	color: #fff;
}
.tt-feature-icon svg { width: 28px; height: 28px; }

/* Tour cards */
.tt-tour-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	margin-bottom: 2.25rem;
}

.tt-tour-card {
	background: #fff;
	border-radius: var(--tt-radius);
	overflow: hidden;
	box-shadow: var(--tt-shadow);
	display: flex;
	flex-direction: column;
	transition: transform .2s ease;
}
.tt-tour-card:hover { transform: translateY(-4px); }

.tt-tour-media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	background: linear-gradient(150deg, var(--tt-turquoise) 0%, var(--tt-navy-2) 100%);
}
.tt-tour-media img {
	width: 100%; height: 100%;
	object-fit: cover;
	display: block;
}

.tt-tour-placeholder {
	display: flex;
	width: 100%; height: 100%;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, .85);
}
.tt-tour-placeholder svg { width: 64px; height: 64px; }

.tt-tour-badge {
	position: absolute;
	top: .75rem; left: .75rem;
	background: rgba(11, 37, 69, .85);
	color: #fff;
	font-size: .78rem;
	padding: .2rem .7rem;
	border-radius: 999px;
	backdrop-filter: blur(4px);
}

.tt-tour-body {
	padding: 1.25rem 1.25rem 1.5rem;
	display: flex;
	flex-direction: column;
	gap: .45rem;
	align-items: flex-start;
}
.tt-tour-body h3 { margin: 0; font-size: 1.1rem; }
.tt-tour-body h3 a { color: var(--tt-navy); text-decoration: none; }
.tt-tour-body h3 a:hover { color: var(--tt-turquoise); }
.tt-tour-location { margin: 0; color: var(--tt-muted); font-size: .9rem; }

/* Destinations */
.tt-dest-grid {
	list-style: none;
	margin: 0; padding: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
}
.tt-dest {
	background: linear-gradient(180deg, #f8fbfd, #eef4f8);
	border-left: 4px solid var(--tt-turquoise);
	border-radius: 10px;
	padding: 1.25rem 1.4rem;
}
.tt-dest h3 { margin: 0 0 .35rem; color: var(--tt-navy); font-size: 1.05rem; }
.tt-dest p { margin: 0; color: var(--tt-muted); font-size: .9rem; }

/* Steps */
.tt-steps {
	list-style: none;
	counter-reset: none;
	margin: 0; padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
}
.tt-step {
	background: rgba(255, 255, 255, .06);
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: var(--tt-radius);
	padding: 1.75rem 1.4rem;
	color: #dbe7f2;
}
.tt-step h3 { color: #fff; margin: .8rem 0 .4rem; font-size: 1.05rem; }
.tt-step p { margin: 0; font-size: .9rem; }
.tt-step-num {
	display: inline-flex;
	width: 40px; height: 40px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--tt-turquoise-light);
	color: var(--tt-navy);
	font-weight: 700;
	font-size: 1.1rem;
}

/* Contact */
.tt-hero-actions { justify-content: center; }
.tt-section-cta .tt-hero-actions { margin-bottom: 1.75rem; }

.tt-contact-list {
	list-style: none;
	margin: 0; padding: 0;
	display: flex;
	gap: 1.75rem;
	justify-content: center;
	flex-wrap: wrap;
	color: var(--tt-muted);
}
.tt-contact-list a { color: var(--tt-turquoise); text-decoration: none; }
.tt-contact-list a:hover { text-decoration: underline; }

/* Footer */
.tt-footer {
	background: var(--tt-navy);
	color: #b8c9da;
}
.tt-footer-inner {
	display: flex;
	justify-content: space-between;
	gap: 2rem;
	flex-wrap: wrap;
	padding-top: 2.75rem;
	padding-bottom: 2rem;
}
.tt-footer-brand { max-width: 420px; }
.tt-footer-brand p { margin: .75rem 0 0; font-size: .92rem; }
.tt-logo-light { color: #fff; }

.tt-footer-nav ul {
	list-style: none;
	margin: 0; padding: 0;
	display: flex;
	gap: 1.5rem;
	flex-wrap: wrap;
}
.tt-footer-nav a { color: #b8c9da; text-decoration: none; }
.tt-footer-nav a:hover { color: #fff; }

.tt-footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, .1);
	padding: 1rem 0;
	font-size: .85rem;
}
.tt-footer-bottom p { margin: 0; }

/* Responsive */
@media (max-width: 900px) {
	.tt-features, .tt-tour-grid, .tt-dest-grid { grid-template-columns: repeat(2, 1fr); }
	.tt-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
	.tt-nav-toggle { display: flex; }

	.tt-nav {
		position: absolute;
		top: 68px; left: 0; right: 0;
		background: var(--tt-navy);
		display: none;
		box-shadow: 0 20px 30px rgba(0, 0, 0, .25);
	}
	.tt-nav.tt-open { display: block; }
	.tt-nav ul {
		flex-direction: column;
		gap: 0;
		padding: .5rem 1.25rem 1rem;
	}
	.tt-nav a {
		display: block;
		padding: .8rem 0;
		border-bottom: 1px solid rgba(255, 255, 255, .08);
	}

	.tt-features, .tt-tour-grid, .tt-dest-grid, .tt-steps { grid-template-columns: 1fr; }
	.tt-hero { padding: 4rem 0 6.5rem; }
	.tt-hero-actions .tt-btn { width: 100%; text-align: center; }
	.tt-footer-inner { flex-direction: column; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	.tt-btn, .tt-tour-card, .tt-nav a { transition: none; }
	.tt-btn:hover, .tt-tour-card:hover { transform: none; }
}

/* ป้ายสถานะโปรแกรม (ตามคู่มือ ToonTours) */
.tt-tour-status {
	position: absolute;
	top: .75rem;
	right: .75rem;
	z-index: 2;
	display: inline-block;
	font-size: .74rem;
	font-weight: 600;
	line-height: 1.5;
	color: #fff;
	padding: .2rem .7rem;
	border-radius: 999px;
	backdrop-filter: blur(4px);
}
.tt-status-ready { background: rgba(5, 150, 105, .9); }
.tt-status-seasonal { background: rgba(217, 119, 6, .9); }
.tt-status-inquiry { background: rgba(11, 37, 69, .85); }
.tt-status-paused { background: rgba(107, 114, 128, .9); }
