/**
 * Worgoo Google Reviews - Frontend Carousel
 *
 * Worgoo Web Tasarım Ajansı tarafından geliştirilmiştir.
 * https://www.worgoo.com
 */

.wrg-gmb-carousel {
	position: relative;
	max-width: 1200px;
	margin: 32px auto;
	padding: 0 48px;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

/* ===== HEADER ===== */
.wrg-gmb-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 20px;
}

.wrg-gmb-google-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 6px;
}

.wrg-gmb-aggregate {
	display: flex;
	align-items: center;
	gap: 8px;
}

.wrg-gmb-stars-display {
	display: flex;
	align-items: center;
	gap: 1px;
}

.wrg-gmb-aggregate-text {
	font-size: 14px;
	font-weight: 600;
}

.wrg-gmb-review-count {
	font-weight: 400;
	opacity: 0.6;
}

/* ===== TRACK ===== */
.wrg-gmb-track-wrapper {
	overflow: hidden;
	border-radius: 12px;
}

.wrg-gmb-track {
	display: flex;
	gap: 16px;
	transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
	will-change: transform;
}

/* ===== CARD ===== */
.wrg-gmb-card {
	flex: 0 0 calc(33.333% - 11px);
	min-width: 0;
	border-radius: 12px;
	padding: 24px;
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.2s, transform 0.2s;
}

.wrg-gmb-card:hover {
	transform: translateY(-2px);
}

.wrg-gmb-card-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	margin-bottom: 14px;
}

.wrg-gmb-card-author-info {
	display: flex;
	align-items: center;
	gap: 10px;
}

.wrg-gmb-author-avatar {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}

.wrg-gmb-avatar-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
}

.wrg-gmb-author-meta {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.wrg-gmb-author-name {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
}

.wrg-gmb-relative-time {
	font-size: 11px;
	opacity: 0.5;
	font-weight: 500;
}

.wrg-gmb-card-stars {
	display: flex;
	align-items: center;
	gap: 1px;
	flex-shrink: 0;
}

.wrg-gmb-card-body {
	flex: 1;
	margin-bottom: 14px;
}

.wrg-gmb-review-text {
	font-size: 14px;
	line-height: 1.6;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Read More */
.wrg-gmb-read-more {
	background: none !important;
	border: none !important;
	border-bottom: 1px solid currentColor !important;
	box-shadow: none !important;
	outline: none !important;
	padding: 0 0 2px 0 !important;
	margin-top: 14px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	display: inline-block;
	line-height: 1.4;
	letter-spacing: 0;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

.wrg-gmb-read-more:hover {
	text-decoration: underline;
	opacity: 0.75;
}

.wrg-gmb-read-more:focus {
	outline: none !important;
	box-shadow: none !important;
}

.wrg-gmb-card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 12px;
	font-size: 12px;
}

.wrg-gmb-date {
	opacity: 0.5;
	font-weight: 500;
}

.wrg-gmb-source {
	font-weight: 700;
	text-decoration: none;
	transition: opacity 0.2s;
	display: inline-flex;
	align-items: center;
}

.wrg-gmb-source:hover {
	opacity: 0.7;
}

/* ===== NAVIGATION ===== */
.wrg-gmb-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s;
	z-index: 10;
	padding: 0;
}

.wrg-gmb-nav:hover {
	transform: translateY(-50%) scale(1.1);
}

.wrg-gmb-nav:disabled {
	opacity: 0.3;
	cursor: not-allowed;
	transform: translateY(-50%) scale(1);
}

.wrg-gmb-nav-prev {
	left: 0;
}

.wrg-gmb-nav-next {
	right: 0;
}

/* ===== DOTS ===== */
.wrg-gmb-carousel .wrg-gmb-dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 20px;
	padding: 0;
	list-style: none;
}

.wrg-gmb-carousel .wrg-gmb-dots .wrg-gmb-dot {
	width: 10px !important;
	height: 10px !important;
	min-width: 10px !important;
	min-height: 10px !important;
	max-width: 10px !important;
	max-height: 10px !important;
	border-radius: 50% !important;
	border: 0 !important;
	cursor: pointer;
	transition: background 0.3s, transform 0.3s;
	padding: 0 !important;
	margin: 0 !important;
	display: inline-block !important;
	box-shadow: none !important;
	outline: none !important;
	line-height: 0 !important;
	font-size: 0 !important;
	vertical-align: middle;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	float: none !important;
}

