/* EMF Fren — Porto üzerine site özel stiller */
:root { --emf-red: #d71920; }
body { font-family: "Open Sans", Arial, sans-serif; }
.text-justify { text-align: justify; }

/* Header */
#header .header-logo img { width: 106px; height: auto; }
/* Ana menü yazıları eski siteyle aynı: 12 px, kalın (700), harf aralığı -0,5 px; alt menü 12,8 px gri */
@media (min-width: 992px) {
    #header .header-nav-main.header-nav-main-text-size-2 nav > ul > li > a { font-size: 12px; font-weight: 700; letter-spacing: -.5px; }
    #header .header-nav-main.header-nav-main-text-size-2 nav > ul > li .dropdown-menu li a { font-size: 12.8px; letter-spacing: -.5px; }
    #header .header-nav.header-nav-dropdowns-dark .header-nav-main nav > ul > li .dropdown-menu li a { color: #969696; }
    #header .header-nav.header-nav-dropdowns-dark .header-nav-main nav > ul > li .dropdown-menu li a:hover,
    #header .header-nav.header-nav-dropdowns-dark .header-nav-main nav > ul > li .dropdown-menu li a:focus { color: #fff; }
}
#header .header-btn-collapse-nav { background: var(--primary); }
#header .emf-lang-caret { width: 6px; height: 6px; margin: 0 0 3px 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); vertical-align: middle; }
html.sticky-header-active #header .header-body { box-shadow: 0 0 14px rgba(0,0,0,.25); }
.home #header.header-transparent .header-body { background: transparent !important; }
html.sticky-header-active .home #header .header-body,
html.sticky-header-active body.home #header .header-body { background: #212529 !important; }

/* Hero */
.emf-hero { position: relative; height: 100vh; min-height: 520px; overflow: hidden; background: #111 url('/video/hero-poster-1080.webp') center/cover no-repeat; }
.emf-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.emf-hero__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.emf-hero__caption { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; z-index: 2; padding: 0 16px; }
.emf-hero__brand { display: flex; align-items: center; gap: 18px; font-size: 22px; letter-spacing: 1px; animation: emfFadeDown .6s 1.2s both; }
.emf-hero__border { opacity: .4; }
.emf-hero__slogan { font-weight: 800; font-size: clamp(36px, 6vw, 56px); line-height: 1.1; letter-spacing: -2px; color: #fff; margin: 12px 0 0; animation: emfBlurIn 2s .8s both; }
.emf-hero__scroll { position: absolute !important; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 3; }
@keyframes emfFadeDown { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: none; } }
@keyframes emfBlurIn { from { opacity: 0; filter: blur(20px); transform: scale(1.4); } to { opacity: 1; filter: none; transform: none; } }
@media (prefers-reduced-motion: reduce) { .emf-hero__brand, .emf-hero__slogan { animation: none; } }

.emf-sector-icon { width: 80px; height: 80px; object-fit: contain; margin: 0 auto 16px; display: block; }
.featured-boxes-style-4 .featured-box { min-height: 0; }
.emf-parallax-home, .emf-parallax { min-height: 315px; background-size: cover; background-position: center; }

/* Ürün */
.emf-title-underline { border-bottom: 2px solid var(--primary); padding-bottom: 2px; }
.emf-underline { border-bottom: 1px solid #000; }
.emf-reel { position: relative; display: inline-block; max-width: 450px; width: 100%; cursor: grab; touch-action: pan-y; user-select: none; }
.emf-reel:active { cursor: grabbing; }
.emf-reel--large { max-width: 800px; }
.emf-reel__img { width: 100%; height: auto; pointer-events: none; }
.emf-reel__stage { position: absolute; inset: 0; background-repeat: no-repeat; pointer-events: none; }
.emf-reel.is-loading::after { content: ""; position: absolute; top: 12px; right: 12px; width: 18px; height: 18px; border: 2px solid var(--primary); border-right-color: transparent; border-radius: 50%; animation: emfSpin .8s linear infinite; }
@keyframes emfSpin { to { transform: rotate(360deg); } }
.emf-reel__bar { display: flex; justify-content: center; align-items: center; gap: 16px; max-width: 450px; margin: 4px auto 0; }
.emf-app-img { min-height: 315px; background-size: cover; background-position: center; }
.col-half-section { max-width: 555px; padding: 40px 30px; }
.custom-text-align-right { text-align: right; }
@media (max-width: 991px) { .custom-text-align-right { text-align: left; } .col-half-section { max-width: none; } }

.emf-hotspots { position: relative; display: inline-block; width: 100%; max-width: var(--hs-w, 450px); }
.emf-hotspots img { display: block; width: 100%; height: auto; }
.emf-hotspots .image-hotspot { position: absolute; transform: translate(-50%, -50%); border: 0; padding: 0; cursor: pointer; z-index: 2; }
.emf-parts-legend li { font-size: 13px; background: #f4f4f4; padding: 4px 10px 4px 4px; border-radius: 20px; }
.emf-optional h4 { font-size: 1.1rem; }
.emf-specs th { width: 45%; font-weight: 600; }

/* Formlar */
.emf-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.emf-form .form-control, .emf-application .form-control { border-radius: 0; }
.emf-application legend { border-bottom: 1px solid #eee; padding-bottom: 6px; }
.emf-rep-row + .emf-rep-row { margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed #ddd; }

/* Bayiler haritası */
.emf-map { position: relative; }
.emf-map svg { width: 100%; height: auto; }
.emf-map svg path { fill: #212529; stroke: #fff; stroke-width: .6; transition: fill .15s; }
.emf-map svg g:hover path { fill: #555; }
.emf-map__tip { position: absolute; pointer-events: none; background: #212529; color: #fff; font-size: 13px; padding: 4px 10px; border-radius: 4px; transform: translate(-50%, -130%); white-space: nowrap; z-index: 5; }

/* İçerik metinleri */
.emf-prose p { margin-bottom: 1rem; }
.emf-prose h2, .emf-prose h3 { margin-top: 1.5rem; }
.emf-prose ul { padding-left: 1.2rem; }

/* Footer */
#footer .footer-icon { width: 16px; height: 16px; position: absolute; left: 0; top: 4px; }
#footer .footer-map iframe { border: 0; filter: grayscale(.4); }
#footer p, #footer a:not(.btn) { color: #b5b5b5; }

/* Çerez bandı */
.emf-cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999; background: rgba(33,37,41,.97); color: #ddd; }
.emf-cookie a { color: #fff; text-decoration: underline; }

/* Teknik özellikler: etiket sütunu sabit, model sütunları eşit */
.emf-specs { table-layout: fixed; }
.emf-specs th[scope=row] { width: 40%; }
@media (max-width: 575px) { .emf-specs { table-layout: auto; } }

/* Çerez bandı sunucuda çizilir; tercih verilmişse baştan gizli */
.emf-consented #emfCookie, #emfCookie[hidden] { display: none !important; }

/* Tıklayınca yüklenen harita */
.emf-gmap { background: rgba(255,255,255,.06); }
.emf-map-placeholder { color: #fff; font-size: .8rem; }
.emf-gmap iframe { border: 0; }

/* Çerez bandı: tüm seçenekler eşit görünür (KVKK Çerez Rehberi) */
.emf-cookie-btn { min-width: 9rem; font-weight: 600; }
.emf-cookie-prefs .form-check-input { cursor: pointer; }
.emf-cookie-prefs .form-check-label { color: #fff; }

/* Yasal metin tabloları: iki yana yaslama yok */
.table td, .table th { text-align: left; }

/* CLS: ürün ızgarası yüklenirken 200px ile sınırlanmasın (alt bilgi zıplamasın) */
.sort-destination-loader.sort-destination-loader-showing { max-height: none; }

/* Slogandaki kırmızı çentik (eski sitenin emfslide.png'si): HİSSET'teki İ'nin noktasının yerinde, sağa doğru */
.emf-hero__mark { position: relative; display: inline-block; }
.emf-hero__mark::after { content: ""; position: absolute; left: -.02em; top: -.02em; width: 1.04em; height: .16em; background: url('/img/slides/emfslide.png') left top / 100% 100% no-repeat; animation: emfMarkIn .5s 2.4s both; pointer-events: none; }
@keyframes emfMarkIn { from { opacity: 0; transform: translateX(10%); } to { opacity: 1; transform: none; } }
@media (max-width: 767.98px) { .emf-hero__mark::after { display: none; } }
@media (prefers-reduced-motion: reduce) { .emf-hero__mark::after { animation: none; } }

/* Ürün alt menüsü: aktif sekme dolu zemin (eski site) */
#navSecondary .nav-pills .nav-link { border-radius: 0; }
#navSecondary .nav-pills .nav-link.active,
#navSecondary .nav-pills .nav-link.active:hover { background-color: var(--primary, #058b8c); color: #fff !important; }

.emf-reel--design { max-width: 450px; margin: 0 auto; }

/* Dokümanlar sayfası */
.emf-docs-jump .nav-link { font-size: 12px; font-weight: 600; border-radius: 0; }
.emf-doc-card { position: relative; display: flex; align-items: center; gap: 18px; height: 100%; padding: 18px 20px; background: #fff; border: 1px solid #e7e7e7; border-left: 3px solid var(--primary, #058b8c); color: inherit; transition: box-shadow .2s ease, transform .2s ease; }
a.emf-doc-card:hover, .emf-doc-card:hover { text-decoration: none; box-shadow: 0 8px 24px rgba(0,0,0,.08); transform: translateY(-2px); }
.emf-doc-card__logo { flex: 0 0 72px; height: 64px; display: flex; align-items: center; justify-content: center; }
.emf-doc-card__logo i, .emf-doc-card__logo--icon i { font-size: 34px; color: var(--primary, #058b8c); }
.emf-doc-card__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.emf-doc-card__title { color: #212529; font-weight: 700; font-size: 15px; line-height: 1.35; }
.emf-doc-card__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12.5px; color: #777; }
/* Politika sayfalarındaki sertifika kutusu */
.emf-cert-box { display: flex; align-items: center; gap: 20px; padding: 20px 24px; margin-top: 2rem; background: #f7f7f7; border-left: 3px solid var(--primary, #058b8c); }
.emf-cert-box h4 { margin: 0 0 4px; font-size: 16px; text-transform: uppercase; }
@media (max-width: 575.98px) { .emf-cert-box { flex-direction: column; text-align: center; } }

.emf-cert-badge { display: block; max-width: 100%; height: auto; }
img.emf-cert-badge { width: auto; }
