/*
Theme Name: Ekiz Fidancılık
Theme URI: https://ekizfidancilik.com
Description: Ekiz Fidancılık için Mesmerize child teması. Tasarım değişiklikleri burada yapılır; Mesmerize güncellemelerinden etkilenmez.
Author: Mobula
Template: mesmerize
Version: 1.0.20
Requires at least: 6.0
Requires PHP: 8.1
Text Domain: ekiz
*/

/* Mesmerize'ın kendi stili functions.php'de bu dosyadan önce yüklenir. */

:root {
	--ekiz-kirmizi: #d71f26;
	--ekiz-yesil: #3d9a35;
	--ekiz-yesil-koyu: #1b6b2a;
	--ekiz-yesil-acik: #8dc63f;
}

/* ---------- Footer (iletişim kutuları) ---------- */

/* Mesmerize'da turuncu (#FF9800) sabit; diğer footer kutularıyla aynı zemin */
.footer-contact-boxes .footer-content .footer-bg-accent {
	background-color: transparent;
}

/* Site simgesi (şeffaf): soldaki ikonlarla aynı hizada */
.ekiz-footer-ikon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 60px;
	margin: 0 auto 12px;
	transition: transform 0.2s ease;
}

/* Sosyal ikon eklenmemişse boş alanın boşluğu hizayı bozmasın */
.footer-contact-boxes .footer-bg-accent .footer-social-icons:not(:has(a)) {
	margin: 0;
}

.ekiz-footer-ikon:hover {
	transform: scale(1.06);
}

.ekiz-footer-ikon img {
	width: 72px;
	height: 72px;
	object-fit: contain;
}

.footer-contact-boxes .footer-bg-accent .copyright a {
	color: #fff;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.footer-contact-boxes .footer-bg-accent .copyright a:hover {
	color: var(--ekiz-yesil-acik);
}

/* ---------- Hakkımızda (.ekiz-hk bölümleri) ---------- */

.ekiz-hk {
	margin: 0 0 72px;
}

.ekiz-hk h2 {
	margin: 0 0 18px;
	font-size: 2rem;
	line-height: 1.25;
	color: var(--ekiz-yesil-koyu);
}

.ekiz-hk p {
	line-height: 1.75;
}

.ekiz-hk__ust {
	margin: 0 0 10px;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ekiz-kirmizi);
}

.ekiz-hk__kucuk {
	font-size: 0.95rem;
	margin-bottom: 10px;
}

/* İki sütun: metin + görsel */
.ekiz-hk__iki {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 56px;
	align-items: center;
}

.ekiz-hk__iki--ters > .ekiz-hk__metin {
	order: 2;
}

.ekiz-hk__iki--esit {
	grid-template-columns: 1fr 1fr;
	align-items: stretch;
	gap: 28px;
}

.ekiz-hk__iki::before,
.ekiz-hk__iki::after,
.ekiz-hk__galeri::before,
.ekiz-hk__galeri::after,
.ekiz-rakamlar::before,
.ekiz-rakamlar::after,
.ekiz-hk__gorsel--ikili::before,
.ekiz-hk__gorsel--ikili::after,
.ekiz-cipler::before,
.ekiz-cipler::after {
	display: none;
}

.ekiz-hk__gorsel {
	margin: 0;
	position: relative;
}

.ekiz-hk img.ekiz-hk__img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 12px;
	box-shadow: 0 14px 34px rgba(20, 60, 30, 0.16);
}

/* Giriş görseli: logodaki kırmızı çerçeve vurgusu */
.ekiz-hk--giris .ekiz-hk__gorsel::before {
	content: "";
	position: absolute;
	inset: 22px -22px -22px 22px;
	border: 8px solid var(--ekiz-kirmizi);
	border-radius: 14px;
	z-index: -1;
}

.ekiz-hk--giris .ekiz-hk__gorsel {
	z-index: 0;
	margin-right: 22px;
}

/* Büyük görsel + üstüne binen etiket */
.ekiz-hk__gorsel--ust-uste {
	padding-bottom: 60px;
}

.ekiz-hk__gorsel--ust-uste img.ekiz-hk__img--etiket {
	position: absolute;
	width: 52%;
	right: -16px;
	bottom: 0;
	border: 6px solid #fff;
	transform: rotate(3deg);
}

