/* Engine Trouble Code - Modern Design */
/* Based on Remainder.info styling */

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
	line-height: 1.6;
	color: #1a1a1a;
	background: #ffffff;
	font-size: 16px;
}

/* Header */
#head {
	background: #f8f8f8;
	border-bottom: 1px solid #e0e0e0;
	padding: 12px 0;
}

.logo {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
}

.logo img {
	height: 45px;
	display: block;
}

/* Main Container */
#main {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px 30px;
}

/* Breadcrumb */
.breadcrumb {
	padding: 12px 0;
	font-size: 14px;
	color: #666;
}

.breadcrumb a {
	color: #1a1a1a;
	text-decoration: none;
}

.breadcrumb a:hover {
	text-decoration: underline;
}

.breadcrumb span {
	color: #666;
}

/* Code Hero */
.code-hero {
	padding: 25px 0 20px;
	text-align: center;
	border-bottom: 1px solid #f0f0f0;
}

.code-hero h1 {
	font-size: 28px;
	font-weight: 700;
	color: #1a1a1a;
	margin-bottom: 15px;
	line-height: 1.3;
}

.code-badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: #f8f8f8;
	padding: 12px 25px;
	border-radius: 4px;
	border: 1px solid #e0e0e0;
}

.badge-type {
	font-size: 14px;
	color: #666;
	font-weight: 500;
}

.badge-code {
	font-size: 24px;
	font-weight: 700;
	color: #d32f2f;
	font-family: 'Courier New', monospace;
}

/* Code Summary */
.code-summary {
	margin: 30px 0;
	padding: 20px;
	background: #f8f8f8;
	border-radius: 4px;
	border-left: 4px solid #d32f2f;
}

.code-summary h2 {
	font-size: 20px;
	margin-bottom: 12px;
	color: #1a1a1a;
	font-weight: 600;
}

.code-summary p {
	color: #444;
	line-height: 1.7;
	font-size: 15px;
}

/* Code Details Grid */
.code-details-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 25px;
	margin: 25px 0;
	padding: 20px 0;
}

.detail-visual {
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f8f8f8;
	padding: 20px;
	border-radius: 4px;
	border: 1px solid #e0e0e0;
}

.detail-visual img {
	max-width: 100%;
	height: auto;
	display: block;
}

.detail-info h3 {
	font-size: 18px;
	margin-bottom: 15px;
	color: #1a1a1a;
	font-weight: 600;
}

.info-table {
	width: 100%;
	border: none;
	background: #f8f8f8;
	border-radius: 4px;
	overflow: hidden;
}

.info-table tr {
	border-bottom: 1px solid #e8e8e8;
}

.info-table tr:last-child {
	border-bottom: none;
}

.info-table td {
	padding: 12px 15px;
	border: none;
}

.info-table td.label {
	font-weight: 500;
	color: #666;
	width: 40%;
}

.info-table td.value {
	font-weight: 600;
	color: #1a1a1a;
	font-size: 15px;
}

.info-table tr.highlight {
	background: #ffe6e6;
}

.info-table tr.highlight td.value {
	color: #d32f2f;
	font-size: 18px;
	font-family: 'Courier New', monospace;
}

/* Symptoms Section */
.symptoms-section {
	margin: 30px 0;
	padding: 25px 0;
	border-top: 1px solid #e0e0e0;
}

.symptoms-section h2 {
	font-size: 22px;
	margin-bottom: 20px;
	color: #1a1a1a;
	font-weight: 600;
}

.symptoms-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 15px;
}

.symptom-card {
	background: #f8f8f8;
	padding: 20px;
	border-radius: 4px;
	border: 1px solid #e0e0e0;
	text-align: center;
	transition: all 0.2s;
}

.symptom-card:hover {
	border-color: #d32f2f;
	background: #fff8f8;
}

.symptom-icon {
	font-size: 32px;
	display: block;
	margin-bottom: 10px;
}

.symptom-card h4 {
	font-size: 16px;
	margin-bottom: 6px;
	color: #1a1a1a;
	font-weight: 600;
}

.symptom-card p {
	font-size: 14px;
	color: #666;
}

/* Code Breakdown */
.code-breakdown {
	margin: 30px 0;
	padding: 25px 0;
	border-top: 1px solid #e0e0e0;
}

.code-breakdown h2 {
	font-size: 22px;
	margin-bottom: 15px;
	color: #1a1a1a;
	font-weight: 600;
}

