/* Tripdesh theme styles — mobile-first, no framework. */

:root {
	--tripdesh-primary: #0f7a6f;
	--tripdesh-primary-dark: #0b5c53;
	--tripdesh-accent: #ff7a45;
	--tripdesh-accent-dark: #e2622f;
	--tripdesh-ink: #1c2521;
	--tripdesh-muted: #5c6a65;
	--tripdesh-bg: #ffffff;
	--tripdesh-bg-alt: #f4f8f6;
	--tripdesh-border: #e1e8e5;
	--tripdesh-radius: 12px;
	--tripdesh-shadow: 0 4px 16px rgba(15, 122, 111, 0.08);
	--tripdesh-max-width: 1200px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans Bengali", Arial, sans-serif;
	color: var(--tripdesh-ink);
	background: var(--tripdesh-bg);
	line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--tripdesh-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 0.5em; font-weight: 700; }
h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: 1.15rem; }

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

.tripdesh-container {
	max-width: var(--tripdesh-max-width);
	margin: 0 auto;
	padding: 0 20px;
}

.tripdesh-section { padding: 48px 0; }
.tripdesh-section--alt { background: var(--tripdesh-bg-alt); }
.tripdesh-section--tea { background: #eef6ec; }
.tripdesh-section--narrow { max-width: 820px; }

.tripdesh-section__header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 20px;
}

.tripdesh-link { font-weight: 600; white-space: nowrap; }

/* Header / nav */
.tripdesh-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--tripdesh-primary);
	color: #fff;
	padding: 10px 16px;
	z-index: 1000;
}
.tripdesh-skip-link:focus { left: 10px; top: 10px; }

.tripdesh-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--tripdesh-bg);
	border-bottom: 1px solid var(--tripdesh-border);
}

.tripdesh-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 20px;
	gap: 16px;
}

.tripdesh-logo {
	font-weight: 800;
	font-size: 1.35rem;
	color: var(--tripdesh-primary-dark);
}
.tripdesh-logo:hover { text-decoration: none; }

.tripdesh-nav-toggle {
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 40px;
	height: 40px;
	background: none;
	border: 1px solid var(--tripdesh-border);
	border-radius: 8px;
	cursor: pointer;
}
.tripdesh-nav-toggle__bar {
	display: block;
	width: 20px;
	height: 2px;
	margin: 0 auto;
	background: var(--tripdesh-ink);
}

