/*
Theme Name: İskilip OSB Pro
Theme URI: https://iskiliposb.com
Author: Ara
Author URI: https://x.ai
Description: İskilip Organize Sanayi Bölgesi için profesyonel, endüstriyel, mobil uyumlu WordPress teması. Bootstrap 5, harita, galeri, form.
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: iskilip-osb
Tags: osb, sanayi, kurumsal, bootstrap, responsive, harita, galeri, form, seo
*/

/* ===== CSS Variables ===== */
:root {
	--osb-primary: #e67e22;
	--osb-secondary: #1a2a44;
	--osb-dark: #2c3e50;
	--osb-light: #ecf0f1;
	--osb-success: #27ae60;
	--osb-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ===== Base Styles ===== */
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	font-family: var(--osb-font);
	background: #f8f9fa;
	color: var(--osb-dark);
	line-height: 1.7;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	text-decoration: none;
	color: var(--osb-primary);
	transition: color 0.3s ease;
}

a:hover {
	color: var(--osb-secondary);
}

/* ===== Navbar Styles ===== */
.navbar {
	padding: 0.75rem 0;
	background: var(--osb-secondary) !important;
}

.navbar-brand {
	font-size: 1.5rem;
	font-weight: 700;
	color: #fff !important;
}

.navbar-brand:hover {
	color: var(--osb-primary) !important;
}

.navbar-dark .navbar-nav .nav-link {
	color: rgba(255, 255, 255, 0.9);
	font-weight: 500;
	padding: 0.5rem 1rem;
	transition: all 0.3s ease;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
	color: var(--osb-primary) !important;
}

.navbar-toggler {
	border: none;
	padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
	box-shadow: none;
}

.custom-logo {
	max-height: 60px;
	width: auto;
}

.navbar-spacer {
	height: 80px;
}

/* ===== Hero Section ===== */
.hero-section {
	position: relative;
	background-image: linear-gradient(rgba(26, 42, 68, 0.85), rgba(26, 42, 68, 0.85));
	background-color: var(--osb-secondary);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	min-height: 600px;
	display: flex;
	align-items: center;
	color: #fff;
	padding: 120px 0;
	margin-top: -1px;
}

.hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(26, 42, 68, 0.7);
	z-index: 0;
}

.hero-content {
	position: relative;
	z-index: 1;
}

.hero-title {
	font-size: 3.5rem;
	font-weight: 700;
	margin-bottom: 1rem;
}

.hero-subtitle {
	font-size: 1.5rem;
	font-weight: 400;
	opacity: 0.95;
}

/* ===== Button Styles ===== */
.btn-primary {
	background-color: var(--osb-primary);
	border-color: var(--osb-primary);
	color: #fff;
	padding: 12px 32px;
	font-weight: 600;
	border-radius: 50px;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
}

.btn-primary:hover {
	background-color: #d35400;
	border-color: #d35400;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4);
}

.btn-outline-light:hover {
	background-color: var(--osb-primary);
	border-color: var(--osb-primary);
}

/* ===== Section Styles ===== */
.section {
	padding: 80px 0;
}

.section-white {
	background: #fff;
}

.section-light {
	background: #f8f9fa;
}

.section-dark {
	background: var(--osb-secondary);
	color: #fff;
}

.section-title {
	font-size: 2.5rem;
	font-weight: 700;
	text-align: center;
	margin-bottom: 3rem;
	color: var(--osb-secondary);
	position: relative;
	padding-bottom: 1rem;
}

.section-dark .section-title {
	color: #fff;
}

.section-title::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 80px;
	height: 4px;
	background: var(--osb-primary);
	border-radius: 2px;
}

/* ===== Info Box ===== */
.info-box {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
	transition: transform 0.3s ease;
}

.info-box:hover {
	transform: translateY(-5px);
}

.info-box h3 {
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--osb-secondary);
	margin-bottom: 0.5rem;
}

.info-box p {
	color: #666;
	font-weight: 500;
}

/* ===== Feature Card ===== */
.feature-card {
	background: #f8f9fa;
	border-radius: 12px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
	transition: all 0.3s ease;
}

.feature-card:hover {
	background: #fff;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-card h4 {
	color: var(--osb-secondary);
	margin-bottom: 1rem;
}

