/* ==========================================================================
   Pelixarmor marka tasarımı — global header / footer
   Renkler: eski sitenin yayındaki CSS'i (lacivert zemin + mavi vurgu).
   ========================================================================== */
:root {
	--px-navy-deep: #050a12;
	--px-navy: #0a1628;
	--px-navy-2: #121d2f;
	--px-navy-3: #1a2a42;
	--px-blue: #22b5fc;
	--px-blue-light: #5ccaff;
	--px-blue-dark: #0d9ae5;
	--px-cyan: #00d4ff;
	--px-white: #ffffff;
	--px-gray-light: #c4cdd9;
	--px-gray: #8892a0;
	--px-gray-dark: #4a5568;
	--px-line: rgba(34, 181, 252, 0.14);
	--px-font-display: "Orbitron", "Rajdhani", sans-serif;
	--px-font-heading: "Rajdhani", "Exo 2", sans-serif;
	--px-cut: 14px;
	--px-cut-sm: 9px;
	/* Kesik köşe (sol üst + sağ alt): otomotiv/teknik his. */
	--px-clip: polygon(var(--px-cut) 0, 100% 0, 100% calc(100% - var(--px-cut)), calc(100% - var(--px-cut)) 100%, 0 100%, 0 var(--px-cut));
	--px-clip-sm: polygon(var(--px-cut-sm) 0, 100% 0, 100% calc(100% - var(--px-cut-sm)), calc(100% - var(--px-cut-sm)) 100%, 0 100%, 0 var(--px-cut-sm));
	/* Karbon fiber dokusu (koyu zeminler için, çok hafif). */
	--px-carbon: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.022) 0 2px, transparent 2px 6px), repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.022) 0 2px, transparent 2px 6px);
	--px-font-body: "Rajdhani", "Exo 2", sans-serif;
	--px-font-ui: "Exo 2", "Rajdhani", sans-serif;
	--px-gradient-blue: linear-gradient(135deg, #22b5fc 0%, #5ccaff 50%, #22b5fc 100%);
	--px-shadow-blue: 0 0 28px rgba(34, 181, 252, 0.28);
	--px-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

.px-container { box-sizing: border-box; width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 24px; }
.px-header, .px-topbar, .px-footer { max-width: 100vw; overflow-x: clip; }
.px-header__inner, .px-topbar__inner, .px-footer__grid { min-width: 0; }
@media (min-width: 1024px) { .px-container { padding: 0 40px; } }

/* Header kabuğu: tema sticky `.site-header`'ı beyaz zemin verir; marka zeminine çekilir. */
body.px-site .site-header { background: var(--px-navy-deep); box-shadow: none; }
body.px-site .site-header .nc-cms-document,
body.px-site .site-footer .nc-cms-document { max-width: none; padding: 0; margin: 0; }
body.px-site .nc-cms-section--pelix-layout { padding: 0; overflow: visible; }

/* --------------------------------------------------------------------------
   Topbar
   -------------------------------------------------------------------------- */
.px-topbar {
	background: linear-gradient(90deg, var(--px-navy-deep) 0%, var(--px-navy) 50%, var(--px-navy-deep) 100%);
	border-bottom: 1px solid var(--px-line);
	font-family: var(--px-font-ui);
	font-size: 13px;
	color: var(--px-gray-light);
	transition: max-height 0.3s var(--px-ease), opacity 0.3s var(--px-ease), padding 0.3s var(--px-ease);
	max-height: 60px;
	overflow: hidden;
}
.px-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 38px; }
.px-topbar__left, .px-topbar__right { display: flex; align-items: center; gap: 22px; min-width: 0; }
.px-topbar__item { display: inline-flex; align-items: center; gap: 8px; color: var(--px-gray-light); text-decoration: none; white-space: nowrap; transition: color 0.2s; }
.px-topbar__item svg { width: 14px; height: 14px; color: var(--px-blue); flex-shrink: 0; }
a.px-topbar__item:hover { color: var(--px-blue); }
.px-topbar__item--address span { overflow: hidden; text-overflow: ellipsis; max-width: 420px; }
.px-scrolled .px-topbar { max-height: 0; opacity: 0; border-bottom-width: 0; }
@media (max-width: 1023px) { .px-topbar { display: none; } }
@media (max-width: 1279px) { .px-topbar__item--address { display: none; } }

