/* =================================================================
   Conceptly – Custom Hero (Üst Slider)
   Renk paleti: turuncu (#ff5d00) + koyu (#15161a)
   Yapı: conceptly-custom-hero.php tarafından render edilir.

     <section class="cc-hero">
       <div class="cc-hero__decor cc-hero__decor--dots-tl"></div>
       <div class="cc-hero__decor cc-hero__decor--wave"></div>
       <div class="container">
         <div class="cc-hero__grid">
           <div class="cc-hero__content">
             <span class="cc-hero__eyebrow">...</span>
             <h1 class="cc-hero__title">
               <span class="cc-hero__title-pre">Mesleki</span>
               <span class="cc-hero__title-accent">Yeterlilik Sınavı</span>
             </h1>
             <p class="cc-hero__subtitle">...</p>
             <div class="cc-hero__cta">
               <a class="cc-hero__btn cc-hero__btn--primary">Başvuru Yap →</a>
               <a class="cc-hero__btn cc-hero__btn--ghost">Detaylı Bilgi →</a>
             </div>
             <ul class="cc-hero__features">
               <li class="cc-hero__feature">icon + metin</li>
               ...
             </ul>
           </div>
           <div class="cc-hero__media">
             <img class="cc-hero__image">
             <ul class="cc-hero__badges">
               <li class="cc-hero__badge">icon + metin</li>
               ...
             </ul>
           </div>
         </div>
       </div>
     </section>
   ================================================================= */

:root {
	--cc-primary: #ff5d00;
	--cc-primary-dark: #d44d00;
	--cc-primary-soft: #fff1e6;
	--cc-primary-softer: #fff7f0;
	--cc-primary-ring: rgba(255, 93, 0, 0.22);
	--cc-dark: #15161a;
	--cc-text: #2b2d33;
	--cc-muted: #6b7280;
	--cc-line: #eceef2;
	--cc-bg: #ffffff;
	--cc-font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* Eski Owl tabanlı slider'ı tamamen gizle */
body #slider.azwa-header-slider,
body #slider {
	display: none !important;
}

/* ==================================================================
   1) CONTAINER
   Hero artık bir slider (3 slide). Her slide kendi arkaplan
   görselini ve içeriğini taşır, slide'lar `cc-hero__slides`
   içinde CSS-grid stack (aynı slot) ile üst üste duruyor.
   ================================================================== */
