/* Nova Builder — Frontend Grid & Element Styles */

.nova-row {
	box-sizing: border-box;
	/* Bu sadece TEMEL bir varsayılan (ör. render() hiç çalışmadan bu
	   markup bir şekilde üretilirse) — gerçek değerler her zaman
	   Nova_El_Row::render()'ın ürettiği, bu satıra özel #ID seçicili
	   <style> bloğunda DAHA YÜKSEK özgüllükle (ID > class) ezilir. Bu
	   kasıtlı: WP çekirdeğinin blok temalarındaki "is-layout-flow"
	   düzeni ".is-layout-flow > :last-child" gibi kurallarla
	   margin-bottom sıfırlayabiliyor — sadece burada (class seviyesinde)
	   tanımlansaydı bu çekirdek kuralı ezemezdi. */
	padding-top: 20px;
	padding-bottom: 20px;
	background-size: cover;
	background-position: center center;
	/* .nova-row__inner'ın sütun boşlukları için kullandığı negatif
	   margin, kendi kutusunu bu satırın sınırının birkaç piksel dışına
	   taşırır (görünür bir içerik değil, sadece kutu geometrisi); bu,
	   sayfada gereksiz bir yatay kaydırma alanı oluşturmasın diye kırpılır. */
	overflow-x: hidden;
}

/* Blok temalarında (Gutenberg is-layout-constrained) her satır .alignfull
   sınıfı taşır (bkz. Nova_El_Row::render) — bu, temanın kendi içerik
   genişliği kısıtlamasını (ör. max-width: var(--wp--style--global--content-size))
   atlamasını sağlar; viewport/margin hesabıyla kendimiz uğraşmak yerine
   temanın zaten test edilmiş kendi mekanizmasına güveniriz. Klasik
   temalarda bu sınıfın bir karşılığı olmadığından zararsızdır. */

.nova-row--boxed .nova-row__inner {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 20px;
	padding-right: 20px;
}

.nova-row--full .nova-row__inner {
	padding-left: 20px;
	padding-right: 20px;
}

.nova-row__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	box-sizing: border-box;
	/* Sütun aralıkları burada değil, her .nova-col'un kendi padding'i
	   içinde verilir (bkz. aşağı); bu negatif margin sadece en dıştaki
	   sütunların kendi iç padding'ini dengeler. Yüzdesel flex-basis ile
	   birlikte native `gap` kullanmak, konteyner genişliğiyle toplam
	   genişliğin tam piksele eşitlenmesine (0px pay) yol açabiliyor —
	   bu da en ufak bir alt-piksel yuvarlama farkında satırın beklenmedik
	   şekilde sarmasına (wrap) neden oluyor. Bunun yerine boşluğu her
	   sütunun kendi genişliğinin İÇİNE koyan (padding tabanlı) klasik
	   flexbox grid tekniği kullanılır — toplam genişlik her zaman tam
	   %100 kalır, taşma/sarma riski olmaz. */
	margin-left: calc( var( --nova-gap, 20px ) / -2 );
	margin-right: calc( var( --nova-gap, 20px ) / -2 );
}

.nova-col {
	box-sizing: border-box;
	min-width: 0;
	padding-left: calc( var( --nova-gap, 20px ) / 2 );
	padding-right: calc( var( --nova-gap, 20px ) / 2 );
	/* Gerçek margin/arka plan değerleri, bu sütuna özel #ID seçicili
	   <style> bloğunda (Nova_El_Column::render()) daha yüksek özgüllükle
	   ezilir — bkz. .nova-row içindeki aynı konudaki not (WP çekirdeğinin
	   "is-layout-flow" düzeni class seviyeli bir margin-bottom kuralını
	   ezebiliyordu). Burası sadece temel bir varsayılan. */
	background-size: cover;
	background-position: center center;
}

/* Kullanıcının ekleyebileceği iç boşluk (padding) kasıtlı olarak
   .nova-col__inner üzerindedir, .nova-col üzerinde DEĞİL — .nova-col'un
   sol/sağ padding'i zaten sütunlar arası boşluğu (gap) sağlıyor
   (yukarıda); aynı elemente ayrıca kullanıcı padding'i eklemek bu
   mekanizmayı ezip sütun aralığını bozardı. Gerçek değerler yine bu
   sütunun iç kutusuna özel #ID seçicisinde (render()) tanımlanır. */
.nova-col__inner {
	padding: 0;
}

