/**
 * Mobil butonlar — alt iletişim çubuğu + menü (cati-ustasi yapısı, mavi/metal tema)
 */

.akyuz-mobile-bar {
	display: none;
}

@media only screen and (max-width: 980px) {
	body.akyuz-brand {
		padding-bottom: 62px;
	}

	/* ─── Alt sabit iletişim çubuğu ───────────────────────────── */
	.akyuz-mobile-bar {
		display: flex;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 99998;
		height: 56px;
		box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.22);
	}

	.akyuz-mobile-bar__btn {
		flex: 1 1 50%;
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		font-size: 15px;
		font-weight: 600;
		letter-spacing: 0.04em;
		text-decoration: none;
		color: #ffffff !important;
		transition: background-color 0.2s ease, filter 0.2s ease;
		-webkit-tap-highlight-color: transparent;
	}

	.akyuz-mobile-bar__btn i {
		font-size: 20px;
		line-height: 1;
	}

	.akyuz-mobile-bar__btn--whatsapp {
		background: linear-gradient(135deg, #3d4550 0%, #4b5563 55%, #6b7280 100%);
		border-right: 1px solid rgba(255, 255, 255, 0.1);
		color: #7ec87e !important;
	}

	.akyuz-mobile-bar__btn--whatsapp span,
	.akyuz-mobile-bar__btn--whatsapp i {
		color: #7ec87e !important;
		opacity: 0.95;
	}

	.akyuz-mobile-bar__btn--whatsapp:active,
	.akyuz-mobile-bar__btn--whatsapp:hover {
		background: linear-gradient(135deg, #25d366 0%, #1ebe57 100%);
	}

	.akyuz-mobile-bar__btn--whatsapp:active span,
	.akyuz-mobile-bar__btn--whatsapp:active i,
	.akyuz-mobile-bar__btn--whatsapp:hover span,
	.akyuz-mobile-bar__btn--whatsapp:hover i {
		color: #ffffff !important;
	}

	.akyuz-mobile-bar__btn--phone {
		position: relative;
		background: linear-gradient(135deg, #1a1f26 0%, #0d1014 100%);
		overflow: hidden;
		animation: akyuz-phone-bar-pulse 2.2s ease-in-out infinite;
	}

	.akyuz-mobile-bar__btn--phone::before {
		content: "";
		position: absolute;
		inset: 0;
		background: linear-gradient(
			105deg,
			transparent 0%,
			rgba(0, 86, 200, 0.4) 45%,
			rgba(255, 255, 255, 0.22) 50%,
			rgba(0, 86, 200, 0.4) 55%,
			transparent 100%
		);
		background-size: 200% 100%;
		animation: akyuz-phone-shine 2.5s linear infinite;
		pointer-events: none;
	}

	.akyuz-mobile-bar__btn--phone span {
		position: relative;
		z-index: 1;
		font-weight: 800;
		letter-spacing: 0.06em;
		text-transform: uppercase;
		color: #ffffff;
		text-shadow:
			0 0 6px rgba(255, 255, 255, 0.9),
			0 0 12px #0056c8,
			0 0 22px rgba(0, 86, 200, 0.85);
		animation: akyuz-phone-text-glow 1.4s ease-in-out infinite alternate;
	}

	.akyuz-mobile-bar__btn--phone i {
		position: relative;
		z-index: 1;
		color: #ffffff;
		filter: drop-shadow(0 0 4px #0056c8) drop-shadow(0 0 8px rgba(255, 255, 255, 0.6));
		animation: akyuz-phone-icon-bounce 1.4s ease-in-out infinite;
	}

	.akyuz-mobile-bar__btn--phone:active,
	.akyuz-mobile-bar__btn--phone:hover {
		background: linear-gradient(135deg, #0056c8 0%, #003a8c 100%);
	}

	.akyuz-mobile-bar__btn--phone:active span,
	.akyuz-mobile-bar__btn--phone:hover span {
		color: #ffffff !important;
		text-shadow:
			0 0 8px #ffffff,
			0 0 16px #ffffff,
			0 0 24px #7eb8ff;
	}

	@keyframes akyuz-phone-bar-pulse {
		0%, 100% { box-shadow: inset 0 0 0 2px rgba(0, 86, 200, 0.5); }
		50% { box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.45), 0 0 18px rgba(0, 86, 200, 0.5); }
	}

	@keyframes akyuz-phone-shine {
		0% { background-position: 200% 0; }
		100% { background-position: -200% 0; }
	}

	@keyframes akyuz-phone-text-glow {
		0% {
			text-shadow:
				0 0 6px rgba(255, 255, 255, 0.8),
				0 0 14px #0056c8,
				0 0 20px rgba(0, 86, 200, 0.7);
		}
		100% {
			text-shadow:
				0 0 10px #ffffff,
				0 0 18px #7eb8ff,
				0 0 28px #0056c8,
				0 0 36px rgba(0, 86, 200, 0.6);
		}
	}

	@keyframes akyuz-phone-icon-bounce {
		0%, 100% { transform: scale(1); }
		50% { transform: scale(1.12); }
	}

	/* Yukarı çık — alt bar ile çakışmasın */
	body.akyuz-brand .go-to-top {
		bottom: 72px !important;
	}

	/* ─── Site menüsü toggle (cati-ustasi gibi) ─────────────── */
	body.akyuz-brand #site-navigation {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: center;
		padding: 2px 0;
	}

	body.akyuz-brand .akyuz-menu-toggle-inner {
		display: inline-flex !important;
		align-items: center;
		gap: 10px;
	}

	body.akyuz-brand .akyuz-menu-toggle-icon {
		position: relative;
		display: inline-block;
		width: 30px;
		height: 22px;
		flex-shrink: 0;
	}

	body.akyuz-brand .akyuz-menu-label {
		display: inline-block !important;
		color: #ffffff;
		font-size: 14px;
		font-weight: 700;
		letter-spacing: 0.08em;
		text-transform: uppercase;
		line-height: 1;
		user-select: none;
		white-space: nowrap;
	}

	body.akyuz-brand #sticky-header .menu-toggle {
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		width: auto !important;
		min-height: 48px;
		padding: 12px 18px !important;
		margin: 6px auto;
		border: 2px solid rgba(0, 86, 200, 0.55) !important;
		border-radius: 4px;
		background: linear-gradient(145deg, #3d4550, #1a1f26) !important;
		box-shadow:
			inset 0 1px 0 rgba(255, 255, 255, 0.1),
			0 4px 14px rgba(0, 0, 0, 0.35);
		cursor: pointer;
		transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
	}

	body.akyuz-brand #sticky-header .menu-toggle:active,
	body.akyuz-brand #sticky-header .menu-toggle:hover {
		border-color: #7eb8ff !important;
		box-shadow:
			0 0 16px rgba(0, 86, 200, 0.45),
			inset 0 1px 0 rgba(255, 255, 255, 0.15);
		transform: translateY(-1px);
	}

	body.akyuz-brand #sticky-header .line-bar,
	body.akyuz-brand #sticky-header .line-bar::before,
	body.akyuz-brand #sticky-header .line-bar::after {
		background-color: #e8eaed !important;
	}

	/* Yan menü + arama — logo satırı mobil */
	body.akyuz-brand .akyuz-logo-deck .show-menu-toggle {
		display: inline-flex !important;
		align-items: center;
		gap: 6px;
		padding: 8px 12px;
		border: 2px solid #003a8c;
		border-radius: 4px;
		background: linear-gradient(145deg, #5c6570, #2c3238);
		box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
	}

	body.akyuz-brand .akyuz-logo-deck .show-menu-toggle .sn-text {
		color: #e8eaed;
		font-size: 11px;
		font-weight: 700;
		letter-spacing: 0.06em;
		text-transform: uppercase;
	}

	body.akyuz-brand .akyuz-logo-deck .show-menu-toggle .bars,
	body.akyuz-brand .akyuz-logo-deck .show-menu-toggle .bars::before,
	body.akyuz-brand .akyuz-logo-deck .show-menu-toggle .bars::after {
		background: #e8eaed !important;
	}

	body.akyuz-brand .akyuz-logo-deck #search-toggle,
	body.akyuz-brand .akyuz-logo-deck .header-search {
		width: 42px !important;
		height: 42px !important;
	}

	body.akyuz-brand #primary {
		padding: 20px 16px 28px !important;
	}
}

@media only screen and (max-width: 380px) {
	.akyuz-mobile-bar__btn {
		font-size: 14px;
		gap: 6px;
	}

	.akyuz-mobile-bar__btn i {
		font-size: 18px;
	}

	body.akyuz-brand .akyuz-menu-label {
		font-size: 12px;
	}

	body.akyuz-brand #sticky-header .menu-toggle {
		padding: 10px 14px !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.akyuz-mobile-bar__btn--phone,
	.akyuz-mobile-bar__btn--phone::before,
	.akyuz-mobile-bar__btn--phone span,
	.akyuz-mobile-bar__btn--phone i {
		animation: none !important;
	}
}
