/*
 * Custom Swiper CSS Overrides
 * Swiper ile mevcut tasarımın uyumluluğunu sağlar
 */

/* Portfolio Swiper - UL element uyumluluğu */
.portfolio-swiper .swiper-wrapper {
	display: flex;
	align-items: stretch;
	/* UL için reset */
	margin: 0;
	padding: 0;
	list-style: none;
}

.portfolio-swiper .swiper-slide {
	height: auto;
	/* LI için display düzeltmesi */
	display: flex;
	flex-direction: column;
}

/* Testimonials Swiper - UL element uyumluluğu */
.testimonials-swiper .swiper-wrapper {
	display: flex;
	align-items: center;
	/* UL için reset */
	margin: 0;
	padding: 0;
	list-style: none;
}

.testimonials-swiper .swiper-slide {
	height: auto;
	/* LI için display düzeltmesi */
	display: block;
}

/* Swiper Pagination - Mevcut tasarımla uyumlu */
.swiper-pagination {
	position: relative !important;
	margin-top: 40px;
	bottom: auto !important;
}

.swiper-pagination-bullet {
	width: 15px;
	height: 15px;
	background-color: #cec5c9;
	opacity: 1;
	margin: 0 12px !important;
	position: relative;
}

.swiper-pagination-bullet::before {
	content: '';
	position: absolute;
	top: 1px;
	bottom: 1px;
	left: 1px;
	right: 1px;
	border-radius: 100%;
	border: 2px solid var(--orange-color);
	z-index: -1;
	transition: all 0.5s ease;
}

.swiper-pagination-bullet-active {
	background-color: var(--orange-color);
}

.swiper-pagination-bullet-active::before {
	top: -5px;
	bottom: -5px;
	left: -5px;
	right: -5px;
}

/* Portfolio Navigation Buttons - Mevcut stil korunuyor */
.tm_tm_portfolio_title .buttons a {
	cursor: pointer;
	transition: all 0.3s ease;
}

.tm_tm_portfolio_title .buttons a:hover {
	transform: scale(1.1);
}

/* Swiper için geçiş animasyonları */
.swiper-slide {
	transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Fade effect için override */
.testimonials-swiper .swiper-slide {
	opacity: 0;
	transition: opacity 0.5s ease;
}

.testimonials-swiper .swiper-slide-active {
	opacity: 1;
}

/* Modern Animated Headline - Smooth Crossfade + Slide */
.cd-headline.rotate-1 .cd-words-wrapper {
	display: inline-block;
	position: relative;
	min-height: 1.2em;
	vertical-align: bottom;
}

.cd-headline.rotate-1 .cd-words-wrapper b {
	display: inline-block;
	position: absolute;
	white-space: nowrap;
	left: 0;
	top: 0;
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.6s cubic-bezier(0.4, 0.0, 0.2, 1),
	            transform 0.6s cubic-bezier(0.4, 0.0, 0.2, 1);
	pointer-events: none;
	will-change: opacity, transform;
}

.cd-headline.rotate-1 .cd-words-wrapper b.is-visible {
	position: relative;
	opacity: 1;
	transform: translateY(0);
	transition: opacity 0.6s cubic-bezier(0.4, 0.0, 0.2, 1),
	            transform 0.6s cubic-bezier(0.4, 0.0, 0.2, 1);
	z-index: 10;
}

.cd-headline.rotate-1 .cd-words-wrapper b.is-hidden {
	position: absolute;
	opacity: 0;
	transform: translateY(-20px);
	transition: opacity 0.6s cubic-bezier(0.4, 0.0, 0.2, 1),
	            transform 0.6s cubic-bezier(0.4, 0.0, 0.2, 1);
	z-index: 5;
}

/* Modern smooth transitions - no keyframes needed, using CSS transitions */

/* Mobile uyumluluk */
@media (max-width: 1040px) {
	.swiper-pagination {
		margin-top: 30px;
	}
}

@media (max-width: 768px) {
	.swiper-pagination {
		margin-top: 20px;
	}
	
	.swiper-pagination-bullet {
		width: 12px;
		height: 12px;
		margin: 0 8px !important;
	}
}