.nova-col__inner > *:first-child {
	margin-top: 0;
}
.nova-col__inner > *:last-child {
	margin-bottom: 0;
}

.nova-col--align-center {
	text-align: center;
}
.nova-col--align-right {
	text-align: right;
}

.nova-col-1-1 { flex: 1 1 100%; max-width: 100%; }
.nova-col-1-2 { flex: 1 1 50%;  max-width: 50%; }
.nova-col-1-3 { flex: 1 1 33.3333%; max-width: 33.3333%; }
.nova-col-2-3 { flex: 1 1 66.6666%; max-width: 66.6666%; }
.nova-col-1-4 { flex: 1 1 25%; max-width: 25%; }
.nova-col-3-4 { flex: 1 1 75%; max-width: 75%; }
.nova-col-1-5 { flex: 1 1 20%; max-width: 20%; }
.nova-col-1-6 { flex: 1 1 16.6666%; max-width: 16.6666%; }

@media ( max-width: 767px ) {
	.nova-col-1-1,
	.nova-col-1-2,
	.nova-col-1-3,
	.nova-col-2-3,
	.nova-col-1-4,
	.nova-col-3-4,
	.nova-col-1-5,
	.nova-col-1-6 {
		flex: 1 1 100%;
		max-width: 100%;
	}
}

.nova-text {
	line-height: 1.65;
	font-family: var( --nova-font-body, inherit );
	font-weight: var( --nova-weight-body, inherit );
	font-size: var( --nova-size-body, inherit );
}

.nova-heading {
	margin: 0 0 0.5em;
	font-family: var( --nova-font-heading, inherit );
	font-weight: var( --nova-weight-heading, 600 );
	font-size: var( --nova-size-heading, inherit );
	line-height: 1.25;
}

.nova-image img {
	max-width: 100%;
	height: auto;
	display: block;
}
.nova-image--align-center { text-align: center; }
.nova-image--align-center img { margin-left: auto; margin-right: auto; }
.nova-image--align-right { text-align: right; }
.nova-image--align-right img { margin-left: auto; }

.nova-btn-wrap {
	margin: 0.5em 0;
}
.nova-btn-wrap--align-center { text-align: center; }
.nova-btn-wrap--align-right { text-align: right; }

