/*
Theme Name: Amgbahis
Theme URI: https://amgbahisgunceladres.com/
Author: AMG
Description: Eski PHP/Twig yazılımının tasarımını birebir taşıyan, JavaScript gerektirmeyen AMP uyumlu WordPress teması. AMG Core eklentisiyle birlikte çalışır.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: amgbahis
Tags: one-column, custom-menu, featured-images, translation-ready, blog
*/

/* ==========================================================================
   0. Yazı tipleri
   ========================================================================== */

@font-face {
	font-family: "Futura PT";
	src: url("assets/fonts/FuturaPT-Light.woff2") format("woff2");
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Futura PT";
	src: url("assets/fonts/FuturaPT-Medium.woff2") format("woff2");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Futura PT";
	src: url("assets/fonts/FuturaPT-Demi.woff2") format("woff2");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Futura PT";
	src: url("assets/fonts/FuturaPT-Heavy.woff2") format("woff2");
	font-weight: 800;
	font-style: normal;
	font-display: swap;
}

/* ==========================================================================
   1. Değişkenler ve sıfırlama
   ========================================================================== */

:root {
	--amg-primary: #3757f7;
	--amg-primary-dark: #071e93;
	--amg-primary-soft: #6880f9;
	--amg-dark: #232f4b;
	--amg-body: #6e6e6e;
	--amg-muted: #848892;
	--amg-line: #e1e1e1;
	--amg-bg: #ffffff;
	--amg-bg-alt: #f4f8fc;
	--amg-bg-soft: #edf2f8;
	--amg-white: #ffffff;
	--amg-radius: 6px;
	--amg-radius-lg: 14px;
	--amg-shadow: 0 12px 30px rgba(35, 47, 75, .08);
	--amg-shadow-lg: 0 20px 50px rgba(35, 47, 75, .12);
	--amg-head: "Futura PT", "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	--amg-text: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	--amg-wrap: 1200px;
	--amg-gap: 30px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--amg-text);
	font-size: 16px;
	line-height: 1.8;
	color: var(--amg-body);
	background: var(--amg-bg);
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 .6em;
	font-family: var(--amg-head);
	font-weight: 600;
	line-height: 1.25;
	color: var(--amg-dark);
}

h1 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.7vw, 2.4rem); }
h3 { font-size: clamp(1.3rem, 1.1rem + .9vw, 1.7rem); }
h4 { font-size: 1.2rem; }
h5 { font-size: 1.05rem; }
h6 { font-size: .95rem; }

p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }

a {
	color: var(--amg-primary);
	text-decoration: none;
	transition: color .25s ease;
}
a:hover,
a:focus { color: var(--amg-primary-dark); }

img,
svg,
video,
iframe,
amp-img,
amp-iframe {
	max-width: 100%;
	height: auto;
}

figure { margin: 0 0 1.5em; }

ul, ol { padding-left: 1.3em; }

blockquote {
	margin: 1.6em 0;
	padding: 22px 26px;
	border-left: 4px solid var(--amg-primary);
	background: var(--amg-bg-alt);
	border-radius: 0 var(--amg-radius) var(--amg-radius) 0;
	font-size: 1.05rem;
}

code, pre {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: .9em;
}
pre {
	padding: 18px;
	overflow-x: auto;
	background: var(--amg-dark);
	color: #e6e9f2;
	border-radius: var(--amg-radius);
}

hr {
	border: 0;
	border-top: 1px solid var(--amg-line);
	margin: 2.5em 0;
}

table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 1.5em;
}
th, td {
	padding: 12px 14px;
	border: 1px solid var(--amg-line);
	text-align: left;
}
th {
	background: var(--amg-bg-alt);
	color: var(--amg-dark);
	font-family: var(--amg-head);
	font-weight: 600;
}

.amg-icon {
	display: inline-block;
	vertical-align: middle;
	flex: none;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	top: -60px;
	left: 20px;
	z-index: 999;
	padding: 10px 18px;
	background: var(--amg-primary);
	color: #fff;
	border-radius: 0 0 var(--amg-radius) var(--amg-radius);
	transition: top .2s ease;
}
.skip-link:focus { top: 0; color: #fff; }

/* ==========================================================================
   2. Yerleşim yardımcıları
   ========================================================================== */

.amg-container {
	width: 100%;
	max-width: var(--amg-wrap);
	margin: 0 auto;
	padding: 0 20px;
}
.amg-container--wide { max-width: 1420px; }

.amg-section { padding: 90px 0; }
.amg-section--tight { padding: 60px 0; }
.amg-section--alt { background: var(--amg-bg-alt); }

.amg-grid {
	display: grid;
	gap: var(--amg-gap);
}
.amg-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.amg-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.amg-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.amg-section-title {
	max-width: 640px;
	margin: 0 auto 55px;
	text-align: center;
}
.amg-section-title span {
	display: inline-block;
	margin-bottom: 10px;
	font-family: var(--amg-head);
	font-size: .95rem;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--amg-primary);
}
.amg-section-title h2 { margin: 0; }
.amg-section-title p { margin-top: 14px; }