.px-social {
	width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid rgba(34, 181, 252, 0.3); border-radius: 6px; color: var(--px-gray-light);
	text-decoration: none; transition: all 0.2s var(--px-ease);
}
.px-social svg { width: 14px; height: 14px; }
.px-social:hover { background: var(--px-blue); border-color: var(--px-blue); color: var(--px-navy-deep); transform: translateY(-2px); }

/* --------------------------------------------------------------------------
   Ana header
   -------------------------------------------------------------------------- */
.px-header {
	background: rgba(5, 10, 18, 0.92);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	border-bottom: 1px solid var(--px-line);
	transition: padding 0.3s var(--px-ease), background 0.3s var(--px-ease);
}
.px-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; transition: min-height 0.3s var(--px-ease); }
.px-scrolled .px-header__inner { min-height: 72px; }
.px-scrolled .px-header { background: rgba(5, 10, 18, 0.97); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45); }

/* Marka */
.px-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none !important; color: var(--px-white); flex-shrink: 0; }
.px-brand__lockup { display: block; width: 259px; max-width: 100%; height: auto; }
.px-brand--footer { max-width: 100%; }
.px-brand--footer .px-brand__lockup { width: 270px; }
@media (max-width: 420px) { .px-brand--header .px-brand__lockup { width: clamp(185px, 59vw, 220px); } }
.px-brand__mark { display: block; width: 58px; height: 58px; flex-shrink: 0; filter: drop-shadow(0 0 12px rgba(34, 181, 252, 0.35)); transition: width 0.3s var(--px-ease), height 0.3s var(--px-ease); }
.px-brand__mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.px-scrolled .px-brand--header .px-brand__mark { width: 48px; height: 48px; }
.px-brand__text { display: flex; flex-direction: column; line-height: 1; }
.px-brand__name { font-family: var(--px-font-display); font-size: 21px; font-weight: 700; letter-spacing: 2px; color: var(--px-white); }
.px-brand__x { color: var(--px-blue); text-shadow: 0 0 14px rgba(34, 181, 252, 0.6); }
.px-brand__tagline { font-family: var(--px-font-ui); font-size: 10px; font-weight: 500; letter-spacing: 2.6px; text-transform: uppercase; color: var(--px-gray); margin-top: 6px; }
.px-brand--footer .px-brand__mark { width: 68px; height: 68px; }
.px-brand--footer .px-brand__name { font-size: 23px; }
@media (max-width: 420px) { .px-brand__name { font-size: 17px; letter-spacing: 1.4px; } .px-brand__tagline { font-size: 9px; letter-spacing: 2px; } .px-brand__mark { width: 48px; height: 48px; } }

/* Navigasyon */
.px-nav { display: none; align-items: center; gap: 4px; font-family: var(--px-font-body); }
@media (min-width: 1200px) { .px-nav { display: flex; } }
.px-nav__item { position: relative; display: flex; align-items: center; }
.px-nav__link {
	position: relative; display: inline-flex; align-items: center; padding: 10px 14px;
	font-size: 15px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase;
	color: var(--px-gray-light); text-decoration: none !important; transition: color 0.2s;
}
.px-nav__link::after {
	content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
	background: var(--px-gradient-blue); border-radius: 2px; transform: scaleX(0); transform-origin: left;
	transition: transform 0.25s var(--px-ease); box-shadow: var(--px-shadow-blue);
}
.px-nav__link:hover, .px-nav__link[aria-current="page"], .px-nav__item--dropdown.is-open .px-nav__link, .px-nav__item--dropdown:hover .px-nav__link { color: var(--px-blue); }
.px-nav__link:hover::after, .px-nav__link[aria-current="page"]::after { transform: scaleX(1); }
.px-nav__link--dropdown { padding-right: 4px; }
.px-nav__caret { background: none; border: 0; padding: 10px 10px 10px 2px; color: var(--px-gray-light); cursor: pointer; display: inline-flex; transition: color 0.2s, transform 0.25s; }
.px-nav__caret svg { width: 14px; height: 14px; }
.px-nav__item--dropdown:hover .px-nav__caret, .px-nav__item--dropdown.is-open .px-nav__caret { color: var(--px-blue); transform: rotate(180deg); }

