/* Custom animations */
@keyframes fade-in {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes scroll {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%);
	}
}

/* Animation classes */
.animate-fade-in {
	animation: fade-in 1s ease-out;
}

.animate-fade-in-delay {
	animation: fade-in 1s ease-out 0.3s both;
}

.animate-fade-in-delay-2 {
	animation: fade-in 1s ease-out 0.6s both;
}

.animate-scroll {
	animation: scroll 20s linear infinite;
}

/* Custom scrollbar */
::-webkit-scrollbar {
	width: 10px;
}

::-webkit-scrollbar-track {
}

::-webkit-scrollbar-thumb {
	background: #001f3f;
}

::-webkit-scrollbar-thumb:hover {
	background: #db121b;
}

/* Smooth scroll */
html {
	scroll-behavior: smooth;
}

/* Loading animation for buttons */
.btn-loading {
	position: relative;
	color: transparent !important;
}

.btn-loading::after {
	content: '';
	position: absolute;
	width: 20px;
	height: 20px;
	top: 50%;
	left: 50%;
	margin-left: -10px;
	margin-top: -10px;
	border: 2px solid #ffffff;
	border-radius: 50%;
	border-top-color: transparent;
	animation: spinner 0.8s linear infinite;
}

@keyframes spinner {
	to {
		transform: rotate(360deg);
	}
}
.swiper-container {
    height: 700px;
}
@media (max-width: 768px) {
    .swiper-container {
        height: 400px; /* Mobil için daha uygun bir yükseklik */
    }
}
/* Responsive iframe */
.responsive-iframe {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
}

.responsive-iframe iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Print styles */
@media print {
	header,
	footer,
	.whatsapp-button,
	.phone-button {
		display: none !important;
	}
}

.hero-section {
	background-size: cover !important;
	background-position: center center !important;
	background-repeat: no-repeat !important;
}

/* Büyük ekranlar için */
@media (min-width: 1920px) {
	.hero-section {
		background-size: contain;
	}
}

/* Tablet ve mobil için */
@media (max-width: 1024px) {
	.hero-section {
		background-attachment: scroll; /* Mobilde parallax'ı kapat */
		background-size: cover;
	}
}