/* Butonlar */
.amg-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 32px;
	border: 2px solid var(--amg-primary);
	border-radius: var(--amg-radius);
	background: var(--amg-primary);
	color: #fff;
	font-family: var(--amg-head);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.4;
	cursor: pointer;
	transition: background .25s ease, border-color .25s ease, color .25s ease, transform .2s ease;
}
.amg-btn:hover,
.amg-btn:focus {
	background: var(--amg-primary-dark);
	border-color: var(--amg-primary-dark);
	color: #fff;
	transform: translateY(-2px);
}
.amg-btn--ghost {
	background: transparent;
	color: var(--amg-primary);
}
.amg-btn--ghost:hover { color: #fff; }
.amg-btn--light {
	background: #fff;
	border-color: #fff;
	color: var(--amg-primary);
}
.amg-btn--light:hover {
	background: rgba(255, 255, 255, .88);
	border-color: rgba(255, 255, 255, .88);
	color: var(--amg-primary-dark);
}
.amg-btn--sm { padding: 10px 22px; font-size: .92rem; }
.amg-btn--block { width: 100%; justify-content: center; }

/* ==========================================================================
   3. Başlık (topbar + navigasyon)
   ========================================================================== */

.amg-topbar {
	background: var(--amg-dark);
	color: rgba(255, 255, 255, .75);
	font-size: .9rem;
}
.amg-topbar__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 26px;
	min-height: 46px;
	padding-top: 6px;
	padding-bottom: 6px;
}
.amg-topbar ul {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.amg-topbar a { color: rgba(255, 255, 255, .75); }
.amg-topbar a:hover { color: #fff; }
.amg-topbar li {
	display: flex;
	align-items: center;
	gap: 8px;
}
.amg-topbar__social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .08);
	transition: background .25s ease;
}
.amg-topbar__social a:hover { background: var(--amg-primary); }

.amg-header {
	position: relative;
	z-index: 40;
	background: #fff;
	box-shadow: 0 2px 18px rgba(35, 47, 75, .07);
}
.amg-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 86px;
}

.amg-logo {
	display: inline-flex;
	align-items: center;
	flex: none;
	max-width: 210px;
}
.amg-logo img { max-height: 52px; width: auto; }
.amg-logo__text {
	font-family: var(--amg-head);
	font-size: 1.35rem;
	font-weight: 800;
	color: var(--amg-dark);
	line-height: 1.2;
}

/* Ana menü — masaüstü */
.amg-nav { display: flex; }
.amg-nav ul {
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.amg-nav li { position: relative; }
.amg-nav > ul > li > a {
	display: block;
	padding: 32px 16px;
	font-family: var(--amg-head);
	font-size: 1.02rem;
	font-weight: 600;
	color: var(--amg-dark);
}
.amg-nav > ul > li > a:hover,
.amg-nav > ul > li.current-menu-item > a,
.amg-nav > ul > li.current-menu-parent > a,
.amg-nav > ul > li.current_page_item > a { color: var(--amg-primary); }

.amg-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 30;
	display: block;
	min-width: 250px;
	padding: 10px 0;
	background: #fff;
	border-radius: 0 0 var(--amg-radius) var(--amg-radius);
	box-shadow: var(--amg-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(14px);
	transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
.amg-nav li:hover > .sub-menu,
.amg-nav li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.amg-nav .sub-menu li { display: block; width: 100%; }
.amg-nav .sub-menu a {
	display: block;
	padding: 9px 22px;
	font-size: .96rem;
	color: var(--amg-dark);
}
.amg-nav .sub-menu a:hover,
.amg-nav .sub-menu .current-menu-item > a {
	color: var(--amg-primary);
	background: var(--amg-bg-alt);
}

.amg-header__actions {
	display: flex;
	align-items: center;
	gap: 14px;
	flex: none;
}
.amg-header__chat {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--amg-bg-alt);
	color: var(--amg-primary);
	transition: background .25s ease, color .25s ease;
}
.amg-header__chat:hover {
	background: var(--amg-primary);
	color: #fff;
}

/* Mobil menü tetikleyicisi */
.amg-burger {
	display: none;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border: 1px solid var(--amg-line);
	border-radius: var(--amg-radius);
	color: var(--amg-dark);
	background: #fff;
}

/* Mobil menü — :target ile, JavaScript yok */
.amg-mobile-nav {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 100;
	width: min(330px, 86vw);
	padding: 78px 26px 40px;
	overflow-y: auto;
	background: #fff;
	box-shadow: var(--amg-shadow-lg);
	transform: translateX(105%);
	transition: transform .3s ease;
}
.amg-mobile-nav:target { transform: translateX(0); }
.amg-mobile-nav__close {
	position: absolute;
	top: 20px;
	right: 22px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--amg-bg-alt);
	color: var(--amg-dark);
}
.amg-mobile-nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.amg-mobile-nav > ul > li { border-bottom: 1px solid var(--amg-line); }
.amg-mobile-nav a {
	display: block;
	padding: 12px 0;
	font-family: var(--amg-head);
	font-weight: 600;
	color: var(--amg-dark);
}
.amg-mobile-nav a:hover { color: var(--amg-primary); }
.amg-mobile-nav .sub-menu {
	padding: 0 0 8px 0;
	margin-left: 14px;
	border-left: 2px solid var(--amg-bg-soft);
}
.amg-mobile-nav .sub-menu a {
	padding: 7px 0 7px 14px;
	font-weight: 400;
	font-size: .95rem;
}
.amg-mobile-nav__cta { margin-top: 26px; }

