/* ============================================================
   Hotel Hero Slider  — [hotel_hero_slider] shortcode
   ============================================================ */

/* ── Outer wrapper ─────────────────────────────────────────── */

.hotel-hero-slider {
	position: relative !important;

	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	left: auto !important;
	transform: none !important;

	height: auto !important;
	aspect-ratio: 16 / 9 !important;
	max-height: 65vh !important;
	min-height: 320px !important;
	overflow: hidden !important;

	background-color: #1a3a4a;
	user-select: none;
}

/* ── Slide track ───────────────────────────────────────────── */

/* !important guards against Elementor global flex resets */
.hotel-hero-slider .hhs-track {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	transition: transform 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
	will-change: transform;
}

.hotel-hero-slider .hhs-slide {
	flex: 0 0 100% !important;
	min-width: 100% !important;
	width: 100% !important;
	height: 100% !important;
	overflow: hidden !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* Images fill each slide — no letterboxing */
.hotel-hero-slider .hhs-slide img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	object-position: center center !important;
	pointer-events: none;
	margin: 0 !important;
	padding: 0 !important;
}

/* ── Gradient overlay ──────────────────────────────────────── */

.hotel-hero-slider .hhs-overlay {
	position: absolute !important;
	inset: 0 !important;
	background: linear-gradient(
		to top,
		rgba(15, 30, 40, 0.92) 0%,
		rgba(15, 30, 40, 0.42) 40%,
		transparent 70%
	) !important;
	display: flex !important;
	align-items: flex-end !important;
	pointer-events: none;
	z-index: 5;
}

.hotel-hero-slider .hhs-overlay-inner {
	padding: 48px 60px;
}

.hotel-hero-slider .hhs-eyebrow {
	margin: 0 0 8px !important;
	font-family: 'Roboto', sans-serif !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	letter-spacing: 3px !important;
	text-transform: uppercase !important;
	color: #80c4d8 !important;
}

.hotel-hero-slider .hhs-hotel-name {
	margin: 0 0 12px !important;
	font-family: 'Roboto Slab', serif !important;
	font-size: clamp(30px, 5vw, 58px) !important;
	font-weight: 700 !important;
	line-height: 1.15 !important;
	color: #ffffff !important;
}

.hotel-hero-slider .hhs-stars {
	font-size: 28px !important;
	color: #f0b429 !important;
	letter-spacing: 4px !important;
	line-height: 1 !important;
}

/* ── Arrow buttons ─────────────────────────────────────────── */

.hotel-hero-slider .hhs-btn {
	position: absolute !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	background: rgba(15, 30, 40, 0.50) !important;
	border: 2px solid rgba(255, 255, 255, 0.22) !important;
	border-radius: 50% !important;
	width: 52px !important;
	height: 52px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	color: #ffffff !important;
	cursor: pointer !important;
	padding: 0 !important;
	transition: background 0.25s ease, border-color 0.25s ease;
	z-index: 10;
}

.hotel-hero-slider .hhs-btn:hover,
.hotel-hero-slider .hhs-btn:focus-visible {
	background: rgba(15, 30, 40, 0.85) !important;
	border-color: rgba(255, 255, 255, 0.60) !important;
	outline: none !important;
}

.hotel-hero-slider .hhs-prev { left:  24px !important; }
.hotel-hero-slider .hhs-next { right: 24px !important; }

.hotel-hero-slider .hhs-btn svg {
	width: 20px !important;
	height: 20px !important;
	display: block !important;
}

/* ── Dot indicators ────────────────────────────────────────── */

.hotel-hero-slider .hhs-dots {
	position: absolute !important;
	bottom: 28px !important;
	left: 50% !important;
	transform: translateX(-50%) !important;
	display: flex !important;
	gap: 10px !important;
	z-index: 10;
}

.hotel-hero-slider .hhs-dot {
	width: 10px !important;
	height: 10px !important;
	border-radius: 50% !important;
	background: rgba(255, 255, 255, 0.40) !important;
	border: none !important;
	cursor: pointer !important;
	padding: 0 !important;
	transition: background 0.2s ease, transform 0.2s ease;
}

.hotel-hero-slider .hhs-dot.active {
	background: #ffffff !important;
	transform: scale(1.35) !important;
}

.hotel-hero-slider .hhs-dot:hover,
.hotel-hero-slider .hhs-dot:focus-visible {
	background: rgba(255, 255, 255, 0.75) !important;
	outline: none !important;
}

/* ── Responsive ────────────────────────────────────────────── */

@media (max-width: 768px) {

	.hotel-hero-slider {
		max-height: 55vh !important;
	}

	.hotel-hero-slider .hhs-overlay-inner {
		padding: 32px 24px;
	}

	.hotel-hero-slider .hhs-stars {
		font-size: 22px !important;
	}

	.hotel-hero-slider .hhs-btn {
		width: 40px !important;
		height: 40px !important;
	}

	.hotel-hero-slider .hhs-prev { left:  12px !important; }
	.hotel-hero-slider .hhs-next { right: 12px !important; }

	.hotel-hero-slider .hhs-dots {
		bottom: 18px !important;
	}
}

/* ============================================================
   [hotel_gallery] — desktop thumbnail grid + mobile slider switch
   ============================================================ */

.hg-gallery-wrap {
	width: 100%;
}

.hg-gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 6px;
}

.hg-gallery-item {
	display: block;
	overflow: hidden;
	cursor: zoom-in;
	padding: 0;
	border: none;
	background: #1a1a1a;
	position: relative;
}

.hg-gallery-item img {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	transition: transform 0.35s ease, opacity 0.25s;
	opacity: 0.88;
}

.hg-gallery-item:hover img {
	transform: scale(1.06);
	opacity: 1;
}

/* ── Lightbox overlay ───────────────────────────────────────── */

.hg-lightbox {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.92);
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hg-lb-img-wrap {
	max-width: 92vw;
	max-height: 88vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hg-lb-img {
	max-width: 92vw;
	max-height: 88vh;
	object-fit: contain;
	display: block;
	box-shadow: 0 8px 48px rgba(0, 0, 0, 0.6);
	user-select: none;
}

.hg-lb-close {
	position: fixed;
	top: 14px;
	right: 18px;
	background: none;
	border: none;
	color: #fff;
	font-size: 44px;
	line-height: 1;
	cursor: pointer;
	z-index: 100001;
	padding: 4px 10px;
	opacity: 0.75;
	transition: opacity 0.2s;
}

.hg-lb-close:hover { opacity: 1; }

.hg-lb-prev,
.hg-lb-next {
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.10);
	border: none;
	color: #fff;
	font-size: 52px;
	line-height: 1;
	width: 54px;
	height: 88px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 100001;
	padding: 0;
	transition: background 0.2s;
}

.hg-lb-prev:hover,
.hg-lb-next:hover {
	background: rgba(255, 255, 255, 0.25);
}

.hg-lb-prev { left: 0;  border-radius: 0 4px 4px 0; }
.hg-lb-next { right: 0; border-radius: 4px 0 0 4px; }

.hg-lb-counter {
	position: fixed;
	bottom: 18px;
	left: 50%;
	transform: translateX(-50%);
	color: rgba(255, 255, 255, 0.65);
	font-family: 'Roboto', sans-serif;
	font-size: 13px;
	letter-spacing: 0.5px;
	z-index: 100001;
	pointer-events: none;
}

/* ── Responsive ─────────────────────────────────────────────── */

@media (max-width: 900px) {
	.hg-gallery-grid {
		grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
	}
}

@media (max-width: 767px) {
	.hg-gallery-grid   { display: none; }
	.vd-gallery-slider { display: block; }
}