.px-dropdown {
	position: absolute; top: calc(100% + 2px); left: 0; min-width: 320px; padding: 10px;
	background: rgba(10, 22, 40, 0.98); border: 1px solid rgba(34, 181, 252, 0.2); border-radius: 12px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), var(--px-shadow-blue);
	opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.25s var(--px-ease);
	display: grid; gap: 4px; z-index: 60;
}
.px-dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.px-nav__item--dropdown:hover .px-dropdown, .px-nav__item--dropdown.is-open .px-dropdown, .px-nav__item--dropdown:focus-within .px-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.px-dropdown__link { display: flex; align-items: flex-start; gap: 12px; padding: 11px 12px; border-radius: 8px; color: var(--px-gray-light); text-decoration: none !important; transition: background 0.2s, color 0.2s; }
.px-dropdown__link:hover, .px-dropdown__link[aria-current="page"] { background: rgba(34, 181, 252, 0.1); color: var(--px-white); }
.px-dropdown__icon { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; background: rgba(34, 181, 252, 0.12); color: var(--px-blue); flex-shrink: 0; }
.px-dropdown__icon svg { width: 18px; height: 18px; }
.px-dropdown__link strong { display: block; font-family: var(--px-font-body); font-size: 15px; font-weight: 600; letter-spacing: 0.4px; line-height: 1.2; }
.px-dropdown__link small { display: block; font-family: var(--px-font-ui); font-size: 12px; color: var(--px-gray); margin-top: 3px; line-height: 1.4; }