/* ==========================================================================
   4. Hero / slider (CSS scroll-snap, JavaScript yok)
   ========================================================================== */

.amg-hero {
	position: relative;
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
.amg-hero::-webkit-scrollbar { display: none; }

.amg-hero__slide {
	position: relative;
	flex: 0 0 100%;
	min-width: 100%;
	min-height: clamp(420px, 62vh, 680px);
	display: flex;
	align-items: center;
	scroll-snap-align: start;
	background: var(--amg-dark) center/cover no-repeat;
	color: #fff;
}
.amg-hero__media {
	position: absolute;
	inset: 0;
	overflow: hidden;
}
.amg-hero__media img,
.amg-hero__media amp-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.amg-hero__slide::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(7, 30, 147, .86) 0%, rgba(35, 47, 75, .72) 55%, rgba(35, 47, 75, .45) 100%);
}
.amg-hero__content {
	position: relative;
	z-index: 2;
	max-width: 720px;
	padding: 70px 0;
}
.amg-hero__eyebrow {
	display: inline-block;
	margin-bottom: 16px;
	padding: 6px 16px;
	border-radius: 40px;
	background: rgba(255, 255, 255, .14);
	font-family: var(--amg-head);
	font-size: .88rem;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
}
.amg-hero__title {
	margin: 0 0 18px;
	color: #fff;
	font-size: clamp(2rem, 1.3rem + 3.2vw, 3.6rem);
	font-weight: 800;
	line-height: 1.15;
}
.amg-hero__text {
	margin: 0 0 30px;
	font-size: clamp(1rem, .96rem + .3vw, 1.18rem);
	color: rgba(255, 255, 255, .88);
}
.amg-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.amg-hero__dots {
	position: absolute;
	bottom: 22px;
	left: 0;
	right: 0;
	z-index: 5;
	display: flex;
	justify-content: center;
	gap: 10px;
}
.amg-hero__dots a {
	width: 34px;
	height: 5px;
	border-radius: 4px;
	background: rgba(255, 255, 255, .45);
	transition: background .25s ease;
}
.amg-hero__dots a:hover { background: #fff; }

/* Sayfa başlığı şeridi (breadcrumb) */
.amg-pagehead {
	position: relative;
	padding: 90px 0;
	background: var(--amg-dark) center/cover no-repeat;
	color: #fff;
	text-align: center;
}
.amg-pagehead::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(7, 30, 147, .82), rgba(35, 47, 75, .88));
}
.amg-pagehead > * { position: relative; z-index: 2; }
.amg-pagehead h1 {
	margin: 0 0 12px;
	color: #fff;
}
.amg-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 14px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: .96rem;
	color: rgba(255, 255, 255, .8);
}
.amg-breadcrumb a { color: rgba(255, 255, 255, .8); }
.amg-breadcrumb a:hover { color: #fff; }
.amg-breadcrumb li + li::before {
	content: "›";
	margin-right: 12px;
	color: rgba(255, 255, 255, .5);
}

/* Breadcrumb altı giriş butonu */
.amg-pagehead__cta {
	margin-top: 26px;
	display: flex;
	justify-content: center;
}
.amg-cta {
	gap: 8px;
	padding: 15px 34px;
	font-size: clamp(1rem, .95rem + .35vw, 1.14rem);
	box-shadow: 0 10px 26px rgba(0, 0, 0, .22);
}
.amg-cta .amg-icon { margin-top: 1px; }

.amg-cta--light {
	background: #fff;
	border-color: #fff;
	color: var(--amg-primary-dark);
}
.amg-cta--light:hover,
.amg-cta--light:focus {
	background: #f2f5ff;
	border-color: #f2f5ff;
	color: var(--amg-primary-dark);
}

.amg-cta--primary {
	background: var(--amg-primary);
	border-color: var(--amg-primary);
	color: #fff;
}
.amg-cta--primary:hover,
.amg-cta--primary:focus {
	background: var(--amg-primary-dark);
	border-color: var(--amg-primary-dark);
	color: #fff;
}

.amg-cta--accent {
	background: #ff8a1f;
	border-color: #ff8a1f;
	color: #1b1200;
}
.amg-cta--accent:hover,
.amg-cta--accent:focus {
	background: #ff9d42;
	border-color: #ff9d42;
	color: #1b1200;
}

.amg-cta--outline {
	background: transparent;
	border-color: rgba(255, 255, 255, .7);
	color: #fff;
	box-shadow: none;
}
.amg-cta--outline:hover,
.amg-cta--outline:focus {
	background: #fff;
	border-color: #fff;
	color: var(--amg-primary-dark);
}

@media (max-width: 480px) {
	.amg-pagehead__cta { margin-top: 20px; }
	.amg-cta {
		width: 100%;
		justify-content: center;
		padding: 14px 20px;
	}
}

/* ==========================================================================
   5. Özellik kutuları
   ========================================================================== */

.amg-feature {
	display: flex;
	gap: 20px;
	padding: 34px 28px;
	background: #fff;
	border: 1px solid var(--amg-line);
	border-radius: var(--amg-radius-lg);
	transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.amg-feature:hover {
	transform: translateY(-6px);
	box-shadow: var(--amg-shadow);
	border-color: transparent;
}
.amg-feature__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 62px;
	height: 62px;
	border-radius: var(--amg-radius);
	background: var(--amg-bg-alt);
	color: var(--amg-primary);
}
.amg-feature h3 {
	margin: 0 0 8px;
	font-size: 1.22rem;
}
.amg-feature p {
	margin: 0;
	font-size: .98rem;
}

/* ==========================================================================
   6. Hakkımızda bölümü
   ========================================================================== */

.amg-about {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 60px;
	align-items: center;
}
.amg-about__media {
	position: relative;
	padding: 0 26px 26px 0;
}
.amg-about__media img {
	width: 100%;
	border-radius: var(--amg-radius-lg);
	box-shadow: var(--amg-shadow);
}
.amg-about__shape {
	position: absolute;
	z-index: -1;
	opacity: .9;
}
.amg-about__shape--1 { top: -22px; right: -22px; max-width: 130px; }
.amg-about__shape--2 { bottom: 0; left: -18px; max-width: 150px; }

.amg-about__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	margin-bottom: 22px;
	border-radius: 50%;
	background: var(--amg-primary);
	color: #fff;
}
.amg-about__text h2 { margin-bottom: 20px; }
.amg-about__signature {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 26px;
	padding-top: 22px;
	border-top: 1px solid var(--amg-line);
}
.amg-about__signature img { max-width: 120px; }
.amg-about__signature span {
	font-family: var(--amg-head);
	font-weight: 600;
	color: var(--amg-dark);
}