.code-breakdown > p {
	font-size: 15px;
	color: #666;
	margin-bottom: 20px;
}

.breakdown-table {
	width: 100%;
	border-collapse: collapse;
	margin: 15px 0;
	background: #fff;
	border: 1px solid #e0e0e0;
}

.breakdown-table thead {
	background: #f8f8f8;
}

.breakdown-table th {
	padding: 12px;
	text-align: center;
	font-weight: 700;
	font-size: 18px;
	color: #d32f2f;
	border-bottom: 2px solid #d32f2f;
	font-family: 'Courier New', monospace;
}

.breakdown-table td {
	padding: 15px 12px;
	border-bottom: 1px solid #f0f0f0;
	font-size: 14px;
	color: #444;
	text-align: center;
}

.breakdown-table tr:last-child td {
	border-bottom: none;
}

/* Solution Section */
.solution-section {
	margin: 30px 0;
	padding: 25px;
	background: #f8f8f8;
	border-radius: 4px;
	border: 1px solid #e0e0e0;
}

.solution-section h2 {
	font-size: 22px;
	margin-bottom: 20px;
	color: #1a1a1a;
	font-weight: 600;
}

.solution-content h3 {
	font-size: 18px;
	margin: 20px 0 10px;
	color: #1a1a1a;
	font-weight: 600;
}

.solution-content h3:first-child {
	margin-top: 0;
}

.solution-content p {
	margin-bottom: 15px;
	color: #444;
	line-height: 1.7;
}

/* Description Section */
.description-section {
	margin: 30px 0;
	padding: 25px 0;
	border-top: 1px solid #e0e0e0;
}

.description-section h2 {
	font-size: 22px;
	margin-bottom: 15px;
	color: #1a1a1a;
	font-weight: 600;
}

.description-section h3 {
	font-size: 18px;
	margin: 20px 0 10px;
	color: #1a1a1a;
	font-weight: 600;
}

.description-section p {
	margin-bottom: 15px;
	color: #444;
	line-height: 1.7;
}

/* Related Cars */
.related-cars {
	margin: 30px 0;
	padding: 25px 0;
	border-top: 1px solid #e0e0e0;
}

.related-cars h3 {
	font-size: 20px;
	margin-bottom: 15px;
	color: #1a1a1a;
	font-weight: 600;
}

.car-links {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 10px;
}

.car-link {
	display: block;
	padding: 12px 15px;
	background: #f8f8f8;
	border: 1px solid #e0e0e0;
	border-radius: 3px;
	text-decoration: none;
	color: #1a1a1a;
	font-size: 14px;
	font-weight: 500;
	transition: all 0.2s;
}

.car-link:hover {
	background: #fff8f8;
	border-color: #d32f2f;
	color: #d32f2f;
}

/* Calculator/Search Section */
.calculator-section {
	background: #f8f8f8;
	padding: 25px;
	margin: 25px 0;
	border-radius: 4px;
	border: 1px solid #e0e0e0;
}

.calculator-section h2 {
	font-size: 20px;
	margin-bottom: 15px;
	color: #1a1a1a;
	font-weight: 600;
	text-align: center;
}

.code-search {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
}

.code-search select {
	width: 80px;
	padding: 12px;
	font-size: 16px;
	border: 1px solid #d0d0d0;
	border-radius: 3px;
	background: #fff;
	font-weight: 600;
}

.code-search input[type="number"] {
	width: 150px;
	padding: 12px 15px;
	font-size: 16px;
	border: 1px solid #d0d0d0;
	border-radius: 3px;
	background: #fff;
}

.code-search input[type="number"]:focus,
.code-search select:focus {
	outline: none;
	border-color: #d32f2f;
}

.code-search input[type="submit"] {
	background: #d32f2f;
	color: #fff;
	border: none;
	padding: 12px 30px;
	font-size: 16px;
	border-radius: 3px;
	cursor: pointer;
	font-weight: 500;
	transition: background 0.2s;
}

.code-search input[type="submit"]:hover {
	background: #b71c1c;
}

/* Footer */
#footer {
	background: #f8f8f8;
	border-top: 1px solid #e0e0e0;
	margin-top: 40px;
	padding: 30px 0 0;
}

.footer-content {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px 25px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 25px;
}

.footer-section h3 {
	font-size: 16px;
	font-weight: 600;
	color: #1a1a1a;
	margin-bottom: 12px;
}

.footer-section p {
	font-size: 14px;
	color: #666;
	line-height: 1.6;
	margin-bottom: 8px;
}

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