.tripdesh-nav {
	position: fixed;
	inset: 64px 0 0 0;
	background: var(--tripdesh-bg);
	transform: translateY(-8px);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.15s ease, transform 0.15s ease;
	overflow-y: auto;
	padding: 16px 20px 40px;
}
.tripdesh-nav.is-open {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.tripdesh-nav__menu {
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
}
.tripdesh-nav__menu li { border-bottom: 1px solid var(--tripdesh-border); }
.tripdesh-nav__menu a {
	display: block;
	padding: 14px 4px;
	color: var(--tripdesh-ink);
	font-weight: 600;
}

.tripdesh-nav__cta {
	display: inline-block;
	background: var(--tripdesh-accent);
	color: #fff !important;
	padding: 12px 20px;
	border-radius: 999px;
	font-weight: 700;
}
.tripdesh-nav__cta:hover { background: var(--tripdesh-accent-dark); text-decoration: none; }

@media (min-width: 900px) {
	.tripdesh-nav-toggle { display: none; }
	.tripdesh-nav {
		position: static;
		inset: auto;
		transform: none;
		opacity: 1;
		pointer-events: auto;
		display: flex;
		align-items: center;
		gap: 24px;
		padding: 0;
	}
	.tripdesh-nav__menu {
		display: flex;
		gap: 20px;
		margin: 0;
	}
	.tripdesh-nav__menu li { border: none; }
	.tripdesh-nav__menu a { padding: 4px 0; }
}

/* Breadcrumbs */
.tripdesh-breadcrumbs {
	font-size: 0.85rem;
	color: var(--tripdesh-muted);
	padding: 14px 0 0;
}
.tripdesh-breadcrumbs a { color: var(--tripdesh-muted); }

/* Hero */
.tripdesh-hero {
	background: linear-gradient(135deg, var(--tripdesh-primary) 0%, var(--tripdesh-primary-dark) 100%);
	color: #fff;
	padding: 56px 0 64px;
}
.tripdesh-hero__title { color: #fff; margin-bottom: 12px; }
.tripdesh-hero__subtitle { color: rgba(255,255,255,0.85); max-width: 620px; margin-bottom: 28px; }
.tripdesh-hero__search-heading { color: #fff; font-size: 1.1rem; margin-bottom: 12px; }

.tripdesh-search {
	background: #fff;
	border-radius: var(--tripdesh-radius);
	padding: 16px;
	display: grid;
	gap: 12px;
	box-shadow: var(--tripdesh-shadow);
}
.tripdesh-search__field { display: flex; flex-direction: column; gap: 4px; }
.tripdesh-search__field label { font-size: 0.8rem; font-weight: 600; color: var(--tripdesh-muted); }
.tripdesh-search input,
.tripdesh-search select {
	padding: 10px 12px;
	border: 1px solid var(--tripdesh-border);
	border-radius: 8px;
	font-size: 1rem;
	color: var(--tripdesh-ink);
	background: #fff;
	font-family: inherit;
}
.tripdesh-search__submit {
	background: var(--tripdesh-accent);
	color: #fff;
	border: none;
	padding: 12px 20px;
	border-radius: 8px;
	font-weight: 700;
	font-size: 1rem;
	cursor: pointer;
}
.tripdesh-search__submit:hover { background: var(--tripdesh-accent-dark); }

@media (min-width: 720px) {
	.tripdesh-search { grid-template-columns: repeat(2, 1fr) auto; align-items: end; }
}
@media (min-width: 1000px) {
	.tripdesh-search { grid-template-columns: repeat(5, 1fr) auto; align-items: end; }
}

/* Cards */
.tripdesh-card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 20px;
}
.tripdesh-card-grid--3 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

.tripdesh-card {
	display: block;
	background: #fff;
	border: 1px solid var(--tripdesh-border);
	border-radius: var(--tripdesh-radius);
	overflow: hidden;
	color: var(--tripdesh-ink);
	transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.tripdesh-card:hover {
	box-shadow: var(--tripdesh-shadow);
	transform: translateY(-2px);
	text-decoration: none;
}
.tripdesh-card__image { aspect-ratio: 3 / 2; background: var(--tripdesh-bg-alt); overflow: hidden; }
.tripdesh-card__image img { width: 100%; height: 100%; object-fit: cover; }
.tripdesh-card__placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, #e1e8e5, #f4f8f6); }
.tripdesh-card__body { padding: 14px 16px; }
.tripdesh-card__title { margin: 0 0 6px; font-size: 1.05rem; }
.tripdesh-card__meta { margin: 0; font-size: 0.9rem; color: var(--tripdesh-muted); }

/* Badges & buttons */
.tripdesh-badge {
	display: inline-block;
	background: var(--tripdesh-accent);
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	padding: 4px 10px;
	border-radius: 999px;
	margin-bottom: 10px;
}
.tripdesh-badge--sale { background: var(--tripdesh-primary); margin-bottom: 8px; }
.tripdesh-button {
	display: inline-block;
	background: var(--tripdesh-primary);
	color: #fff !important;
	padding: 12px 20px;
	border-radius: 8px;
	font-weight: 700;
	text-align: center;
	border: none;
	cursor: pointer;
}
.tripdesh-button:hover { background: var(--tripdesh-primary-dark); text-decoration: none; }
.tripdesh-button--block { display: block; width: 100%; margin-top: 12px; }

/* Why choose us */
.tripdesh-why__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 24px;
	margin-top: 24px;
}
.tripdesh-why__item h3 { color: var(--tripdesh-primary-dark); }

/* Testimonials */
.tripdesh-testimonial-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 20px;
}
.tripdesh-testimonial {
	margin: 0;
	padding: 20px;
	background: var(--tripdesh-bg-alt);
	border-radius: var(--tripdesh-radius);
}
.tripdesh-testimonial footer { margin-top: 12px; font-weight: 600; font-size: 0.9rem; }
.tripdesh-testimonial__rating { color: var(--tripdesh-accent); margin-left: 6px; }

/* AI promo / chat widget */
.tripdesh-ai-promo {
	display: grid;
	gap: 24px;
	background: var(--tripdesh-bg-alt);
	border-radius: var(--tripdesh-radius);
	padding: 28px;
}
@media (min-width: 800px) {
	.tripdesh-ai-promo { grid-template-columns: 1fr 1fr; align-items: center; }
}

.tripdesh-ai-chat {
	background: #fff;
	border: 1px solid var(--tripdesh-border);
	border-radius: var(--tripdesh-radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	max-width: 480px;
}
.tripdesh-ai-chat__header {
	background: var(--tripdesh-primary);
	color: #fff;
	padding: 12px 16px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-weight: 700;
}
.tripdesh-ai-chat__lang button {
	background: rgba(255,255,255,0.15);
	border: none;
	color: #fff;
	padding: 4px 8px;
	border-radius: 6px;
	font-size: 0.75rem;
	cursor: pointer;
	margin-left: 4px;
}
.tripdesh-ai-chat__lang button.active { background: #fff; color: var(--tripdesh-primary); }

.tripdesh-ai-chat__messages {
	padding: 16px;
	height: 260px;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
	gap: 10px;
	background: var(--tripdesh-bg-alt);
}
.tripdesh-ai-chat__message {
	padding: 10px 14px;
	border-radius: 12px;
	max-width: 85%;
	font-size: 0.92rem;
}
.tripdesh-ai-chat__message--bot { background: #fff; align-self: flex-start; border: 1px solid var(--tripdesh-border); }
.tripdesh-ai-chat__message--user { background: var(--tripdesh-primary); color: #fff; align-self: flex-end; }

.tripdesh-ai-chat__form {
	display: flex;
	border-top: 1px solid var(--tripdesh-border);
}
.tripdesh-ai-chat__form input {
	flex: 1;
	border: none;
	padding: 12px 14px;
	font-size: 0.95rem;
}
.tripdesh-ai-chat__form input:focus { outline: none; }
.tripdesh-ai-chat__form button {
	background: var(--tripdesh-accent);
	color: #fff;
	border: none;
	padding: 0 18px;
	font-weight: 700;
	cursor: pointer;
}
.tripdesh-ai-chat__form button:hover { background: var(--tripdesh-accent-dark); }

/* Booking form */
.tripdesh-booking-form {
	background: #fff;
	border: 1px solid var(--tripdesh-border);
	border-radius: var(--tripdesh-radius);
	padding: 20px;
}
.tripdesh-booking-form__price { font-size: 1.4rem; font-weight: 800; color: var(--tripdesh-primary-dark); margin: 0 0 6px; }
.tripdesh-booking-form__price--was { font-size: 1rem; font-weight: 400; color: var(--tripdesh-muted); margin-right: 6px; }
.tripdesh-booking-form__price span { font-size: 0.85rem; font-weight: 400; color: var(--tripdesh-muted); }
.tripdesh-booking-form__row { margin-bottom: 12px; display: flex; flex-direction: column; gap: 4px; }
.tripdesh-booking-form__row label { font-size: 0.85rem; font-weight: 600; }
.tripdesh-booking-form__row input,
.tripdesh-booking-form__row textarea {
	padding: 10px 12px;
	border: 1px solid var(--tripdesh-border);
	border-radius: 8px;
	font-size: 0.95rem;
	font-family: inherit;
}
.tripdesh-booking-form button[type="submit"] {
	width: 100%;
	background: var(--tripdesh-accent);
	color: #fff;
	border: none;
	padding: 13px;
	border-radius: 8px;
	font-weight: 700;
	font-size: 1rem;
	cursor: pointer;
}
.tripdesh-booking-form button[type="submit"]:hover { background: var(--tripdesh-accent-dark); }
.tripdesh-booking-form button[disabled] { opacity: 0.6; cursor: not-allowed; }
.tripdesh-booking-form__note { font-size: 0.78rem; color: var(--tripdesh-muted); margin: 10px 0 0; }
.tripdesh-booking-form__result { margin-top: 12px; padding: 10px 12px; border-radius: 8px; font-size: 0.9rem; }
.tripdesh-booking-form__result--success { background: #e6f5f2; color: var(--tripdesh-primary-dark); }
.tripdesh-booking-form__result--error { background: #fde8e2; color: #9a3a1f; }

/* Single/hero pages */
.tripdesh-hero-page__image { aspect-ratio: 16 / 7; overflow: hidden; background: var(--tripdesh-bg-alt); }
.tripdesh-hero-page__image img { width: 100%; height: 100%; object-fit: cover; }
.tripdesh-hero-page__content { padding: 24px 0; }
.tripdesh-hero-page__meta,
.tripdesh-hero-page__budget { color: var(--tripdesh-muted); font-weight: 600; }

.tripdesh-layout {
	display: grid;
	gap: 32px;
}
@media (min-width: 900px) {
	.tripdesh-layout { grid-template-columns: 2fr 1fr; align-items: start; }
	.tripdesh-layout__sidebar { position: sticky; top: 90px; }
}

.tripdesh-info-block { margin-top: 28px; }
.tripdesh-info-block h2 { color: var(--tripdesh-primary-dark); }

.tripdesh-itinerary { list-style: none; margin: 0; padding: 0; }
.tripdesh-itinerary__day {
	display: flex;
	gap: 16px;
	padding: 12px 0;
	border-bottom: 1px solid var(--tripdesh-border);
}
.tripdesh-itinerary__label {
	font-weight: 800;
	color: var(--tripdesh-primary);
	min-width: 70px;
}

.tripdesh-sidebar-card {
	background: var(--tripdesh-bg-alt);
	border-radius: var(--tripdesh-radius);
	padding: 20px;
}
.tripdesh-sidebar-card__price { font-size: 1.5rem; font-weight: 800; color: var(--tripdesh-primary-dark); margin: 0 0 10px; }
.tripdesh-sidebar-list { list-style: none; padding: 0; margin: 0 0 16px; }
.tripdesh-sidebar-list li { padding: 8px 0; border-bottom: 1px solid var(--tripdesh-border); }

/* Blog */
.tripdesh-blog-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 24px;
}
.tripdesh-blog-card { background: #fff; border: 1px solid var(--tripdesh-border); border-radius: var(--tripdesh-radius); overflow: hidden; }
.tripdesh-blog-card__image { aspect-ratio: 3/2; display: block; background: var(--tripdesh-bg-alt); overflow: hidden; }
.tripdesh-blog-card__image img { width: 100%; height: 100%; object-fit: cover; }
.tripdesh-blog-card__body { padding: 16px; }
.tripdesh-blog-card__title { margin: 0 0 6px; font-size: 1.1rem; }
.tripdesh-blog-card__meta { font-size: 0.8rem; color: var(--tripdesh-muted); margin: 0 0 10px; }

/* Contact */
.tripdesh-contact-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 16px;
	margin: 24px 0;
}
.tripdesh-contact-item {
	background: var(--tripdesh-bg-alt);
	border-radius: var(--tripdesh-radius);
	padding: 16px;
}
.tripdesh-contact-hint { font-size: 0.85rem; color: var(--tripdesh-muted); }

/* FAQ content spacing when authored as H3/P pairs */
.tripdesh-faq h3 { margin-top: 24px; color: var(--tripdesh-primary-dark); }

/* Pagination */
.tripdesh-pagination { margin-top: 32px; display: flex; justify-content: center; gap: 8px; }
.tripdesh-pagination .page-numbers {
	display: inline-block;
	padding: 8px 12px;
	border: 1px solid var(--tripdesh-border);
	border-radius: 6px;
	color: var(--tripdesh-ink);
}
.tripdesh-pagination .page-numbers.current { background: var(--tripdesh-primary); color: #fff; border-color: var(--tripdesh-primary); }

/* Footer */
.tripdesh-footer { background: var(--tripdesh-ink); color: rgba(255,255,255,0.85); padding: 48px 0 0; margin-top: 40px; }
.tripdesh-footer__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 32px;
	padding-bottom: 32px;
}
.tripdesh-footer__col h4 { color: #fff; }
.tripdesh-footer__col a { color: rgba(255,255,255,0.75); }
.tripdesh-footer__col ul { list-style: none; padding: 0; margin: 0; }
.tripdesh-footer__col li { margin-bottom: 8px; }
.tripdesh-footer__hint { font-size: 0.8rem; color: rgba(255,255,255,0.5); }
.tripdesh-footer__bottom {
	border-top: 1px solid rgba(255,255,255,0.12);
	padding: 16px 20px;
	text-align: center;
	font-size: 0.85rem;
}

@media (max-width: 899px) {
	.tripdesh-ai-promo { grid-template-columns: 1fr; }
}
