/**
 * Reviews Location Carousel Styles
 * Matches mockup design with dark theme and translucent cards
 */

.hg-reviews-location-section {
	background: #1E293BA3 url('../images/review-bg.jpg') center center;
	background-size: cover;
	padding: 80px 0;
	position: relative;
	overflow: hidden;
}

/* Header Section */
.hg-reviews-header {
	text-align: center;
	margin-bottom: 60px;
}

.hg-reviews-title {
	color: #ffffff;
	font-size: 2.625rem;
	font-weight: 700;
	margin: 0 0 20px 0;
	letter-spacing: 0.5px;
	font-family: 'Inter', sans-serif;
}

.hg-reviews-summary {
	margin-bottom: 20px;
}

.hg-reviews-rating-text {
	color: #ffffff;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.5;
}

.hg-reviews-overall-stars {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
}

.hg-star-overall {
	width: 32px;
	height: 32px;
	filter: drop-shadow(0 2px 4px rgba(255, 192, 37, 0.3));
}

/* Carousel Wrapper */
.hg-reviews-carousel-wrapper {
	position: relative;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 60px;
}

/* Swiper Container */
.hg-reviews-swiper {
	overflow: visible;
	padding: 20px 0;
}

.hg-reviews-swiper .swiper-wrapper {
	align-items: stretch;
}

.hg-reviews-swiper .swiper-slide {
	height: auto;
	display: flex;
}

/* Set fixed width for slides on desktop for 'auto' mode */
@media (min-width: 992px) {
	.hg-reviews-swiper .swiper-slide {
		width: 400px;
		max-width: 400px;
	}
}

@media (min-width: 1200px) {
	.hg-reviews-swiper .swiper-slide {
		width: 450px;
		max-width: 450px;
	}
}

/* Review Cards */
.hg-review-card {
	background: #FFFBF533;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-radius: 16px;
	padding: 30px;
	height: 100%;
	width: 100%;
	display: flex;
	flex-direction: column;
	transition: all 0.3s ease;
	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
	box-sizing: border-box;
}

.hg-review-card:hover {
	background: rgba(70, 70, 70, 0.75);
	transform: translateY(-5px);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.hg-review-card-inner {
	display: flex;
	flex-direction: column;
	gap: 12px;
	height: 100%;
}

/* Review Header - Name and Rating on same row */
.hg-review-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 16px;
	gap: 16px;
}

.hg-review-meta {
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex: 1;
}

.hg-review-label {
	color: #ffffff;
	font-size: 14px;
	font-weight: 400;
	display: block;
}

.hg-review-name {
	color: #ffffff;
	font-size: 14px;
	font-weight: 400;
	display: block;
}

/* Review Rating */
.hg-review-rating {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 4px;
	flex: 0 0 auto;
}

.hg-review-rating-label {
	color: #ffffff;
	font-size: 14px;
	font-weight: 400;
	white-space: nowrap;
	width: 100%;
	text-align: left;
}

.hg-review-stars {
	display: flex;
	gap: 2px;
	align-items: center;
}

.hg-review-stars .hg-star {
	width: 18px;
	height: 18px;
}

/* Review Content */
.hg-review-headline {
	color: #ffffff;
	font-size: 18px;
	font-weight: 700;
	margin: 0;
	line-height: 1.4;
	text-align: center;
}

.hg-review-text {
	color: #e0e0e0;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.6;
	margin: 0;
	flex-grow: 1;
}

/* Navigation Buttons */
.hg-reviews-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	padding: 0;
}

.hg-reviews-nav:hover {
	background: rgba(255, 192, 37, 0.9);
	border-color: #FFC025;
	transform: translateY(-50%) scale(1.1);
}

.hg-reviews-nav:active {
	transform: translateY(-50%) scale(0.95);
}

.hg-reviews-nav.swiper-button-disabled {
	opacity: 0.3;
	cursor: not-allowed;
}

.hg-reviews-nav.swiper-button-disabled:hover {
	background: rgba(255, 255, 255, 0.15);
	border-color: rgba(255, 255, 255, 0.2);
	transform: translateY(-50%) scale(1);
}

.hg-reviews-nav-prev {
	left: 0;
}

.hg-reviews-nav-next {
	right: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
	.hg-reviews-carousel-wrapper {
		padding: 0 50px;
	}
}

@media (max-width: 992px) {
	.hg-reviews-title {
		font-size: 36px;
	}

	.hg-reviews-rating-text {
		font-size: 16px;
	}

	.hg-star-overall {
		width: 28px;
		height: 28px;
	}

	.hg-reviews-carousel-wrapper {
		padding: 0 40px;
	}

	.hg-reviews-nav {
		width: 45px;
		height: 45px;
	}
}

@media (max-width: 768px) {
	.hg-reviews-location-section {
		padding: 60px 0;
	}

	.hg-reviews-title {
		font-size: 28px;
	}

	.hg-reviews-rating-text {
		font-size: 14px;
	}

	.hg-star-overall {
		width: 24px;
		height: 24px;
		gap: 6px;
	}

	.hg-reviews-carousel-wrapper {
		padding: 0 35px;
	}

	.hg-review-card {
		padding: 24px;
	}

	.hg-reviews-nav {
		width: 40px;
		height: 40px;
	}

	.hg-reviews-nav svg {
		width: 20px;
		height: 20px;
	}
}

@media (max-width: 576px) {
	.hg-reviews-location-section {
		padding: 40px 0;
	}

	.hg-reviews-header {
		margin-bottom: 40px;
	}

	.hg-reviews-title {
		font-size: 24px;
		margin-bottom: 15px;
	}

	.hg-reviews-rating-text {
		font-size: 13px;
	}

	.hg-reviews-overall-stars {
		gap: 4px;
	}

	.hg-star-overall {
		width: 20px;
		height: 20px;
	}

	.hg-reviews-carousel-wrapper {
		padding: 0 30px;
	}

	.hg-review-card {
		padding: 20px;
	}

	.hg-review-headline {
		font-size: 16px;
	}

	.hg-review-text {
		font-size: 14px;
	}

	.hg-reviews-nav {
		width: 36px;
		height: 36px;
	}

	.hg-reviews-nav svg {
		width: 18px;
		height: 18px;
	}
}