.footer-links li {
	margin-bottom: 8px;
}

.footer-links a {
	color: #444;
	text-decoration: none;
	font-size: 14px;
	transition: color 0.2s;
}

.footer-links a:hover {
	color: #d32f2f;
	text-decoration: underline;
}

.footer-bottom {
	background: #e8e8e8;
	padding: 15px;
	text-align: center;
	border-top: 1px solid #d0d0d0;
}

.footer-bottom p {
	margin: 0;
	font-size: 13px;
	color: #666;
}

/* Responsive */
@media (max-width: 768px) {
	.code-hero h1 {
		font-size: 24px;
	}
	
	.badge-code {
		font-size: 20px;
	}
	
	.code-details-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	
	.symptoms-grid {
		grid-template-columns: 1fr 1fr;
	}
	
	.breakdown-table {
		font-size: 13px;
	}
	
	.breakdown-table th,
	.breakdown-table td {
		padding: 8px;
		font-size: 12px;
	}
	
	.car-links {
		grid-template-columns: 1fr;
	}
	
	.code-search {
		flex-direction: column;
		width: 100%;
	}
	
	.code-search select,
	.code-search input[type="number"],
	.code-search input[type="submit"] {
		width: 100%;
		max-width: 300px;
	}
}

@media (max-width: 480px) {
	.symptoms-grid {
		grid-template-columns: 1fr;
	}
	
	.logo img {
		height: 38px;
	}
	
	.code-badge {
		flex-direction: column;
		gap: 5px;
		padding: 15px 20px;
	}
	
	.solution-section,
	.calculator-section {
		padding: 18px;
	}
}

/* Homepage Specific Styles */

/* Code Types Section */
.code-types-section {
	margin: 30px 0;
	padding: 25px 0;
	border-top: 1px solid #e0e0e0;
}

.code-types-section h2 {
	font-size: 22px;
	margin-bottom: 12px;
	color: #1a1a1a;
	font-weight: 600;
	text-align: center;
}

.code-types-section > p {
	text-align: center;
	color: #666;
	margin-bottom: 25px;
}

.code-types-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 20px;
	margin: 25px 0;
}

.code-type-card {
	background: #f8f8f8;
	padding: 25px 20px;
	border-radius: 4px;
	border: 2px solid #e0e0e0;
	text-decoration: none;
	transition: all 0.2s;
	text-align: center;
}

.code-type-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.code-type-card.powertrain {
	border-color: #d32f2f;
}

.code-type-card.powertrain:hover {
	background: #fff8f8;
	border-color: #b71c1c;
}

.code-type-card.body {
	border-color: #388e3c;
}

.code-type-card.body:hover {
	background: #f8fff8;
	border-color: #2e7d32;
}

.code-type-card.chassis {
	border-color: #f57c00;
}

.code-type-card.chassis:hover {
	background: #fffaf5;
	border-color: #e65100;
}

.code-type-card.network {
	border-color: #1976d2;
}

.code-type-card.network:hover {
	background: #f5f9ff;
	border-color: #1565c0;
}

.code-icon {
	width: 60px;
	height: 60px;
	background: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	font-weight: 700;
	margin: 0 auto 15px;
	font-family: 'Courier New', monospace;
}

.powertrain .code-icon {
	color: #d32f2f;
	border: 3px solid #d32f2f;
}

.body .code-icon {
	color: #388e3c;
	border: 3px solid #388e3c;
}

.chassis .code-icon {
	color: #f57c00;
	border: 3px solid #f57c00;
}

.network .code-icon {
	color: #1976d2;
	border: 3px solid #1976d2;
}

.code-type-card h3 {
	font-size: 18px;
	margin-bottom: 10px;
	color: #1a1a1a;
	font-weight: 600;
}

.code-type-card p {
	font-size: 14px;
	color: #666;
	line-height: 1.6;
	margin-bottom: 12px;
}

.code-example {
	display: block;
	font-size: 12px;
	color: #999;
	font-family: 'Courier New', monospace;
	margin-top: 10px;
}

/* Code Structure */
.code-structure {
	margin: 30px 0;
	padding: 25px;
	background: #f8f8f8;
	border-radius: 4px;
	border: 1px solid #e0e0e0;
}

.code-structure h2 {
	font-size: 22px;
	margin-bottom: 12px;
	color: #1a1a1a;
	font-weight: 600;
}