/* Aksiyonlar */
.px-header__actions { display: flex; align-items: center; gap: 14px; }
.px-button {
	display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; padding: 11px 22px;
	border-radius: 0; clip-path: var(--px-clip-sm); border: 1px solid transparent; font-family: var(--px-font-heading); font-size: 15px; font-weight: 700;
	letter-spacing: 1.2px; text-transform: uppercase; text-decoration: none !important; cursor: pointer; white-space: nowrap;
	transition: transform 0.2s var(--px-ease), box-shadow 0.2s var(--px-ease), background 0.2s;
}
.px-button svg { width: 16px; height: 16px; flex-shrink: 0; }
/* Dar ekranda uzun düğme metni satır kırabilsin; aksi hâlde grid sütununu genişletip sayfayı yatay taşırıyor. */
@media (max-width: 767px) { .px-button { white-space: normal; text-align: center; max-width: 100%; line-height: 1.25; } }
.px-button--primary { background: var(--px-blue); color: var(--px-navy-deep) !important; }
.px-button--primary:hover { transform: translateY(-2px); background: var(--px-blue-light); }
.px-button--primary::after { content: ""; position: absolute; right: -6px; bottom: -6px; width: 26px; height: 26px; background: var(--px-navy-deep); transform: rotate(45deg); opacity: 0.18; pointer-events: none; }
.px-button { position: relative; overflow: hidden; }
.px-button--whatsapp { background: #25d366; color: var(--px-navy-deep) !important; }
.px-button--whatsapp:hover { transform: translateY(-2px); background: #2fe673; }
@media (max-width: 1199px) { .px-header__actions .px-button { display: none; } }

.px-menu-toggle {
	display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 46px; padding: 11px;
	background: rgba(34, 181, 252, 0.08); border: 1px solid rgba(34, 181, 252, 0.3); border-radius: 8px; cursor: pointer;
}
.px-menu-toggle span { display: block; height: 2px; background: var(--px-blue); border-radius: 2px; transition: transform 0.2s; }
@media (min-width: 1200px) { .px-menu-toggle { display: none; } }

/* --------------------------------------------------------------------------
   Mobil çekmece (<dialog>)
   -------------------------------------------------------------------------- */
.px-drawer {
	position: fixed; inset: 0 0 0 auto; width: min(400px, 92vw); max-width: none; height: 100%; max-height: none; margin: 0; padding: 0;
	border: 0; border-left: 1px solid var(--px-line); background: var(--px-navy-deep); color: var(--px-white);
	box-shadow: -20px 0 60px rgba(0, 0, 0, 0.6); overflow: auto;
}
.px-drawer[open] { animation: px-slide-in 0.3s var(--px-ease); }
.px-drawer::backdrop { background: rgba(5, 10, 18, 0.7); backdrop-filter: blur(4px); }
@keyframes px-slide-in { from { transform: translateX(40px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
.px-drawer__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--px-line); }
.px-drawer__close { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; background: rgba(34, 181, 252, 0.08); border: 1px solid rgba(34, 181, 252, 0.3); border-radius: 8px; color: var(--px-blue); cursor: pointer; }
.px-drawer__close svg { width: 18px; height: 18px; }
.px-drawer__body { padding: 22px 20px 32px; display: flex; flex-direction: column; gap: 22px; font-family: var(--px-font-body); }
.px-drawer__nav { display: flex; flex-direction: column; }
.px-drawer__link { padding: 13px 4px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); font-size: 17px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--px-gray-light); text-decoration: none !important; }
.px-drawer__link:hover, .px-drawer__link[aria-current="page"] { color: var(--px-blue); }
.px-drawer__heading { margin: 0 0 -8px; font-family: var(--px-font-display); font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--px-blue); }
.px-drawer__services { display: grid; gap: 8px; }
.px-drawer__services a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid rgba(34, 181, 252, 0.18); border-radius: 10px; background: rgba(34, 181, 252, 0.05); color: var(--px-gray-light); font-size: 15px; font-weight: 600; text-decoration: none !important; }
.px-drawer__services svg { width: 18px; height: 18px; color: var(--px-blue); flex-shrink: 0; }
.px-drawer__contact { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.px-drawer__social { display: flex; gap: 10px; }
.px-drawer-open body { overflow: hidden; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
body.px-site .site-footer { background: var(--px-navy-deep); color: var(--px-gray-light); }
.px-footer { position: relative; background: var(--px-navy-deep); overflow: hidden; font-family: var(--px-font-body); }
.px-footer__glow {
	position: absolute; inset: 0; pointer-events: none;
	background:
		radial-gradient(ellipse 70% 50% at 0% 100%, rgba(34, 181, 252, 0.09) 0%, transparent 55%),
		radial-gradient(ellipse 50% 40% at 100% 0%, rgba(0, 212, 255, 0.06) 0%, transparent 55%),
		linear-gradient(0deg, rgba(34, 181, 252, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(34, 181, 252, 0.035) 1px, transparent 1px);
	background-size: auto, auto, 40px 40px, 40px 40px;
	mask-image: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.25) 100%);
	-webkit-mask-image: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.25) 100%);
}
.px-footer__grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 4vw, 48px); padding-top: 72px; padding-bottom: 56px; border-top: 1px solid var(--px-line); }
@media (min-width: 1024px) { .px-footer__grid { grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr)); padding-top: 90px; } }
.px-footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.px-footer__desc { margin: 0; max-width: 380px; font-size: 15px; line-height: 1.75; color: var(--px-gray); }
.px-footer__social { display: flex; gap: 10px; }
.px-footer__title {
	margin: 0 0 20px; font-family: var(--px-font-display); font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--px-white);
	position: relative; padding-bottom: 12px;
}
.px-footer__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 2px; background: var(--px-gradient-blue); box-shadow: var(--px-shadow-blue); }
.px-footer__links { display: flex; flex-direction: column; gap: 10px; }
.px-footer__link { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: var(--px-gray-light); text-decoration: none !important; transition: color 0.2s, transform 0.2s; }
.px-footer__link::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: rgba(34, 181, 252, 0.4); transition: background 0.2s, box-shadow 0.2s; }
.px-footer__link:hover, .px-footer__link[aria-current="page"] { color: var(--px-blue); transform: translateX(4px); }
.px-footer__link:hover::before { background: var(--px-blue); box-shadow: 0 0 8px var(--px-blue); }
.px-footer__contact { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.px-footer__contact li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.5; color: var(--px-gray-light); }
.px-footer__contact svg { width: 18px; height: 18px; color: var(--px-blue); flex-shrink: 0; margin-top: 2px; }
.px-footer__contact a { color: var(--px-gray-light); text-decoration: none; transition: color 0.2s; }
.px-footer__contact a:hover { color: var(--px-blue); }
.px-footer__subtitle { display: flex; align-items: center; gap: 8px; margin: 26px 0 12px; font-family: var(--px-font-ui); font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--px-white); }
.px-footer__subtitle svg { width: 15px; height: 15px; color: var(--px-blue); }
.px-footer__hours { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.px-footer__hours li { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); color: var(--px-gray); }
.px-footer__hours li span:last-child { color: var(--px-gray-light); font-weight: 600; white-space: nowrap; }
.px-footer__bottom { position: relative; z-index: 1; border-top: 1px solid var(--px-line); background: rgba(0, 0, 0, 0.25); }
.px-footer__bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 18px; padding-bottom: 18px; font-family: var(--px-font-ui); font-size: 13px; color: var(--px-gray); }
.px-footer__copy { margin: 0; }
.px-footer__legal { display: flex; flex-wrap: wrap; gap: 18px; }
.px-footer__legal a { color: var(--px-gray); text-decoration: none; transition: color 0.2s; }
.px-footer__legal a:hover { color: var(--px-blue); }