.wrg-gmb-carousel .wrg-gmb-dots .wrg-gmb-dot:hover {
	transform: scale(1.3);
}

/* ===== LIGHT THEME ===== */
.wrg-gmb-theme-light {
	color: #1e293b;
}

.wrg-gmb-theme-light .wrg-gmb-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.wrg-gmb-theme-light .wrg-gmb-card:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.wrg-gmb-theme-light .wrg-gmb-star-full,
.wrg-gmb-theme-light .wrg-gmb-star-half {
	color: #f59e0b;
}

.wrg-gmb-theme-light .wrg-gmb-star-empty {
	color: #d1d5db;
}

.wrg-gmb-theme-light .wrg-gmb-avatar-placeholder {
	background: #e8f0fe;
	color: #1a73e8;
}

.wrg-gmb-theme-light .wrg-gmb-review-text {
	color: #475569;
}

.wrg-gmb-theme-light .wrg-gmb-read-more {
	color: #1a73e8 !important;
}

.wrg-gmb-theme-light .wrg-gmb-card-footer {
	border-top: 1px solid #f1f5f9;
}

.wrg-gmb-theme-light .wrg-gmb-source {
	color: #1a73e8;
}

.wrg-gmb-theme-light .wrg-gmb-nav {
	background: #ffffff;
	color: #334155;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.wrg-gmb-theme-light .wrg-gmb-nav:hover {
	background: #f8fafc;
}

.wrg-gmb-carousel.wrg-gmb-theme-light .wrg-gmb-dots .wrg-gmb-dot {
	background: #cbd5e1 !important;
}

.wrg-gmb-carousel.wrg-gmb-theme-light .wrg-gmb-dots .wrg-gmb-dot-active {
	background: #1a73e8 !important;
}

/* ===== DARK THEME ===== */
.wrg-gmb-theme-dark {
	color: #f1f5f9;
}

.wrg-gmb-theme-dark .wrg-gmb-card {
	background: #1e293b;
	border: 1px solid #334155;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.wrg-gmb-theme-dark .wrg-gmb-card:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
	border-color: #475569;
}

.wrg-gmb-theme-dark .wrg-gmb-star-full,
.wrg-gmb-theme-dark .wrg-gmb-star-half {
	color: #fbbf24;
}

.wrg-gmb-theme-dark .wrg-gmb-star-empty {
	color: #475569;
}

.wrg-gmb-theme-dark .wrg-gmb-avatar-placeholder {
	background: rgba(26, 115, 232, 0.2);
	color: #8ab4f8;
}

.wrg-gmb-theme-dark .wrg-gmb-review-text {
	color: #94a3b8;
}

.wrg-gmb-theme-dark .wrg-gmb-read-more {
	color: #8ab4f8 !important;
}

.wrg-gmb-theme-dark .wrg-gmb-card-footer {
	border-top: 1px solid #334155;
}

.wrg-gmb-theme-dark .wrg-gmb-source {
	color: #8ab4f8;
}

.wrg-gmb-theme-dark .wrg-gmb-nav {
	background: #1e293b;
	color: #e2e8f0;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
	border: 1px solid #334155;
}

.wrg-gmb-theme-dark .wrg-gmb-nav:hover {
	background: #334155;
}

.wrg-gmb-carousel.wrg-gmb-theme-dark .wrg-gmb-dots .wrg-gmb-dot {
	background: #475569 !important;
}

.wrg-gmb-carousel.wrg-gmb-theme-dark .wrg-gmb-dots .wrg-gmb-dot-active {
	background: #8ab4f8 !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
	.wrg-gmb-card {
		flex: 0 0 calc(50% - 8px);
	}
}

@media (max-width: 640px) {
	.wrg-gmb-carousel {
		padding: 0 36px;
	}

	.wrg-gmb-card {
		flex: 0 0 100%;
		padding: 20px;
	}

	.wrg-gmb-review-text {
		-webkit-line-clamp: 5;
		line-clamp: 5;
	}

	.wrg-gmb-nav {
		width: 32px;
		height: 32px;
	}

	.wrg-gmb-nav svg {
		width: 16px;
		height: 16px;
	}
}
