/**
 * Hero slider — scoped styles only (#lux-hero-slider).
 */

#lux-hero-slider {
	position:   relative;
	width:      100%;
	height:     100vh;
	min-height: 620px;
	overflow:   hidden;
	background: #0F1923;
}

#lux-hero-slider .lux-hero-track {
	position: relative;
	width:    100%;
	height:   100%;
}

#lux-hero-slider .lux-hero-slide {
	position:   absolute;
	inset:      0;
	opacity:    0;
	visibility: hidden;
	transition: opacity 0.55s ease, visibility 0.55s ease;
	z-index:    1;
}

#lux-hero-slider .lux-hero-slide.is-active {
	opacity:    1;
	visibility: visible;
	z-index:    1;
}

#lux-hero-slider .lux-hero-slide img {
	width:      100%;
	height:     100%;
	object-fit: cover;
	display:    block;
}

#lux-hero-slider::after {
	content:         "";
	position:        absolute;
	inset:           0;
	background:      rgba(10, 15, 25, 0.42);
	z-index:         2;
	pointer-events:  none;
}

#lux-hero-slider .lux-hero-arrow {
	position:        absolute;
	top:             50%;
	transform:       translateY(-50%);
	z-index:         5;
	width:           52px;
	height:          52px;
	border:          1px solid rgba(255, 255, 255, 0.35);
	border-radius:   50%;
	background:      rgba(15, 25, 35, 0.45);
	color:           #fff;
	cursor:          pointer;
	display:         flex;
	align-items:     center;
	justify-content: center;
	font-size:       14px;
	padding:         0;
	transition:      background 0.25s ease, border-color 0.25s ease;
}

#lux-hero-slider .lux-hero-arrow:hover {
	background:   rgba(15, 25, 35, 0.72);
	border-color: rgba(201, 169, 110, 0.65);
}

#lux-hero-slider .lux-hero-prev {
	left: 24px;
}

#lux-hero-slider .lux-hero-next {
	right: 24px;
}

#lux-hero-slider .lux-hero-dots {
	position:        absolute;
	left:            50%;
	bottom:          28px;
	transform:       translateX(-50%);
	z-index:         5;
	display:         flex;
	align-items:     center;
	justify-content: center;
	gap:             10px;
}

#lux-hero-slider .lux-hero-dot {
	width:           10px;
	height:          10px;
	border-radius:   50%;
	border:          1px solid rgba(255, 255, 255, 0.55);
	background:      transparent;
	padding:         0;
	cursor:          pointer;
	transition:      background 0.25s ease, transform 0.25s ease;
}

#lux-hero-slider .lux-hero-dot.is-active {
	background: #C9A96E;
	border-color: #C9A96E;
	transform:  scale(1.15);
}

/* ── Hero front: logo → booking widget (above background slides) ── */
#lux-hero-slider .lux-hero-front {
	position:        absolute;
	inset:           0;
	z-index:         4;
	display:         flex;
	align-items:     center;
	justify-content: center;
	padding:         calc(var(--lux-header-h, 78px) + 20px) 24px 72px;
	pointer-events:  none;
}

#lux-hero-slider .lux-hero-front-inner {
	pointer-events:  auto;
	display:         flex;
	flex-direction:  column;
	align-items:     center;
	justify-content: center;
	width:           100%;
	max-width:       980px;
	text-align:      center;
}

#lux-hero-slider .lux-hero-front-logo {
	margin-bottom:     36px;
	background:        transparent !important;
	box-shadow:        none !important;
	border:            none !important;
	padding:           0 !important;
}

#lux-hero-slider .lux-hero-logo-link {
	display:         inline-flex;
	align-items:     center;
	justify-content: center;
	line-height:     0;
	text-decoration: none;
	background:      transparent !important;
	box-shadow:        none !important;
	border:            none !important;
	padding:           0 !important;
}

#lux-hero-slider .lux-hero-logo-img {
	display:         block;
	width:           min(360px, 90vw);
	max-width:       400px;
	height:          auto;
	max-height:      none;
	object-fit:      contain;
	opacity:         0;
	background:      transparent !important;
	box-shadow:      none !important;
	border:          none !important;
	filter:          none;
	animation:       luxHeroLogoIn 1.1s ease forwards;
}

/* ── Premium booking card (MotoPress slots inside .lux-hero-booking-form-slot) ── */
#lux-hero-slider .lux-hero-front-booking {
	width:     100%;
	max-width: 960px;
}

#lux-hero-slider .lux-hero-booking-card {
	width:         100%;
	background:    #ffffff;
	border-radius: 24px;
	box-shadow:
		0 24px 60px rgba(10, 15, 25, 0.28),
		0 8px 24px rgba(10, 15, 25, 0.12);
	padding:       28px 32px;
}

#lux-hero-slider .lux-hero-booking-form-slot,
#lux-hero-slider .lux-hero-booking-form-slot .mphb_sc_search-wrapper {
	width: 100%;
}

#lux-hero-slider .lux-hero-booking-form-slot .mphb_sc_search-form {
	display:               grid !important;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) auto;
	align-items:           stretch;
	gap:                   0 !important;
	width:                 100%;
	margin:                0;
}

