/* Ordmesh V1 — Front-end styles (original) */

:root {
	--ordmesh-font: 'Helvetica Now Display', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	--ordmesh-black: #0d0d0d;
	--ordmesh-white: #ffffff;
	--ordmesh-gray: #6e6e6e;
	--ordmesh-border: #e5e5e5;
	--ordmesh-container: 1320px;
}

html { color-scheme: light only; background: var(--ordmesh-white); }

body {
	font-family: var(--ordmesh-font);
	color: var(--ordmesh-black);
	background: var(--ordmesh-white);
	font-size: 16px;
	line-height: 1.55;
	letter-spacing: -0.01em;
	-webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-weight: 400; letter-spacing: -0.03em; margin: 0 0 0.5em; }

.ordmesh-container {
	max-width: var(--ordmesh-container);
	margin: 0 auto;
	padding: 0 32px;
}

/* ---------- Header ---------- */
.ordmesh-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(8px);
}
.ordmesh-header-inner {
	display: flex;
	align-items: center;
	height: 84px;
	gap: 48px;
}
.ordmesh-logo-img { max-height: 32px; width: auto; }
.ordmesh-logo-text { font-size: 19px; font-weight: 400; letter-spacing: -0.02em; }
.ordmesh-nav { flex: 1; }
.ordmesh-menu { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
.ordmesh-menu li { position: relative; }
.ordmesh-menu a {
	font-size: 15px;
	position: relative;
	padding-bottom: 3px;
	display: inline-block;
}
.ordmesh-menu a::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	height: 1px;
	width: 0;
	background: currentColor;
	transition: width 0.3s ease;
}
.ordmesh-menu a:hover::after { width: 100%; }
.ordmesh-menu li.current-menu-item > a::after,
.ordmesh-menu li.current_page_item > a::after { width: 100%; }
.ordmesh-header-right { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.ordmesh-header-link {
	font-size: 14px;
	display: inline-flex;
	align-items: center;
	gap: 5px;
}
.ordmesh-arrow-external { position: relative; top: -1px; }
.ordmesh-header-contact {
	padding: 9px 20px;
	border: 1px solid var(--ordmesh-black);
	border-radius: 999px;
	transition: background 0.25s, color 0.25s;
}
.ordmesh-header-contact:hover { background: var(--ordmesh-black); color: #fff; }
.ordmesh-menu-toggle { display: none; background: none; border: none; cursor: pointer; }

/* Mobile drawer */
.ordmesh-mobile-drawer {
	display: none;
	flex-direction: column;
	gap: 24px;
	padding: 24px 32px 32px;
}
.ordmesh-mobile-drawer.is-open { display: flex; }
.ordmesh-mobile-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.ordmesh-mobile-menu a { font-size: 20px; }
.ordmesh-mobile-drawer-links { display: flex; flex-direction: column; gap: 14px; padding-top: 16px; border-top: 1px solid var(--ordmesh-border); }
.ordmesh-mobile-drawer-links a { font-size: 15px; display: inline-flex; align-items: center; gap: 5px; }

@media (max-width: 782px) {
	.ordmesh-nav, .ordmesh-header-right { display: none; }
	.ordmesh-menu-toggle { display: block; margin-left: auto; }
}

/* ---------- Admin-only onboarding notice ---------- */
.ordmesh-admin-notice {
	margin-top: 16px;
	padding: 14px 20px;
	background: #fff8e6;
	border: 1px solid #f0dca0;
	border-radius: 8px;
	font-size: 14px;
	color: #5c4a12;
}
.ordmesh-admin-notice a { text-decoration: underline; font-weight: 400; }

/* ---------- Intro text (below header) ---------- */
.ordmesh-intro {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 40px;
	align-items: start;
	padding: 56px 32px 8px;
}
.ordmesh-intro-left h1 {
	font-size: 34px;
	line-height: 1.25;
	margin: 0;
}
.ordmesh-intro-right {
	padding-top: 8px;
}
.ordmesh-intro-right p {
	font-size: 16px;
	color: var(--ordmesh-gray);
	margin: 0 0 16px;
	line-height: 1.6;
}
.ordmesh-intro-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 400;
	letter-spacing: -0.01em;
}
.ordmesh-intro-link span { transition: transform 0.2s; }
.ordmesh-intro-link:hover span { transform: translateX(4px); }

@media (max-width: 782px) {
	.ordmesh-intro { grid-template-columns: 1fr; padding: 40px 24px 0; }
	.ordmesh-intro-left h1 { font-size: 26px; }
}

/* ---------- Hero Slider ---------- */
.ordmesh-slider {
	position: relative;
	width: 100%;
	background: var(--ordmesh-white);
	padding: 64px 0 40px;
}
.ordmesh-slider-track { position: relative; width: 100%; }
.ordmesh-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.6s ease;
}
.ordmesh-slide.is-active { position: relative; opacity: 1; visibility: visible; }
.ordmesh-slide-media {
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: 8px;
	overflow: hidden;
	background: #f2f2f2;
}
.ordmesh-slide-media img,
.ordmesh-slide-media video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.ordmesh-slide-caption {
	margin-top: 24px;
	color: var(--ordmesh-black);
	max-width: 640px;
}
.ordmesh-slide-caption h2 { font-size: 34px; margin-bottom: 10px; }
.ordmesh-slide-caption p { font-size: 16px; margin-bottom: 18px; color: var(--ordmesh-gray); }