.cc-hero {
	position: relative;
	overflow: hidden;
	padding: 0;
	background:
		radial-gradient(ellipse 60% 90% at 0% 40%, var(--cc-primary-soft) 0%, rgba(255, 241, 230, 0) 60%),
		linear-gradient(135deg, #ffffff 0%, #fffaf5 55%, #fff2e8 100%);
	font-family: var(--cc-font);
	color: var(--cc-text);
	isolation: isolate;
}

/* ---- Slide stack (grid-area trick ile crossfade) ---- */
.cc-hero__slides {
	position: relative;
	display: grid;
	grid-template-areas: "stack";
	z-index: 2;
}

.cc-hero__slide {
	grid-area: stack;
	position: relative;
	padding: 56px 0 36px;
	min-height: 480px;
	display: flex;
	align-items: flex-start;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition:
		opacity 700ms ease,
		visibility 700ms,
		transform 700ms ease;
	pointer-events: none;
	z-index: 1;
}

.cc-hero__slide.is-active {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
	z-index: 2;
}

.cc-hero__slide > .container {
	position: relative;
	z-index: 3;
	width: 100%;
}

/* ==================================================================
   1.b) ARKA PLAN GÖRSEL + OVERLAY (her slide kendi bg'sini taşır)
   ================================================================== */
.cc-hero__bg {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	overflow: hidden;
}

.cc-hero__bg-image {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 58%;
	height: 100%;
	object-fit: cover;
	object-position: center right;
	display: block;
	opacity: 0.92;
}

.cc-hero__bg-overlay {
	position: absolute;
	inset: 0;
	display: block;
	background:
		linear-gradient(
			90deg,
			#ffffff 0%,
			#ffffff 38%,
			rgba(255, 255, 255, 0.85) 50%,
			rgba(255, 255, 255, 0.35) 65%,
			rgba(255, 255, 255, 0.1) 80%,
			rgba(255, 255, 255, 0) 100%
		),
		linear-gradient(
			180deg,
			rgba(255, 247, 240, 0.4) 0%,
			rgba(255, 247, 240, 0) 60%
		);
}

/* ==================================================================
   2) DEKORATİF ARKA PLAN (noktalar + dalga)
   .cc-hero parent'ında. Slide'ların arkasında (z-index 1) durur,
   çoğunlukla slide'ın beyaz overlay'i tarafından örtülür ama
   container'ın dışındaki sol kenarda hafif görünür.
   ================================================================== */
.cc-hero__decor {
	position: absolute;
	pointer-events: none;
	z-index: 1;
}

.cc-hero__decor--dots-tl {
	top: 28px;
	left: 32px;
	width: 160px;
	height: 90px;
	background-image: radial-gradient(circle, var(--cc-primary) 1.6px, transparent 2px);
	background-size: 18px 18px;
	opacity: 0.45;
}

.cc-hero__decor--wave {
	bottom: 0;
	left: -50px;
	width: 60%;
	height: 100%;
	background:
		radial-gradient(circle at 0% 100%, rgba(255, 93, 0, 0.08) 0%, transparent 55%);
	transform: skewY(-2deg);
}

/* ==================================================================
   3) SOL İÇERİK
   Görsel arkaplanda; içerik max-width ile sola dayalı ve üstten
   başlıyor. Yazı yukarıda, alt boşluk daha az.
   ================================================================== */
.cc-hero__content {
	position: relative;
	padding-left: 22px;
	max-width: 780px;
}

.cc-hero__content::before {
	content: "";
	position: absolute;
	left: 0;
	top: 8px;
	bottom: 25%;
	width: 4px;
	border-radius: 4px;
	background: linear-gradient(180deg, var(--cc-primary) 0%, var(--cc-primary-dark) 100%);
}

/* Eyebrow */
.cc-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--cc-font);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.4px;
	text-transform: uppercase;
	color: var(--cc-primary);
	background: var(--cc-primary-soft);
	padding: 7px 14px 7px 12px;
	border-radius: 999px;
	margin-bottom: 22px;
}

.cc-hero__eyebrow-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--cc-primary);
	box-shadow: 0 0 0 4px rgba(255, 93, 0, 0.18);
}

/* Başlık */
.cc-hero__title {
	margin: 0 0 18px;
	padding: 0;
	font-family: var(--cc-font);
	font-weight: 800;
	font-size: 62px;
	line-height: 1.05;
	letter-spacing: -1.4px;
	color: var(--cc-dark);
	display: block;
	text-transform: none;
}

.cc-hero__title-pre,
.cc-hero__title-accent {
	display: block;
	font: inherit;
	color: inherit;
}

.cc-hero__title-accent {
	color: var(--cc-primary);
	margin-top: 4px;
}

/* Alt başlık */
.cc-hero__subtitle {
	margin: 0 0 32px;
	padding: 0;
	font-family: var(--cc-font);
	font-size: 18px;
	line-height: 1.6;
	font-weight: 500;
	color: var(--cc-muted);
	max-width: 540px;
}

/* ==================================================================
   4) CTA BUTONLAR
   ================================================================== */
.cc-hero__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin: 0 0 26px;
}

.cc-hero__btn {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	padding: 14px 24px;
	border-radius: 12px;
	font-family: var(--cc-font);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.2px;
	line-height: 1;
	text-decoration: none !important;
	transition: all 0.25s ease;
	border: 2px solid transparent;
	cursor: pointer;
	white-space: nowrap;
	position: relative;
	z-index: 1;
}

.cc-hero__btn::before,
.cc-hero__btn::after {
	display: none !important;
	content: none !important;
}

.cc-hero__btn span {
	display: inline-block;
}

.cc-hero__btn i {
	font-size: 11px;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.25s ease;
}

