/* index.php'ye ozel stiller (Hero Slider). */

.home_slider_area {
	position: relative;
	overflow: hidden;
}
#hero-slider {
	position: relative;
}
#hero-slider .owl-pagination {
	position: absolute;
	bottom: 40px;
	left: 0;
	right: 0;
	z-index: 99;
	text-align: center;
}
#hero-slider .owl-controls .owl-page span {
	background: #fff;
	opacity: 0.5;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	margin: 0 5px;
	transition: 0.3s;
}
#hero-slider .owl-controls .owl-page.active span {
	background: #771164;
	opacity: 1;
	transform: scale(1.2);
}
#hero-slider .hero-text-img img {
	max-height: 480px;
	/* Kasım 2026: slayt görselleri artık 4:3 gerçek ekran görüntüleri --
	   sadece yükseklik sınırı olunca 640px'e genişleyip soldaki başlığın
	   üstüne biniyordu. Genişlik de sınırlandı (görsel sağ altta mutlak
	   konumda, metin sütunu ekranın sol yarısında). */
	max-width: min(560px, 42vw);
	object-fit: contain;
}
/* Kasım 2026: başlığın üstündeki boşluk (style.css: h1 padding-top 250px,
   slayt 850px) azaltıldı; ekran görüntüleri (hero-shot) sağ alta yapışık
   ve sayaç kartlarının altında kalmak yerine metinle aynı hizada, dikey
   ortada ve daha büyük. Slayt 1'deki kişi fotoğrafı alta yapışık kalır. */
@media (min-width: 992px) {
	#hero-slider .home_bg {
		height: 700px;
		padding-bottom: 60px; /* sayaç kartları (.count_area -60px) slaytın altına biniyor */
	}
	#hero-slider .hero-text h1 {
		padding-top: 0;
	}
	#hero-slider .hero-text-img.hero-shot {
		position: static;
		text-align: center;
	}
	#hero-slider .hero-text-img.hero-shot img {
		max-width: 100%;
		max-height: 500px;
	}
}
/* "CampX Panelinde Neler Var?" bölümü (Ekim 2026) -- app.campx.com.tr özellikleri */
.cx-features {
	background: linear-gradient(180deg, #f9f9ff 0%, #fff 100%);
}
.cx-feat {
	height: calc(100% - 30px);
	margin-bottom: 30px;
	padding: 30px 28px;
	background: #fff;
	border: 1px solid #efe6ee;
	border-radius: 16px;
	box-shadow: 0 10px 30px rgba(119, 17, 100, 0.06);
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.cx-feat:hover {
	transform: translateY(-4px);
	border-color: #e3c6dd;
	box-shadow: 0 18px 40px rgba(119, 17, 100, 0.12);
}
.cx-feat-icon {
	width: 56px;
	height: 56px;
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 18px;
	font-size: 24px;
	color: #771164;
	background: #f5e8f2;
	transition: background .25s ease, color .25s ease;
}
.cx-feat:hover .cx-feat-icon {
	background: #771164;
	color: #fff;
}
.cx-feat h3 {
	font-size: 19px;
	font-weight: 600;
	margin: 0 0 10px;
	line-height: 1.35;
}
.cx-feat p {
	margin: 0;
	font-size: 15px;
	line-height: 1.65;
}
.cx-features-cta {
	margin-top: 10px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 15px;
}
.cx-btn-outline {
	display: inline-block;
	padding: 13px 30px;
	border: 2px solid #771164;
	border-radius: 5px;
	color: #771164;
	font-weight: 600;
	text-decoration: none;
	transition: background .25s ease, color .25s ease;
}
.cx-btn-outline:hover {
	background: #771164;
	color: #fff;
}
@media (max-width: 767px) {
	.cx-features .section-title p { width: 100%; }
	.cx-feat { height: auto; padding: 24px 22px; }
}

/* Fixed overlapping spacing in responsive viewports */
@media (max-width: 991px) {
	#hero-slider .hb_height {
		height: auto !important;
		padding: 40px 0 60px 0;
	}
	#hero-slider .hero-text h1 {
		padding-top: 0;
	}
	#hero-slider .owl-pagination {
		bottom: 15px;
	}
	#hero-slider .hero-text-img img {
		max-height: 300px;
		max-width: 100%; /* telefonda (style.css: width 80%) 42vw sınırı görseli küçültmesin */
		margin-top: 30px;
	}
	/* Telefonda görsel mutlak konumda metnin üstüne biniyordu -- metnin
	   altına, normal akışa alındı. */
	#hero-slider .hero-text-img {
		position: static;
		text-align: center;
	}
	#hero-slider .hero-text-img img {
		margin-left: auto;
		margin-right: auto;
	}
	/* İki buton alt satıra geçerken üst üste biniyordu */
	#hero-slider .home_sb {
		display: flex;
		flex-wrap: wrap;
		gap: 12px;
	}
	#hero-slider .home_sb a {
		margin-left: 0 !important;
	}
}