/* --------------------------------------------------------------------------
   Temanın sabit iletişim öğeleri marka renklerine çekilir
   -------------------------------------------------------------------------- */
body.px-site .ev-desktop-contact__button--call { background: var(--px-blue-dark); }
body.px-site .ev-desktop-contact__button:focus-visible { outline-color: var(--px-blue); }
body.px-site .ev-contact-bar.mobile-bottom-nav { background: rgba(5, 10, 18, 0.96); border-color: var(--px-line); box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.5); }
body.px-site .ev-contact-bar.mobile-bottom-nav .mobile-bottom-nav__item--call { background: var(--px-blue-dark); }
body.px-site .skip-link:focus { background: var(--px-blue); color: var(--px-navy-deep); }

@media (prefers-reduced-motion: reduce) {
	.px-topbar, .px-header, .px-header__inner, .px-brand__mark, .px-nav__link::after, .px-dropdown, .px-button, .px-footer__link { transition: none; }
	.px-drawer[open] { animation: none; }
}

.px-footer__brand .px-footer__title { margin: 6px 0 0; }
.px-footer__brand .px-footer__subtitle { margin: 4px 0 0; }
.px-footer__brand .px-footer__hours { width: 100%; }
.px-footer__contact li { overflow-wrap: anywhere; }
.px-footer__directions { display: inline-flex; gap: 7px; align-items: center; min-height: 44px; padding: 6px 11px; border: 1px solid #386685; border-radius: 7px; color: #b8e6ff; font-size: 14px; font-weight: 700; text-decoration: none !important; }
.px-footer__directions:hover { background: #11344d; color: #fff; }
.px-footer__directions svg { width: 15px; height: 15px; }
.px-footer__link::before { flex-shrink: 0; }
.px-footer a:focus-visible { outline: 2px solid #67ccff; outline-offset: 3px; }
@media (min-width: 1024px) { .px-footer__legal { margin-right: 156px; } }
@media (max-width: 639px) {
	.px-footer__grid { padding-top: 36px; padding-bottom: 30px; }
	.px-footer__brand { grid-column: 1 / -1; }
	.px-footer__links { gap: 2px; }
	.px-footer__link { min-height: 44px; }
}
