/* VIP Transfer Rezervasyon — form
 * Renkler tema tarafından --vtr-* değişkenleriyle ezilebilir.
 */

.vtr {
	--vtr-bg: #ffffff;
	--vtr-surface: #f7f3ea;
	--vtr-line: rgba(22, 20, 15, 0.18);
	--vtr-line-strong: rgba(122, 95, 44, 0.6);
	--vtr-text: #16140f;
	--vtr-muted: #3e3930;
	--vtr-gold: #a8863f;
	--vtr-gold-light: #7a5f2c;
	--vtr-danger: #b3261e;
	--vtr-wa: #128c7e;

	position: relative;
	color: var(--vtr-text);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.5;
}

.vtr *,
.vtr *::before,
.vtr *::after {
	box-sizing: border-box;
}

.vtr-form,
.vtr-result {
	background: var(--vtr-bg);
	border: 1px solid var(--vtr-line);
	border-top: 3px solid var(--vtr-gold);
	padding: 28px;
}

.vtr-form__title {
	margin: 0 0 18px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--vtr-gold);
}

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

/* Alanlar */
.vtr-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px 12px;
}

.vtr-field--full {
	grid-column: 1 / -1;
}

.vtr-field label {
	display: block;
	margin-bottom: 6px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--vtr-muted);
}

.vtr-field small {
	letter-spacing: 0;
	text-transform: none;
	font-weight: 500;
}

.vtr select,
.vtr input[type="text"],
.vtr input[type="tel"],
.vtr input[type="email"],
.vtr input[type="number"],
.vtr input[type="date"],
.vtr input[type="time"],
.vtr textarea {
	width: 100%;
	min-height: 44px;
	padding: 10px 12px;
	background: #fff;
	border: 1px solid #c9bfa9;
	border-radius: 0;
	color: var(--vtr-text);
	font: inherit;
	color-scheme: light;
	transition: border-color 0.2s;
	-webkit-appearance: none;
	appearance: none;
}

.vtr textarea {
	resize: vertical;
	min-height: 64px;
}

.vtr input::placeholder,
.vtr textarea::placeholder {
	color: #7d766a;
	opacity: 1;
}

.vtr input:focus,
.vtr select:focus,
.vtr textarea:focus {
	outline: none;
	border-color: var(--vtr-gold);
}

.vtr .is-invalid input,
.vtr .is-invalid select,
.vtr .is-invalid textarea {
	border-color: var(--vtr-danger);
}

/* Tek sayfa form: bölümler */
.vtr-section {
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.vtr-section + .vtr-section,
.vtr-addreturn + .vtr-section {
	margin-top: 26px;
	padding-top: 22px;
	border-top: 1px solid var(--vtr-line);
}

.vtr-section__title {
	float: left;
	width: 100%;
	margin: 0 0 14px;
	padding: 0;
	font-size: 18px;
	font-weight: 700;
	color: var(--vtr-text);
}

.vtr-section__title + * {
	clear: both;
}

/* Transfer türü: JS olmadan Bölge - Bölge çalışmaz. Bölge - Bölge'de listeler yerine metin alanı görünür. */
.vtr:not(.vtr-js) .vtr-type,
.vtr.is-region [data-place] select,
.vtr.is-region .vtr-region-hide {
	display: none;
}

/* "Dönüş transferi ekle": işaretlenince dönüş bölümü açılır (JS olmadan da :has ile çalışır) */
.vtr-addreturn {
	display: block;
	margin-top: 18px;
	cursor: pointer;
}

.vtr-addreturn input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.vtr-addreturn > span {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 50px;
	padding: 10px 16px;
	border: 1px dashed var(--vtr-line-strong);
	background: var(--vtr-surface);
	color: var(--vtr-gold-light);
	font-weight: 700;
	transition: border-color 0.2s, background 0.2s;
}

.vtr-addreturn:hover > span {
	border-color: var(--vtr-gold);
	background: #f1ebdd;
}

.vtr-addreturn input:focus-visible + span {
	outline: 2px solid var(--vtr-gold-light);
	outline-offset: 2px;
}

.vtr-addreturn__plus {
	display: inline-grid;
	place-items: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--vtr-gold);
	color: #16140f;
	font-size: 18px;
	line-height: 1;
}

.vtr-return-box {
	display: none;
}

