/* =====================================================================
   Nüve 2 — temel stiller: değişkenler, header, menü, footer
   ===================================================================== */
:root {
    --nv-navy: #0b2a4a;
    --nv-navy-2: #12385f;
    --nv-primary: #0e5290;
    --nv-primary-2: #0a6fd0;
    --nv-accent: #12a4e0;
    --nv-primary-soft: rgba(14, 82, 144, .08);
    --nv-text: #14263b;
    --nv-muted: #5d6d80;
    --nv-border: #e1e8f0;
    --nv-bg-soft: #f3f7fb;
    --nv-radius: 20px;
    --nv-radius-sm: 12px;
    --nv-shadow: 0 10px 30px rgba(11, 42, 74, .08);
    --nv-shadow-lg: 0 22px 50px rgba(11, 42, 74, .14);
    --nv-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --nv-topbar-h: 38px;
    --nv-bar-h: 84px;
    --nv-hdr-h: 122px; /* JS gerçek yüksekliği yazar */
    --bs-primary: #0e5290;
    --bs-primary-rgb: 14, 82, 144;
    --bs-link-color: #0e5290;
    --bs-link-hover-color: #0a6fd0;
    --bs-body-font-family: var(--nv-font);
}

html { scroll-behavior: smooth; }
body {
    font-family: var(--nv-font);
    color: var(--nv-text);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
a { color: var(--nv-primary); }
a:hover { color: var(--nv-primary-2); }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4, h5, h6 { font-family: var(--nv-font); letter-spacing: -.01em; }
.skip-link { position: absolute; top: .5rem; left: .5rem; z-index: 2000; background: #fff; padding: .5rem 1rem; border-radius: 8px; }

.btn { font-family: var(--nv-font); font-weight: 600; }
.btn-primary {
    --bs-btn-bg: var(--nv-primary); --bs-btn-border-color: var(--nv-primary);
    --bs-btn-hover-bg: var(--nv-navy); --bs-btn-hover-border-color: var(--nv-navy);
    --bs-btn-active-bg: var(--nv-navy); --bs-btn-active-border-color: var(--nv-navy);
}
.btn-outline-primary {
    --bs-btn-color: var(--nv-primary); --bs-btn-border-color: var(--nv-primary);
    --bs-btn-hover-bg: var(--nv-primary); --bs-btn-hover-border-color: var(--nv-primary);
    --bs-btn-active-bg: var(--nv-primary); --bs-btn-active-border-color: var(--nv-primary);
}

/* ---------------------------------------------------------------------
   Header
   --------------------------------------------------------------------- */
.nv-header {
    position: sticky; top: 0; z-index: 1030;
    background: #fff;
    transition: box-shadow .25s;
}
.nv-header.is-scrolled { box-shadow: 0 8px 30px rgba(11, 42, 74, .12); }

.nv-topbar {
    background: var(--nv-navy); color: rgba(255, 255, 255, .78);
    font-size: .78rem; height: var(--nv-topbar-h); overflow: hidden;
    transition: height .25s, opacity .25s;
}
.nv-topbar__inner { display: flex; align-items: center; justify-content: space-between; height: var(--nv-topbar-h); gap: 1rem; }
.nv-tagline p { margin: 0; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; font-size: .72rem; color: rgba(255, 255, 255, .92); }
.nv-topbar__right { display: flex; align-items: center; gap: 1.4rem; }
.nv-topbar__link { color: rgba(255, 255, 255, .78); text-decoration: none; display: inline-flex; align-items: center; gap: .45rem; }
.nv-topbar__link:hover { color: #fff; }
.nv-topbar__link .fas { font-size: .72rem; color: var(--nv-accent); }
.nv-lang ul { display: flex; gap: .45rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.nv-lang a { display: block; line-height: 0; padding: 0 !important; }
.nv-lang img { width: 20px; height: auto; display: block; border-radius: 3px; opacity: .7; transition: opacity .15s, transform .15s; }
.nv-lang a:hover img, .nv-lang li.lang-active img { opacity: 1; }
.nv-lang a:hover img { transform: translateY(-1px); }
.nv-lang li.lang-active { background: none !important; padding: 0 !important; }
.nv-lang li.lang-active img { outline: 2px solid var(--nv-accent); outline-offset: 2px; }
.nv-lang .mod-languages { margin: 0; }

.nv-header__bar { background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px); }
.nv-header__main {
    display: flex; align-items: center; gap: 2rem;
    min-height: var(--nv-bar-h); transition: min-height .25s;
}
.nv-logo { flex: 0 0 auto; display: block; }
.nv-logo img { height: 62px; width: auto; transition: height .25s; }
.nv-nav { flex: 1 1 auto; justify-content: flex-start; align-self: stretch; }
.nv-header__tools { display: flex; align-items: center; gap: 1.1rem; margin-inline-start: auto; }

.nv-search input[type="search"], .nv-search input[type="text"] {
    border-radius: 50px; border: 1px solid var(--nv-border); background: var(--nv-bg-soft);
    padding: .5rem 1rem; min-width: 190px; font-size: .88rem; transition: border-color .15s, box-shadow .15s, background .15s;
}
.nv-search input:focus { background: #fff; border-color: var(--nv-primary); box-shadow: 0 0 0 .2rem rgba(14, 82, 144, .12); outline: 0; }
.nv-search .mod-finder__search, .nv-search form { margin: 0; }
.nv-search label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.nv-search .btn { display: none; }

.nv-social { list-style: none; margin: 0; padding: 0; gap: .55rem; }
.nv-social a {
    width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    background: var(--nv-bg-soft); color: var(--nv-primary); font-size: .82rem; text-decoration: none;
    transition: background .15s, color .15s, transform .15s;
}
.nv-social a:hover { background: var(--nv-primary); color: #fff; transform: translateY(-2px); }

.nv-burger {
    width: 44px; height: 44px; border: 0; background: var(--nv-bg-soft); border-radius: 12px; padding: 0 12px;
    display: flex; flex-direction: column; justify-content: center; gap: 5px; cursor: pointer;
}
.nv-burger span { display: block; height: 2px; background: var(--nv-navy); border-radius: 2px; }

/* ---------------------------------------------------------------------
   Ana menü (nuve:mega)
   --------------------------------------------------------------------- */
.nv-menu { list-style: none; margin: 0; padding: 0; }
.nv-nav .nv-menu { display: flex; align-items: stretch; gap: .15rem; height: 100%; }
.nv-nav .nv-menu > li { position: static; display: flex; align-items: center; }
.nv-nav .nv-menu > li:not(.is-mega) { position: relative; }
.nv-nav .nv-menu > li > a,
.nv-nav .nv-menu > li > span {
    position: relative; display: flex; align-items: center; height: 100%;
    padding: 0 .85rem; color: var(--nv-text); text-decoration: none;
    font-weight: 600; font-size: .93rem; white-space: nowrap; cursor: pointer;
}
.nv-nav .nv-menu > li > a::after,
.nv-nav .nv-menu > li > span::after {
    content: ""; position: absolute; inset-inline: .85rem; bottom: 0; height: 3px; border-radius: 3px 3px 0 0;
    background: var(--nv-accent); transform: scaleX(0); transition: transform .2s;
}
.nv-nav .nv-menu > li.active > a,
.nv-nav .nv-menu > li > a:hover,
.nv-nav .nv-menu > li:hover > span { color: var(--nv-primary); }
.nv-nav .nv-menu > li.active > a::after,
.nv-nav .nv-menu > li:hover > a::after,
.nv-nav .nv-menu > li:hover > span::after,
.nv-nav .nv-menu > li.active > span::after { transform: scaleX(1); }
.nv-nav .nv-menu__toggle {
    border: 0; background: none; padding: 0; margin-inline-start: -.55rem; margin-inline-end: .4rem; color: var(--nv-muted); font-size: .68rem; pointer-events: none;
}
.nv-nav .nv-menu__sub {
    list-style: none; margin: 0; padding: .6rem;
    position: absolute; top: 100%; inset-inline-start: 0; min-width: 270px;
    background: #fff; border-radius: 0 0 var(--nv-radius-sm) var(--nv-radius-sm);
    box-shadow: 0 24px 50px rgba(11, 42, 74, .16); border-top: 1px solid var(--nv-border);
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: opacity .2s, transform .2s, visibility .2s; z-index: 1040;
}
.nv-nav li:not(.is-mega):hover > .nv-menu__sub,
.nv-nav li:not(.is-mega):focus-within > .nv-menu__sub,
.nv-nav li.is-mega.is-open > .nv-menu__sub { opacity: 1; visibility: visible; transform: none; }
.nv-nav .nv-menu__sub a, .nv-nav .nv-menu__sub span:not([class*="fa"]) {
    display: block; padding: .5rem .9rem; border-radius: 8px; color: var(--nv-text); text-decoration: none; font-size: .9rem; font-weight: 500;
}
.nv-nav .nv-menu__sub a:hover, .nv-nav .nv-menu__sub li.current > a { color: var(--nv-primary); background: var(--nv-primary-soft); }
.nv-nav .nv-menu__sub .nv-menu__sub { top: 0; inset-inline-start: 100%; border-radius: var(--nv-radius-sm); border-top: 0; }
.nv-nav .nv-menu__sub .nv-menu__toggle { display: none; }

/* Mega panel: 2. seviye sütun başlıkları, 3. seviye cihazlar */
.nv-nav li.is-mega > .nv-menu__sub {
    inset-inline: 0; margin: 0 auto; max-width: 1280px;
    display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: .6rem 1.75rem;
    padding: 1.5rem 2rem 1.75rem; border-radius: 0 0 var(--nv-radius) var(--nv-radius);
    max-height: calc(100vh - var(--nv-hdr-h, 110px) - 12px); overflow-y: auto; overscroll-behavior: contain;
}
.nv-nav li.is-mega > .nv-menu__sub > li > a,
.nv-nav li.is-mega > .nv-menu__sub > li > span {
    font-weight: 800; color: var(--nv-primary); padding: .35rem 0 .55rem; background: none; font-size: .78rem;
    text-transform: uppercase; letter-spacing: .06em; border-bottom: 2px solid var(--nv-bg-soft); border-radius: 0; margin-bottom: .35rem;
}
.nv-nav li.is-mega > .nv-menu__sub .nv-menu__sub {
    position: static; opacity: 1; visibility: inherit; transform: none; box-shadow: none; padding: 0 0 .5rem; min-width: 0; border-radius: 0; background: none;
}
.nv-nav li.is-mega > .nv-menu__sub .nv-menu__sub a { padding: .32rem 0; font-size: .86rem; background: none; font-weight: 500; color: var(--nv-muted); border-radius: 0; }
.nv-nav li.is-mega > .nv-menu__sub .nv-menu__sub a:hover { color: var(--nv-primary); padding-inline-start: .35rem; }
.nv-nav li.is-mega > .nv-menu__sub .nv-menu__sub a { transition: padding .15s, color .15s; }

/* Offcanvas (mobil) menü */
.nv-offcanvas { width: min(400px, 92vw); }
.nv-offcanvas .offcanvas-header { border-bottom: 1px solid var(--nv-border); }
.nv-offcanvas .offcanvas-title { font-weight: 800; color: var(--nv-primary); }
.nv-offcanvas__lang { margin-bottom: 1rem; }
.nv-offcanvas__lang ul { display: flex; gap: .6rem; list-style: none; margin: 0; padding: 0; }
.nv-offcanvas__lang img { width: 26px; height: auto; border-radius: 3px; }
.nv-offcanvas__lang li.lang-active { background: none !important; }
.nv-offcanvas__lang li.lang-active img { outline: 2px solid var(--nv-accent); outline-offset: 2px; }
.nv-offcanvas__menu { margin-bottom: 1.25rem; }
.nv-offcanvas .nv-menu li { position: relative; border-bottom: 1px solid var(--nv-border); }
.nv-offcanvas .nv-menu a, .nv-offcanvas .nv-menu li > span:not([class*="fa"]) {
    display: block; padding: .8rem 2.6rem .8rem 0; color: var(--nv-text); text-decoration: none; font-weight: 600;
}
.nv-offcanvas .nv-menu .nv-menu__sub { display: none; list-style: none; padding: 0 0 .5rem 1rem; margin: 0; }
.nv-offcanvas .nv-menu .nv-menu__sub li { border: 0; }
.nv-offcanvas .nv-menu .nv-menu__sub a { padding: .42rem 2.6rem .42rem 0; font-weight: 500; font-size: .93rem; color: var(--nv-muted); }
.nv-offcanvas .nv-menu li.is-open > .nv-menu__sub { display: block; }
.nv-offcanvas .nv-menu__toggle {
    position: absolute; inset-inline-end: 0; top: .5rem; width: 2.2rem; height: 2.2rem;
    border: 0; background: var(--nv-bg-soft); border-radius: 50%; color: var(--nv-text);
}
.nv-offcanvas .nv-menu li.is-open > .nv-menu__toggle .fas { transform: rotate(180deg); }
.nv-offcanvas__contact { display: grid; gap: .6rem; margin-top: 1rem; }
.nv-offcanvas__contact a { color: var(--nv-text); text-decoration: none; font-weight: 500; }
.nv-offcanvas__contact .fas { color: var(--nv-primary); width: 1.2rem; }
.nv-offcanvas .nv-search, .nv-offcanvas .mod-finder { margin-bottom: 1rem; }
.nv-offcanvas .nv-search input, .nv-offcanvas input[type="text"], .nv-offcanvas input[type="search"] { width: 100%; }

/* ---------------------------------------------------------------------
   Breadcrumbs, sayfa
   --------------------------------------------------------------------- */
.nv-breadcrumbs { padding: .9rem 0 0; }
.nv-breadcrumbs .breadcrumb {
    background: none; padding: 0; margin: 0; font-size: .8rem; color: var(--nv-muted);
    --bs-breadcrumb-divider: "›"; --bs-breadcrumb-divider-color: #9aa8b8;
}
.nv-breadcrumbs .breadcrumb a { text-decoration: none; color: var(--nv-muted); font-weight: 500; }
.nv-breadcrumbs .breadcrumb a:hover { color: var(--nv-primary); }
.nv-breadcrumbs .breadcrumb .active, .nv-breadcrumbs .breadcrumb li:last-child { color: var(--nv-navy); font-weight: 600; }
.nv-breadcrumbs .mod-breadcrumbs__here { display: none; }
.nv-main { min-height: 40vh; }
.nv-page { padding-top: 2rem; padding-bottom: 3rem; }
.nv-box { background: #fff; border: 1px solid var(--nv-border); border-radius: var(--nv-radius-sm); padding: 1.25rem; margin-bottom: 1.5rem; }
.nv-box__title { font-size: 1.05rem; font-weight: 800; margin-bottom: .75rem; }
.com-content-article .page-header h1, .com-content-article .page-header h2 { font-weight: 800; color: var(--nv-navy); }

/* ---------------------------------------------------------------------
   Footer
   --------------------------------------------------------------------- */
.nv-footer { position: relative; margin-top: 4rem; color: #1f2937; }
.nv-footer::before {
    content: ""; display: block; height: 4px;
    background: linear-gradient(90deg, var(--nv-primary), var(--nv-accent) 55%, var(--nv-primary-2));
}
.nv-footer__body { background: var(--nv-bg-soft); padding: 3rem 0 3rem; }
.nv-footer__col { font-size: .94rem; }
.nv-footer__col a { color: var(--nv-muted); text-decoration: none; }
.nv-footer__col a:hover { color: var(--nv-primary); }
.nv-footer__col h1, .nv-footer__col h2, .nv-footer__col h3 { font-size: 1rem; font-weight: 400; margin: 0; line-height: 1.7; }
.nv-footer__col img { max-width: 140px; margin-bottom: 1rem; }
.nv-footer__col .nav-link { padding: .15rem 0; }
.nv-footer__col span[style*="font-size: 18px"] { font-size: 1rem !important; }
.nv-fmod__title { font-size: 1.15rem !important; font-weight: 800 !important; margin-bottom: 1rem !important; color: var(--nv-navy); }
.nv-fmod .form-control, .nv-fmod input[type="text"], .nv-fmod input[type="email"] { border-radius: 10px; }
.nv-fmod .formControlLabel, .nv-fmod label { font-size: .85rem; }
.nv-footer__bottom { background: var(--nv-navy); color: rgba(255, 255, 255, .72); padding: 1rem 0; font-size: .78rem; }
.nv-footer__bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; }
.nv-copyright p { margin: 0; }
.nv-copyright, .nv-copyright span, .nv-copyright p { color: rgba(255, 255, 255, .72) !important; }
.nv-copyright a { margin-inline-start: 1rem; text-decoration: none; color: #fff !important; }
.nv-copyright a:hover { color: var(--nv-accent) !important; }
.nv-social--footer { display: flex; }
.nv-social--footer a { background: rgba(255, 255, 255, .1); color: #fff; }
.nv-social--footer a:hover { background: var(--nv-accent); }

.nv-totop {
    position: fixed; inset-inline-end: 1.25rem; bottom: 1.25rem; z-index: 1020;
    width: 46px; height: 46px; border-radius: 14px; border: 0;
    background: var(--nv-navy); color: #fff; box-shadow: var(--nv-shadow);
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, visibility .2s, transform .2s;
}
.nv-totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.nv-totop:hover { background: var(--nv-primary); }

/* RTL */
[dir="rtl"] .nv-nav .nv-menu__sub { inset-inline-start: 0; }

/* Mobil */
@media (max-width: 991.98px) {
    :root { --nv-bar-h: 68px; }
    .nv-logo img { height: 46px; }
    .nv-header__main { gap: .75rem; }
}
@media (max-width: 575.98px) {
    .nv-logo img { height: 40px; }
    .nv-copyright a { display: inline-block; margin: .25rem 1rem 0 0; }
}
@media print {
    .nv-header, .nv-footer, .nv-totop, .nv-breadcrumbs { display: none !important; }
}

/* Kapalı mega panel fareyi yakalamaz (sayfa ortasından geçerken menü açılmasın) */
.nv-nav li.is-mega > .nv-menu__sub { pointer-events: none; }
.nv-nav li.is-mega.is-open > .nv-menu__sub { pointer-events: auto; }