.ordmesh-btn {
	display: inline-block;
	padding: 12px 28px;
	border: 1px solid var(--ordmesh-black);
	border-radius: 999px;
	font-size: 14px;
	color: var(--ordmesh-black);
	transition: background 0.25s, color 0.25s;
}
.ordmesh-btn:hover { background: var(--ordmesh-black); color: #fff; }

.ordmesh-slider-dots {
	margin-top: 20px;
	display: flex;
	gap: 10px;
}
.ordmesh-dot {
	width: 8px; height: 8px; border-radius: 50%;
	background: #d8d8d8;
	border: none; cursor: pointer; padding: 0;
	transition: background 0.2s;
}
.ordmesh-dot.is-active { background: var(--ordmesh-black); }

/* ---------- Generic content ---------- */
.ordmesh-main { padding: 80px 0; background: var(--ordmesh-white); }
.ordmesh-main-blank { min-height: 30vh; }

/* Contact page */
.ordmesh-contact-details {
	display: flex;
	gap: 48px;
	padding: 24px 32px 56px;
	flex-wrap: wrap;
}
.ordmesh-contact-detail a { font-size: 16px; }
.ordmesh-contact-detail a:hover { opacity: 0.6; }
.ordmesh-contact-form-area { padding: 0 32px 64px; }
.ordmesh-post-card { margin-bottom: 48px; }
.ordmesh-post-thumb img { border-radius: 8px; margin-bottom: 16px; }
.ordmesh-excerpt { color: var(--ordmesh-gray); }

/* ---------- Partners (İş Ortaklarımız — single row, 6 slots) ---------- */
.ordmesh-partners { padding: 8px 32px 24px; }
.ordmesh-partners-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 24px;
	align-items: center;
	margin-top: 16px;
}
.ordmesh-partner-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0.8;
	transition: opacity 0.2s;
}
.ordmesh-partner-logo:hover { opacity: 1; }
.ordmesh-partner-logo img { max-height: 44px; width: auto; max-width: 100%; }

@media (max-width: 782px) {
	.ordmesh-partners-grid { grid-template-columns: repeat(3, 1fr); gap: 20px 14px; }
}

/* ---------- Projects (Projeler / Works) ---------- */
.ordmesh-projects-header { padding: 48px 0 32px; }
.ordmesh-projects-header h1 { font-size: 40px; }
.ordmesh-projects-years { color: var(--ordmesh-gray); font-size: 0.6em; vertical-align: middle; }