/* Yan yana iki görsel */
.ekiz-hk__gorsel--ikili {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.ekiz-hk__gorsel--ikili img.ekiz-hk__img {
	aspect-ratio: 4 / 3;
	object-fit: cover;
}


/* Rakamlar */
.ekiz-rakamlar {
	list-style: none;
	margin: 0;
	padding: 34px 24px;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 12px;
	border-radius: 14px;
	background: linear-gradient(135deg, var(--ekiz-yesil) 0%, var(--ekiz-yesil-koyu) 100%);
	color: #fff;
	text-align: center;
}

.ekiz-rakamlar li {
	margin: 0;
	padding: 6px 10px;
	border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.ekiz-rakamlar li:last-child {
	border-right: 0;
}

.ekiz-rakamlar strong {
	display: block;
	font-size: 2.3rem;
	line-height: 1.1;
	font-weight: 700;
	color: #fff;
}

.ekiz-rakamlar span {
	display: block;
	margin-top: 6px;
	font-size: 0.9rem;
	opacity: 0.9;
}

/* Tür çipleri */
.ekiz-cipler {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ekiz-cipler li {
	margin: 0;
}

.ekiz-cipler a,
.ekiz-cipler span {
	display: inline-block;
	padding: 6px 14px;
	border-radius: 999px;
	background: #eef6e9;
	color: var(--ekiz-yesil-koyu);
	font-weight: 600;
	font-size: 0.9rem;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.ekiz-cipler a::after {
	content: " \2192";
	opacity: 0.6;
}

.ekiz-cipler a:hover,
.ekiz-cipler a:focus-visible {
	background: var(--ekiz-yesil);
	color: #fff;
	text-decoration: none;
}

/* Ekiz in Vitro */
.ekiz-hk__baslik {
	max-width: 820px;
	margin: 0 auto 32px;
	text-align: center;
}

.ekiz-hk__galeri {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 16px;
}

.ekiz-hk__galeri img.ekiz-hk__img {
	height: 320px;
	object-fit: cover;
}

/* Kadro ve danışmanlık kutuları */
.ekiz-hk__kutu {
	padding: 36px;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 2px 14px rgba(20, 60, 30, 0.08);
}

.ekiz-kadro {
	list-style: none;
	margin: 18px 0 0;
	padding: 0;
}

.ekiz-kadro li {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0;
	padding: 12px 0;
	border-bottom: 1px solid #e3eee0;
	font-size: 1.05rem;
}

.ekiz-kadro li:last-child {
	border-bottom: 0;
}

.ekiz-kadro .fa {
	flex: 0 0 44px;
	height: 44px;
	line-height: 44px;
	border-radius: 50%;
	text-align: center;
	background: #eef6e9;
	color: var(--ekiz-yesil);
	font-size: 1.2rem;
}

.ekiz-kadro strong {
	font-size: 1.4rem;
	color: var(--ekiz-kirmizi);
}

.ekiz-adimlar {
	list-style: none;
	counter-reset: adim;
	margin: 18px 0 0;
	padding: 0;
}

.ekiz-adimlar li {
	position: relative;
	counter-increment: adim;
	margin: 0;
	padding: 0 0 18px 56px;
}

.ekiz-adimlar li::before {
	content: counter(adim);
	position: absolute;
	left: 0;
	top: 0;
	width: 38px;
	height: 38px;
	line-height: 38px;
	border-radius: 50%;
	text-align: center;
	font-weight: 700;
	color: #fff;
	background: var(--ekiz-yesil);
}

.ekiz-adimlar li:not(:last-child)::after {
	content: "";
	position: absolute;
	left: 18px;
	top: 42px;
	bottom: 4px;
	width: 2px;
	background: #d6e8cf;
}

.ekiz-adimlar strong {
	display: block;
	color: var(--ekiz-yesil-koyu);
}

.ekiz-adimlar span {
	display: block;
	font-size: 0.95rem;
	line-height: 1.6;
}

/* Çağrı bandı */
.ekiz-cagri {
	padding: 56px 32px;
	border-radius: 16px;
	text-align: center;
	color: #fff;
	background:
		radial-gradient(600px 300px at 15% 20%, rgba(141, 198, 63, 0.35), transparent 70%),
		linear-gradient(135deg, var(--ekiz-yesil) 0%, var(--ekiz-yesil-koyu) 100%);
}

.ekiz-hk.ekiz-cagri h2,
.ekiz-cagri p {
	color: #fff;
}

.ekiz-cagri p {
	max-width: 640px;
	margin: 0 auto 24px;
}

.ekiz-cagri__butonlar {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
	margin: 0 !important;
}

.ekiz-cagri .ekiz-buton {
	background: var(--ekiz-kirmizi);
	border-color: var(--ekiz-kirmizi);
	color: #fff;
}

@media (max-width: 900px) {
	.ekiz-hk__iki,
	.ekiz-hk__iki--esit {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.ekiz-hk__iki--ters > .ekiz-hk__metin {
		order: 0;
	}

	.ekiz-rakamlar {
		grid-template-columns: repeat(2, 1fr);
		row-gap: 24px;
	}

	.ekiz-rakamlar li {
		border-right: 0;
	}

	.ekiz-rakamlar li:last-child {
		grid-column: 1 / -1;
	}

	.ekiz-hk__galeri {
		grid-template-columns: 1fr;
	}

	.ekiz-hk__galeri img.ekiz-hk__img {
		height: 240px;
	}

	.ekiz-hk h2 {
		font-size: 1.6rem;
	}

	.ekiz-hk__kutu {
		padding: 24px;
	}
}

.ekiz-cagri p.ekiz-cagri__butonlar {
	max-width: none;
}

.ekiz-hk__iki--genis-gorsel {
	grid-template-columns: 0.85fr 1.15fr;
}

@media (max-width: 900px) {
	.ekiz-hk__iki--genis-gorsel {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 900px) {
	/* Etiket görseli mobilde ekran dışına taşmasın */
	.ekiz-hk__gorsel--ust-uste img.ekiz-hk__img--etiket {
		right: 8px;
		width: 48%;
	}

	.ekiz-hk--giris .ekiz-hk__gorsel {
		margin-right: 16px;
	}

	.ekiz-hk--giris .ekiz-hk__gorsel::before {
		inset: 16px -16px -16px 16px;
	}
}

/* İhracat görselleri: eşit boyut, aynı hiza */
.ekiz-hk__gorsel--ikili {
	align-items: stretch;
}

.ekiz-hk__gorsel--ikili img.ekiz-hk__img {
	height: 100%;
	box-shadow: 0 8px 22px rgba(20, 60, 30, 0.14);
}

/* Ana sayfa Bilgi Bankası kartları: fotoğraflar eşit oranda */
.features-16 img.face {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

/* ---------- Üst menü: logo sola yakın, sonda Ekiz in Vitro logosu ---------- */
.navigation-bar .navigation-wrapper:not(.gridContainer) {
	padding-left: 24px;
	padding-right: 24px;
}

#main_menu > li.ekiz-menu-invitro > a {
	padding-top: 0;
	padding-bottom: 0;
	border: 0;
}

#main_menu > li.ekiz-menu-invitro > a::before,
#main_menu > li.ekiz-menu-invitro > a::after {
	display: none;
}

#main_menu > li.ekiz-menu-invitro img {
	display: block;
	width: auto;
	/* Ana logonun 70 piksellik kutusunda görünen yazı yaklaşık 52 piksel; bu logo kenarına kadar kırpılı (68 pikselin 60ı yazı). Görünen boylar eşit olsun diye 59 piksel. */
	height: 59px;
}

@media (max-width: 1023px) {
	#main_menu > li.ekiz-menu-invitro img {
		height: 36px;
	}
}

/* Menü yazıları iki logonun arasında ortalansın: boşluk ilk öğenin soluna ve Ekiz in Vitro logosunun soluna eşit dağılır */
@media (min-width: 1024px) {
	.navigation-bar .main_menu_col {
		justify-content: flex-start;
		padding-left: 24px;
	}

	.navigation-bar #mainmenu_container,
	.navigation-bar #main_menu {
		width: 100%;
		flex: 1 1 auto;
		justify-content: flex-start;
		align-items: center;
	}

	#main_menu > li:first-child,
	#main_menu > li.ekiz-menu-invitro {
		margin-left: auto !important;
	}
}

/* Dizüstü genişliklerinde menü ve iki logo tek satıra sığsın */
@media (min-width: 1024px) and (max-width: 1599px) {
	.navigation-bar img.custom-logo {
		max-height: 52px !important;
	}

	#main_menu > li {
		margin-left: 0;
		margin-right: 0;
		padding-left: 0;
		padding-right: 0;
	}

	#main_menu > li > a {
		margin-left: 9px;
		margin-right: 9px;
		font-size: 13px;
		letter-spacing: 0.5px;
	}

	#main_menu > li.ekiz-menu-invitro img {
		height: 44px;
	}
}
