:root {
	--primary-color: #1e3c72;
	--secondary-color: #2a5298;
	--accent-color: #ff6b6b;
	--success-color: #25d366;
	--text-color: #333;
	--light-bg: #f8f9fa;
	--white: #ffffff;
	--shadow: 0 5px 20px rgba(0,0,0,0.1);
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
	line-height: 1.6;
	color: var(--text-color);
	overflow-x: hidden;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Header & Navigation */
header {
	background: rgba(30, 60, 114, 0.95);
	backdrop-filter: blur(10px);
	position: fixed;
	width: 100%;
	top: 0;
	z-index: 1000;
	transition: all 0.3s ease;
}

header.scrolled {
	background: rgba(30, 60, 114, 0.98);
	box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem 0;
}

.logo h1 {
	font-size: 1.5rem;
	color: var(--white);
	font-weight: 700;
}

.nav-menu {
	display: flex;
	list-style: none;
	gap: 2rem;
	align-items: center;
}

.nav-menu a {
	color: var(--white);
	text-decoration: none;
	font-weight: 500;
	transition: color 0.3s;
	position: relative;
}

.nav-menu a:hover {
	color: var(--accent-color);
}

.nav-menu a::after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--accent-color);
	transition: width 0.3s;
}

.nav-menu a:hover::after {
	width: 100%;
}

.mobile-menu-toggle {
	display: none;
	flex-direction: column;
	cursor: pointer;
	padding: 5px;
}

.mobile-menu-toggle span {
	width: 25px;
	height: 3px;
	background: var(--white);
	margin: 3px 0;
	transition: 0.3s;
}

/* Hero Section with Background Image */
#anasayfa {
	background: linear-gradient(rgba(30,60,114,0.8), rgba(42,82,152,0.8)), url('../images/banner.webp');
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	color: var(--white);
	padding: 180px 0 100px;
	position: relative;
	overflow: hidden;
}

/* Hero için arka plan resmi eklemek isterseniz buraya background-image: url('resim.jpg'); ekleyebilirsiniz */
.hero-bg-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(rgba(30,60,114,0.8), rgba(42,82,152,0.8));
	z-index: 1;
}

.hero-content {
	position: relative;
	z-index: 2;
	text-align: center;
	animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.hero-content h2 {
	font-size: clamp(2rem, 5vw, 3.5rem);
	margin-bottom: 1rem;
	font-weight: 700;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
	font-size: clamp(1.2rem, 3vw, 1.8rem);
	color: #ffd93d;
	margin-bottom: 1.5rem;
}

.hero-description {
	font-size: 1.1rem;
	max-width: 800px;
	margin: 0 auto 2rem;
	line-height: 1.8;
}

.cta-buttons {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
	margin-top: 2rem;
}

.cta-btn {
	padding: 15px 35px;
	border-radius: 50px;
	text-decoration: none;
	font-weight: 600;
	font-size: 1.1rem;
	transition: all 0.3s;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.cta-btn-primary {
	background: var(--accent-color);
	color: var(--white);
}

.cta-btn-primary:hover {
	background: #ff5252;
	transform: translateY(-3px);
	box-shadow: 0 10px 25px rgba(255,107,107,0.3);
}

.cta-btn-whatsapp {
	background: var(--success-color);
	color: var(--white);
}

.cta-btn-whatsapp:hover {
	background: #128c7e;
	transform: translateY(-3px);
	box-shadow: 0 10px 25px rgba(37,211,102,0.3);
}

/* Section Styles */
section {
	padding: 80px 0;
}

.section-header {
	text-align: center;
	margin-bottom: 3rem;
}

.section-title {
	font-size: clamp(2rem, 4vw, 2.5rem);
	color: var(--primary-color);
	margin-bottom: 1rem;
	font-weight: 700;
}

.section-subtitle {
	font-size: 1.1rem;
	color: #666;
	max-width: 600px;
	margin: 0 auto;
}

/* About Section */
#hakkimizda {
	background: var(--light-bg);
}

.about-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: center;
}

.about-text h3 {
	font-size: 1.8rem;
	color: var(--secondary-color);
	margin-bottom: 1rem;
}

.about-text p {
	margin-bottom: 1.5rem;
	line-height: 1.8;
}

.about-features {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	margin-top: 2rem;
}

.about-feature {
	display: flex;
	align-items: center;
	gap: 10px;
}