.ordmesh-projects-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 40px 24px;
	padding-bottom: 40px;
}
.ordmesh-project-card { display: block; color: var(--ordmesh-black); }
.ordmesh-project-media {
	aspect-ratio: 4 / 3;
	border-radius: 8px;
	overflow: hidden;
	background: #f2f2f2;
	margin-bottom: 16px;
}
.ordmesh-project-media img,
.ordmesh-project-media video { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.ordmesh-project-card:hover .ordmesh-project-media img,
.ordmesh-project-card:hover .ordmesh-project-media video { transform: scale(1.03); }
.ordmesh-project-media-placeholder { width: 100%; height: 100%; background: #f2f2f2; }
.ordmesh-project-info h3 { font-size: 18px; margin: 0 0 4px; }
.ordmesh-project-info p { font-size: 14px; color: var(--ordmesh-gray); margin: 0; }
.ordmesh-projects-empty { padding: 40px 0; color: var(--ordmesh-gray); }

.ordmesh-projects-pagination { display: flex; gap: 8px; justify-content: center; padding: 16px 0 48px; }
.ordmesh-projects-pagination .page-numbers {
	width: 34px; height: 34px;
	display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--ordmesh-border);
	border-radius: 50%;
	font-size: 13px;
}
.ordmesh-projects-pagination .page-numbers.current { background: var(--ordmesh-black); color: #fff; border-color: var(--ordmesh-black); }

@media (max-width: 782px) {
	.ordmesh-projects-grid { grid-template-columns: 1fr; }
	.ordmesh-projects-header h1 { font-size: 28px; }
}

/* Single project (case study) */
.ordmesh-project-single-header { padding: 56px 0 24px; }
.ordmesh-project-client { font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--ordmesh-gray); margin: 0 0 8px; }
.ordmesh-project-single-header h1 { font-size: 42px; }
.ordmesh-project-tagline { font-size: 17px; color: var(--ordmesh-gray); max-width: 600px; }
.ordmesh-project-cover { border-radius: 8px; overflow: hidden; margin-bottom: 40px; }
.ordmesh-project-cover img,
.ordmesh-project-cover video { width: 100%; height: auto; display: block; }
.ordmesh-project-content { max-width: 760px; margin: 0 auto; padding-bottom: 40px; line-height: 1.7; }
.ordmesh-project-back { padding-bottom: 64px; }

/* ---------- Client Logos (6x2 grid with prev/next paging) ---------- */
.ordmesh-clients { padding: 40px 32px 64px; }
.ordmesh-clients-viewport { position: relative; overflow: hidden; }
.ordmesh-clients-page {
	display: none;
}
.ordmesh-clients-page.is-active { display: block; }
.ordmesh-clients-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	grid-template-rows: repeat(2, auto);
	gap: 32px 24px;
	align-items: center;
}
.ordmesh-client-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0.75;
	transition: opacity 0.2s;
}
.ordmesh-client-logo:hover { opacity: 1; }
.ordmesh-client-logo img { max-height: 40px; width: auto; max-width: 100%; }