/* ==========================================================================
   7. Hizmet kartları (yatay kaydırma, JavaScript yok)
   ========================================================================== */

.amg-scroller {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(300px, 1fr);
	gap: var(--amg-gap);
	padding-bottom: 14px;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	scrollbar-color: var(--amg-primary) var(--amg-bg-soft);
}
.amg-scroller > * { scroll-snap-align: start; }
.amg-scroller::-webkit-scrollbar { height: 6px; }
.amg-scroller::-webkit-scrollbar-track { background: var(--amg-bg-soft); border-radius: 6px; }
.amg-scroller::-webkit-scrollbar-thumb { background: var(--amg-primary); border-radius: 6px; }
.amg-scroller--3 { grid-auto-columns: minmax(300px, calc(33.333% - 20px)); }
.amg-scroller--4 { grid-auto-columns: minmax(280px, calc(25% - 23px)); }

.amg-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 38px 30px;
	background: #fff;
	border: 1px solid var(--amg-line);
	border-radius: var(--amg-radius-lg);
	transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.amg-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--amg-shadow);
	border-color: transparent;
}
.amg-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 66px;
	height: 66px;
	margin-bottom: 22px;
	border-radius: var(--amg-radius);
	background: var(--amg-primary);
	color: #fff;
}
.amg-card h3 {
	margin: 0 0 12px;
	font-size: 1.28rem;
}
.amg-card h3 a { color: inherit; }
.amg-card h3 a:hover { color: var(--amg-primary); }
.amg-card p {
	margin: 0 0 18px;
	font-size: .98rem;
}
.amg-card__more {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--amg-head);
	font-weight: 600;
}
.amg-card__more .amg-icon { transform: scaleX(-1); }