.code-structure > p {
	margin-bottom: 20px;
	color: #666;
}

.structure-breakdown {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 15px;
}

.structure-item {
	background: #fff;
	padding: 15px;
	border-radius: 3px;
	border: 1px solid #e0e0e0;
}

.structure-label {
	font-size: 12px;
	color: #999;
	font-weight: 500;
	margin-bottom: 5px;
}

.structure-value {
	font-size: 16px;
	color: #1a1a1a;
	font-weight: 700;
	margin-bottom: 10px;
}

.structure-desc {
	font-size: 13px;
	color: #666;
	line-height: 1.6;
}

.structure-desc strong {
	color: #d32f2f;
	font-family: 'Courier New', monospace;
}

/* Popular Codes */
.popular-codes {
	margin: 30px 0;
	padding: 25px 0;
	border-top: 1px solid #e0e0e0;
}

.popular-codes h2 {
	font-size: 22px;
	margin-bottom: 12px;
	color: #1a1a1a;
	font-weight: 600;
}

.popular-codes > p {
	margin-bottom: 20px;
	color: #666;
}

.popular-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 12px;
}

.popular-code-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 15px 18px;
	background: #f8f8f8;
	border: 1px solid #e0e0e0;
	border-radius: 3px;
	text-decoration: none;
	transition: all 0.2s;
}

.popular-code-card:hover {
	background: #fff8f8;
	border-color: #d32f2f;
	transform: translateX(3px);
}

.popular-code {
	font-size: 18px;
	font-weight: 700;
	color: #1a1a1a;
	font-family: 'Courier New', monospace;
}

.popular-arrow {
	font-size: 18px;
	color: #d32f2f;
}

/* Resources Section */
.resources-section {
	margin: 30px 0;
	padding: 25px 0;
	border-top: 1px solid #e0e0e0;
}

.resources-section h2 {
	font-size: 22px;
	margin-bottom: 20px;
	color: #1a1a1a;
	font-weight: 600;
	text-align: center;
}

.resources-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
}

.resource-card {
	background: #f8f8f8;
	padding: 20px;
	border-radius: 4px;
	border: 1px solid #e0e0e0;
	text-decoration: none;
	transition: all 0.2s;
}