#lux-hero-slider .lux-hero-booking-form-slot .mphb_sc_search-form__field {
	flex:           unset !important;
	display:        flex !important;
	flex-direction: column;
	justify-content: center;
	align-items:    flex-start;
	min-height:     88px;
	padding:        22px 28px !important;
	margin:         0 !important;
	border-right:   1px solid #e8e2d9 !important;
	border-bottom:  none !important;
	background:     transparent !important;
	position:       relative;
}

#lux-hero-slider .lux-hero-booking-form-slot .mphb_sc_search-form__field:last-child {
	border-right: none !important;
	padding:      12px !important;
	display:      flex !important;
	align-items:  stretch;
	justify-content: center;
}

#lux-hero-slider .lux-hero-booking-form-slot p.mphb_sc_search-children {
	display: none !important;
}

#lux-hero-slider .lux-hero-booking-form-slot label {
	display:        block !important;
	order:          2;
	color:          #6b6560 !important;
	font-family:    "Barlow", sans-serif !important;
	font-size:      11px !important;
	font-weight:    600 !important;
	letter-spacing: 0.14em !important;
	text-transform: uppercase !important;
	margin:         0 0 6px !important;
}

#lux-hero-slider .lux-hero-booking-form-slot label abbr[title] {
	display: none !important;
}

#lux-hero-slider .lux-hero-booking-form-slot input[type="text"],
#lux-hero-slider .lux-hero-booking-form-slot select {
	order:          3;
	background:     transparent !important;
	border:         none !important;
	outline:        none !important;
	color:          #1a2332 !important;
	font-family:    "Cormorant Garamond", "Cormorant", serif !important;
	font-size:      22px !important;
	font-weight:    500 !important;
	padding:        0 !important;
	width:          100% !important;
	min-height:     28px;
	cursor:         pointer;
	box-shadow:     none !important;
}

#lux-hero-slider .lux-hero-booking-form-slot select option {
	background: #fff;
	color:      #1a2332;
}

#lux-hero-slider .lux-hero-booking-form-slot .mphb_sc_search-check-in-date::before,
#lux-hero-slider .lux-hero-booking-form-slot .mphb_sc_search-check-out-date::before,
#lux-hero-slider .lux-hero-booking-form-slot p.mphb_sc_search-adults::before {
	display:        block !important;
	position:       static !important;
	transform:      none !important;
	left:           auto !important;
	top:            auto !important;
	order:          1;
	content:        "\f073";
	font-family:    "Font Awesome 5 Free";
	font-weight:    900;
	font-size:      20px;
	line-height:    1;
	color:          #c9a96e;
	background:     transparent !important;
	border-radius:  0;
	padding:        0 !important;
	margin:         0 0 10px !important;
	width:          auto;
	height:         auto;
}

#lux-hero-slider .lux-hero-booking-form-slot p.mphb_sc_search-adults::before {
	content: "\f0c0";
}

#lux-hero-slider .lux-hero-booking-form-slot p.mphb_sc_search-adults,
#lux-hero-slider .lux-hero-booking-form-slot p.mphb_sc_search-children {
	padding: 0 !important;
}

#lux-hero-slider .lux-hero-booking-form-slot p.mphb-required-fields-tip,
#lux-hero-slider .lux-hero-booking-form-slot br {
	display: none !important;
}

#lux-hero-slider .lux-hero-booking-form-slot .mphb_sc_search-wrapper p {
	margin-bottom: 0;
}

#lux-hero-slider .lux-hero-booking-form-slot p.mphb_sc_search-submit-button-wrapper {
	margin:  0 !important;
	width:   100%;
	height:  100%;
	display: flex !important;
	align-items: stretch;
}

#lux-hero-slider .lux-hero-booking-form-slot p.mphb_sc_search-submit-button-wrapper .button {
	width:          100% !important;
	min-width:      200px;
	min-height:     64px;
	padding:        0 36px !important;
	border:         none !important;
	border-radius:  16px !important;
	background:     #1a2332 !important;
	color:          #ffffff !important;
	font-family:    "Barlow", sans-serif !important;
	font-size:      12px !important;
	font-weight:    700 !important;
	letter-spacing: 0.16em !important;
	text-transform: uppercase !important;
	cursor:         pointer;
	white-space:    nowrap;
	transition:     background 0.3s ease, transform 0.25s ease, box-shadow 0.3s ease;
	box-shadow:     0 10px 28px rgba(26, 35, 50, 0.22);
}

#lux-hero-slider .lux-hero-booking-form-slot p.mphb_sc_search-submit-button-wrapper .button:hover {
	background: #c9a96e !important;
	color:      #1a2332 !important;
	transform:  translateY(-1px);
}

#lux-hero-slider .main-form-div {
	position:   relative !important;
	top:        auto !important;
	bottom:     auto !important;
	left:       auto !important;
	right:      auto !important;
	transform:  none !important;
	width:      100% !important;
}