.vtr-section[data-vehicle-box][hidden] {
	display: none;
}

.vtr-section[data-vehicle-box]:not([hidden]) {
	animation: vtr-open 0.25s ease-out;
}

.vtr-privacy {
	margin-top: 18px;
}

.vtr-form:has([data-add-return]:checked) .vtr-return-box,
.vtr.is-return .vtr-return-box {
	display: block;
	animation: vtr-open 0.25s ease-out;
}

.vtr-form:has([data-add-return]:checked) .vtr-addreturn,
.vtr.is-return .vtr-addreturn {
	display: none;
}

.vtr-return-box__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.vtr-return-box__head .vtr-section__title {
	float: none;
	width: auto;
}

.vtr-return-box__remove {
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	font-size: 14px;
	cursor: pointer;
}

.vtr:not(.vtr-js) .vtr-return-box__remove {
	display: none;
}

.vtr-return-box__route {
	margin: -6px 0 14px;
	font-weight: 700;
	color: var(--vtr-gold-light);
}

.vtr-return-box__route[hidden] {
	display: none;
}

.vtr-hint {
	margin: 12px 0 0;
	font-size: 14px;
	color: var(--vtr-muted);
}

@keyframes vtr-open {
	from { opacity: 0; transform: translateY(-4px); }
	to { opacity: 1; transform: none; }
}

.vtr-submit {
	width: 100%;
	min-height: 54px;
	margin-top: 20px;
	font-size: 15px;
}

/* Yatay düzen (ana sayfa): önce Nereden | Nereye | Tarih | Devam çubuğu */
.vtr-open {
	display: none;
}

.vtr--compact:not(.is-open) .vtr-section--route .vtr-grid {
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.3fr) minmax(150px, 0.9fr) auto;
	align-items: start;
}

.vtr--compact:not(.is-open) .vtr-open {
	display: block;
	padding-top: 26px;
}

.vtr--compact:not(.is-open) .vtr-open .vtr-btn {
	min-height: 44px;
	white-space: nowrap;
}

.vtr--compact:not(.is-open) .vtr-section--route .vtr-section__title,
.vtr--compact:not(.is-open) .vtr-more,
.vtr--compact:not(.is-open) .vtr-form > :not(.vtr-section--route):not(.vtr-message):not(.vtr-form__title) {
	display: none !important;
}

.vtr--compact:not(.is-open) .vtr-form {
	padding: 22px 24px;
}

.vtr--compact.is-open .vtr-section--route {
	animation: vtr-open 0.25s ease-out;
}

@media (max-width: 760px) {
	.vtr--compact:not(.is-open) .vtr-section--route .vtr-grid {
		grid-template-columns: 1fr;
	}

	.vtr--compact:not(.is-open) .vtr-open {
		padding-top: 0;
	}

	.vtr--compact:not(.is-open) .vtr-open .vtr-btn {
		width: 100%;
	}
}

/* Telefon: ülke kodu kutusu + numara. Görünmez select kutunun üstünde durur, liste tarayıcının kendi listesi. */
.vtr-phone {
	display: flex;
}

.vtr-phone__cc {
	position: relative;
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	padding: 0 26px 0 12px;
	background: #f6f2ea;
	border: 1px solid #c9bfa9;
	border-right: 0;
	color: var(--vtr-text);
	font-weight: 700;
	white-space: nowrap;
}

.vtr-phone__cc::after {
	content: "";
	position: absolute;
	right: 11px;
	top: 50%;
	width: 6px;
	height: 6px;
	margin-top: -5px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
}

.vtr .vtr-phone__cc select {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	min-height: 0;
	padding: 0;
	opacity: 0;
	cursor: pointer;
}

.vtr-phone__cc:focus-within {
	border-color: var(--vtr-gold);
	box-shadow: inset 0 0 0 1px var(--vtr-gold);
}

.vtr .vtr-phone input[type="tel"] {
	flex: 1 1 auto;
	min-width: 0;
}

.vtr .is-invalid .vtr-phone__cc {
	border-color: var(--vtr-danger);
}

/* Açılır liste */
.vtr select {
	padding-right: 36px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2316140f' stroke-width='1.6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	cursor: pointer;
}

/* Bölge - Bölge seçilince açılan adres alanı */
.vtr .vtr-custom {
	display: none;
	margin-top: 8px;
}

