/* =====================================================================
   AUNDE Teknik – yeni görünüm (mevcut "rocked" temasının üzerine)
   Logo mavisi, okunaklı tipografi, başlık bandı, kartlar, footer.
   ===================================================================== */
:root {
	--ay-blue: #0054A9;
	--ay-blue-dark: #003B77;
	--ay-blue-soft: #eef4fb;
	--ay-overlay: rgba(0, 38, 82, 0.74);
	--ay-text: #3d4247;
	--ay-head: #1f2328;
	--ay-muted: #5b6168;
	--ay-line: #e3e6ea;
	--ay-soft: #f4f6f8;
	--ay-foot: #2d2d2d;
	--ay-foot-text: #c4cad0;
	--ay-radius: 4px;
}

/* ---------- Genel tipografi ---------- */
body {
	color: var(--ay-text);
	font-size: 17px;
	line-height: 1.7;
}
h1, h2, h3, h4, h5, h6,
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4 {
	color: var(--ay-head);
	font-family: "Open Sans", sans-serif;
	font-weight: 700;
	line-height: 1.25;
}
.entry-content p,
.entry-content ul,
.entry-content ol { max-width: 880px; }
.entry-content p.has-text-align-center { margin-left: auto; margin-right: auto; }
a { color: var(--ay-blue); }
a:hover, a:focus { color: var(--ay-blue-dark); }
::selection { background: var(--ay-blue); color: #fff; }

/* ---------- Header ---------- */
.header { border-bottom: 1px solid var(--ay-line); }
#mainnav ul li a {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.06em;
}
#mainnav ul li a:hover,
#mainnav ul li a.active { color: var(--ay-blue); }
#mainnav ul ul li a { letter-spacing: 0.02em; }

