﻿/* Contact Page Styles */

/* Content Header (matching Sayfa.cshtml style) */
.content-header {
	position: relative;
	height: 60vh;
	min-height: 500px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	overflow: hidden;
}

.content-header-img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 1;
}

.content-header-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		to bottom,
		rgba(92, 92, 92, 0.6) 0%,
		rgba(92, 92, 92, 0.6) 100%
	);
	z-index: 2;
}

.content-header-content {
	position: relative;
	z-index: 3;
}

/* Header Title Shadow */
.header-title-shadow {
	text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7), 1px 1px 4px rgba(0, 0, 0, 0.5),
		0px 0px 3px rgba(0, 0, 0, 0.8);
}

/* Breadcrumb (matching Sayfa.cshtml style) */
.breadcrumb-nav {
	background-color: #f8f9fa;
	padding: 15px 0;
	border-bottom: 1px solid #dee2e6;
}

.breadcrumb {
	background-color: transparent;
	margin-bottom: 0;
	padding: 0;
}

.breadcrumb-item a {
	color: #6c757d;
	text-decoration: none;
}

.breadcrumb-item a:hover {
	color: #7fbe41;
	text-decoration: underline;
}

.breadcrumb-item.active {
	color: #495057;
}

/* Contact Info Section */
.contact-info-section {
	padding: 80px 0;
	background-color: #fff;
}

.contact-section-title {
	font-size: 2.25rem;
	font-weight: 700;
	margin-bottom: 40px;
	color: #2c3e50;
}

.contact-details-wrapper {
	padding-right: 30px;
}

.contact-info-grid {
	margin-bottom: 40px;
}

.contact-info-item {
	display: flex;
	align-items: center;
	margin-bottom: 30px;
	padding: 20px;
	background-color: #f8f9fa;
	border-radius: 10px;
	transition: all 0.3s ease;
	border-left: 4px solid #7fbe41;
}

.contact-info-item:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
	background-color: #fff;
}

.contact-info-icon {
	width: 50px;
	height: 50px;
	background-color: #7fbe41;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 20px;
	flex-shrink: 0;
}

.contact-info-icon i {
	color: #fff;
	font-size: 1.2rem;
}

.contact-info-content h4 {
	font-size: 1.1rem;
	font-weight: 600;
	margin-bottom: 5px;
	color: #2c3e50;
}

.contact-info-content span,
.contact-info-content a {
	color: #6c757d;
	text-decoration: none;
	font-size: 1rem;
}

.contact-info-content a:hover {
	color: #7fbe41;
}

/* Social Media Section */
.social-media-section {
	margin-top: 40px;
}

.social-media-section h4 {
	font-size: 1.25rem;
	font-weight: 600;
	margin-bottom: 20px;
	color: #2c3e50;
}

.social-links {
	display: flex;
	gap: 15px;
}

.social-link {
	width: 45px;
	height: 45px;
	background-color: #7fbe41;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	text-decoration: none;
	transition: all 0.3s ease;
}

.social-link:hover {
	background-color: #6da035;
	transform: translateY(-2px);
	color: #fff;
}

.social-link i {
	font-size: 1.1rem;
}

/* Map Section */
.map-wrapper {
	padding-left: 30px;
}

.map-container {
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	height: 400px;
}

.map-container iframe {
	width: 100%;
	height: 100%;
	border: 0;
}

/* Contact Form Section */
.contact-form-section {
	padding: 80px 0;
	background-color: #f8f9fa;
}

.contact-section-subtitle {
	font-size: 1.1rem;
	color: #6c757d;
	margin-bottom: 0;
}

.contact-form-wrapper {
	background-color: #fff;
	border-radius: 20px;
	padding: 50px;
	box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
}

.contact-form-container {
	max-width: 800px;
	margin: 0 auto;
}

/* Form Styles */
.form-group {
	margin-bottom: 25px;
}

.form-group label {
	font-weight: 600;
	color: #2c3e50;
	margin-bottom: 8px;
	display: block;
	font-size: 0.95rem;
}

.form-control {
	border: 2px solid #e9ecef;
	border-radius: 10px;
	padding: 15px 20px;
	font-size: 1rem;
	transition: all 0.3s ease;
	background-color: #fff;
}