.resource-card:hover {
	border-color: #d32f2f;
	background: #fff;
	box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.resource-icon {
	font-size: 32px;
	display: block;
	margin-bottom: 12px;
}

.resource-card h3 {
	font-size: 16px;
	margin-bottom: 8px;
	color: #1a1a1a;
	font-weight: 600;
}

.resource-card p {
	font-size: 14px;
	color: #666;
	line-height: 1.6;
	margin: 0;
}

/* Recent Lookups */
.recent-lookups {
	margin: 30px 0;
	padding: 25px 0;
	border-top: 1px solid #e0e0e0;
}

.recent-lookups h3 {
	font-size: 20px;
	margin-bottom: 15px;
	color: #1a1a1a;
	font-weight: 600;
}

.lookup-links {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 10px;
}

.lookup-link {
	display: block;
	padding: 12px 15px;
	background: #f8f8f8;
	border: 1px solid #e0e0e0;
	border-radius: 3px;
	text-decoration: none;
	color: #1a1a1a;
	font-size: 14px;
	font-weight: 500;
	transition: all 0.2s;
}

.lookup-link:hover {
	background: #fff;
	border-color: #d32f2f;
	color: #d32f2f;
}

/* About Section */
.about-section {
	margin: 30px 0;
	padding: 25px;
	background: #f8f8f8;
	border-radius: 4px;
	border: 1px solid #e0e0e0;
}

.about-section h2 {
	font-size: 22px;
	margin-bottom: 20px;
	color: #1a1a1a;
	font-weight: 600;
	text-align: center;
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 20px;
}

.feature {
	background: #fff;
	padding: 20px;
	border-radius: 3px;
	border: 1px solid #e0e0e0;
}

.feature h3 {
	font-size: 16px;
	margin-bottom: 10px;
	color: #1a1a1a;
	font-weight: 600;
}

.feature p {
	font-size: 14px;
	color: #666;
	line-height: 1.6;
	margin: 0;
}

/* Responsive for Homepage */
@media (max-width: 768px) {
	.code-types-grid {
		grid-template-columns: 1fr 1fr;
	}
	
	.structure-breakdown {
		grid-template-columns: 1fr 1fr;
	}
	
	.popular-grid {
		grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	}
	
	.resources-grid {
		grid-template-columns: 1fr;
	}
	
	.features-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {
	.code-types-grid {
		grid-template-columns: 1fr;
	}
	
	.structure-breakdown {
		grid-template-columns: 1fr;
	}
	
	.popular-grid {
		grid-template-columns: 1fr;
	}
	
	.lookup-links {
		grid-template-columns: 1fr;
	}
}

/* FAQ Section */
.faq-section {
	margin: 30px 0;
	padding: 25px 0;
	border-top: 1px solid #e0e0e0;
}

.faq-section h2 {
	font-size: 22px;
	margin-bottom: 20px;
	color: #1a1a1a;
	font-weight: 600;
}

.faq-item {
	margin: 15px 0;
	padding: 15px 0;
	border-bottom: 1px solid #f0f0f0;
}

.faq-item:last-child {
	border-bottom: none;
}

.faq-item h3 {
	font-size: 17px;
	margin-bottom: 8px;
	color: #1a1a1a;
	font-weight: 600;
}

.faq-item p {
	margin-bottom: 0;
	color: #444;
	line-height: 1.7;
}

/* --- Car-Specific Section Boxes ------------------------ */
.section-box {
	margin: 30px 0;
	padding: 25px;
	background: #f8f8f8;
	border-radius: 4px;
	border: 1px solid #e0e0e0;
	border-top: 3px solid #d32f2f;
}

.section-box h2 {
	font-size: 22px;
	margin-bottom: 15px;
	color: #1a1a1a;
	font-weight: 600;
}

.section-box p {
	color: #444;
	line-height: 1.7;
	font-size: 15px;
}

/* --- FAQ Item (car page inline version) ---------------- */
/* .faq-item zaten var, sadece .car-faq wrapper lazim */
.car-faq .faq-item {
	background: #fff;
	padding: 18px 20px;
	border-radius: 3px;
	border: 1px solid #e0e0e0;
	border-left: 4px solid #d32f2f;
	margin-top: 0;
	border-bottom: none;
}

.car-faq .faq-item p {
	color: #444;
	line-height: 1.7;
	font-size: 15px;
	margin: 0;
}

/* --------------------------------------------------------
   STATIC PAGES  (privacy / contact / about)
   1-page.php  —  style.css'e eklenecek
   -------------------------------------------------------- */

/* --- Hero ------------------------------------------------ */
.static-hero {
    padding: 28px 0 20px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 30px;
}

.static-hero h1 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px;
    line-height: 1.3;
}

.static-updated {
    font-size: 13px;
    color: #999;
}

/* --- Content sections ------------------------------------- */
.static-body {
    max-width: 800px;
}

.static-section {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
}

.static-section:last-child {
    border-bottom: none;
}

.static-section h2 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 12px;
}

.static-section p {
    font-size: 15px;
    color: #444;
    line-height: 1.8;
    margin-bottom: 12px;
}

.static-section p:last-child {
    margin-bottom: 0;
}

.static-section a {
    color: #d32f2f;
    text-decoration: none;
}

.static-section a:hover {
    text-decoration: underline;
}

.static-list {
    list-style: none;
    padding: 0;
    margin: 10px 0 15px;
}

.static-list li {
    font-size: 15px;
    color: #444;
    line-height: 1.7;
    padding: 6px 0 6px 20px;
    position: relative;
    border-bottom: 1px solid #f5f5f5;
}

.static-list li:last-child {
    border-bottom: none;
}

.static-list li::before {
    content: "›";
    position: absolute;
    left: 0;
    color: #d32f2f;
    font-weight: 700;
    font-size: 16px;
}

/* --- Form feedback messages ------------------------------- */
.form-message {
    padding: 14px 18px;
    border-radius: 4px;
    margin-bottom: 25px;
    font-size: 15px;
    line-height: 1.5;
}

.form-success {
    background: #f0fff4;
    border: 1px solid #a3d9a5;
    color: #2e7d32;
}

.form-error {
    background: #fff8f8;
    border: 1px solid #f5c2c2;
    color: #c62828;
}

/* --- Contact page layout ---------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-top: 10px;
}

/* Contact form */
.contact-form-wrap h2,
.contact-info-wrap h2 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #d32f2f;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #555;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    padding: 11px 14px;
    font-size: 15px;
    border: 1px solid #d0d0d0;
    border-radius: 3px;
    background: #fff;
    color: #1a1a1a;
    font-family: inherit;
    transition: border-color 0.2s;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d32f2f;
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.contact-submit {
    background: #d32f2f;
    color: #fff;
    border: none;
    padding: 13px 30px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.2s;
    align-self: flex-start;
    font-family: inherit;
}