/* ---------- İç sayfa başlık bandı ---------- */
.ay-band {
	background: url(../../wp-content/uploads/2022/01/cropped-Image-13.png) center 40% / cover no-repeat;
}
.ay-band-in { background: var(--ay-overlay); }
.ay-band .container { padding-top: 44px; padding-bottom: 46px; }
.ay-band h1 {
	margin: 6px 0 0;
	color: #fff;
	font-size: 40px;
	font-weight: 800;
	line-height: 1.15;
}
.ay-crumb { font-size: 14px; color: #bcd4ef; }
.ay-crumb a { color: #bcd4ef; text-decoration: none; }
.ay-crumb a:hover { color: #fff; }
.ay-crumb span[aria-hidden] { margin: 0 8px; }
.ay-inner .main-content { padding-top: 48px; }
.ay-inner .entry-header { display: none; }

/* ---------- Belge / sertifika kartları ---------- */
.ay-docs-title { margin: 32px 0 16px; font-size: 24px; }
.ay-docs {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
	margin: 16px 0 32px;
}
.ay-doc {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 22px;
	border: 1px solid var(--ay-line);
	border-radius: var(--ay-radius);
	background: #fff;
}
.ay-doc svg { flex: none; }
.ay-doc-name { font-weight: 700; font-size: 18px; color: var(--ay-head); line-height: 1.3; }
.ay-doc-sub { font-size: 14px; color: var(--ay-muted); line-height: 1.5; }
.ay-doc-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: auto; font-size: 15px; font-weight: 600; }
.ay-doc-actions a { text-decoration: none; }
.ay-doc-actions a:hover { text-decoration: underline; }

/* ---------- Galeriler ---------- */
.wp-block-gallery .blocks-gallery-item img,
.wp-block-gallery figure.wp-block-image img { border-radius: var(--ay-radius); }

/* ---------- Ana sayfa: hero ---------- */
.ay-hero {
	background: url(../../wp-content/uploads/2022/01/cropped-Image-13.png) center / cover no-repeat;
}
.ay-hero-in { background: var(--ay-overlay); }
.ay-hero .container { padding-top: 120px; padding-bottom: 128px; color: #fff; }
.ay-kicker {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #bcd4ef;
}
.ay-hero h1 {
	margin: 18px 0 20px;
	max-width: 780px;
	color: #fff;
	font-size: 52px;
	font-weight: 800;
	line-height: 1.12;
}
.ay-hero p { max-width: 640px; margin: 0; font-size: 19px; line-height: 1.6; color: #e4ecf5; }
.ay-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.ay-btn {
	display: inline-block;
	padding: 13px 26px;
	border: 2px solid #fff;
	border-radius: 3px;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	line-height: 1.4;
}
.ay-btn-solid { background: #fff; color: var(--ay-blue); }
.ay-btn-solid:hover, .ay-btn-solid:focus { background: var(--ay-blue-soft); color: var(--ay-blue-dark); }
.ay-btn-line { color: #fff; }
.ay-btn-line:hover, .ay-btn-line:focus { background: rgba(255, 255, 255, 0.12); color: #fff; }

/* ---------- Ana sayfa: rakamlar ---------- */
.ay-stats { background: var(--ay-soft); border-bottom: 1px solid var(--ay-line); }
.ay-stats .container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 24px;
	padding-top: 36px;
	padding-bottom: 36px;
}
.ay-stat-num { font-size: 32px; font-weight: 800; color: var(--ay-blue); line-height: 1.2; }
.ay-stat-lbl { font-size: 15px; color: var(--ay-muted); }

/* ---------- Ana sayfa: bölümler ---------- */
.ay-section .container { padding-top: 80px; padding-bottom: 72px; }
.ay-section h2 { margin: 10px 0 0; font-size: 34px; max-width: 700px; }
.ay-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 24px;
	margin-top: 36px;
}
.ay-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--ay-line);
	border-radius: var(--ay-radius);
	background: #fff;
	color: var(--ay-text);
	text-decoration: none;
	transition: box-shadow .2s, border-color .2s;
}
.ay-card:hover, .ay-card:focus { border-color: #c9d6e4; box-shadow: 0 6px 20px rgba(0, 38, 82, 0.10); color: var(--ay-text); }
.ay-card img { display: block; width: 100%; height: 150px; object-fit: cover; }
.ay-card-body { display: flex; flex-direction: column; gap: 8px; flex-grow: 1; padding: 22px; }
.ay-card-body h3 { margin: 0; font-size: 19px; }
.ay-card-body p { margin: 0; font-size: 15px; line-height: 1.6; flex-grow: 1; }
.ay-more { font-size: 15px; font-weight: 600; color: var(--ay-blue); }

.ay-about { background: var(--ay-soft); }
.ay-about .container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 48px;
	align-items: center;
	padding-top: 72px;
	padding-bottom: 72px;
}
.ay-about img { display: block; width: 100%; height: 260px; object-fit: cover; border-radius: var(--ay-radius); }
.ay-about h2 { margin: 10px 0 16px; font-size: 30px; }
.ay-about p { margin: 0 0 16px; font-size: 17px; line-height: 1.75; }

.ay-brands .container { padding-top: 64px; padding-bottom: 64px; text-align: center; }
.ay-brands .ay-kicker { color: var(--ay-muted); }
.ay-brand-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 48px; margin-top: 24px; }
.ay-brand-row img { display: block; height: 72px; width: auto; }

/* ---------- İletişim ---------- */
.ay-contact { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; margin: 8px 0 24px; }
.ay-locs { flex: 1 1 360px; display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.ay-loc {
	display: flex;
	flex-direction: column;
	gap: 4px;
	width: 100%;
	padding: 16px 18px;
	border: 2px solid var(--ay-line);
	border-radius: var(--ay-radius);
	background: #fff;
	color: var(--ay-text);
	font: inherit;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: normal;
	text-transform: none;
	text-align: left;
	white-space: normal;
	height: auto;
	box-shadow: none;
	cursor: pointer;
}
.ay-loc:hover, .ay-loc:focus { background: #fff; color: var(--ay-text); }
.ay-loc:hover { border-color: #b9cbe0; }
.ay-loc[aria-pressed="true"] { border-color: var(--ay-blue); background: var(--ay-blue-soft); }
.ay-loc:focus-visible { outline: 3px solid var(--ay-blue); outline-offset: 2px; }
.ay-loc-name { font-weight: 700; font-size: 16px; color: var(--ay-head); line-height: 1.35; }
.ay-loc-addr { font-size: 15px; line-height: 1.55; }
.ay-loc-tel { font-size: 15px; font-weight: 600; color: var(--ay-blue); }
.ay-loc-note { font-size: 13px; color: var(--ay-muted); }
.ay-map { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 12px; position: sticky; top: 24px; }
.ay-map iframe {
	display: block;
	width: 100%;
	height: 560px;
	border: 1px solid var(--ay-line);
	border-radius: var(--ay-radius);
}
.ay-map-links { display: flex; flex-wrap: wrap; gap: 20px; font-size: 15px; font-weight: 600; }

/* ---------- Footer ---------- */
.ay-footer { background: var(--ay-foot); color: var(--ay-foot-text); font-size: 15px; line-height: 1.7; }
.ay-footer .ay-foot-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 40px;
	padding-top: 56px;
	padding-bottom: 40px;
}
.ay-foot-title { color: #fff; font-weight: 700; font-size: 16px; margin-bottom: 8px; }
.ay-footer a { color: #d6dbe0; text-decoration: none; }
.ay-footer a:hover, .ay-footer a:focus { color: #fff; text-decoration: underline; }
.ay-foot-links { display: flex; flex-direction: column; gap: 4px; }
.ay-foot-bottom { border-top: 1px solid #444; }
.ay-foot-bottom .container { padding-top: 18px; padding-bottom: 18px; font-size: 13px; color: #a9b0b6; }

/* ---------- KVKK alt bandı (WP Popups) ---------- */
.spu-box.spu-position-bottom-bar {
	border-top: 3px solid var(--ay-blue) !important;
	box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08) !important;
}
.spu-box .spu-content p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ay-text); }
.spu-box .spu-close { color: var(--ay-muted) !important; text-shadow: none !important; }
.spu-bg { display: none !important; }

/* ---------- hidden özniteliği her zaman gizlesin ---------- */
[hidden] { display: none !important; }

/* ---------- KVKK bandı (eklentisiz) ---------- */
.ay-kvkk {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9999;
	background: #fff;
	border-top: 3px solid var(--ay-blue);
	box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
}
.ay-kvkk .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 14px; padding-bottom: 14px; }
.ay-kvkk p { margin: 0; flex: 1 1 420px; font-size: 15px; line-height: 1.6; color: var(--ay-text); }
.ay-kvkk-ok, .ay-map-consent button {
	min-height: 44px;
	padding: 10px 24px;
	border: 0;
	border-radius: 3px;
	background: var(--ay-blue);
	color: #fff;
	font: inherit;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: normal;
	text-transform: none;
	cursor: pointer;
}
.ay-kvkk-ok:hover, .ay-kvkk-ok:focus, .ay-map-consent button:hover, .ay-map-consent button:focus { background: var(--ay-blue-dark); color: #fff; }

/* ---------- Harita onayı ---------- */
.ay-map-consent {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	height: 560px;
	padding: 24px;
	border: 1px solid var(--ay-line);
	border-radius: var(--ay-radius);
	background: var(--ay-soft);
	text-align: center;
}
.ay-map-consent p { margin: 0; max-width: 440px; font-size: 15px; color: var(--ay-muted); }

/* ---------- İK: açık pozisyonlar kutusu ---------- */
.ay-jobs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 24px 32px;
	margin: 0 0 40px;
	padding: 24px;
	border: 1px solid var(--ay-line);
	border-radius: var(--ay-radius);
	background: var(--ay-soft);
}
.ay-jobs img { flex: 0 1 280px; width: 280px; max-width: 100%; height: auto; border-radius: var(--ay-radius); }
.ay-jobs > div { flex: 1 1 320px; }
.ay-jobs h3 { margin: 0 0 8px; font-size: 24px; }
.ay-jobs p { margin: 0 0 16px; }
.ay-jobs-links { display: flex; flex-wrap: wrap; gap: 12px; }
.ay-jobs-links a {
	display: inline-block;
	padding: 11px 22px;
	border-radius: 3px;
	background: var(--ay-blue);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
}
.ay-jobs-links a:hover, .ay-jobs-links a:focus { background: var(--ay-blue-dark); color: #fff; }

/* Bootstrap .container clearfix sözde öğeleri grid içinde boş hücre olmasın */
.ay-stats .container::before, .ay-stats .container::after,
.ay-about .container::before, .ay-about .container::after,
.ay-foot-grid::before, .ay-foot-grid::after { content: none; display: none; }

/* ---------- Mobil ---------- */
@media (max-width: 991px) {
	.ay-hero .container { padding-top: 88px; padding-bottom: 96px; }
	.ay-hero h1 { font-size: 40px; }
	.ay-section h2 { font-size: 28px; }
}
@media (max-width: 767px) {
	body { font-size: 16px; }
	.ay-hero .container { padding-top: 64px; padding-bottom: 72px; }
	.ay-hero h1 { font-size: 32px; }
	.ay-hero p { font-size: 17px; }
	.ay-band .container { padding-top: 32px; padding-bottom: 34px; }
	.ay-band h1 { font-size: 30px; }
	.ay-section .container { padding-top: 56px; padding-bottom: 48px; }
	.ay-about .container { grid-template-columns: 1fr; gap: 28px; padding-top: 48px; padding-bottom: 48px; }
	.ay-about img { height: 200px; }
	.ay-brand-row { gap: 28px; }
	.ay-brand-row img { height: 56px; }
	.ay-map { position: static; }
	.ay-map iframe, .ay-map-consent { height: 360px; }
	.ay-kvkk p { flex-basis: 100%; }
	.ay-inner .main-content { padding-top: 32px; }
}