/* Hizmet listesi (arşiv) */
.amg-service-item {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--amg-line);
	border-radius: var(--amg-radius-lg);
	transition: transform .3s ease, box-shadow .3s ease;
}
.amg-service-item:hover {
	transform: translateY(-6px);
	box-shadow: var(--amg-shadow);
}
.amg-service-item__media {
	aspect-ratio: 16 / 10;
	background: var(--amg-bg-alt);
	overflow: hidden;
}
.amg-service-item__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.amg-service-item__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 28px 26px;
}

/* ==========================================================================
   8. Sayaç şeridi
   ========================================================================== */

.amg-facts {
	background: linear-gradient(120deg, var(--amg-primary-dark), var(--amg-primary));
	color: #fff;
}
.amg-facts__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	padding: 62px 0;
	text-align: center;
}
.amg-facts__item + .amg-facts__item { border-left: 1px solid rgba(255, 255, 255, .18); }
.amg-facts__number {
	display: block;
	font-family: var(--amg-head);
	font-size: clamp(2rem, 1.4rem + 2vw, 3rem);
	font-weight: 800;
	line-height: 1.1;
	color: #fff;
}
.amg-facts__label {
	display: block;
	margin-top: 6px;
	font-size: .98rem;
	color: rgba(255, 255, 255, .82);
}

/* ==========================================================================
   9. Yorumlar
   ========================================================================== */

.amg-testimonial {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 34px 30px;
	background: #fff;
	border: 1px solid var(--amg-line);
	border-radius: var(--amg-radius-lg);
}
.amg-testimonial__quote {
	color: var(--amg-primary);
	opacity: .18;
	margin-bottom: 10px;
}
.amg-testimonial p {
	margin: 0 0 22px;
	font-size: 1rem;
}
.amg-testimonial__person {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: auto;
	padding-top: 18px;
	border-top: 1px solid var(--amg-line);
}
.amg-testimonial__person img {
	width: 54px;
	height: 54px;
	border-radius: 50%;
	object-fit: cover;
	flex: none;
}
.amg-testimonial__person h4 {
	margin: 0;
	font-size: 1.05rem;
}
.amg-testimonial__person span {
	font-size: .9rem;
	color: var(--amg-muted);
}

/* ==========================================================================
   10. Destek şeridi
   ========================================================================== */

.amg-support {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 26px;
	padding: 48px 52px;
	background: var(--amg-dark);
	border-radius: var(--amg-radius-lg);
	color: #fff;
}
.amg-support h2 {
	margin: 0 0 8px;
	color: #fff;
}
.amg-support p {
	margin: 0;
	color: rgba(255, 255, 255, .78);
	max-width: 640px;
}

/* ==========================================================================
   11. Blog
   ========================================================================== */

.amg-post-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--amg-line);
	border-radius: var(--amg-radius-lg);
	transition: transform .3s ease, box-shadow .3s ease;
}
.amg-post-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--amg-shadow);
}
.amg-post-card__media {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--amg-bg-alt);
}
.amg-post-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s ease;
}
.amg-post-card:hover .amg-post-card__media img { transform: scale(1.05); }
.amg-post-card__tag {
	position: absolute;
	top: 16px;
	right: 16px;
	padding: 5px 14px;
	border-radius: 30px;
	background: var(--amg-primary);
	color: #fff;
	font-family: var(--amg-head);
	font-size: .82rem;
	font-weight: 600;
}
.amg-post-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 26px;
}
.amg-post-card h3 {
	margin: 0 0 12px;
	font-size: 1.24rem;
}
.amg-post-card h3 a { color: inherit; }
.amg-post-card h3 a:hover { color: var(--amg-primary); }
.amg-post-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
	margin-top: auto;
	padding-top: 18px;
	border-top: 1px solid var(--amg-line);
	font-size: .9rem;
	color: var(--amg-muted);
}

/* Tekil içerik */
.amg-content {
	font-size: 1.03rem;
	line-height: 1.9;
}
.amg-content > *:first-child { margin-top: 0; }
.amg-content h2,
.amg-content h3,
.amg-content h4 { margin-top: 1.8em; }
.amg-content ul,
.amg-content ol { margin: 0 0 1.4em; padding-left: 1.4em; }
.amg-content li { margin-bottom: .5em; }
.amg-content img { border-radius: var(--amg-radius); }
.amg-content a { text-decoration: underline; text-underline-offset: 3px; }

