/*
Theme Name: Yıldırım
Theme URI: https://yildirimgrup.com
Author: Yıldırım Grup
Version: 4.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: yildirim
Description: Yıldırım Grup kurumsal teması. Header, footer ve iletişim bilgileri Görünüm > Özelleştir > Yıldırım Tema altından; sayfa içerikleri ücretsiz Elementor widget'larıyla düzenlenir.
*/
:root{--yg-red:#c8102e;--yg-dark:#111;--yh-line:#e7e7e7;--yh-muted:#666;--yh-font:var(--e-global-typography-primary-font-family,"Manrope"),system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;--yh-h:84px}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:#fff;color:#2b2b2b;font-family:var(--yh-font);font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
img,svg,video{max-width:100%;height:auto}
a{color:inherit}
:focus-visible{outline:2px solid var(--yg-red);outline-offset:3px}
.yh-skip{position:absolute;left:-9999px;top:8px;z-index:1000;background:#fff;padding:.6rem 1rem}
.yh-skip:focus{left:8px}
.yh-wrap{width:100%;max-width:1480px;margin:0 auto;padding:0 28px}
.yh-ico{width:18px;height:18px;flex:none}
.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden}

/* Üst bar */
.yh-topbar{background:var(--yg-dark);color:#cfcfcf;font-size:13px;letter-spacing:.01em}
.yh-topbar .yh-wrap{display:flex;justify-content:space-between;align-items:center;min-height:42px;gap:24px}
.yh-tb-info,.yh-tb-links{display:flex;align-items:center;gap:26px}
.yh-topbar span,.yh-topbar a{display:inline-flex;align-items:center;gap:8px;text-decoration:none;transition:color .2s}
.yh-topbar a:hover{color:#fff}
.yh-topbar .yh-ico{width:15px;height:15px;color:var(--yg-red)}
.yh-social{display:inline-flex;gap:6px}
.yh-social a{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:50%;transition:background .2s,color .2s}
.yh-social a:hover{background:var(--yg-red);color:#fff}
.yh-social .yh-ico{width:15px;height:15px;color:currentColor}

/* Header */
.yh-head{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.97);backdrop-filter:saturate(180%) blur(10px);-webkit-backdrop-filter:saturate(180%) blur(10px);border-bottom:1px solid var(--yh-line);transition:box-shadow .3s}
.admin-bar .yh-head{top:32px}
.yh-scrolled .yh-head{box-shadow:0 10px 30px rgba(0,0,0,.08)}
.yh-bar{display:flex;align-items:center;gap:28px;height:var(--yh-h)}
.yh-logo{flex:none}
.yh-logo img{max-height:52px;width:auto;display:block}
.yh-brand{display:inline-flex;align-items:center;gap:10px;font-weight:800;font-size:24px;letter-spacing:-.04em;color:var(--yg-dark);text-decoration:none;white-space:nowrap}
.yh-brand.is-light{color:#fff}
.yh-mark{width:20px;height:24px;background:var(--yg-red);transform:skewX(-18deg);border-radius:2px}
.yh-nav{flex:1;display:flex;justify-content:center}
.yh-menu{list-style:none;margin:0;padding:0;display:flex;gap:4px}
.yh-menu li{position:relative}
.yh-menu>li>a{display:flex;align-items:center;gap:6px;height:var(--yh-h);padding:0 11px;font-size:14.5px;font-weight:600;color:var(--yg-dark);text-decoration:none;white-space:nowrap;position:relative}
.yh-menu>li>a::after{content:"";position:absolute;left:11px;right:11px;bottom:22px;height:2px;background:var(--yg-red);transform:scaleX(0);transform-origin:left;transition:transform .25s}
.yh-menu>li:hover>a::after,.yh-menu>li.current-menu-item>a::after,.yh-menu>li.current-menu-ancestor>a::after{transform:scaleX(1)}
.yh-menu>li.menu-item-has-children>a::before{content:"";order:2;width:6px;height:6px;border-right:1.6px solid currentColor;border-bottom:1.6px solid currentColor;transform:rotate(45deg) translateY(-2px);opacity:.6}
.yh-menu .sub-menu{list-style:none;margin:0;padding:10px;position:absolute;left:0;top:100%;min-width:250px;background:#fff;border-top:3px solid var(--yg-red);box-shadow:0 24px 50px rgba(0,0,0,.14);opacity:0;visibility:hidden;transform:translateY(10px);transition:all .22s ease;border-radius:0 0 8px 8px}
.yh-menu li:hover>.sub-menu,.yh-menu li:focus-within>.sub-menu{opacity:1;visibility:visible;transform:none}
.yh-menu .sub-menu a{display:flex;justify-content:space-between;align-items:center;padding:10px 14px;font-size:14px;font-weight:500;color:#333;text-decoration:none;border-radius:6px;transition:background .2s,color .2s,padding .2s}
.yh-menu .sub-menu a:hover{background:#f5f5f5;color:var(--yg-red);padding-left:18px}
.yh-menu .sub-menu .sub-menu{left:100%;top:-10px;border-top:0;border-left:3px solid var(--yg-red);border-radius:0 8px 8px 0}
.yh-menu .sub-menu .menu-item-has-children>a::after{content:"›";font-size:18px;line-height:1;opacity:.5}
.yh-actions{display:flex;gap:10px;flex:none}
.yh-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:46px;padding:0 20px;border-radius:6px;font-weight:700;font-size:14px;text-decoration:none;white-space:nowrap;border:1.5px solid transparent;transition:background .2s,color .2s,border-color .2s,transform .2s}
.yh-btn:hover{transform:translateY(-1px)}
.yh-btn-red{background:var(--yg-red);color:#fff}
.yh-btn-red:hover{background:var(--yg-dark)}
.yh-btn-line{border-color:var(--yg-dark);color:var(--yg-dark)}
.yh-btn-line:hover{background:var(--yg-dark);color:#fff}
.yh-btn-dark{background:var(--yg-dark);color:#fff}
.yh-btn-wa{background:#25d366;color:#fff;margin-top:18px}
.yh-btn-wa:hover{background:#1ebe5a}
.yh-burger,.yh-close{display:none;width:46px;height:46px;border:1px solid var(--yh-line);border-radius:8px;background:#fff;color:var(--yg-dark);place-items:center;padding:0;cursor:pointer}
.yh-burger .yh-ico,.yh-close .yh-ico{width:22px;height:22px}

/* Mobil çekmece */
.yh-drawer{position:fixed;inset:0;z-index:300;background:rgba(0,0,0,.5);opacity:0;visibility:hidden;transition:opacity .3s,visibility .3s}
.yh-drawer.is-open{opacity:1;visibility:visible}
.yh-drawer-panel{position:absolute;top:0;right:0;bottom:0;width:min(420px,92vw);background:#fff;overflow-y:auto;padding:18px 22px calc(110px + env(safe-area-inset-bottom));transform:translateX(100%);transition:transform .35s cubic-bezier(.2,.8,.2,1)}
.yh-drawer.is-open .yh-drawer-panel{transform:none}
.yh-drawer-top{display:flex;justify-content:space-between;align-items:center;padding-bottom:14px;border-bottom:1px solid var(--yh-line)}
.yh-drawer .yh-close{display:grid}
.yh-mmenu,.yh-mmenu .sub-menu{list-style:none;margin:0;padding:0}
.yh-mmenu li{position:relative;border-bottom:1px solid #f0f0f0}
.yh-mmenu a{display:block;padding:15px 48px 15px 0;font-weight:700;font-size:16px;color:var(--yg-dark);text-decoration:none}
.yh-mmenu .sub-menu{display:none;padding:0 0 10px 14px;border-left:2px solid var(--yg-red)}
.yh-mmenu .sub-menu li{border:0}
.yh-mmenu .sub-menu a{padding:9px 44px 9px 0;font-weight:500;font-size:15px;color:#444}
.yh-mmenu li.is-open>.sub-menu{display:block}
.yh-sub-toggle{position:absolute;right:0;top:6px;width:40px;height:40px;border:0;border-radius:8px;background:#f5f5f5;cursor:pointer}
.yh-sub-toggle::before{content:"";position:absolute;left:16px;top:14px;width:8px;height:8px;border-right:2px solid #111;border-bottom:2px solid #111;transform:rotate(45deg);transition:transform .2s}
.yh-mmenu li.is-open>.yh-sub-toggle::before{transform:rotate(-135deg);top:18px}
.yh-mmenu .sub-menu .yh-sub-toggle{top:2px;width:34px;height:34px}
.yh-drawer-cta{display:grid;gap:10px;margin:22px 0}
.yh-drawer-contact{list-style:none;margin:0 0 16px;padding:0;color:#555;font-size:14px}
.yh-drawer-contact li{display:flex;gap:10px;align-items:flex-start;padding:7px 0}
.yh-drawer-contact a{display:flex;gap:10px;text-decoration:none}
.yh-drawer-contact .yh-ico{color:var(--yg-red)}
.yh-drawer .yh-social a{background:#f3f3f3}
.yh-lock{overflow:hidden}

/* Footer */
.yf{background:var(--yg-dark);color:#a9a9a9;font-size:15px;padding-top:80px}
.yf-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.3fr;gap:48px;padding-bottom:56px}
.yf-brand p{margin:22px 0;max-width:380px;line-height:1.75}
.yf-brand .yh-social a{background:rgba(255,255,255,.06);color:#fff}
.yf-title{margin:0 0 22px;color:#fff;font-size:17px;font-weight:700;letter-spacing:-.01em;position:relative;padding-bottom:14px}
.yf-title::after{content:"";position:absolute;left:0;bottom:0;width:32px;height:2px;background:var(--yg-red)}
.yf-menu,.yf-info{list-style:none;margin:0;padding:0}
.yf-menu li{margin:0 0 11px}
.yf-menu a{text-decoration:none;transition:color .2s,padding .2s}
.yf-menu a:hover{color:#fff;padding-left:4px}
.yf-menu-sm{margin-top:16px}
.yf-info li{margin:0 0 12px}
.yf-info a,.yf-info span{display:flex;gap:10px;align-items:flex-start;text-decoration:none}
.yf-info a:hover{color:#fff}
.yf-info .yh-ico{color:var(--yg-red);margin-top:3px}
.yf-bottom{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;padding-top:24px;padding-bottom:28px;border-top:1px solid rgba(255,255,255,.08);font-size:13px;color:#7d7d7d}

/* WhatsApp ve mobil uygulama çubuğu */
.yh-wa-float{position:fixed;right:22px;bottom:22px;z-index:90;width:58px;height:58px;border-radius:50%;background:#25d366;color:#fff;display:grid;place-items:center;box-shadow:0 12px 28px rgba(37,211,102,.4);transition:transform .2s}
.yh-wa-float:hover{transform:scale(1.07)}
.yh-wa-float .yh-ico{width:30px;height:30px}
.yh-appbar{display:none}

/* Duyarlı */
@media (max-width:1820px){.yh-bar{gap:18px}.yh-menu>li>a{padding:0 8px;font-size:14px}.yh-menu>li>a::after{left:8px;right:8px}.yh-actions .yh-btn{padding:0 14px}.yh-actions .yh-btn .yh-ico{display:none}}
@media (max-width:1400px){
	:root{--yh-h:72px}
	.yh-nav,.yh-actions{display:none}
	.yh-bar{justify-content:space-between}
	.yh-burger{display:grid}
	.yh-hide-md{display:none!important}
}
@media (max-width:1024px){.yf-grid{grid-template-columns:1fr 1fr}}
@media (max-width:767px){
	:root{--yh-h:64px}
	.yh-wrap{padding:0 18px}
	.yh-topbar{display:none}
	.yh-brand{font-size:21px}
	.yh-logo img{max-height:42px}
	.admin-bar .yh-head{top:0}
	.yf{padding-top:56px}
	.yf-grid{grid-template-columns:1fr;gap:34px}
	.yf-bottom{flex-direction:column;gap:6px}
	body.has-appbar{padding-bottom:calc(72px + env(safe-area-inset-bottom))}
	.yh-wa-float{display:none}
	.yh-appbar{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;left:0;right:0;bottom:0;z-index:200;background:rgba(255,255,255,.97);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-top:1px solid var(--yh-line);padding:6px 6px calc(6px + env(safe-area-inset-bottom));box-shadow:0 -8px 24px rgba(0,0,0,.06)}
	.yh-appbar a,.yh-appbar button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;height:56px;border:0;background:none;font:600 11px/1 var(--yh-font);color:#555;text-decoration:none;border-radius:12px;cursor:pointer}
	.yh-appbar .yh-ico{width:22px;height:22px}
	.yh-appbar [aria-current]{color:var(--yg-red)}
	.yh-appbar .yh-app-wa{color:#fff;background:#25d366;transform:translateY(-14px);height:62px;width:62px;margin:0 auto;border-radius:50%;box-shadow:0 10px 24px rgba(37,211,102,.45);border:4px solid #fff}
	.yh-appbar .yh-app-wa span{display:none}
	.yh-appbar .yh-app-wa .yh-ico{width:28px;height:28px}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

/* Elementor kit buton stillerinin tema düğmelerini ezmesini engelle */
body .yh-burger,body .yh-close{background:#fff;color:var(--yg-dark);border:1px solid var(--yh-line);padding:0;border-radius:8px}
body .yh-burger:hover,body .yh-close:hover{background:#f4f4f4;color:var(--yg-red)}
body .yh-sub-toggle{background:#f5f5f5;padding:0;border:0;border-radius:8px}
body .yh-sub-toggle:hover{background:#eee}
body .yh-appbar button{background:none;color:#555;padding:0;border:0;border-radius:12px}
/* Sayfa başlığı içerik haritası (AIOSEO breadcrumbs) */
.yg-crumbs{font-size:13px;color:rgba(255,255,255,.75);margin-top:6px}
.yg-crumbs a{color:#fff;text-decoration:none}
.yg-crumbs a:hover{color:#ff8a96}
.yg-crumbs .aioseo-breadcrumb-separator{opacity:.5;margin:0 6px}
/* Elementor kit bağlantı ve başlık renklerine karşı tema öncelikleri */
body .yh-topbar a{color:#cfcfcf}
body .yh-topbar a:hover{color:#fff}
body .yh-menu a,body .yh-mmenu a{color:var(--yg-dark)}
body .yh-menu .sub-menu a{color:#333}
body .yh-menu .sub-menu a:hover,body .yh-mmenu a:hover{color:var(--yg-red)}
body .yh-brand{color:var(--yg-dark)}
body .yh-brand.is-light{color:#fff}
body .yh-btn-red{color:#fff}
body .yh-btn-line{color:var(--yg-dark)}
body .yh-btn-line:hover,body .yh-btn-dark,body .yh-btn-wa,body .yh-btn-red:hover{color:#fff}
body .yf a{color:#a9a9a9}
body .yf a:hover{color:#fff}
body .yf .yf-title{color:#fff}
body .yf .yh-social a{color:#fff}
body .yh-drawer-contact a{color:#444}
body .yh-wa-float,body .yh-appbar .yh-app-wa{color:#fff}
body .yh-appbar a{color:#555}
body .yh-appbar [aria-current]{color:var(--yg-red)}

/* Footer WhatsApp butonu okunurluk */
.yf-contact a.yh-btn-wa,.yf-contact a.yh-btn-wa:hover{color:#fff!important}
.yf-contact a.yh-btn-wa svg{stroke:#fff}

/* WhatsApp butonu kontrast */
.yh-btn-wa{background:#0f7f43}
.yh-btn-wa:hover{background:#0c6b38}

/* Logo (SVG) */
.yh-brand-svg{gap:0;line-height:0}
.yh-brand-svg .yg-logo{height:34px;width:auto;display:block}
.yh-brand-svg.is-light .yg-logo{height:38px}
@media (max-width:767px){.yh-brand-svg .yg-logo{height:28px}}