/* Static preview when MotoPress is inactive */
#lux-hero-slider .lux-hero-booking-preview {
	margin: 0;
}

#lux-hero-slider .lux-hero-booking-preview-grid {
	display:               grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) auto;
	align-items:           stretch;
}

#lux-hero-slider .lux-hero-booking-preview-field {
	display:        flex;
	flex-direction: column;
	justify-content: center;
	align-items:    flex-start;
	min-height:     88px;
	padding:        22px 28px;
	border-right:   1px solid #e8e2d9;
}

#lux-hero-slider .lux-hero-booking-preview-field i {
	font-size:   20px;
	color:       #c9a96e;
	margin-bottom: 10px;
}

#lux-hero-slider .lux-hero-booking-preview-label {
	font-family:    "Barlow", sans-serif;
	font-size:      11px;
	font-weight:    600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color:          #6b6560;
}

#lux-hero-slider .lux-hero-booking-preview-submit {
	display:         flex;
	align-items:     center;
	justify-content: center;
	padding:         12px;
}

#lux-hero-slider .lux-hero-booking-preview-submit span {
	display:         flex;
	align-items:     center;
	justify-content: center;
	min-width:       200px;
	min-height:      64px;
	padding:         0 36px;
	border-radius:   16px;
	background:      #1a2332;
	color:           #fff;
	font-family:     "Barlow", sans-serif;
	font-size:       12px;
	font-weight:     700;
	letter-spacing:  0.16em;
	text-transform:  uppercase;
	box-shadow:      0 10px 28px rgba(26, 35, 50, 0.22);
}

@keyframes luxHeroLogoIn {
	from {
		opacity:   0;
		transform: scale(0.98);
	}
	to {
		opacity:   0.8;
		transform: scale(1);
	}
}

@keyframes luxHeroBookingIn {
	from {
		opacity:   0;
		transform: translateY(22px);
	}
	to {
		opacity:   1;
		transform: translateY(0);
	}
}

#lux-hero-slider .lux-hero-front-logo.lux-hero-brand-in {
	opacity: 1;
}

#lux-hero-slider .lux-hero-booking-in {
	animation: luxHeroBookingIn 1s ease 0.38s forwards;
	opacity:   0;
}

@media (prefers-reduced-motion: reduce) {
	#lux-hero-slider .lux-hero-logo-img {
		animation:  none;
		opacity:    0.8;
		transform:  none;
	}

	#lux-hero-slider .lux-hero-booking-in {
		animation:  none;
		opacity:    1;
		transform:  none;
	}
}

@media (max-width: 992px) {
	#lux-hero-slider .lux-hero-logo-img {
		width:     min(280px, 88vw);
		max-width: 300px;
	}
}

@media (max-width: 768px) {
	#lux-hero-slider {
		height:     70svh;
		min-height: 440px;
	}

	#lux-hero-slider .lux-hero-prev {
		left: 14px;
	}

	#lux-hero-slider .lux-hero-next {
		right: 14px;
	}

	#lux-hero-slider .lux-hero-arrow {
		width:  42px;
		height: 42px;
	}

	#lux-hero-slider .lux-hero-dots {
		bottom: 18px;
	}

	#lux-hero-slider .lux-hero-front {
		padding: calc(var(--lux-header-h, 64px) + 16px) 16px 56px;
	}

	#lux-hero-slider .lux-hero-front-logo {
		margin-bottom: 34px;
	}

	#lux-hero-slider .lux-hero-logo-img {
		width:     min(200px, 90vw);
		max-width: 220px;
	}

	#lux-hero-slider .lux-hero-booking-card {
		padding:       20px 18px;
		border-radius: 20px;
	}

	#lux-hero-slider .lux-hero-booking-form-slot .mphb_sc_search-form,
	#lux-hero-slider .lux-hero-booking-preview-grid {
		grid-template-columns: 1fr;
	}

	#lux-hero-slider .lux-hero-booking-form-slot .mphb_sc_search-form__field,
	#lux-hero-slider .lux-hero-booking-preview-field {
		border-right:  none !important;
		border-bottom: 1px solid #e8e2d9 !important;
		min-height:    76px;
		padding:       18px 20px !important;
	}

	#lux-hero-slider .lux-hero-booking-form-slot .mphb_sc_search-form__field:last-child {
		border-bottom: none !important;
		padding:       16px 0 0 !important;
	}

	#lux-hero-slider .lux-hero-booking-form-slot p.mphb_sc_search-submit-button-wrapper .button {
		min-width:  100%;
		min-height: 56px;
	}
}

@media (max-width: 480px) {
	#lux-hero-slider {
		height:     60svh;
		min-height: 360px;
	}

	#lux-hero-slider .lux-hero-dots {
		bottom: 12px;
		gap:    8px;
	}

	#lux-hero-slider .lux-hero-front-logo {
		margin-bottom: 30px;
	}

	#lux-hero-slider .lux-hero-logo-img {
		width:     min(180px, 92vw);
		max-width: 200px;
	}

	#lux-hero-slider .lux-hero-booking-card {
		padding: 16px 14px;
	}
}