.amg-article {
	max-width: 860px;
	margin: 0 auto;
}
.amg-article--wide { max-width: none; }

.amg-entry-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	margin-bottom: 28px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--amg-line);
	font-size: .93rem;
	color: var(--amg-muted);
}
.amg-entry-thumb {
	margin-bottom: 34px;
	border-radius: var(--amg-radius-lg);
	overflow: hidden;
}
.amg-entry-thumb img { width: 100%; }

.amg-post-nav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--amg-gap);
	margin-top: 50px;
	padding-top: 30px;
	border-top: 1px solid var(--amg-line);
}
.amg-post-nav a {
	display: block;
	padding: 20px 24px;
	border: 1px solid var(--amg-line);
	border-radius: var(--amg-radius);
	color: var(--amg-dark);
	font-family: var(--amg-head);
	font-weight: 600;
}
.amg-post-nav a:hover {
	border-color: var(--amg-primary);
	color: var(--amg-primary);
}
.amg-post-nav small {
	display: block;
	margin-bottom: 4px;
	font-family: var(--amg-text);
	font-weight: 400;
	color: var(--amg-muted);
}
.amg-post-nav__next { text-align: right; }

/* Sayfalama */
.amg-pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-top: 55px;
}
.amg-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 46px;
	height: 46px;
	padding: 0 14px;
	border: 1px solid var(--amg-line);
	border-radius: var(--amg-radius);
	color: var(--amg-dark);
	font-family: var(--amg-head);
	font-weight: 600;
}
.amg-pagination .page-numbers:hover,
.amg-pagination .page-numbers.current {
	background: var(--amg-primary);
	border-color: var(--amg-primary);
	color: #fff;
}

/* ==========================================================================
   12. İletişim
   ========================================================================== */

.amg-contact {
	display: grid;
	grid-template-columns: 1fr 1.25fr;
	gap: 50px;
	align-items: start;
}
.amg-contact__info {
	display: grid;
	gap: 18px;
}
.amg-contact__item {
	display: flex;
	gap: 16px;
	padding: 24px 26px;
	background: var(--amg-bg-alt);
	border-radius: var(--amg-radius-lg);
}
.amg-contact__item .amg-icon { color: var(--amg-primary); flex: none; margin-top: 4px; }
.amg-contact__item h3 {
	margin: 0 0 4px;
	font-size: 1.08rem;
}
.amg-contact__item p,
.amg-contact__item a {
	margin: 0;
	font-size: .98rem;
	color: var(--amg-body);
	word-break: break-word;
}
.amg-contact__item a:hover { color: var(--amg-primary); }

.amg-form {
	padding: 36px 34px;
	background: #fff;
	border: 1px solid var(--amg-line);
	border-radius: var(--amg-radius-lg);
	box-shadow: var(--amg-shadow);
}
.amg-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}
.amg-form__field--full { grid-column: 1 / -1; }
.amg-form label {
	display: block;
	margin-bottom: 7px;
	font-family: var(--amg-head);
	font-size: .95rem;
	font-weight: 600;
	color: var(--amg-dark);
}
.amg-form input[type="text"],
.amg-form input[type="email"],
.amg-form input[type="tel"],
.amg-form input[type="url"],
.amg-form input[type="search"],
.amg-form textarea,
.amg-form select {
	width: 100%;
	padding: 13px 16px;
	border: 1px solid var(--amg-line);
	border-radius: var(--amg-radius);
	background: #fff;
	color: var(--amg-dark);
	font-family: inherit;
	font-size: 1rem;
	transition: border-color .25s ease, box-shadow .25s ease;
}
.amg-form textarea { min-height: 150px; resize: vertical; }
.amg-form input:focus,
.amg-form textarea:focus,
.amg-form select:focus {
	outline: 0;
	border-color: var(--amg-primary);
	box-shadow: 0 0 0 3px rgba(55, 87, 247, .14);
}
.amg-form__honeypot {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.amg-form__note {
	margin-top: 16px;
	font-size: .88rem;
	color: var(--amg-muted);
}

.amg-alert {
	margin-bottom: 22px;
	padding: 14px 18px;
	border-radius: var(--amg-radius);
	font-size: .98rem;
}
.amg-alert--ok {
	background: #e8f6ec;
	border: 1px solid #b7e0c2;
	color: #17663a;
}
.amg-alert--error {
	background: #fdeceb;
	border: 1px solid #f4bfbc;
	color: #a02724;
}

.amg-map {
	margin-top: 60px;
	overflow: hidden;
	border-radius: var(--amg-radius-lg);
	line-height: 0;
}
.amg-map iframe,
.amg-map amp-iframe {
	width: 100%;
	min-height: 420px;
	border: 0;
}

/* ==========================================================================
   13. Banka hesapları / galeri / ekip / SSS
   ========================================================================== */

.amg-bank {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 28px 30px;
	background: #fff;
	border: 1px solid var(--amg-line);
	border-radius: var(--amg-radius-lg);
}
.amg-bank__head {
	display: flex;
	align-items: center;
	gap: 16px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--amg-line);
}
.amg-bank__head img { max-width: 90px; height: auto; }
.amg-bank__head h3 { margin: 0; font-size: 1.15rem; }
.amg-bank dl {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 8px 18px;
	margin: 0;
	font-size: .97rem;
}
.amg-bank dt {
	font-family: var(--amg-head);
	font-weight: 600;
	color: var(--amg-dark);
}
.amg-bank dd { margin: 0; word-break: break-all; }