.about-feature-icon {
	width: 40px;
	height: 40px;
	background: var(--accent-color);
	color: var(--white);
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	font-weight: bold;
}

.experience-years {
	background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
	color: var(--white);
	padding: 2rem;
	border-radius: 15px;
	text-align: center;
	box-shadow: var(--shadow);
}

.experience-years h3 {
	font-size: 3rem;
	margin-bottom: 0.5rem;
}

/* Services Section */
.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 2rem;
	margin-top: 3rem;
}

.service-card {
	background: var(--white);
	border-radius: 15px;
	overflow: hidden;
	box-shadow: var(--shadow);
	transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-icon {
	font-size: 3rem;
	margin-bottom: 1rem;
}

.service-header {
	background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
	color: var(--white);
	padding: 2rem;
	text-align: center;
}

.service-content {
	padding: 2rem;
}

.service-list {
	list-style: none;
	margin-top: 1rem;
}

.service-list li {
	padding: 0.8rem 0;
	padding-left: 2rem;
	position: relative;
	border-bottom: 1px solid #eee;
}

.service-list li:last-child {
	border-bottom: none;
}

.service-list li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--success-color);
	font-weight: bold;
	font-size: 1.2rem;
}

/* Gallery Section */
#galeri {
	background: var(--light-bg);
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 1rem;
	margin-top: 2rem;
}

.gallery-item {
	position: relative;
	overflow: hidden;
	border-radius: 10px;
	height: 300px;
	cursor: pointer;
	transition: transform 0.3s;
}

.gallery-item:hover {
	transform: scale(1.05);
}

.gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s;
}

.gallery-item:hover img {
	transform: scale(1.1);
}

.gallery-overlay {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
	color: var(--white);
	padding: 1.5rem;
	transform: translateY(100%);
	transition: transform 0.3s;
}

.gallery-item:hover .gallery-overlay {
	transform: translateY(0);
}

/* Testimonials */
#yorumlar {
	background: var(--white);
}

.testimonials-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 2rem;
	margin-top: 3rem;
}

.testimonial-card {
	background: var(--light-bg);
	padding: 2rem;
	border-radius: 15px;
	position: relative;
	transition: transform 0.3s;
}

.testimonial-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow);
}

.quote-icon {
	font-size: 3rem;
	color: var(--primary-color);
	opacity: 0.2;
	position: absolute;
	top: 10px;
	left: 20px;
}

.testimonial-text {
	font-style: italic;
	margin-bottom: 1.5rem;
	line-height: 1.8;
	padding-top: 2rem;
}

.testimonial-author {
	font-weight: 600;
	color: var(--primary-color);
}

.rating {
	color: #ffd93d;
	margin-top: 0.5rem;
	font-size: 1.2rem;
}

/* Districts Grid */
.districts-info {
	background: var(--light-bg);
	padding: 2rem;
	border-radius: 15px;
	margin-bottom: 2rem;
}

.districts-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 1rem;
	margin-top: 2rem;
}

.district-item {
	background: var(--white);
	padding: 1rem;
	text-align: center;
	border-radius: 10px;
	transition: all 0.3s;
	border: 2px solid transparent;
	font-weight: 500;
}

.district-item:hover {
	background: var(--primary-color);
	color: var(--white);
	transform: translateY(-3px);
	box-shadow: 0 5px 15px rgba(30,60,114,0.3);
}

/* Contact Section */
#iletisim {
	background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
	color: var(--white);
}

.contact-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	margin-top: 3rem;
}

.contact-info h3 {
	font-size: 1.8rem;
	margin-bottom: 2rem;
}