.cc-hero__btn--primary {
	background: var(--cc-primary);
	color: #fff !important;
	border-color: var(--cc-primary);
	box-shadow: 0 14px 28px -14px var(--cc-primary-ring);
}

.cc-hero__btn--primary i {
	background: rgba(255, 255, 255, 0.18);
	color: #fff;
}

.cc-hero__btn--primary:hover,
.cc-hero__btn--primary:focus {
	background: var(--cc-primary-dark);
	border-color: var(--cc-primary-dark);
	color: #fff !important;
	transform: translateY(-2px);
	box-shadow: 0 18px 32px -14px var(--cc-primary-ring);
}

.cc-hero__btn--ghost {
	background: #fff;
	color: var(--cc-dark) !important;
	border-color: var(--cc-line);
	box-shadow: 0 6px 16px -10px rgba(20, 22, 28, 0.18);
}

.cc-hero__btn--ghost i {
	background: var(--cc-primary-soft);
	color: var(--cc-primary);
}

.cc-hero__btn--ghost:hover,
.cc-hero__btn--ghost:focus {
	border-color: var(--cc-primary);
	color: var(--cc-primary) !important;
	transform: translateY(-2px);
	box-shadow: 0 14px 24px -14px var(--cc-primary-ring);
}

.cc-hero__btn--ghost:hover i {
	background: var(--cc-primary);
	color: #fff;
}

.cc-hero__btn:hover i {
	transform: translateX(3px);
}

/* ==================================================================
   5) SLIDE İÇİ FEATURE LİSTESİ (butonların hemen altında)
   Her slide kendi 3 feature'ını taşır. Slider altında değil,
   CTA butonlarının altında yatay sırada görünür; küçük ekranlarda
   alt alta çöker.
   ================================================================== */
.cc-hero__features {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: start;
	gap: 14px 18px;
}

.cc-hero__feature {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 0;
	min-width: 0;
}

.cc-hero__feature-icon {
	flex: 0 0 auto;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: var(--cc-primary-soft);
	color: var(--cc-primary);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	transition: all 0.25s ease;
}

.cc-hero__feature:hover .cc-hero__feature-icon {
	background: var(--cc-primary);
	color: #fff;
	transform: translateY(-2px);
}

.cc-hero__feature-text {
	font-family: var(--cc-font);
	font-size: 13px;
	line-height: 1.35;
	font-weight: 600;
	color: var(--cc-text);
	min-width: 0;
}

/* ==================================================================
   6) Eski sağ kolon (media + badges) — artık render edilmiyor.
   Güvenlik için CSS'ten de gizliyoruz.
   ================================================================== */
.cc-hero__media,
.cc-hero__image,
.cc-hero__badges,
.cc-hero__badge {
	display: none !important;
}

/* ==================================================================
   6.b) SLIDER KONTROLLERİ (oklar + dotlar)
   ================================================================== */
.cc-hero__controls {
	position: relative;
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	padding: 0 24px 22px;
}

.cc-hero__nav {
	flex: 0 0 auto;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 1px solid var(--cc-line);
	background: #fff;
	color: var(--cc-text);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	box-shadow: 0 10px 24px -16px rgba(20, 22, 28, 0.25);
	transition:
		color 0.2s ease,
		border-color 0.2s ease,
		background 0.2s ease,
		transform 0.2s ease;
}

.cc-hero__nav:hover,
.cc-hero__nav:focus-visible {
	color: var(--cc-primary);
	border-color: var(--cc-primary);
	background: #fff;
	transform: translateY(-2px);
	outline: none;
}

.cc-hero__nav-arrow {
	width: 9px;
	height: 9px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	display: block;
}

.cc-hero__nav--prev .cc-hero__nav-arrow {
	transform: rotate(135deg) translate(-1px, 1px);
}

.cc-hero__nav--next .cc-hero__nav-arrow {
	transform: rotate(-45deg) translate(-1px, -1px);
}