.ordmesh-clients-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin-top: 32px;
}
.ordmesh-clients-prev,
.ordmesh-clients-next {
	width: 36px; height: 36px;
	border: 1px solid var(--ordmesh-border);
	border-radius: 50%;
	background: #fff;
	cursor: pointer;
	font-size: 15px;
	transition: background 0.2s;
}
.ordmesh-clients-prev:hover,
.ordmesh-clients-next:hover { background: #f2f2f2; }
.ordmesh-clients-dots { display: flex; gap: 8px; }
.ordmesh-clients-dot {
	width: 7px; height: 7px; border-radius: 50%;
	background: #d8d8d8;
	cursor: pointer;
}
.ordmesh-clients-dot.is-active { background: var(--ordmesh-black); }

@media (max-width: 782px) {
	.ordmesh-clients-grid { grid-template-columns: repeat(3, 1fr); grid-template-rows: none; grid-auto-rows: auto; }
}

/* ---------- Projects (Works/Portfolio) ---------- */
.ordmesh-projects-header { padding: 56px 0 32px; }
.ordmesh-projects-header h1 { font-size: 44px; }
.ordmesh-projects-years { color: var(--ordmesh-gray); font-weight: 400; }

.ordmesh-projects-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 40px 24px;
	padding-bottom: 64px;
}
.ordmesh-project-card { display: block; color: inherit; }
.ordmesh-project-media {
	aspect-ratio: 4 / 3;
	border-radius: 8px;
	overflow: hidden;
	background: #f2f2f2;
	margin-bottom: 16px;
}
.ordmesh-project-media img,
.ordmesh-project-media video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}
.ordmesh-project-card:hover .ordmesh-project-media img,
.ordmesh-project-card:hover .ordmesh-project-media video {
	transform: scale(1.03);
}
.ordmesh-project-media-placeholder { width: 100%; height: 100%; background: #f2f2f2; }
.ordmesh-project-info h3 { font-size: 20px; margin: 0 0 4px; }
.ordmesh-project-info p { font-size: 14px; color: var(--ordmesh-gray); margin: 0; }
.ordmesh-projects-empty { padding: 40px 0; color: var(--ordmesh-gray); }

.ordmesh-projects-pagination { display: flex; gap: 8px; padding-bottom: 64px; }
.ordmesh-projects-pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 32px; height: 32px; border-radius: 50%; font-size: 13px;
	border: 1px solid var(--ordmesh-border);
}
.ordmesh-projects-pagination .page-numbers.current { background: var(--ordmesh-black); color: #fff; border-color: var(--ordmesh-black); }

@media (max-width: 782px) {
	.ordmesh-projects-grid { grid-template-columns: 1fr; }
	.ordmesh-projects-header h1 { font-size: 30px; }
}

/* Single project */
.ordmesh-project-single-header { padding: 56px 0 32px; }
.ordmesh-project-client { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--ordmesh-gray); margin: 0 0 8px; }
.ordmesh-project-single-header h1 { font-size: 40px; }
.ordmesh-project-tagline { font-size: 17px; color: var(--ordmesh-gray); max-width: 640px; }
.ordmesh-project-cover { aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #f2f2f2; margin-bottom: 40px; }
.ordmesh-project-cover img, .ordmesh-project-cover video { width: 100%; height: 100%; object-fit: cover; }
.ordmesh-project-content { padding-bottom: 40px; max-width: 760px; line-height: 1.7; }
.ordmesh-project-back { padding-bottom: 64px; }

/* ---------- Footer ---------- */
.ordmesh-footer {
	background: var(--ordmesh-white);
	border-top: 1px solid var(--ordmesh-border);
	padding: 40px 0;
	font-size: 14px;
	color: var(--ordmesh-gray);
}
.ordmesh-footer-inner {
	display: flex;
	flex-wrap: wrap;
	gap: 32px;
	align-items: flex-start;
	justify-content: space-between;
}
.ordmesh-footer-col { flex: 1 1 auto; min-width: 160px; }
.ordmesh-footer-copyright p { margin: 0; }
.ordmesh-footer-contact { display: flex; flex-direction: column; gap: 6px; }
.ordmesh-footer-contact a { display: inline-flex; align-items: center; gap: 5px; }
.ordmesh-footer-contact a:hover { color: var(--ordmesh-black); }

.ordmesh-newsletter-label { display: block; font-size: 13px; margin-bottom: 8px; }
.ordmesh-newsletter-row { display: flex; gap: 8px; }
.ordmesh-newsletter-row input[type="email"] {
	flex: 1;
	padding: 9px 12px;
	border: 1px solid var(--ordmesh-border);
	border-radius: 999px;
	font-family: var(--ordmesh-font);
	font-size: 13px;
	min-width: 0;
}
.ordmesh-newsletter-row button {
	padding: 9px 18px;
	border: 1px solid var(--ordmesh-black);
	border-radius: 999px;
	background: var(--ordmesh-black);
	color: #fff;
	font-family: var(--ordmesh-font);
	font-size: 13px;
	cursor: pointer;
	white-space: nowrap;
}
.ordmesh-newsletter-success { color: var(--ordmesh-black); margin: 0; }

/* Footer menu — intentionally plain text, no button/pill styling */
.ordmesh-footer-menu-col { display: flex; align-items: flex-start; }
.ordmesh-footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.ordmesh-footer-menu a { color: var(--ordmesh-gray); }
.ordmesh-footer-menu a:hover { color: var(--ordmesh-black); }

@media (max-width: 782px) {
	.ordmesh-footer-inner { flex-direction: column; }
}

.ordmesh-404 { text-align: center; padding: 140px 0; }