.vtr.is-region .vtr-custom {
	display: block;
	margin-top: 0;
}

.vtr-route-note {
	margin: -4px 0 0;
	padding: 8px 12px;
	background: var(--vtr-surface);
	border-left: 3px solid var(--vtr-gold);
	font-size: 14px;
	color: var(--vtr-muted);
}

.vtr-route-note[hidden] {
	display: none;
}

.vtr-subhead {
	margin: 20px 0 10px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--vtr-muted);
}

/* Yolcu sayaçları */
.vtr-pax {
	border: 1px solid var(--vtr-line);
}

.vtr-counter {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 14px;
	border-bottom: 1px solid var(--vtr-line);
}

.vtr-counter label strong {
	display: block;
	font-weight: 700;
}

.vtr-counter label small {
	display: block;
	font-size: 13px;
	color: var(--vtr-muted);
}

.vtr-counter__control {
	display: flex;
	align-items: center;
}

.vtr-counter__control button {
	width: 40px;
	height: 40px;
	border: 1px solid #c9bfa9;
	background: #fff;
	color: var(--vtr-text);
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
}

.vtr-counter__control button:hover {
	border-color: var(--vtr-text);
}

.vtr .vtr-counter__control input[type="number"] {
	width: 56px;
	min-height: 40px;
	padding: 0;
	border-left: 0;
	border-right: 0;
	text-align: center;
	font-weight: 700;
	-moz-appearance: textfield;
}

.vtr-counter__control input::-webkit-outer-spin-button,
.vtr-counter__control input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.vtr:not(.vtr-js) .vtr-counter__control button {
	display: none;
}

.vtr-pax__total {
	margin: 0;
	padding: 12px 14px;
	background: var(--vtr-surface);
	font-size: 15px;
	text-align: right;
}

.vtr-pax__total strong {
	font-size: 20px;
}

/* Güzergâh fiyat tablosu (tema şablonu yoksa) */
.vtr-price-table {
	width: 100%;
	margin: 24px 0;
	border-collapse: collapse;
}

.vtr-price-table th,
.vtr-price-table td {
	padding: 12px 10px;
	border-bottom: 1px solid rgba(22, 20, 15, 0.15);
	text-align: left;
}

/* Araç seçimi */
.vtr-vehicles {
	display: grid;
	gap: 8px;
}

.vtr-vehicle {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
	border: 1px solid var(--vtr-line);
	cursor: pointer;
	transition: border-color 0.2s, background 0.2s;
}

.vtr-vehicle:hover {
	border-color: var(--vtr-line-strong);
}

.vtr-vehicle input {
	position: absolute;
	opacity: 0;
}

.vtr-vehicle::before {
	content: "";
	flex: none;
	width: 14px;
	height: 14px;
	border: 1px solid var(--vtr-line-strong);
	border-radius: 50%;
	transition: box-shadow 0.2s, border-color 0.2s;
}

.vtr-vehicle:has(input:checked) {
	border-color: var(--vtr-gold-light);
	background: #fbf6ea;
	box-shadow: inset 3px 0 0 var(--vtr-gold);
}

.vtr-vehicle:has(input:checked)::before {
	border-color: var(--vtr-gold);
	box-shadow: inset 0 0 0 3px var(--vtr-bg), inset 0 0 0 7px var(--vtr-gold);
}

.vtr-vehicle:has(input:focus-visible) {
	outline: 2px solid var(--vtr-gold);
	outline-offset: 2px;
}

.vtr-vehicle__body {
	flex: 1;
	min-width: 0;
}

.vtr-vehicle__name {
	display: block;
	font-weight: 700;
}

.vtr-vehicle__meta {
	display: block;
	font-size: 14px;
	color: var(--vtr-muted);
}

.vtr-vehicle__price {
	font-variant-numeric: tabular-nums;
	color: var(--vtr-gold-light);
	white-space: nowrap;
}

/* Onay kutuları */
.vtr-check {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin-top: 16px;
	font-size: 14px;
	color: var(--vtr-muted);
	cursor: pointer;
}

.vtr-check input {
	flex: none;
	width: 16px;
	height: 16px;
	margin: 2px 0 0;
	accent-color: var(--vtr-gold);
}

.vtr-check em {
	font-style: normal;
	color: var(--vtr-gold-light);
}