.cc-hero__dots {
	list-style: none;
	margin: 0;
	padding: 0;
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.cc-hero__dots li {
	margin: 0;
	padding: 0;
	line-height: 0;
}

.cc-hero__dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: 0;
	background: rgba(20, 22, 28, 0.18);
	cursor: pointer;
	padding: 0;
	transition:
		width 0.3s ease,
		background 0.2s ease,
		transform 0.2s ease;
}

.cc-hero__dot:hover {
	background: rgba(20, 22, 28, 0.32);
}

.cc-hero__dot.is-active {
	width: 28px;
	border-radius: 999px;
	background: var(--cc-primary);
}

.cc-hero__dot:focus-visible {
	outline: 2px solid var(--cc-primary-ring);
	outline-offset: 3px;
}

/* Eski dış features-wrap artık render edilmiyor; safety. */
.cc-hero__features-wrap {
	display: none !important;
}

/* ==================================================================
   7) RESPONSIVE
   ================================================================== */
@media (max-width: 1199px) {
	.cc-hero__title {
		font-size: 52px;
		letter-spacing: -1.2px;
	}

	.cc-hero__bg-image {
		width: 55%;
	}
}

@media (max-width: 991px) {
	.cc-hero__slide {
		padding: 44px 0 32px;
		min-height: 420px;
	}

	.cc-hero__title {
		font-size: 44px;
		letter-spacing: -0.8px;
	}

	.cc-hero__subtitle {
		font-size: 16px;
	}

	.cc-hero__bg-image {
		width: 60%;
		opacity: 0.4;
	}

	.cc-hero__bg-overlay {
		background:
			linear-gradient(
				90deg,
				#ffffff 0%,
				rgba(255, 255, 255, 0.92) 50%,
				rgba(255, 255, 255, 0.6) 80%,
				rgba(255, 255, 255, 0.3) 100%
			);
	}
}

@media (max-width: 767px) {
	.cc-hero__slide {
		padding: 36px 0 24px;
		min-height: auto;
	}

	.cc-hero__decor--dots-tl {
		top: 18px;
		left: 18px;
		width: 110px;
		height: 60px;
	}

	.cc-hero__content {
		padding-left: 18px;
		max-width: 100%;
	}

	.cc-hero__title {
		font-size: 34px;
		letter-spacing: -0.6px;
	}

	.cc-hero__subtitle {
		font-size: 15.5px;
		margin-bottom: 26px;
	}

	.cc-hero__cta {
		gap: 10px;
		margin-bottom: 24px;
	}

	.cc-hero__btn {
		padding: 12px 20px;
		font-size: 14px;
	}

	.cc-hero__features {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px 16px;
	}

	.cc-hero__feature-icon {
		width: 34px;
		height: 34px;
		font-size: 13.5px;
	}

	.cc-hero__feature-text {
		font-size: 13.5px;
	}

	/* Küçük ekranlarda arkaplan görseli iyice solgun ki metni
	   gölgelemesin; sağ tarafta küçük bir aksan olarak kalsın. */
	.cc-hero__bg-image {
		width: 70%;
		opacity: 0.22;
		object-position: top right;
	}

	.cc-hero__bg-overlay {
		background:
			linear-gradient(
				180deg,
				rgba(255, 255, 255, 0.6) 0%,
				rgba(255, 255, 255, 0.92) 60%,
				#ffffff 100%
			);
	}

	/* Mobilde nav okları daha küçük + dotlar */
	.cc-hero__controls {
		gap: 12px;
		padding: 0 16px 18px;
	}

	.cc-hero__nav {
		width: 36px;
		height: 36px;
	}

	.cc-hero__dot {
		width: 8px;
		height: 8px;
	}

	.cc-hero__dot.is-active {
		width: 22px;
	}
}

@media (max-width: 480px) {
	.cc-hero__title {
		font-size: 30px;
	}

	.cc-hero__cta {
		flex-direction: column;
		align-items: stretch;
	}

	.cc-hero__btn {
		justify-content: space-between;
	}

	.cc-hero__features {
		grid-template-columns: minmax(0, 1fr);
		gap: 12px;
	}
}