.contact-submit:hover {
    background: #b71c1c;
}

/* Contact info cards */
.contact-info-wrap {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.contact-info-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
}

.contact-info-card:last-child {
    border-bottom: none;
}

.contact-info-icon {
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-info-card h3 {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 5px;
}

.contact-info-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.contact-info-card a {
    color: #d32f2f;
    text-decoration: none;
}

.contact-info-card a:hover {
    text-decoration: underline;
}

/* --- About page stats ------------------------------------- */
.about-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 0 0 30px;
}

.about-stat {
    background: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-top: 3px solid #d32f2f;
    border-radius: 4px;
    padding: 20px 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.about-stat-number {
    font-size: 30px;
    font-weight: 700;
    color: #d32f2f;
    font-family: 'Courier New', monospace;
    line-height: 1;
}

.about-stat-label {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

/* --- Responsive ------------------------------------------- */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-highlights {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .about-stat-number {
        font-size: 22px;
    }

    .static-body {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .static-hero h1 {
        font-size: 22px;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

    .contact-submit {
        width: 100%;
        text-align: center;
    }
}

/* --------------------------------------------------------
   CODE LISTING PAGES  (1-codes.php)
   style.css'e eklenecek
   -------------------------------------------------------- */

/* --- /fault-codes/ ana sayfa: kategori kartlari ---------- */
.codelist-type-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin: 10px 0 20px;
}

.codelist-type-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 22px 20px;
    background: #f8f8f8;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s;
}

.codelist-type-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    background: #fff;
}

.codelist-type-card.powertrain { border-color: #d32f2f; }
.codelist-type-card.powertrain:hover { border-color: #b71c1c; }
.codelist-type-card.network    { border-color: #1976d2; }
.codelist-type-card.network:hover  { border-color: #1565c0; }
.codelist-type-card.body       { border-color: #388e3c; }
.codelist-type-card.body:hover { border-color: #2e7d32; }
.codelist-type-card.chassis    { border-color: #f57c00; }
.codelist-type-card.chassis:hover  { border-color: #e65100; }

.codelist-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    background: #fff;
    border: 3px solid currentColor;
    line-height: 1;
}

.codelist-type-card.powertrain .codelist-icon { color: #d32f2f; }
.codelist-type-card.network    .codelist-icon { color: #1976d2; }
.codelist-type-card.body       .codelist-icon { color: #388e3c; }
.codelist-type-card.chassis    .codelist-icon { color: #f57c00; }

.codelist-type-card h2 {
    font-size: 17px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 6px;
}

.codelist-type-card p {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin: 0 0 8px;
}

.codelist-example {
    font-size: 12px;
    color: #999;
    font-family: 'Courier New', monospace;
}

/* --- Sub-navigation (P / U / B / C tabs) ----------------- */
.codelist-subnav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0 0 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.codelist-subnav-item {
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    background: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 3px;
    text-decoration: none;
    transition: all 0.2s;
}

.codelist-subnav-item:hover {
    background: #fff8f8;
    border-color: #d32f2f;
    color: #d32f2f;
}

.codelist-subnav-item.active {
    background: #d32f2f;
    border-color: #d32f2f;
    color: #fff;
}

/* --- Code columns grid ------------------------------------ */
.codelist-columns {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0 15px;
    margin: 15px 0;
    padding: 20px;
    background: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

.codelist-col {
    display: flex;
    flex-direction: column;
}

.codelist-link {
    display: block;
    padding: 3px 0;
    font-size: 13px;
    font-weight: 500;
    color: #1a1a1a;
    text-decoration: none;
    font-family: 'Courier New', monospace;
    border-bottom: 1px solid #f0f0f0;
    transition: color 0.15s;
    white-space: nowrap;
}

.codelist-link:hover {
    color: #d32f2f;
    text-decoration: none;
}

/* --- Responsive ------------------------------------------- */
@media (max-width: 768px) {
    .codelist-type-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .codelist-columns {
        grid-template-columns: repeat(3, 1fr);
        padding: 14px;
        gap: 0 10px;
    }

    .codelist-subnav {
        gap: 6px;
    }

    .codelist-subnav-item {
        padding: 7px 12px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .codelist-type-card {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .codelist-columns {
        grid-template-columns: repeat(2, 1fr);
    }
}