.vtr-check a {
	color: var(--vtr-gold-light);
}

.vtr-check.is-invalid {
	color: var(--vtr-danger);
}

.vtr-total {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-top: 18px;
	padding-top: 14px;
	border-top: 1px solid var(--vtr-line);
	font-size: 14px;
	color: var(--vtr-muted);
}

.vtr-total strong {
	font-size: 22px;
	font-weight: 700;
	color: var(--vtr-text);
	font-variant-numeric: tabular-nums;
}

.vtr-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.vtr-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	padding: 0 22px;
	border: 1px solid transparent;
	border-radius: 0;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.vtr-btn--gold {
	background: var(--vtr-gold);
	color: #16140f;
}

.vtr-btn--gold:hover,
.vtr-btn--gold:focus-visible {
	background: #b8975a;
	color: #16140f;
}

.vtr-btn--ghost {
	background: transparent;
	border-color: var(--vtr-line-strong);
	color: var(--vtr-text);
}

.vtr-btn--ghost:hover {
	border-color: var(--vtr-text);
	background: var(--vtr-text);
	color: #fff;
}

.vtr-btn--wa {
	background: var(--vtr-wa);
	color: #fff;
}

.vtr-btn--wa:hover,
.vtr-btn--wa:focus-visible {
	background: #0f7a6e;
	color: #fff;
}

.vtr-btn:focus-visible {
	outline: 2px solid var(--vtr-gold-light);
	outline-offset: 2px;
}

.vtr-btn:disabled {
	opacity: 0.6;
	cursor: wait;
}

.vtr-message {
	margin-top: 16px;
	padding: 10px 14px;
	border-left: 3px solid var(--vtr-danger);
	background: #fbeceb;
	color: var(--vtr-danger);
	font-size: 14px;
}

.vtr-message[hidden],
.vtr-result[hidden],
.vtr-form[hidden] {
	display: none;
}

/* Sonuç ekranı */
.vtr-done__eyebrow {
	margin: 0 0 6px;
	font-size: 12px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--vtr-gold);
}

.vtr-done__code {
	margin: 0 0 12px;
	font-size: 26px;
	letter-spacing: 0.04em;
	font-variant-numeric: tabular-nums;
}

.vtr-done__code span {
	display: block;
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--vtr-muted);
}

.vtr-done__text {
	margin: 0 0 18px;
	color: var(--vtr-muted);
	font-size: 15px;
}

.vtr-done__title {
	margin: 0 0 8px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--vtr-muted);
}

.vtr-done__list .vtr-done__total dd {
	font-size: 18px;
	font-weight: 700;
}

.vtr-done__list {
	margin: 0 0 22px;
	border-top: 1px solid var(--vtr-line);
}

.vtr-done__list div {
	display: grid;
	grid-template-columns: 120px 1fr;
	gap: 12px;
	padding: 9px 0;
	border-bottom: 1px solid var(--vtr-line);
	font-size: 15px;
}

.vtr-done__list dt {
	color: var(--vtr-muted);
}

.vtr-done__list dd {
	margin: 0;
}

.vtr-done__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.vtr-link {
	margin-left: 4px;
	font-size: 13px;
	color: var(--vtr-gold-light);
}

/* PDF penceresi */
.vtr-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 4vh 4vw;
	background: rgba(22, 20, 15, 0.7);
}

.vtr-modal[hidden] {
	display: none;
}

.vtr-modal__box {
	position: relative;
	width: min(920px, 100%);
	height: 100%;
	background: #2a2925;
	border: 1px solid var(--vtr-line);
}

.vtr-modal iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.vtr-modal__close {
	position: absolute;
	top: -14px;
	right: -14px;
	width: 36px;
	height: 36px;
	border: 1px solid var(--vtr-gold);
	border-radius: 50%;
	background: #fff;
	color: var(--vtr-text);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

.vtr-locked {
	overflow: hidden;
}

.vtr.is-busy .vtr-form {
	pointer-events: none;
}

@media (max-width: 520px) {
	.vtr-form,
	.vtr-result {
		padding: 20px 16px;
	}

	.vtr-grid {
		grid-template-columns: 1fr;
	}

	.vtr-done__actions .vtr-btn {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vtr-return-box,
	.vtr-section[data-vehicle-box] {
		animation: none !important;
	}
}