.form-control:focus {
	border-color: #7fbe41;
	box-shadow: 0 0 0 0.2rem rgba(127, 190, 65, 0.15);
	background-color: #fff;
}

.form-control::placeholder {
	color: #adb5bd;
}

textarea.form-control {
	resize: vertical;
	min-height: 120px;
}

select.form-control {
	cursor: pointer;
}

/* KVKK Section */
.kvkk-section {
	background-color: #f8f9fa;
	padding: 20px;
	border-radius: 10px;
	margin: 30px 0;
}

.form-check {
	display: flex;
	align-items: flex-start;
}

.form-check-input {
	margin-top: 0.25rem;
	margin-right: 10px;
}

.form-check-label {
	font-size: 0.95rem;
	color: #495057;
	line-height: 1.5;
}

.form-check-label a {
	color: #7fbe41;
	text-decoration: none;
	font-weight: 600;
}

.form-check-label a:hover {
	text-decoration: underline;
}

/* Captcha Section */
.captcha-section {
	background-color: #f8f9fa;
	padding: 20px;
	border-radius: 10px;
	margin: 30px 0;
}

.captcha-section label {
	margin-bottom: 15px;
}

.captcha-wrapper {
	display: flex;
	align-items: center;
	gap: 20px;
}

.captcha-image {
	flex-shrink: 0;
}

.captcha-image img {
	border-radius: 8px;
	border: 2px solid #e9ecef;
}

.captcha-input {
	flex: 1;
	margin-bottom: 0;
}

/* Submit Button */
.btn-primary {
	background-color: #7fbe41;
	border-color: #7fbe41;
	padding: 15px 40px;
	font-size: 1.1rem;
	font-weight: 600;
	border-radius: 50px;
	transition: all 0.3s ease;
}

.btn-primary:hover {
	background-color: #6da035;
	border-color: #6da035;
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(127, 190, 65, 0.3);
}

/* Alert Styles */
.alert {
	border-radius: 10px;
	border: none;
	padding: 15px 20px;
	margin-bottom: 0;
}

.alert-success {
	background-color: #d1edcc;
	color: #2d5a2d;
}

.alert-danger {
	background-color: #f8d7da;
	color: #721c24;
}

/* Validation Styles */
.text-danger {
	font-size: 0.875rem;
	margin-top: 5px;
	display: block;
}

.form-control.is-invalid {
	border-color: #dc3545;
}

/* Responsive Design */
@media (max-width: 992px) {
	.contact-details-wrapper,
	.map-wrapper {
		padding: 0;
		margin-bottom: 40px;
	}

	.contact-info-section {
		padding: 60px 0;
	}

	.contact-form-section {
		padding: 60px 0;
	}

	.contact-form-wrapper {
		padding: 40px 30px;
	}

	.map-container {
		height: 300px;
	}
}

@media (max-width: 768px) {
	.content-header {
		height: 50vh;
		min-height: 400px;
	}

	.contact-section-title {
		font-size: 1.8rem;
	}

	.contact-form-wrapper {
		padding: 30px 20px;
	}

	.contact-info-item {
		padding: 15px;
	}

	.contact-info-icon {
		width: 45px;
		height: 45px;
		margin-right: 15px;
	}

	.captcha-wrapper {
		flex-direction: column;
		align-items: stretch;
	}

	.captcha-image {
		text-align: center;
		margin-bottom: 15px;
	}

	.social-links {
		justify-content: center;
	}
}

@media (max-width: 576px) {
	.contact-form-wrapper {
		margin: 0 15px;
		padding: 25px 15px;
	}

	.btn-primary {
		width: 100%;
		padding: 15px;
	}

	.contact-info-item {
		margin-bottom: 20px;
	}
}

/* Animation for smooth transitions */
.contact-info-item,
.social-link,
.btn-primary {
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Focus styles for accessibility */
.form-control:focus,
.btn:focus,
.form-check-input:focus {
	outline: none;
	box-shadow: 0 0 0 0.2rem rgba(127, 190, 65, 0.25);
}

/* Hover effects */
.contact-info-item:hover .contact-info-icon {
	background-color: #6da035;
	transform: scale(1.05);
}