.amg-gallery-item {
	display: block;
	overflow: hidden;
	border-radius: var(--amg-radius-lg);
	background: var(--amg-bg-alt);
	aspect-ratio: 4 / 3;
}
.amg-gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s ease;
}
.amg-gallery-item:hover img { transform: scale(1.06); }

.amg-team {
	text-align: center;
}
.amg-team__media {
	overflow: hidden;
	border-radius: var(--amg-radius-lg);
	aspect-ratio: 1 / 1;
	background: var(--amg-bg-alt);
	margin-bottom: 18px;
}
.amg-team__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.amg-team h3 { margin: 0 0 4px; font-size: 1.15rem; }
.amg-team span { color: var(--amg-muted); font-size: .95rem; }

.amg-faq {
	border: 1px solid var(--amg-line);
	border-radius: var(--amg-radius-lg);
	overflow: hidden;
	background: #fff;
}
.amg-faq + .amg-faq { margin-top: 14px; }
.amg-faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 24px;
	cursor: pointer;
	font-family: var(--amg-head);
	font-size: 1.08rem;
	font-weight: 600;
	color: var(--amg-dark);
	list-style: none;
}
.amg-faq summary::-webkit-details-marker { display: none; }
.amg-faq summary::after {
	content: "+";
	flex: none;
	font-size: 1.5rem;
	line-height: 1;
	color: var(--amg-primary);
}
.amg-faq[open] summary::after { content: "–"; }
.amg-faq__body {
	padding: 0 24px 22px;
	font-size: .99rem;
}

/* ==========================================================================
   14. Alt bilgi
   ========================================================================== */

.amg-footer {
	background: var(--amg-dark);
	color: rgba(255, 255, 255, .72);
	font-size: .98rem;
}
.amg-footer__top {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 40px;
	padding: 80px 0 60px;
}
.amg-footer h3 {
	margin: 0 0 24px;
	color: #fff;
	font-size: 1.15rem;
	position: relative;
	padding-bottom: 12px;
}
.amg-footer h3::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 40px;
	height: 3px;
	border-radius: 3px;
	background: var(--amg-primary);
}
.amg-footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.amg-footer li + li { margin-top: 11px; }
.amg-footer a { color: rgba(255, 255, 255, .72); }
.amg-footer a:hover { color: #fff; }
.amg-footer__logo {
	display: block;
	margin-bottom: 20px;
	max-width: 190px;
}
.amg-footer__logo img { filter: brightness(0) invert(1); }
.amg-footer__contact li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}
.amg-footer__contact .amg-icon { margin-top: 5px; flex: none; color: var(--amg-primary-soft); }
.amg-footer__social {
	display: flex;
	gap: 10px;
	margin-top: 22px;
}
.amg-footer__social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .08);
	transition: background .25s ease;
}
.amg-footer__social a:hover { background: var(--amg-primary); }
.amg-footer__bottom {
	padding: 22px 0;
	border-top: 1px solid rgba(255, 255, 255, .1);
	text-align: center;
	font-size: .93rem;
}
.amg-footer__bottom p { margin: 0; }

/* ==========================================================================
   15. 404 ve arama
   ========================================================================== */

.amg-404 {
	padding: 100px 0;
	text-align: center;
}
.amg-404 img { max-width: 380px; margin: 0 auto 30px; }
.amg-404 h1 { font-size: clamp(2.4rem, 1.6rem + 3vw, 4rem); }
.amg-404 p { max-width: 520px; margin: 0 auto 30px; }