.nova-btn {
	display: inline-block;
	border-radius: 6px;
	font-family: var( --nova-font-button, inherit );
	font-weight: var( --nova-weight-button, 600 );
	text-decoration: none;
	line-height: 1.2;
	cursor: pointer;
	transition: filter 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.nova-btn--medium { padding: 0.7em 1.5em; font-size: 1rem; }
.nova-btn--small  { padding: 0.45em 1em; font-size: 0.875rem; }
.nova-btn--large  { padding: 0.95em 2.1em; font-size: 1.125rem; }

.nova-btn--filled {
	background: var( --nova-btn-color, #2563eb );
	border: 2px solid var( --nova-btn-color, #2563eb );
	color: #fff;
}
.nova-btn--filled:hover { filter: brightness( 0.92 ); color: #fff; }

.nova-btn--outline {
	background: transparent;
	border: 2px solid var( --nova-btn-color, #2563eb );
	color: var( --nova-btn-color, #2563eb );
}
.nova-btn--outline:hover {
	background: var( --nova-btn-color, #2563eb );
	color: #fff;
}

.nova-btn--text {
	background: transparent;
	border: 2px solid transparent;
	color: var( --nova-btn-color, #2563eb );
	padding-left: 0;
	padding-right: 0;
}
.nova-btn--text:hover { text-decoration: underline; }

.nova-separator-wrap {
	display: flex;
	margin: 1em 0;
}

.nova-separator {
	margin: 0;
	border: 0;
	height: 0;
}

/* Sekmeler */
.nova-tabs__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	border-bottom: 2px solid #e5e7eb;
	margin-bottom: 1.25em;
}
.nova-tabs--vertical .nova-tabs__nav {
	flex-direction: column;
	border-bottom: 0;
	border-right: 2px solid #e5e7eb;
	float: left;
	width: 220px;
	margin-right: 1.5em;
}
.nova-tabs__nav-btn {
	background: transparent;
	border: 0;
	border-bottom: 2px solid transparent;
	margin-bottom: -2px;
	padding: 0.6em 1.1em;
	font: inherit;
	font-weight: 600;
	color: #6b7280;
	cursor: pointer;
}
.nova-tabs--vertical .nova-tabs__nav-btn {
	border-bottom: 0;
	border-right: 2px solid transparent;
	margin-bottom: 0;
	margin-right: -2px;
	text-align: left;
}
.nova-tabs__nav-btn.is-active {
	color: #2563eb;
	border-color: #2563eb;
}
.nova-tabs__pane { display: none; }
.nova-tabs__pane.is-active { display: block; }
.nova-tabs--vertical .nova-tabs__panes { overflow: hidden; }

/* Akordeon */
.nova-accordion__item {
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	margin-bottom: 8px;
	overflow: hidden;
}
.nova-accordion__trigger {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: #f9fafb;
	border: 0;
	padding: 0.9em 1.1em;
	font: inherit;
	font-weight: 600;
	text-align: left;
	cursor: pointer;
}
.nova-accordion__icon {
	position: relative;
	width: 12px;
	height: 12px;
	flex-shrink: 0;
	margin-left: 12px;
}
.nova-accordion__icon::before,
.nova-accordion__icon::after {
	content: "";
	position: absolute;
	background: currentColor;
	top: 50%;
	left: 50%;
	transform: translate( -50%, -50% );
}
.nova-accordion__icon::before { width: 12px; height: 2px; }
.nova-accordion__icon::after { width: 2px; height: 12px; transition: transform 0.15s ease; }
.nova-accordion__item.is-open .nova-accordion__icon::after { transform: translate( -50%, -50% ) scaleY( 0 ); }
.nova-accordion__panel {
	padding: 1em 1.1em;
}

/* Sayaç */
.nova-counter {
	text-align: center;
}
.nova-counter__value {
	display: block;
	font-size: 2.5rem;
	font-weight: 700;
	line-height: 1.1;
	color: #2563eb;
}
.nova-counter__label {
	display: block;
	margin-top: 0.4em;
	color: #6b7280;
}

/* İlerleme Çubuğu */
.nova-progress__head {
	display: flex;
	justify-content: space-between;
	margin-bottom: 0.4em;
	font-size: 0.9rem;
	font-weight: 600;
}
.nova-progress__track {
	background: var( --nova-progress-bg, #e5e7eb );
	border-radius: 999px;
	height: 10px;
	overflow: hidden;
}
.nova-progress__fill {
	height: 100%;
	width: 0;
	border-radius: 999px;
	transition: width 1.1s ease;
}

/* İkon Kutusu */
.nova-icon-box {
	text-align: left;
}
.nova-icon-box--align-center {
	text-align: center;
}
.nova-icon-box__icon {
	display: inline-block;
	font-size: 2rem;
	line-height: 1;
	margin-bottom: 0.5em;
	color: #2563eb;
}
.nova-icon-box__title {
	margin: 0 0 0.35em;
	font-size: 1.15rem;
	font-weight: 600;
}
.nova-icon-box__text {
	margin: 0;
	color: #6b7280;
}
.nova-icon-box__link {
	display: block;
	text-decoration: none;
	color: inherit;
}

/* Referans */
.nova-testimonial {
	padding: 1.5em;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
}
.nova-testimonial__stars {
	color: #e5e7eb;
	margin-bottom: 0.5em;
}
.nova-testimonial__star.is-filled {
	color: #f59e0b;
}
.nova-testimonial__content {
	font-size: 1.05rem;
	line-height: 1.6;
	margin: 0 0 1em;
}
.nova-testimonial__author {
	display: flex;
	align-items: center;
	gap: 12px;
}
.nova-testimonial__avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	object-fit: cover;
}
.nova-testimonial__name {
	display: block;
}
.nova-testimonial__role {
	display: block;
	font-size: 0.85rem;
	color: #6b7280;
}

/* Video */
.nova-video {
	position: relative;
	aspect-ratio: 16 / 9;
}
.nova-video--ratio-4-3 { aspect-ratio: 4 / 3; }
.nova-video--ratio-1-1 { aspect-ratio: 1 / 1; }
.nova-video iframe,
.nova-video embed,
.nova-video object {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* Harita */
.nova-map iframe {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}
.nova-map-js {
	width: 100%;
}

/* Dil Değiştirici (Polylang) */
.nova-lang-switcher {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
}
.nova-lang-switcher__item {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	text-decoration: none;
	color: inherit;
	opacity: 0.65;
}
.nova-lang-switcher__item:hover,
.nova-lang-switcher__item.is-current {
	opacity: 1;
}
.nova-lang-switcher__item.is-current {
	font-weight: 700;
}
.nova-lang-switcher__flag img {
	width: 18px;
	height: auto;
	vertical-align: middle;
	display: block;
}
.nova-lang-switcher--dropdown {
	position: relative;
	display: inline-block;
}
.nova-lang-switcher--dropdown .nova-lang-switcher__item {
	display: none;
	opacity: 1;
}
.nova-lang-switcher--dropdown .nova-lang-switcher__item.is-current {
	display: inline-flex;
	cursor: pointer;
}
.nova-lang-switcher--dropdown:hover .nova-lang-switcher__item,
.nova-lang-switcher--dropdown:focus-within .nova-lang-switcher__item {
	display: inline-flex;
}
.nova-lang-switcher--dropdown:hover .nova-lang-switcher__item.is-current,
.nova-lang-switcher--dropdown:focus-within .nova-lang-switcher__item.is-current {
	display: none;
}
.nova-lang-switcher--dropdown:hover,
.nova-lang-switcher--dropdown:focus-within {
	background: #fff;
	box-shadow: 0 4px 12px rgba( 0, 0, 0, 0.1 );
	border-radius: 6px;
	padding: 6px 10px;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
}

.nova-spacer {
	width: 100%;
}

/* Görsel Karuseli */
.nova-carousel {
	position: relative;
}
.nova-carousel__viewport {
	overflow: hidden;
	position: relative;
}
.nova-carousel__track {
	display: flex;
	transition: transform 0.4s ease;
}
.nova-carousel__slide {
	flex: 0 0 100%;
	min-width: 0;
}
.nova-carousel__img {
	width: 100%;
	height: auto;
	display: block;
}
.nova-carousel__arrow {
	position: absolute;
	top: 50%;
	transform: translateY( -50% );
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: rgba( 0, 0, 0, 0.5 );
	color: #fff;
	font-size: 1.4rem;
	line-height: 1;
	cursor: pointer;
	z-index: 2;
}
.nova-carousel__arrow--prev { left: 12px; }
.nova-carousel__arrow--next { right: 12px; }
.nova-carousel__dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 12px;
}
.nova-carousel__dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	border: 0;
	background: #d1d5db;
	cursor: pointer;
	padding: 0;
}
.nova-carousel__dot.is-active {
	background: #2563eb;
}

/* Menü */
.nova-nav-menu {
	position: relative;
}
.nova-nav-menu__toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
	width: 32px;
	height: 32px;
	border: 0;
	background: transparent;
	cursor: pointer;
}
.nova-nav-menu__toggle span {
	display: block;
	height: 2px;
	background: currentColor;
	border-radius: 1px;
}
.nova-nav-menu__list {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.nova-nav-menu--vertical .nova-nav-menu__list {
	flex-direction: column;
}
.nova-nav-menu__list a {
	display: block;
	padding: 0.6em 1em;
	text-decoration: none;
	color: inherit;
}
.nova-nav-menu__list a:hover {
	color: #2563eb;
}
@media ( max-width: 767px ) {
	.nova-nav-menu__toggle {
		display: flex;
	}
	.nova-nav-menu--horizontal .nova-nav-menu__list {
		display: none;
		flex-direction: column;
		width: 100%;
	}
	.nova-nav-menu--horizontal.is-open .nova-nav-menu__list {
		display: flex;
	}
}

/* Slider */
.nova-slides {
	position: relative;
	overflow: hidden;
}
.nova-slides__track {
	position: relative;
	width: 100%;
	height: 100%;
}
.nova-slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.6s ease;
	display: flex;
	align-items: center;
}
.nova-slide.is-active {
	opacity: 1;
	visibility: visible;
}
.nova-slide__overlay {
	position: absolute;
	inset: 0;
	background: #000;
}
.nova-slide__content {
	position: relative;
	z-index: 1;
	max-width: 700px;
	margin: 0 auto;
	padding: 0 24px;
	text-align: center;
	color: #fff;
}
.nova-slide__heading {
	margin: 0 0 0.4em;
	font-size: 2.2rem;
}
.nova-slide__text {
	margin: 0 0 1em;
	font-size: 1.05rem;
}
.nova-slides__arrow {
	position: absolute;
	top: 50%;
	transform: translateY( -50% );
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: rgba( 255, 255, 255, 0.25 );
	color: #fff;
	font-size: 1.6rem;
	cursor: pointer;
	z-index: 2;
}
.nova-slides__arrow--prev { left: 16px; }
.nova-slides__arrow--next { right: 16px; }
.nova-slides__dots {
	position: absolute;
	bottom: 16px;
	left: 0;
	right: 0;
	display: flex;
	justify-content: center;
	gap: 8px;
	z-index: 2;
}
.nova-slides__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: 2px solid #fff;
	background: transparent;
	cursor: pointer;
	padding: 0;
}
.nova-slides__dot.is-active {
	background: #fff;
}

/* Referans Slider — hero slider ile aynı .nova-slides/.nova-slide
   iskeletini kullanır (initSlides() bu yüzden değişiklik gerektirmez),
   sadece koyu hero temasının üstüne açık/kart temalı bir görünüm bindirir. */
.nova-slides--testimonial {
	background: transparent;
}
.nova-slides--testimonial .nova-slide {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1em;
}
.nova-slides--testimonial .nova-testimonial--slide {
	max-width: 640px;
	width: 100%;
	background: #fff;
	text-align: center;
}
.nova-slides--testimonial .nova-testimonial__stars {
	justify-content: center;
	display: flex;
}
.nova-slides--testimonial .nova-testimonial__author {
	justify-content: center;
}
.nova-slides--testimonial .nova-slides__arrow {
	background: rgba( 0, 0, 0, 0.08 );
	color: #1f2430;
}
.nova-slides--testimonial .nova-slides__dot {
	border-color: #9ca3af;
}
.nova-slides--testimonial .nova-slides__dot.is-active {
	background: #1f2430;
	border-color: #1f2430;
}

/* İkon */
.nova-icon a {
	display: inline-block;
	line-height: 1;
}
.nova-icon--align-center {
	text-align: center;
}
.nova-icon--align-right {
	text-align: right;
}

/* Container (esnek flexbox düzeni) */
.nova-container {
	display: flex;
	box-sizing: border-box;
	flex-direction: var( --nova-direction, row );
	flex-wrap: var( --nova-wrap, wrap );
	justify-content: var( --nova-justify, flex-start );
	align-items: var( --nova-align, stretch );
	gap: var( --nova-gap, 16px );
	padding-top: var( --nova-padding, 20px );
	padding-bottom: var( --nova-padding, 20px );
}
.nova-container--boxed {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 20px;
	padding-right: 20px;
}
.nova-container--full {
	width: 100%;
}

/* Giriş animasyonu / hover efektleri — tüm "content" kategori
   elementlere Nova_Element_Base::wrap_with_effects() ile eklenir. */
.nova-fx--enter {
	opacity: 0;
	transition: opacity 0.6s ease, transform 0.6s ease;
}
.nova-fx--enter.is-visible {
	opacity: 1;
	transform: none !important;
}
.nova-fx--enter[data-nova-animation="slide-up"] {
	transform: translateY( 30px );
}
.nova-fx--enter[data-nova-animation="slide-down"] {
	transform: translateY( -30px );
}
.nova-fx--enter[data-nova-animation="slide-left"] {
	transform: translateX( 30px );
}
.nova-fx--enter[data-nova-animation="slide-right"] {
	transform: translateX( -30px );
}
.nova-fx--enter[data-nova-animation="zoom-in"] {
	transform: scale( 0.9 );
}

.nova-fx--hover-grow {
	transition: transform 0.25s ease;
}
.nova-fx--hover-grow:hover {
	transform: scale( 1.03 );
}
.nova-fx--hover-lift {
	transition: transform 0.25s ease;
}
.nova-fx--hover-lift:hover {
	transform: translateY( -6px );
}
.nova-fx--hover-shadow {
	transition: box-shadow 0.25s ease;
	border-radius: 4px;
}
.nova-fx--hover-shadow:hover {
	box-shadow: 0 12px 30px rgba( 0, 0, 0, 0.15 );
}

@media ( prefers-reduced-motion: reduce ) {
	.nova-fx--enter {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
}

.nova-fx--parallax {
	will-change: transform;
}

/* Cihaza özel gizleme — üç aralık kasıtlı olarak birbiriyle örtüşmez
   (responsive_css()'teki basamaklı max-width mantığından farklı olarak),
   böylece "sadece tablette gizle" mobili de gizlemez. */
@media ( max-width: 767px ) {
	.nova-hide-mobile {
		display: none !important;
	}
}
@media ( min-width: 768px ) and ( max-width: 1024px ) {
	.nova-hide-tablet {
		display: none !important;
	}
}
@media ( min-width: 1025px ) {
	.nova-hide-desktop {
		display: none !important;
	}
}