.contact-item {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.contact-icon {
	width: 50px;
	height: 50px;
	background: rgba(255,255,255,0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	font-size: 1.5rem;
}

.contact-item a {
	color: #ffd93d;
	text-decoration: none;
	font-weight: 600;
	transition: color 0.3s;
}

.contact-item a:hover {
	color: var(--white);
}

.contact-form {
	background: rgba(255,255,255,0.1);
	padding: 2rem;
	border-radius: 15px;
	backdrop-filter: blur(10px);
}

.form-group {
	margin-bottom: 1.5rem;
}

.form-group label {
	display: block;
	margin-bottom: 0.5rem;
	font-weight: 500;
}

.form-group input,
.form-group textarea {
	width: 100%;
	padding: 1rem;
	border: 1px solid rgba(255,255,255,0.3);
	background: rgba(255,255,255,0.1);
	color: var(--white);
	border-radius: 8px;
	font-size: 1rem;
	transition: all 0.3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
	color: rgba(255,255,255,0.7);
}

.form-group input:focus,
.form-group textarea:focus {
	outline: none;
	border-color: #ffd93d;
	background: rgba(255,255,255,0.2);
}

.submit-btn {
	width: 100%;
	padding: 1rem;
	background: var(--accent-color);
	color: var(--white);
	border: none;
	border-radius: 50px;
	font-size: 1.1rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s;
}

.submit-btn:hover {
	background: #ff5252;
	transform: translateY(-2px);
	box-shadow: 0 5px 20px rgba(255,107,107,0.3);
}

/* Footer */
footer {
	background: #1a1a1a;
	color: var(--white);
	padding: 3rem 0 2rem;
	text-align: center;
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
	margin-bottom: 2rem;
}

.footer-section h4 {
	margin-bottom: 1rem;
}

.footer-section a {
	color: #999;
	text-decoration: none;
	display: block;
	margin-bottom: 0.5rem;
	transition: color 0.3s;
}

.footer-section a:hover {
	color: var(--white);
}

.footer-bottom {
	border-top: 1px solid #333;
	padding-top: 2rem;
	margin-top: 2rem;
}

/* Floating Elements */
.floating-whatsapp {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 60px;
	height: 60px;
	background: var(--success-color);
	color: var(--white);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2rem;
	text-decoration: none;
	box-shadow: 0 5px 20px rgba(0,0,0,0.3);
	transition: all 0.3s;
	z-index: 999;
}

.floating-whatsapp:hover {
	background: #128c7e;
	transform: scale(1.1);
}

.scroll-to-top {
	position: fixed;
	bottom: 30px;
	right: 100px;
	width: 45px;
	height: 45px;
	background: var(--primary-color);
	color: var(--white);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	text-decoration: none;
	box-shadow: 0 5px 20px rgba(0,0,0,0.3);
	transition: all 0.3s;
	opacity: 0;
	visibility: hidden;
	z-index: 999;
}

.scroll-to-top.show {
	opacity: 1;
	visibility: visible;
}

.scroll-to-top:hover {
	background: var(--secondary-color);
	transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
	.nav-menu {
		position: fixed;
		left: -100%;
		top: 70px;
		flex-direction: column;
		background: rgba(30, 60, 114, 0.98);
		width: 100%;
		text-align: center;
		transition: 0.3s;
		padding: 2rem 0;
		gap: 1rem;
	}
	
	.nav-menu.active {
		left: 0;
	}
	
	.mobile-menu-toggle {
		display: flex;
	}
	
	.hero-content h2 {
		font-size: 2rem;
	}
	
	.about-content {
		grid-template-columns: 1fr;
	}
	
	.contact-content {
		grid-template-columns: 1fr;
	}
	
	.services-grid,
	.testimonials-grid,
	.gallery-grid {
		grid-template-columns: 1fr;
	}
	
	.districts-grid {
		grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
	}
	
	.cta-buttons {
		flex-direction: column;
		align-items: center;
	}
	
	.cta-btn {
		width: 100%;
		max-width: 300px;
	}
	
	.floating-whatsapp {
		bottom: 20px;
		right: 20px;
	}
	
	.scroll-to-top {
		right: 90px;
		bottom: 20px;
	}
	
	section {
		padding: 60px 0;
	}
}

@media (max-width: 480px) {
	.hero-content h2 {
		font-size: 1.8rem;
	}
	
	.section-title {
		font-size: 1.8rem;
	}
	
	.about-features {
		grid-template-columns: 1fr;
	}
	
	.districts-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 0.5rem;
	}
	
	.district-item {
		padding: 0.8rem 0.5rem;
		font-size: 0.9rem;
	}
}

/* Animation Classes */
.fade-in {
	opacity: 0;
	transform: translateY(30px);
	transition: all 0.8s ease;
}

.fade-in.visible {
	opacity: 1;
	transform: translateY(0);
}

/* Loading Animation */
.loader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--primary-color);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	transition: opacity 0.5s, visibility 0.5s;
}

.loader.hidden {
	opacity: 0;
	visibility: hidden;
}

.loader-spinner {
	width: 50px;
	height: 50px;
	border: 5px solid rgba(255,255,255,0.3);
	border-top-color: var(--white);
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}