/*
 * Header ve footer — fonksiyoneltip.com (Elementor) ölçüleriyle birebir.
 * Ölçüler 2026-10-19'da ana sitede 1440px ve 375px genişlikte ölçüldü.
 */

/* ---------- Ortak buton (BİZE ULAŞIN / İLETİŞİM) ---------- */
.fta-btn {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 12px 25px;
	background: #C2FC85;
	color: #000;
	border: 1px solid #1C4040;
	border-radius: 0;
	font-family: "Big Shoulders Text", sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .3s, color .3s;
}
.fta-btn:hover,
.fta-btn:focus-visible {
	background: #1C4040;
	color: #C2FC85;
}
.fta-btn svg { width: 1em; height: 1em; fill: currentColor; }

/* ---------- Header ---------- */
.fta-hdr {
	display: flex;
	align-items: center;
	gap: 7px;
	min-height: 89px;
	padding: 0 30px;
	background: #fff;
	position: relative;
	z-index: 50;
	margin-block-start: 0 !important;
}
.fta-hdr > * { margin-block-start: 0 !important; margin-block-end: 0; }
.fta-hdr__logo { display: block; flex: 0 0 auto; line-height: 0; }
.fta-hdr__logo img { width: 273px; height: auto; display: block; }

.fta-nav { flex: 1 1 auto; margin-left: 14px; }
.fta-nav__list {
	display: flex;
	align-items: center;
	gap: 30px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.fta-nav__list > li { position: relative; flex: 0 0 auto; white-space: nowrap; }
.fta-nav__list > li > a {
	position: relative;
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 7px 0;
	color: #000;
	font-family: "Big Shoulders Text", sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2em;
	letter-spacing: 1px;
	text-transform: uppercase;
	text-decoration: none;
}
/* Elementor "underline" işaretçisi: 3px lime. */
.fta-nav__list > li > a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 3px;
	background: #C2FC85;
	opacity: 0;
	transition: opacity .3s;
}
.fta-nav__list > li:hover > a::after,
.fta-nav__list > li > a:focus-visible::after,
.fta-nav__list > li > a[aria-current="page"]::after { opacity: 1; }
.fta-nav__caret { position: absolute; right: -13px; top: 50%; width: 8px; height: 8px; margin-top: -4px; fill: currentColor; }

