/* Oliver Sticky Contact
   Sol alt sabit iletisim butonlari. */

.oliver-sc {
	position: fixed;
	left: 18px;
	bottom: 18px;
	z-index: 9990;
	display: flex;
	flex-direction: column;
	gap: 9px;
}

.oliver-sc__item {
	position: relative;
	display: block;
	width: 42px;
	height: 42px;
	line-height: 0;
	text-decoration: none;
	border: 0;
	box-shadow: none;
	opacity: 0;
	transform: translateY(8px);
	animation: oliver-sc-in .35s ease forwards;
	animation-delay: var(--oliver-sc-delay, 0ms);
}

.oliver-sc__item:hover,
.oliver-sc__item:focus {
	text-decoration: none;
	box-shadow: none;
}

.oliver-sc__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	color: #fff;
	background: #2c2c2c;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .16);
	transition: transform .2s ease, box-shadow .2s ease;
}

.oliver-sc__svg {
	width: 19px;
	height: 19px;
	fill: currentColor;
	display: block;
}

.oliver-sc__item:hover .oliver-sc__btn,
.oliver-sc__item:focus-visible .oliver-sc__btn {
	transform: translateY(-2px);
	box-shadow: 0 5px 14px rgba(0, 0, 0, .24);
}

.oliver-sc__item:focus-visible {
	outline: none;
}

.oliver-sc__item:focus-visible .oliver-sc__btn {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

/* Hover etiketi */
.oliver-sc__label {
	position: absolute;
	left: 100%;
	top: 50%;
	margin-left: 10px;
	padding: 7px 11px;
	border-radius: 4px;
	background: #1b1b1b;
	color: #fff;
	font-family: inherit;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: .2px;
	white-space: nowrap;
	pointer-events: none;
	opacity: 0;
	visibility: hidden;
	transform: translate(-6px, -50%);
	transition: opacity .18s ease, transform .18s ease, visibility .18s;
}

.oliver-sc__label::before {
	content: "";
	position: absolute;
	right: 100%;
	top: 50%;
	margin-top: -4px;
	border: 4px solid transparent;
	border-right-color: #1b1b1b;
}

.oliver-sc__item:hover .oliver-sc__label,
.oliver-sc__item:focus-visible .oliver-sc__label {
	opacity: 1;
	visibility: visible;
	transform: translate(0, -50%);
}

/* Kanal renkleri */
.oliver-sc__item--whatsapp .oliver-sc__btn {
	background: #25d366;
}

.oliver-sc__item--phone .oliver-sc__btn {
	background: #2f3640;
}

.oliver-sc__item--instagram .oliver-sc__btn {
	background: radial-gradient(circle at 28% 105%, #fdd376 0%, #f7683c 42%, #d31c8c 62%, #6b31c6 92%);
}

.oliver-sc__item--facebook .oliver-sc__btn {
	background: #1877f2;
}

.oliver-sc__item--maps .oliver-sc__btn {
	background: #e0483c;
}

/* Giris animasyonu */
@keyframes oliver-sc-in {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Mobil */
@media (max-width: 767px) {

	.oliver-sc {
		left: 12px;
		bottom: 12px;
		gap: 8px;
	}

	.oliver-sc__item,
	.oliver-sc__btn {
		width: 38px;
		height: 38px;
	}

	.oliver-sc__svg {
		width: 17px;
		height: 17px;
	}

	.oliver-sc__label {
		display: none;
	}
}

/* Cok kisa ekranlarda daha da toparla */
@media (max-height: 520px) {

	.oliver-sc {
		gap: 6px;
	}

	.oliver-sc__item,
	.oliver-sc__btn {
		width: 34px;
		height: 34px;
	}

	.oliver-sc__svg {
		width: 15px;
		height: 15px;
	}
}

@media (prefers-reduced-motion: reduce) {

	.oliver-sc__item {
		opacity: 1;
		transform: none;
		animation: none;
	}

	.oliver-sc__btn,
	.oliver-sc__label {
		transition: none;
	}
}

@media print {

	.oliver-sc {
		display: none;
	}
}