.amg-searchform {
	display: flex;
	gap: 10px;
	max-width: 520px;
	margin: 0 auto;
}
.amg-searchform input[type="search"] {
	flex: 1;
	padding: 13px 16px;
	border: 1px solid var(--amg-line);
	border-radius: var(--amg-radius);
	font-family: inherit;
	font-size: 1rem;
}

.amg-empty {
	padding: 60px 30px;
	text-align: center;
	background: var(--amg-bg-alt);
	border-radius: var(--amg-radius-lg);
}

/* ==========================================================================
   16. Duyarlı düzen
   ========================================================================== */

@media (max-width: 1024px) {
	.amg-section { padding: 70px 0; }
	.amg-about { gap: 40px; }
	.amg-footer__top {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 36px;
		padding: 60px 0 46px;
	}
	.amg-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.amg-contact { grid-template-columns: 1fr; gap: 34px; }
	.amg-nav,
	.amg-header__chat { display: none; }
	.amg-burger { display: inline-flex; }
}

@media (max-width: 860px) {
	.amg-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.amg-about { grid-template-columns: 1fr; }
	.amg-about__media { max-width: 560px; }
	.amg-facts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 48px 0; }
	.amg-facts__item:nth-child(3) { border-left: 0; }
	.amg-support { padding: 36px 30px; }
	.amg-post-nav { grid-template-columns: 1fr; }
	.amg-topbar__inner { justify-content: center; text-align: center; }
}

@media (max-width: 640px) {
	.amg-section { padding: 56px 0; }
	.amg-grid--2,
	.amg-grid--3,
	.amg-grid--4 { grid-template-columns: 1fr; }
	.amg-form { padding: 26px 22px; }
	.amg-form__grid { grid-template-columns: 1fr; }
	.amg-hero__slide { min-height: 460px; }
	.amg-hero__content { padding: 56px 0; }
	.amg-pagehead { padding: 60px 0; }
	.amg-header__inner { min-height: 72px; }
	.amg-topbar { font-size: .85rem; }
	.amg-bank dl { grid-template-columns: 1fr; gap: 2px; }
	.amg-bank dd { margin-bottom: 8px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		transition-duration: .01ms !important;
	}
}

/* Yorumlar */
.amg-comments { margin-top: 10px; }
.amg-comments .comment-list { list-style: none; padding: 0; margin: 0 0 30px; }
.amg-comments .comment-list ol.children { list-style: none; padding-left: 26px; }
.amg-comments .comment-body {
	padding: 20px 22px;
	margin-bottom: 16px;
	background: #fff;
	border: 1px solid var(--amg-line);
	border-radius: var(--amg-radius-lg);
}
.amg-comments .comment-author img { border-radius: 50%; vertical-align: middle; margin-right: 10px; }
.amg-comments .comment-meta { font-size: .9rem; color: var(--amg-muted); margin-bottom: 8px; }
.amg-comments .comment-reply-title { margin-top: 30px; }
.amg-comments .comment-form p { margin-bottom: 16px; }
.amg-comments .comment-form label {
	display: block;
	margin-bottom: 6px;
	font-family: var(--amg-head);
	font-weight: 600;
	color: var(--amg-dark);
}
.amg-comments .comment-form input[type="text"],
.amg-comments .comment-form input[type="email"],
.amg-comments .comment-form input[type="url"],
.amg-comments .comment-form textarea {
	width: 100%;
	padding: 13px 16px;
	border: 1px solid var(--amg-line);
	border-radius: var(--amg-radius);
	font-family: inherit;
	font-size: 1rem;
}
.amg-comments .comment-form textarea { min-height: 140px; }

/* Yardımcı sınıflar (satır içi stil yerine — AMP CSS bütçesi için) */
.amg-center { text-align: center; }
.amg-mt { margin-top: 24px; }
.amg-mt-lg { margin-top: 46px; }
.amg-mb-lg { margin-bottom: 50px; }
.amg-narrow { max-width: 560px; margin: 0 auto 46px; }
.amg-hero-wrap { position: relative; }
.amg-hero .amg-btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .6); }
.amg-hero .amg-btn--ghost:hover { background: #fff; color: var(--amg-primary); border-color: #fff; }
.amg-form > h2 { margin-bottom: 22px; }
.amg-about__media { max-width: 100%; }

/* WordPress hizalama sınıfları */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin: 0 auto 1.5em; }
.alignwide { max-width: 1100px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100%; }
.wp-caption { max-width: 100%; }
.wp-caption-text,
.wp-element-caption {
	margin-top: 8px;
	font-size: .9rem;
	color: var(--amg-muted);
	text-align: center;
}
.sticky, .gallery-caption, .bypostauthor { display: block; }