.fta-nav__sub {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 290px;
	margin: 0;
	padding: 0;
	list-style: none;
	background: #F9F7F5;
	border-radius: 20px;
	box-shadow: 0 8px 10px rgba(0, 0, 0, .15);
	overflow: hidden;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .2s, transform .2s, visibility .2s;
}
.fta-nav__has-sub:hover > .fta-nav__sub,
.fta-nav__has-sub:focus-within > .fta-nav__sub,
.fta-nav__has-sub.is-open > .fta-nav__sub {
	opacity: 1;
	visibility: visible;
	transform: none;
}
.fta-nav__sub a {
	display: block;
	padding: 10px 20px;
	color: #000;
	font-family: "Big Shoulders Text", sans-serif;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2em;
	text-transform: uppercase;
	text-decoration: none;
}
.fta-nav__sub a:hover,
.fta-nav__sub a:focus-visible { background: #C2FC85; }

.fta-hdr__actions {
	display: flex;
	align-items: center;
	gap: 5px;
	flex: 0 0 auto;
}
.fta-hdr__contact { margin-right: 5px; }
.fta-social {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	border-radius: 10%;
	color: #fff;
	transition: opacity .3s;
}
.fta-social:hover { opacity: .9; }
.fta-social svg { width: 25px; height: 25px; fill: currentColor; }
.fta-social--instagram { background: #262626; }
.fta-social--youtube { background: #CD201F; }

/* Mini sepet: sosyal ikonlarla aynı ölçü. */
.fta-hdr .fta-hdr__cart { flex: 0 0 auto; margin-left: 5px; }
.fta-hdr .fta-hdr__cart .wc-block-mini-cart__button {
	width: 50px;
	height: 50px;
	padding: 0;
	justify-content: center;
	border: 1px solid #1C4040;
	border-radius: 10%;
	background: #F9F7F5;
	color: #1C4040;
}
.fta-hdr .fta-hdr__cart .wc-block-mini-cart__badge {
	background: #C2FC85;
	color: #000;
	border-color: #1C4040;
}

.fta-hdr__toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 41px;
	height: 41px;
	padding: 0;
	background: #C2FC85;
	color: #1C4040;
	border: 1px solid #1C4040;
	border-radius: 0;
	cursor: pointer;
}
.fta-hdr__toggle svg { width: 20px; height: 20px; fill: currentColor; }
.fta-hdr__toggle .fta-ico-close { display: none; }
.fta-hdr.is-menu-open .fta-hdr__toggle .fta-ico-open { display: none; }
.fta-hdr.is-menu-open .fta-hdr__toggle .fta-ico-close { display: block; }

/* Elementor tablet kırılımı (1024px): menü hamburgere geçer. */
@media (max-width: 1024px) {
	/* Ana sitedeki mobil header: logo sol üstte, buton sağ üstte, hamburger altında. */
	.fta-hdr {
		display: block;
		min-height: 106px;
		padding: 0;
	}
	.fta-hdr__logo { position: absolute; top: 18px; left: 37px; }
	.fta-hdr__logo img { width: 140px; }
	.fta-hdr__actions { display: contents; }
	.fta-hdr__contact { position: absolute; top: 10px; right: 36px; margin: 0; }
	.fta-social { display: none; }
	.fta-hdr .fta-hdr__cart { position: absolute; top: 55px; right: 69px; margin: 0; }
	.fta-hdr .fta-hdr__cart .wc-block-mini-cart__button { width: 41px; height: 41px; border-radius: 0; }
	.fta-hdr__toggle { display: inline-flex; position: absolute; top: 55px; right: 20px; }

	.fta-nav {
		margin-left: 0;
		display: none;
		position: absolute;
		top: 100%;
		left: 10px;
		right: 10px;
		background: #fff;
		box-shadow: 0 8px 10px rgba(0, 0, 0, .15);
		border-radius: 20px;
		padding: 10px;
	}
	.fta-hdr.is-menu-open .fta-nav { display: block; }
	.fta-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.fta-nav__list > li > a { padding: 12px 20px; border-radius: 20px; }
	.fta-nav__list > li > a::after { display: none; }
	.fta-nav__caret { position: static; margin: 0 0 0 4px; }
	.fta-nav__list > li > a:hover { background: #C2FC85; }
	.fta-nav__sub {
		position: static;
		min-width: 0;
		box-shadow: none;
		display: none;
		opacity: 1;
		visibility: visible;
		transform: none;
		margin: 0 10px 10px;
	}
	.fta-nav__has-sub:hover > .fta-nav__sub { display: none; }
	.fta-nav__has-sub.is-open > .fta-nav__sub { display: block; }
}

/* ---------- "Bize hızlı ulaşın" açılır penceresi (Elementor popup 991636) ---------- */
.fta-popup[hidden] { display: none; }
.fta-popup { position: fixed; inset: 0; z-index: 100000; }
.fta-popup__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, .5); }
.fta-popup__panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(400px, 100%);
	background: #C2FC85;
	padding: 40px 20px;
	display: flex;
	align-items: center;
	animation: fta-kay .35s ease-out;
}
@keyframes fta-kay { from { transform: translateX(100%); } to { transform: none; } }
.fta-popup__close {
	position: absolute;
	top: 6px;
	left: 10px;
	background: none;
	border: 0;
	font-size: 28px;
	line-height: 1;
	color: #000;
	cursor: pointer;
}
.fta-popup__card {
	width: 100%;
	background: #fff;
	border-radius: 20px;
	padding: 30px 25px;
	text-align: center;
}
.fta-popup__title {
	margin: 0 0 20px;
	color: #1C4040;
	font-family: "Big Shoulders Text", sans-serif;
	font-size: 22px;
	font-weight: 600;
	text-transform: uppercase;
}
.fta-popup__wa { width: 120px; height: 120px; fill: #25D366; margin: 0 auto 25px; display: block; }
.fta-popup__link {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 12px;
	color: #000;
	text-align: left;
	font-family: "Big Shoulders Text", sans-serif;
	font-size: 16px;
	font-weight: 600;
	text-transform: uppercase;
	text-decoration: none;
}
.fta-popup__arrow {
	flex: 0 0 30px;
	height: 30px;
	border-radius: 50%;
	background: #C2FC85;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* ---------- Footer ---------- */
.fta-ftr {
	background: #F9F7F5;
	padding: 0 30px;
	margin-block-start: 0 !important;
}
.fta-ftr__inner { padding-top: 168px; }
.fta-ftr__cols {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 328px)) minmax(0, 177px);
	gap: 30px;
}
.fta-ftr__title {
	margin: 0 0 12px;
	color: #000;
	font-family: Inter, sans-serif;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.4em;
	text-transform: none;
	letter-spacing: 0;
}
.fta-ftr__text {
	margin: 0;
	color: rgba(0, 0, 0, .69);
	font-family: Inter, sans-serif;
	font-size: 17px;
	line-height: 1.5em;
}
.fta-ftr__text a { color: rgba(0, 0, 0, .69); text-decoration: none; }
.fta-ftr__list { list-style: none; margin: 0; padding: 0; }
.fta-ftr__list a {
	display: block;
	padding: 8px 0;
	color: rgba(0, 0, 0, .69);
	font-family: Inter, sans-serif;
	font-size: 14px;
	line-height: 1.4em;
	text-decoration: none;
}
.fta-ftr a:hover { color: #1C4040; }

.fta-ftr__bottom {
	display: flex;
	align-items: center;
	gap: 28px;
	padding: 35px 0;
	margin-top: 30px;
	border-top: 1px solid rgba(0, 0, 0, .1);
}
.fta-ftr__legal { flex: 0 1 887px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 25px; }
.fta-ftr__legal a {
	color: rgba(0, 0, 0, .69);
	font-family: Inter, sans-serif;
	font-size: 13px;
	line-height: 1.2em;
	text-decoration: none;
}
.fta-ftr__right { flex: 1 1 auto; display: flex; align-items: center; gap: 6px; }
.fta-ftr__social {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 35px;
	height: 35px;
	border-radius: 16px;
	color: #1C4040;
}
.fta-ftr__social svg { width: 16px; height: 16px; fill: currentColor; }
.fta-ftr__right .fta-btn { margin-left: auto; }

@media (max-width: 1024px) {
	.fta-ftr__inner { padding-top: 60px; }
	.fta-ftr__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fta-ftr__col--bos { display: none; }
	.fta-ftr__bottom { flex-direction: column; align-items: flex-start; }
	.fta-ftr__legal { flex-basis: auto; }
	.fta-ftr__right { width: 100%; }
}
@media (max-width: 767px) {
	.fta-ftr { padding: 0 20px; }
	.fta-ftr__inner { padding-top: 50px; }
	.fta-ftr__cols { grid-template-columns: 1fr; }
}