/* ===== Map ===== */
.map-wrapper {
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* ===== Contact Form ===== */
.contact-form-wrapper {
	background: #fff;
	padding: 40px;
	border-radius: 16px;
	box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
}

.contact-form label {
	font-weight: 600;
	color: var(--osb-dark);
	margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form textarea {
	border: 1.5px solid #ddd;
	border-radius: 8px;
	padding: 14px;
	transition: all 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
	outline: none;
	border-color: var(--osb-primary);
	box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1);
}

/* ===== Footer ===== */
.osb-footer {
	background: #111;
	color: #aaa;
	padding: 60px 0 20px;
	margin-top: 50px;
}

.footer-title {
	color: #fff;
	font-weight: 600;
	margin-bottom: 1.5rem;
}

.footer-widget {
	color: #ccc;
}

.footer-widget p {
	margin-bottom: 0.5rem;
}

.footer-menu {
	list-style: none;
	padding: 0;
}

.footer-menu li {
	margin-bottom: 0.5rem;
}

.footer-menu a {
	color: #aaa;
	transition: color 0.3s;
}

.footer-menu a:hover {
	color: var(--osb-primary);
}

.footer-bottom {
	border-top: 1px solid #333 !important;
}

.footer-bottom a {
	color: #aaa;
}

.footer-bottom a:hover {
	color: var(--osb-primary);
}

/* ===== Blog/Post Styles ===== */
.entry-title a {
	color: var(--osb-secondary);
	font-weight: 700;
}

.entry-title a:hover {
	color: var(--osb-primary);
}

.entry-meta {
	color: #666;
	font-size: 0.9rem;
}

.entry-content {
	margin-top: 1.5rem;
}

.post-thumbnail img {
	border-radius: 12px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.card {
	border: none;
	border-radius: 12px;
	overflow: hidden;
	transition: transform 0.3s ease;
}

.card:hover {
	transform: translateY(-5px);
}

.card-img-top {
	transition: transform 0.3s ease;
}

.card:hover .card-img-top {
	transform: scale(1.05);
}

.card-title a {
	color: var(--osb-secondary);
	text-decoration: none;
}

.card-title a:hover {
	color: var(--osb-primary);
}

/* ===== Pagination ===== */
.pagination-wrap {
	margin-top: 3rem;
}

.pagination .page-numbers {
	display: inline-block;
	padding: 8px 16px;
	margin: 0 4px;
	border: 1px solid #ddd;
	border-radius: 8px;
	color: var(--osb-secondary);
	transition: all 0.3s;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
	background: var(--osb-primary);
	color: #fff;
	border-color: var(--osb-primary);
}

/* ===== Widget Styles ===== */
.widget {
	background: #fff;
	padding: 25px;
	border-radius: 12px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
	margin-bottom: 2rem;
}

.widget-title {
	font-size: 1.3rem;
	font-weight: 700;
	color: var(--osb-secondary);
	margin-bottom: 1.5rem;
	padding-bottom: 0.75rem;
	border-bottom: 2px solid var(--osb-primary);
}

.widget ul {
	list-style: none;
	padding: 0;
}

.widget ul li {
	padding: 8px 0;
	border-bottom: 1px solid #eee;
}

.widget ul li:last-child {
	border-bottom: none;
}

.widget ul li a {
	color: #666;
	transition: color 0.3s;
}

.widget ul li a:hover {
	color: var(--osb-primary);
}

/* ===== Search Form ===== */
.search-form {
	display: flex;
	gap: 10px;
}

.search-form input {
	flex: 1;
	padding: 10px;
	border: 1px solid #ddd;
	border-radius: 8px;
}

.search-form button {
	background: var(--osb-primary);
	color: #fff;
	border: none;
	padding: 10px 20px;
	border-radius: 8px;
	cursor: pointer;
	transition: background 0.3s;
}

.search-form button:hover {
	background: #d35400;
}

/* ===== Breadcrumb ===== */
.breadcrumb-nav {
	padding: 15px 0;
}

.breadcrumb {
	background: transparent;
	padding: 0;
	margin-bottom: 0;
}

.breadcrumb-item {
	font-size: 0.9rem;
}

.breadcrumb-item + .breadcrumb-item::before {
	content: "›";
	color: #999;
	font-weight: bold;
}

.breadcrumb-item a {
	color: var(--osb-secondary);
	text-decoration: none;
	transition: color 0.3s;
}

.breadcrumb-item a:hover {
	color: var(--osb-primary);
}

.breadcrumb-item.active {
	color: var(--osb-primary);
	font-weight: 600;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
	.navbar-collapse {
		background: #1a2a44;
		margin-top: 12px;
		padding: 15px;
		border-radius: 0 0 10px 10px;
		box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
	}
	
	.navbar-nav .nav-link {
		text-align: center;
	}
	
	.hero-title {
		font-size: 2.5rem;
	}
	
	.hero-subtitle {
		font-size: 1.2rem;
	}
	
	.section {
		padding: 50px 0;
	}
	
	.section-title {
		font-size: 2rem;
	}
	
	.contact-form-wrapper {
		padding: 25px;
	}
	
	.navbar-spacer {
		height: 70px;
	}
}

@media (max-width: 767px) {
	.hero-title {
		font-size: 2rem;
	}
	
	.hero-subtitle {
		font-size: 1rem;
	}
	
	.hero-section {
		padding: 80px 0;
		min-height: 500px;
	}
	
	.section-title {
		font-size: 1.8rem;
	}
	
	.info-box h3 {
		font-size: 2rem;
	}
}
