﻿/* =========================================================================
   OSTİM DTİM — tasarım sistemi
   Bootstrap 5.3 üzerine marka renkleri, tipografi ve bileşenler.
   ========================================================================= */

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url("../lib/fonts/source-sans-3-cyrillic-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url("../lib/fonts/source-sans-3-cyrillic-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url("../lib/fonts/source-sans-3-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url("../lib/fonts/source-sans-3-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url("../lib/fonts/source-serif-4-cyrillic-ext-opsz-normal.woff2") format("woff2-variations");
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url("../lib/fonts/source-serif-4-cyrillic-opsz-normal.woff2") format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url("../lib/fonts/source-serif-4-latin-ext-opsz-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url("../lib/fonts/source-serif-4-latin-opsz-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #1b4a5f;
  --navy-2: #245a72;
  --brand: #1d6a8f;
  --brand-600: #17576f;
  --brand-50: #e9f3f7;
  --sky: #3f93b8;
  --accent: #f97316;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --surface: #ffffff;
  --bg: #f5f7fb;
  --radius: 8px;
  --radius-sm: 6px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
  --shadow: 0 10px 30px -12px rgba(15, 23, 42, .18);
  --shadow-lg: 0 30px 60px -20px rgba(15, 46, 60, .35);

  --bs-primary: var(--brand);
  --bs-primary-rgb: 29, 106, 143;
  --bs-body-font-family: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --bs-body-color: var(--ink);
  --bs-body-bg: var(--bg);
  --bs-border-color: var(--line);
  --bs-link-color: var(--brand);
  --bs-link-color-rgb: 29, 106, 143;
  --bs-link-hover-color: var(--brand-600);
  --bs-border-radius: var(--radius-sm);
}

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-size: 1.0625rem; }
:root { --font-head: "Source Serif 4", Georgia, "Times New Roman", serif; }
h1, h2, h3, h4, h5, .display-5, .display-6 { letter-spacing: -.01em; font-weight: 600; color: var(--ink); }
h1, h2, h3, .display-5, .display-6 { font-family: var(--font-head); }
a { text-decoration: none; }
::selection { background: #c3dfe9; }

/* ---------- Butonlar ---------- */
.btn { border-radius: 6px; font-weight: 600; padding: .6rem 1.1rem; transition: all .18s ease; }
.btn-sm { padding: .35rem .75rem; border-radius: 5px; }
.btn-lg { padding: .85rem 1.5rem; border-radius: 6px; }
.btn-primary { --bs-btn-bg: var(--brand); --bs-btn-border-color: var(--brand); --bs-btn-hover-bg: var(--brand-600); --bs-btn-hover-border-color: var(--brand-600); --bs-btn-active-bg: var(--brand-600); }
.btn-accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-accent:hover { background: #ea580c; color: #fff; }
.btn-soft { background: var(--brand-50); color: var(--brand); border: 0; }
.btn-soft:hover { background: #d3e8f0; color: var(--brand-600); }
.btn-white { background: #fff; color: var(--navy); border: 0; }
.btn-white:hover { background: #f1f5f9; color: var(--navy); }
.btn-outline-light:hover { color: var(--navy); }
.btn-icon { width: 36px; height: 36px; padding: 0; display: inline-grid; place-items: center; }

/* ---------- Form ---------- */
.form-control, .form-select { border-radius: 10px; border-color: #d6dee9; padding: .62rem .85rem; }
.form-control:focus, .form-select:focus { border-color: #8fc0d4; box-shadow: 0 0 0 4px rgba(29, 106, 143, .12); }
.form-label { font-weight: 600; font-size: .9rem; color: #334155; margin-bottom: .4rem; }
.form-text { color: var(--muted); }
.form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }
.req::after { content: " *"; color: #dc2626; }
.input-group-text { border-color: #d6dee9; background: #f8fafc; }

.choice-grid { display: grid; gap: .5rem; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label { display: flex; gap: .65rem; align-items: flex-start; padding: .7rem .9rem; border: 1.5px solid #dbe3ee; border-radius: 10px; cursor: pointer; background: #fff; transition: all .15s; font-size: .93rem; height: 100%; }
.choice label::before { content: ""; flex: 0 0 18px; height: 18px; margin-top: 1px; border: 2px solid #b6c2d4; border-radius: 50%; background: #fff; transition: all .15s; }
.choice input[type=checkbox] + label::before { border-radius: 5px; }
.choice label:hover { border-color: #9cc5d6; background: #f9fcfd; }
.choice input:checked + label { border-color: var(--brand); background: var(--brand-50); color: var(--brand-600); font-weight: 600; }
.choice input:checked + label::before { border-color: var(--brand); background: var(--brand) radial-gradient(circle, #fff 30%, transparent 34%); }
.choice input[type=checkbox]:checked + label::before { background: var(--brand) url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e") center/14px no-repeat; }
.choice input:focus-visible + label { box-shadow: 0 0 0 4px rgba(29, 106, 143, .15); }
.choice-inline { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }

.form-section { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 1.25rem; }
.form-section > h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.form-section .section-desc { font-size: .88rem; color: var(--muted); background: #f8fafc; border-left: 3px solid var(--sky); padding: .75rem 1rem; border-radius: 0 8px 8px 0; margin: .75rem 0 1rem; }
.field { margin-top: 1.1rem; }
.field:first-of-type { margin-top: .75rem; }
.field[hidden] { display: none !important; }

/* Tom Select uyumu */
.ts-wrapper.form-select, .ts-wrapper.form-control { padding: 0 !important; border: 0; box-shadow: none; background: none; }
.ts-control, .ts-wrapper.form-select .ts-control, .ts-wrapper.form-control .ts-control,
.ts-wrapper.form-select:not(.disabled) .ts-control, .ts-wrapper.form-control:not(.disabled) .ts-control,
.ts-wrapper.form-select.single.input-active .ts-control, .ts-wrapper.form-control.single.input-active .ts-control { border: 1px solid #d6dee9 !important; border-radius: var(--radius-sm) !important; background: #fff !important; color: var(--ink); padding: .5rem .75rem !important; min-height: 44px; }
.ts-control input::placeholder { color: #94a3b8; }
.ts-wrapper.single .ts-control { cursor: pointer; }
.ts-wrapper.disabled .ts-control { background: #f8fafc !important; }
.ts-wrapper.focus .ts-control { border-color: #8fc0d4 !important; box-shadow: 0 0 0 4px rgba(29, 106, 143, .12) !important; }
.ts-wrapper.multi .ts-control > div { background: var(--brand-50) !important; color: var(--brand-600) !important; border-radius: 6px !important; border: 0 !important; font-weight: 500; }
.ts-dropdown { border-radius: 10px; box-shadow: var(--shadow); border-color: var(--line); }

/* ---------- Ortak bileşenler ---------- */
.card { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.card-header { background: #fff; border-bottom: 1px solid var(--line); padding: 1rem 1.25rem; font-weight: 600; border-radius: var(--radius) var(--radius) 0 0 !important; }
.card-body { padding: 1.25rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--brand); }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.text-muted { color: var(--muted) !important; }
.notice { display: flex; gap: .85rem; padding: 1rem 1.1rem; border-radius: 12px; background: #fff7ed; border: 1px solid #fed7aa; color: #7c2d12; font-size: .92rem; }
.notice > i { font-size: 1.25rem; color: var(--accent); line-height: 1.2; }
.notice-info { background: #ecf5f9; border-color: #bcdbe7; color: #17576f; }
.notice-info > i { color: var(--brand); }
.empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.empty i { font-size: 2.5rem; color: #cbd5e1; display: block; margin-bottom: .75rem; }
.prose { line-height: 1.75; color: #334155; }
.prose h2, .prose h3, .prose h4 { margin-top: 1.75rem; margin-bottom: .75rem; }
.prose img { max-width: 100%; height: auto; border-radius: 12px; }
.prose table { width: 100%; margin: 1rem 0; }
.prose table td, .prose table th { border: 1px solid var(--line); padding: .5rem; }
.avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--brand-50); flex-shrink: 0; }
.avatar-lg { width: 96px; height: 96px; }
.avatar-initials { display: inline-grid; place-items: center; font-weight: 700; color: var(--brand); font-size: .9rem; }

.badge-status { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; font-size: .75rem; padding: .35rem .6rem; border-radius: 999px; white-space: nowrap; }
.badge-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st-1 { background: #fff7ed; color: #c2410c; }
.st-2 { background: #fefce8; color: #a16207; }
.st-3 { background: #ecf5f9; color: #1d6a8f; }
.st-4 { background: #fdf4ff; color: #a21caf; }
.st-5 { background: #fef2f2; color: #b91c1c; }
.st-6 { background: #f0fdf4; color: #15803d; }
.st-7 { background: #f5f3ff; color: #6d28d9; }
.st-8 { background: #f1f5f9; color: #475569; }
.pay-0 { background: #fefce8; color: #a16207; }
.pay-1 { background: #f0fdf4; color: #15803d; }
.pay-2 { background: #fef2f2; color: #b91c1c; }

.table { --bs-table-bg: transparent; margin-bottom: 0; }
.table > thead th { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; background: #f8fafc; border-bottom: 1px solid var(--line); padding: .75rem 1rem; white-space: nowrap; }
.table > tbody td { padding: .85rem 1rem; vertical-align: middle; border-color: #eef2f7; }
.table-hover > tbody > tr:hover > * { --bs-table-bg-state: #f8fafc; }
.table a.row-link { color: inherit; font-weight: 600; }
.table a.row-link:hover { color: var(--brand); }

.toast-stack { position: fixed; top: 1rem; right: 1rem; z-index: 1090; display: grid; gap: .5rem; max-width: min(420px, calc(100vw - 2rem)); }
.flash { display: flex; gap: .75rem; align-items: flex-start; padding: .9rem 1rem; border-radius: 12px; background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); animation: flashIn .3s ease; font-size: .93rem; }
.flash i { font-size: 1.2rem; }
.flash-success i { color: #16a34a; }
.flash-error i { color: #dc2626; }
.flash-info i { color: var(--brand); }
@keyframes flashIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Herkese açık site ---------- */
/* Dil menüsü, altındaki yapışkan başlığın (z-index 1030) üstünde açılmalı. */
.parent-bar { background: #0f2e3c; color: #94a3b8; font-size: .78rem; padding: .4rem 0; position: relative; z-index: 1040; }
.parent-bar strong { color: #e2e8f0; font-weight: 600; }
.parent-bar a { color: #8cc7df; font-weight: 600; }
.parent-bar a:hover { color: #fff; }
/* Açılır menü beyaz zeminli olduğu için şeridin açık mavi yazı rengi burada geçerli olmamalı. */
.parent-bar .dropdown-menu { font-size: .85rem; }
.parent-bar .dropdown-item { color: #334155; }
.parent-bar .dropdown-item:hover, .parent-bar .dropdown-item:focus { color: var(--navy); background: var(--brand-50); }
.parent-bar .dropdown-item.active { color: #fff; background: var(--brand); }
.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid rgba(226, 232, 240, .7); }
.site-header .navbar { padding: .85rem 0; }
.site-header .nav-link { font-weight: 600; color: #334155; font-size: .93rem; padding: .5rem .85rem !important; border-radius: 8px; }
.site-header .nav-link:hover, .site-header .nav-link.active { color: var(--brand); background: var(--brand-50); }
.brand { display: flex; align-items: center; gap: .65rem; color: var(--navy); font-weight: 800; line-height: 1.05; }
.brand:hover { color: var(--navy); }
.brand-mark { width: 42px; height: 42px; border-radius: 6px; background: var(--navy); display: grid; place-items: center; color: #fff; font-size: 1.2rem; }
.brand small { display: block; font-weight: 500; font-size: .7rem; color: var(--muted); letter-spacing: .01em; }
.brand-name { font-size: 1.05rem; letter-spacing: -.02em; }

.hero { position: relative; overflow: hidden; background: #143a4b; color: #fff; padding: 6.5rem 0 7rem; border-bottom: 4px solid var(--accent); }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 4.8vw, 3.8rem); line-height: 1.08; font-weight: 600; }
.hero h1 .grad { color: #8cc7df; font-style: italic; }
.hero .lead { color: #cbd5e1; font-size: 1.15rem; max-width: 560px; }
.hero .eyebrow { color: #8cc7df; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 2.25rem; color: #94a3b8; font-size: .88rem; }
.hero-badges span { display: inline-flex; align-items: center; gap: .45rem; }
.hero-badges i { color: #8cc7df; }
.hero-visual { position: relative; }
.globe { width: 100%; max-width: 520px; aspect-ratio: 1; margin-left: auto; position: relative; }
.globe svg { width: 100%; height: 100%; }
.float-card { position: absolute; background: rgba(255, 255, 255, .96); color: var(--ink); border-radius: 14px; padding: .8rem 1rem; box-shadow: var(--shadow-lg); display: flex; gap: .7rem; align-items: center; font-size: .85rem; animation: floaty 6s ease-in-out infinite; }
.float-card b { display: block; font-size: 1.05rem; }
.float-card .ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-size: 1.1rem; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.section { padding: 5.5rem 0; }
.section-sm { padding: 3.5rem 0; }
.section-title { max-width: 680px; margin: 0 auto 3rem; text-align: center; }
.section-title h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); margin: .6rem 0 .8rem; }
.section-title p { color: var(--muted); font-size: 1.05rem; }
.bg-white { background: #fff; }

.stats-band { margin-top: -3.5rem; position: relative; z-index: 2; }
.stats-card { background: #fff; border-radius: 8px; box-shadow: var(--shadow-sm); padding: 1.75rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat { text-align: center; padding: .25rem; }
.stat + .stat { border-left: 1px solid var(--line); }
@media (max-width: 767px) { .stat:nth-child(3) { border-left: 0; } }
.stat + .stat { border-left: 1px solid var(--line); }
@media (max-width: 767px) { .stat:nth-child(3) { border-left: 0; } }
.stat b { display: block; font-family: var(--font-head); font-size: 2.2rem; font-weight: 600; color: var(--navy); }
.stat span { color: var(--muted); font-size: .88rem; }
@media (max-width: 767px) { .stats-card { grid-template-columns: repeat(2, 1fr); } }

.service-card { position: relative; height: 100%; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--navy); border-radius: 6px; padding: 1.75rem; transition: border-color .2s ease, box-shadow .2s ease; display: flex; flex-direction: column; }
.service-card:hover { box-shadow: var(--shadow-sm); border-top-color: var(--accent); }
.service-card .icon { display: block; font-size: 1.75rem; color: var(--navy); margin-bottom: 1rem; }
.service-card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.service-card p { color: var(--muted); font-size: .95rem; flex: 1; }
.service-card .more { font-weight: 600; font-size: .9rem; display: inline-flex; gap: .35rem; align-items: center; }
.service-card .more i { transition: transform .2s; }
.service-card:hover .more i { transform: translateX(3px); }

.steps { counter-reset: step; }
.step { position: relative; padding: 1.5rem; background: #fff; border-radius: 6px; border: 1px solid var(--line); height: 100%; }
.step-num { font-family: var(--font-head); font-size: 2.4rem; line-height: 1; font-weight: 600; color: var(--accent); margin-bottom: .75rem; }
.step h3 { font-size: 1.05rem; }
.step p { color: var(--muted); font-size: .92rem; margin: 0; }

.person-card { text-align: center; background: #fff; border-radius: 6px; padding: 1.75rem 1.25rem; border: 1px solid var(--line); height: 100%; transition: box-shadow .2s; }
.person-card:hover { box-shadow: var(--shadow-sm); }
.person-card img, .person-card .avatar-initials { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; margin-bottom: 1rem; border: 4px solid var(--brand-50); }
.person-card .avatar-initials { font-size: 1.75rem; background: var(--brand-50); }
.person-card h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.person-card .role { color: var(--brand); font-weight: 600; font-size: .85rem; }
.person-card .contact { margin-top: 1rem; display: flex; justify-content: center; gap: .5rem; }

.news-card { display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); transition: box-shadow .2s; color: inherit; }
.news-card:hover { box-shadow: var(--shadow-sm); color: inherit; }
.news-card .thumb { aspect-ratio: 16/10; background: #eef2f7; overflow: hidden; display: grid; place-items: center; color: #b6c2d4; font-size: 2.5rem; }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-card:hover .thumb img { transform: scale(1.04); }
.news-card .body { padding: 1.25rem 1.35rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.news-card time { font-size: .8rem; color: var(--muted); font-weight: 600; }
.news-card h3 { font-size: 1.08rem; margin: .5rem 0; line-height: 1.35; }
.news-card p { color: var(--muted); font-size: .92rem; margin: 0; }

.cta-band { background: var(--navy); border-radius: 8px; padding: 3rem; color: #fff; position: relative; overflow: hidden; border-left: 6px solid var(--accent); }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c9e1ea; }

.page-hero { background: var(--navy); color: #fff; padding: 3.75rem 0 3.25rem; position: relative; overflow: hidden; border-bottom: 4px solid var(--accent); }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); position: relative; }
.page-hero p { color: #cbd5e1; position: relative; max-width: 640px; margin: .5rem 0 0; }
.breadcrumb { position: relative; margin-bottom: .75rem; --bs-breadcrumb-divider-color: #64748b; --bs-breadcrumb-item-active-color: #94a3b8; font-size: .85rem; }
.breadcrumb a { color: #a3cfe0; }

.site-footer { background: #0f2e3c; color: #94a3b8; padding: 4rem 0 0; font-size: .92rem; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 1rem; }
.site-footer a { color: #94a3b8; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.site-footer .brand { color: #fff; }
.site-footer .brand small { color: #94a3b8; }
.footer-bottom { border-top: 1px solid rgba(148, 163, 184, .15); margin-top: 3rem; padding: 1.25rem 0; font-size: .85rem; }
.social { display: flex; gap: .5rem; }
.social a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(148, 163, 184, .12); color: #cbd5e1; }
.social a:hover { background: var(--brand); color: #fff; }

.auth-wrap { min-height: calc(100vh - 74px); display: grid; place-items: center; padding: 3rem 1rem; background: var(--bg); }
.auth-card { width: 100%; max-width: 460px; background: #fff; border-radius: 8px; box-shadow: var(--shadow); padding: 2.25rem; border: 1px solid var(--line); }
.auth-card.wide { max-width: 640px; }
.auth-card h1 { font-size: 1.6rem; margin-bottom: .35rem; }

/* ---------- Üye paneli ---------- */
.panel { display: flex; min-height: 100vh; }
.sidebar { width: 268px; flex-shrink: 0; background: var(--navy); color: #cbd5e1; position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; }
.sidebar .brand { color: #fff; padding: 1.35rem 1.25rem; }
.sidebar .brand small { color: #94a3b8; }
.sidebar .brand-mark { background: var(--brand); }
.side-nav { padding: .5rem .85rem 1.5rem; flex: 1; }
.side-nav .label { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: #64748b; font-weight: 700; padding: 1.1rem .75rem .45rem; }
.side-nav a { display: flex; align-items: center; gap: .75rem; padding: .62rem .75rem; border-radius: 10px; color: #cbd5e1; font-weight: 500; font-size: .92rem; transition: all .15s; }
.side-nav a i { font-size: 1.1rem; width: 20px; text-align: center; opacity: .85; }
.side-nav a:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.side-nav a.active { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 3px 0 0 var(--accent); }
.side-nav .count { margin-left: auto; background: var(--accent); color: #fff; font-size: .7rem; font-weight: 700; padding: .1rem .45rem; border-radius: 999px; }
.side-footer { padding: 1rem 1.25rem; border-top: 1px solid rgba(148, 163, 184, .15); font-size: .82rem; }
.side-footer a { color: #94a3b8; }
.panel-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 1020; height: 68px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 1rem; padding: 0 1.5rem; }
.topbar .page-title { font-weight: 700; font-size: 1.05rem; margin: 0; }
.user-chip { display: flex; align-items: center; gap: .6rem; padding: .3rem .5rem .3rem .3rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.user-chip:hover { border-color: #c3dfe9; color: var(--ink); }
.user-chip .avatar { width: 34px; height: 34px; }
.user-chip small { display: block; color: var(--muted); font-size: .72rem; line-height: 1; }
.panel-content { padding: 1.75rem 1.75rem 3rem; width: 100%; }
.page-head { display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-end; justify-content: space-between; margin-bottom: 1.5rem; }
.page-head h1 { font-size: 1.55rem; margin: 0; }
.page-head p { color: var(--muted); margin: .25rem 0 0; }

.kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; display: flex; gap: 1rem; align-items: center; height: 100%; transition: all .2s; color: inherit; }
a.kpi:hover { border-color: #c3dfe9; box-shadow: var(--shadow-sm); transform: translateY(-2px); color: inherit; }
.kpi .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 1.25rem; flex-shrink: 0; }
.kpi b { font-size: 1.6rem; font-weight: 800; display: block; line-height: 1.1; letter-spacing: -.02em; }
.kpi span { color: var(--muted); font-size: .84rem; }

.status-tabs { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1rem; }
.status-tabs a { padding: .45rem .8rem; border-radius: 999px; font-size: .84rem; font-weight: 600; color: #475569; background: #fff; border: 1px solid var(--line); display: inline-flex; gap: .4rem; align-items: center; }
.status-tabs a span { background: #f1f5f9; border-radius: 999px; padding: 0 .45rem; font-size: .75rem; }
.status-tabs a.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.status-tabs a.active span { background: rgba(255, 255, 255, .2); }

.dl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem 1.5rem; margin: 0; }
.dl-grid dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; }
.dl-grid dd { margin: .2rem 0 0; font-weight: 500; word-break: break-word; }
.answers { display: grid; gap: 0; }
.answer { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 1rem; padding: .8rem 0; border-bottom: 1px dashed var(--line); }
.answer:last-child { border-bottom: 0; }
.answer .q { color: var(--muted); font-size: .9rem; }
.answer .a { font-weight: 500; white-space: pre-line; }
.answer .a .chip { display: inline-block; background: var(--brand-50); color: var(--brand-600); border-radius: 6px; padding: .1rem .5rem; margin: 0 .25rem .25rem 0; font-size: .85rem; }
@media (max-width: 575px) { .answer { grid-template-columns: 1fr; gap: .2rem; } }

.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 1.1rem 1.75rem; font-size: .9rem; }
.timeline li::before { content: ""; position: absolute; left: 1px; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); }
.timeline time { display: block; font-size: .78rem; color: var(--muted); }

.file-row { display: flex; gap: .9rem; align-items: center; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.file-row + .file-row { margin-top: .6rem; }
.file-row .ic { width: 42px; height: 42px; border-radius: 10px; background: #fef2f2; color: #dc2626; display: grid; place-items: center; font-size: 1.25rem; flex-shrink: 0; }

.service-pick { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; height: 100%; transition: all .2s; color: inherit; }
.service-pick:hover { border-color: var(--brand); box-shadow: var(--shadow-sm); color: inherit; }
.service-pick .icon { width: 46px; height: 46px; border-radius: 12px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; font-size: 1.3rem; flex-shrink: 0; }

.calendar { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .75rem; }
.cal-day { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.cal-day header { padding: .75rem; text-align: center; border-bottom: 1px solid var(--line); background: #f8fafc; }
.cal-day header b { display: block; font-size: 1.15rem; }
.cal-day header span { font-size: .78rem; color: var(--muted); text-transform: uppercase; font-weight: 600; letter-spacing: .04em; }
.cal-day.today header { background: var(--brand-50); }
.cal-day.today header b { color: var(--brand); }
.cal-slots { padding: .6rem; display: grid; gap: .4rem; }
.slot { display: block; width: 100%; border: 1.5px solid #dbe3ee; border-radius: 9px; padding: .45rem .5rem; font-size: .84rem; font-weight: 600; text-align: center; background: #fff; color: #334155; transition: all .15s; line-height: 1.2; }
.slot small { display: block; font-weight: 500; font-size: .72rem; opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
button.slot:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-50); }
.slot.s-unavailable { background: #f8fafc; color: #cbd5e1; border-color: #f1f5f9; }
.slot.s-booked { background: #fef2f2; color: #b91c1c; border-color: #fecaca; }
.slot.s-mine { background: #f0fdf4; color: #15803d; border-color: #86efac; }
.slot.s-closed { background: repeating-linear-gradient(45deg, #f1f5f9, #f1f5f9 6px, #e2e8f0 6px, #e2e8f0 12px); color: #64748b; border-color: #e2e8f0; }
@media (max-width: 991px) { .calendar { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); } }

.nav-pills-soft .nav-link { color: #475569; font-weight: 600; border-radius: 10px; }
.nav-pills-soft .nav-link.active { background: var(--navy); }
.profile-cover { height: 110px; border-radius: var(--radius) var(--radius) 0 0; background: var(--navy); }

.mobile-toggle { display: none; }
@media (max-width: 991px) {
  .sidebar { position: fixed; left: 0; top: 0; z-index: 1045; transform: translateX(-100%); transition: transform .25s ease; }
  .sidebar.open { transform: none; box-shadow: var(--shadow-lg); }
  .mobile-toggle { display: inline-grid; }
  .panel-content { padding: 1.25rem 1rem 3rem; }
  .backdrop { position: fixed; inset: 0; background: rgba(15, 23, 42, .45); z-index: 1040; display: none; }
  .backdrop.show { display: block; }
}

/* ---------- Yazdırma ---------- */
.print-sheet { max-width: 860px; margin: 2rem auto; background: #fff; padding: 2.5rem; border-radius: 12px; box-shadow: var(--shadow-sm); }
@media print {
  body { background: #fff; }
  .no-print { display: none !important; }
  .print-sheet { margin: 0; box-shadow: none; padding: 0; max-width: none; }
  .answer { break-inside: avoid; }
}

.validation-summary-valid { display: none !important; }
.validation-summary-errors ul { margin: 0; padding-left: 1.1rem; }

/* ---------- Zengin metin editörü ---------- */
.ql-toolbar.ql-snow { border-radius: var(--radius-sm) var(--radius-sm) 0 0; border-color: #d6dee9; background: #f8fafc; font-family: inherit; }
.ql-container.ql-snow { height: auto; border-radius: 0 0 var(--radius-sm) var(--radius-sm); border-color: #d6dee9; font-family: inherit; font-size: .95rem; }
.ql-editor { min-height: 260px; line-height: 1.7; }
.ql-compact .ql-editor { min-height: 130px; }
.thumb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .75rem; }
.thumb-grid .thumb { position: relative; border-radius: 10px; overflow: hidden; background: #e2e8f0; aspect-ratio: 4/3; }
.thumb-grid .thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb-grid .thumb form { position: absolute; top: 6px; right: 6px; }

/* ---------- Hero dünya haritası ---------- */
.hero { padding: 7rem 0 8.5rem; min-height: 640px; display: flex; align-items: center; }
.hero > .container { width: 100%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, #143a4b 0%, rgba(20, 58, 75, .9) 30%, transparent 60%); }
.hero-copy { position: relative; }
.hero-map { position: absolute; z-index: 0; right: -7%; top: 50%; width: min(1240px, 74vw); aspect-ratio: 178 / 85; transform: translateY(-50%); }
.hero-map-dots { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .38;
  mask-image: radial-gradient(ellipse 75% 80% at 58% 42%, #000 55%, transparent 100%); }
.hero-map-routes { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.route-base { fill: none; stroke: rgba(140, 199, 223, .14); stroke-width: .22; }
.route { fill: none; stroke: url(#routeGrad); stroke-width: .5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: routeDraw 6.5s cubic-bezier(.45, 0, .2, 1) infinite; }
@keyframes routeDraw {
  0% { stroke-dashoffset: 1; opacity: 0; }
  6% { opacity: 1; }
  42% { stroke-dashoffset: 0; opacity: 1; }
  78% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}
.route-dot { fill: #fff; filter: drop-shadow(0 0 .6px #8cc7df); }
.pin { fill: #8cc7df; stroke: #1b4a5f; stroke-width: .2; }
.pin-pulse, .origin-pulse { fill: none; transform-box: fill-box; transform-origin: center; }
.pin-pulse { stroke: #8cc7df; stroke-width: .22; animation: pinPulse 3.2s ease-out infinite; }
.origin-pulse { stroke: #f97316; stroke-width: .3; animation: pinPulse 2.4s ease-out infinite; }
@keyframes pinPulse { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(3.4); opacity: 0; } }
.pin-label { font-size: 2.1px; font-weight: 600; fill: #cbd5e1; text-anchor: middle; letter-spacing: .02em; paint-order: stroke; stroke: #143a4b; stroke-width: .5px; }
.map-tag { position: absolute; transform: translate(16px, -50%); background: #f97316; color: #fff; font-size: .72rem; font-weight: 700;
  padding: .3rem .6rem; border-radius: 4px; white-space: nowrap; display: flex; align-items: center; gap: .35rem; }
.map-tag::after { content: ""; position: absolute; left: -4px; top: 50%; width: 8px; height: 8px; background: #f97316; transform: translateY(-50%) rotate(45deg); }
.map-tag .dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; }
.map-card { position: absolute; z-index: 3; display: flex; gap: .7rem; align-items: center; background: rgba(255, 255, 255, .96); color: var(--ink);
  border-radius: 6px; padding: .7rem .95rem; font-size: .8rem; box-shadow: var(--shadow); max-width: 260px; border-left: 3px solid var(--accent); }
.map-card b { display: block; font-size: .9rem; }
.map-card span { color: var(--muted); line-height: 1.3; }
.map-card b { color: var(--ink); }
.map-card .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-size: 1.05rem; flex-shrink: 0; }

@media (max-width: 991px) {
  .hero { flex-direction: column; align-items: stretch; padding: 4.5rem 0 7rem; min-height: 0; }
  .hero::after { display: none; }
  .hero-map { position: relative; order: 2; right: auto; top: auto; transform: none; width: 140%; margin: 2.5rem 0 0 -20%; }
  .map-card { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .route, .pin-pulse, .origin-pulse, .map-card { animation: none; }
  .route { stroke-dashoffset: 0; }
}

/* Orta genişlikler (dizüstü / bölünmüş pencere) */
.site-header .nav-link, .site-header .btn { white-space: nowrap; }
@media (min-width: 992px) and (max-width: 1199px) {
  .site-header .nav-link { padding: .5rem .45rem !important; font-size: .82rem; }
}
@media (max-width: 1399px) {
  /* Harita sağdan taşdığı için kartları ekranın sağ kenarına göre hizala */
  .map-card { left: auto !important; right: calc(7vw + 1rem); }
}

.brand-name { white-space: nowrap; }
.brand small { white-space: nowrap; }
@media (min-width: 992px) and (max-width: 1399px) { .site-header .brand small { font-size: .62rem; max-width: 12rem; white-space: normal; line-height: 1.15; } }

/* ---------- Sağdan sola diller (Arapça) ---------- */
[dir=rtl] .hero::after { background: linear-gradient(270deg, #143a4b 0%, rgba(20, 58, 75, .9) 30%, transparent 60%); }
[dir=rtl] .hero-map { right: auto; left: -7%; }
[dir=rtl] .eyebrow::before { order: 2; }
[dir=rtl] .timeline::before { left: auto; right: 7px; }
[dir=rtl] .timeline li { padding: 0 1.75rem 1.1rem 0; }
[dir=rtl] .timeline li::before { left: auto; right: 1px; }
@media (max-width: 1399px) {
  [dir=rtl] .map-card { right: auto !important; left: calc(52% + 1rem) !important; }
}
@media (max-width: 991px) {
  [dir=rtl] .hero-map { left: auto; margin: 2.5rem -20% 0 0; }
}

/* ---------- İhracat rotası (kaydırmaya bağlı) ---------- */
.trade-route { background: var(--navy); color: #cbd5e1; padding: 5.5rem 0 5rem; position: relative; overflow: hidden; }
.trade-route .section-title h2 { color: #fff; }
.trade-route .section-title p { color: #94a3b8; }
.trade-route .eyebrow { color: #8cc7df; }
.route-map { position: relative; aspect-ratio: 1000 / 160; margin: 0 1rem 2rem; }
.route-map svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.route-track { fill: none; stroke: rgba(148, 163, 184, .35); stroke-width: 2; stroke-dasharray: 6 8; vector-effect: non-scaling-stroke; }
.route-progress { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.route-stop { position: absolute; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--navy); border: 3px solid #475569; transition: border-color .3s, background .3s, transform .3s; }
.route-stop.on { border-color: var(--accent); background: #fff; transform: scale(1.15); }
.route-ship { position: absolute; left: 3%; top: 75%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: #fff; color: var(--navy);
  display: grid; place-items: center; font-size: 1.15rem; box-shadow: 0 0 0 6px rgba(249, 115, 22, .25); z-index: 2; will-change: left, top; }
.trade-stop { border-top: 2px solid rgba(148, 163, 184, .25); padding-top: 1.1rem; opacity: .45; transition: opacity .4s, border-color .4s; }
.trade-stop.on { opacity: 1; border-top-color: var(--accent); }
.trade-stop small { text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; font-weight: 700; color: #8cc7df; }
.trade-stop h3 { color: #fff; font-size: 1.2rem; margin: .45rem 0 .5rem; display: flex; gap: .55rem; align-items: baseline; }
.trade-stop h3 i { color: var(--accent); font-size: 1rem; }
.trade-stop p { color: #94a3b8; font-size: .95rem; margin: 0; }
@media (max-width: 767px) {
  .route-map { margin: 0 .5rem 1.5rem; aspect-ratio: 1000 / 260; }
  .route-ship { width: 38px; height: 38px; margin: -19px 0 0 -19px; font-size: 1rem; }
}
[dir=rtl] .route-map svg { transform: scaleX(-1); }

/* Kaydırınca beliren öğeler (yalnızca JS çalışınca gizlenir) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; transition-delay: var(--reveal-delay, 0s); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Üst şerit: Koordinatörlük sitesi bağlantısı ---------- */
.parent-link { display: inline-flex; align-items: center; gap: .45rem; padding: .2rem .7rem; border: 1px solid rgba(140, 199, 223, .45); border-radius: 4px;
  color: #e2e8f0 !important; font-weight: 600; letter-spacing: .01em; white-space: nowrap; transition: background .2s, border-color .2s; }
.parent-link i { color: var(--accent); }
.parent-link:hover { background: rgba(255, 255, 255, .08); border-color: #8cc7df; color: #fff !important; }
.parent-bar { padding: .45rem 0; }
@media (max-width: 575px) { .parent-bar .text-truncate { display: none; } .parent-bar .container { justify-content: flex-end !important; } }

/* ---------- Hero: uçaklar ve sade harita ---------- */
.route-base { stroke: rgba(140, 199, 223, .22); stroke-dasharray: .8 .8; }
.plane path { fill: #fff; }
.map-card .ic { background: none; color: var(--navy); width: auto; height: auto; font-size: 1.2rem; }

/* ---------- Hero: liman silueti ---------- */
.hero-port { position: absolute; left: 0; right: 0; bottom: 0; height: 140px; z-index: 1; pointer-events: none; }
.hero-port svg { width: 100%; height: 100%; display: block; }
.hero-port .quay { fill: #19475b; }
.hero-port .water { fill: #163f51; }
.hero-port .wave { fill: none; stroke: rgba(140, 199, 223, .12); stroke-width: 1.2; }
.hero-port .box { stroke: #143a4b; stroke-width: 1; }
.hero-port .c1 { fill: #255a70; }
.hero-port .c2 { fill: #2d6a84; }
.hero-port .c3 { fill: rgba(249, 115, 22, .55); }
.hero-port .crane rect { fill: #275d74; }
.hero-port .crane line { stroke: #275d74; stroke-width: 2; }
.hero-port .crane .cable { stroke: rgba(148, 163, 184, .5); stroke-width: 1; }
.hero-port .crane > .box { animation: craneLift 9s ease-in-out infinite; }
.hero-port .ship { animation: sail 70s linear infinite; }
.hero-port .hull { fill: #1f5166; }
.hero-port .bridge { fill: #275d74; }
@keyframes sail { from { transform: translate(-280px, 108px); } to { transform: translate(900px, 108px); } }
@keyframes craneLift { 0%, 15% { transform: translateY(0); } 45%, 60% { transform: translateY(-34px); } 90%, 100% { transform: translateY(0); } }
.hero .hero-map { z-index: 0; }
@media (max-width: 991px) { .hero-port { height: 90px; } }

/* ---------- Hero: slider ---------- */
.hero-slider { padding: 0; min-height: 0; display: block; }
.hero-slider::after { display: none; }
.hero-slider .carousel-item { min-height: 600px; background: var(--navy); position: relative; overflow: hidden; }
.hero-slider .slide-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 9s ease-out; }
.hero-slider .carousel-item.active .slide-bg { transform: scale(1); }
.hero-slider .carousel-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 58, 75, .88) 0%, rgba(20, 58, 75, .55) 50%, rgba(20, 58, 75, .2) 100%); }
.hero-slider .container { z-index: 2; display: flex; align-items: center; min-height: 600px; padding-top: 4rem; padding-bottom: 6rem; }
.slide-copy { max-width: 640px; }
.slide-copy h1, .slide-copy .h1 { color: #fff; font-family: var(--font-head); font-weight: 600; font-size: clamp(2.1rem, 4.4vw, 3.4rem); line-height: 1.1; margin-bottom: 1.1rem; }
.slide-copy .lead { color: #dbe4f0; font-size: 1.15rem; margin-bottom: 1.75rem; }
.hero-slider .carousel-item .slide-copy > * { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
.hero-slider .carousel-item.active .slide-copy > * { opacity: 1; transform: none; }
.hero-slider .carousel-item.active .slide-copy > :nth-child(2) { transition-delay: .15s; }
.hero-slider .carousel-item.active .slide-copy > :nth-child(3) { transition-delay: .3s; }
.hero-slider .carousel-indicators { z-index: 3; margin-bottom: 4.5rem; justify-content: flex-start; margin-left: max(1rem, calc((100vw - 1296px) / 2 + .75rem)); }
.hero-slider .carousel-indicators [data-bs-target] { width: 28px; height: 3px; border: 0; background: #fff; opacity: .35; }
.hero-slider .carousel-indicators .active { opacity: 1; background: var(--accent); }
.hero-slider .carousel-control-prev, .hero-slider .carousel-control-next { width: 6%; z-index: 3; opacity: 1; }
.slider-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); display: grid; place-items: center; color: #fff; transition: background .2s; }
.carousel-control-prev:hover .slider-arrow, .carousel-control-next:hover .slider-arrow { background: rgba(255, 255, 255, .12); }
@media (max-width: 767px) {
  .hero-slider .carousel-item, .hero-slider .container { min-height: 520px; }
  .hero-slider .carousel-control-prev, .hero-slider .carousel-control-next { display: none; }
}
[dir=rtl] .hero-slider .carousel-item::after { background: linear-gradient(270deg, rgba(20, 58, 75, .88) 0%, rgba(20, 58, 75, .55) 50%, rgba(20, 58, 75, .2) 100%); }
[dir=rtl] .hero-slider .carousel-indicators { margin-left: 0; margin-right: max(1rem, calc((100vw - 1296px) / 2 + .75rem)); }

/* ---------- Basında Biz ve haber galerisi: görseller kırpılmadan ---------- */
.press-grid { columns: 4 240px; column-gap: 1.25rem; }
.press-item { break-inside: avoid; margin: 0 0 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: .5rem; }
.press-item a { display: block; cursor: zoom-in; }
.press-item img { width: 100%; height: auto; display: block; border-radius: 3px; }
.press-item figcaption { font-size: .85rem; color: var(--muted); padding: .5rem .25rem .15rem; }
.gallery-thumb { display: grid; place-items: center; aspect-ratio: 4 / 3; background: #eef2f7; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; cursor: zoom-in; }
.gallery-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* Büyük görsel penceresi */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(15, 46, 60, .92); }
.lightbox figure { margin: 0; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 3.5rem 4.5rem 2rem; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 7rem); object-fit: contain; background: #fff; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .6); }
.lightbox figcaption { color: #cbd5e1; margin-top: .9rem; font-size: .92rem; text-align: center; }
.lightbox button { position: absolute; border: 0; background: rgba(255, 255, 255, .1); color: #fff; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 1.1rem; }
.lightbox button:hover { background: rgba(255, 255, 255, .2); }
.lightbox .lb-close { top: 1rem; right: 1rem; }
.lightbox .lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 575px) { .lightbox figure { padding: 3.5rem .75rem 1.5rem; } .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 1rem; transform: none; } }

/* ---------- Yönetim: menü ve slayt listeleri ---------- */
.menu-admin { list-style: none; margin: 0; padding: 0; }
.menu-admin li { display: block; border-bottom: 1px solid #eef2f7; background: #fff; }
.menu-admin li:last-child { border-bottom: 0; }
.menu-row { display: flex; align-items: center; gap: .75rem; padding: .55rem 1.1rem .55rem .75rem; }
.menu-admin.sub { list-style: none; margin: 0; padding: 0 0 0 2rem; background: #fbfcfe; border-top: 1px solid #eef2f7; }
.menu-admin.sub li { background: transparent; }
.menu-admin form { margin: 0; }
.menu-add { padding: 1rem 1.1rem; background: #f8fafc; border-radius: 0 0 var(--radius) var(--radius); }
.slide-thumb { width: 120px; height: 50px; object-fit: cover; border-radius: 4px; background: #eef2f7; }
.min-w-0 { min-width: 0; }
@media (prefers-reduced-motion: reduce) {
  .hero-port .ship, .hero-port .crane > .box { animation: none; }
  .hero-port .ship { transform: translate(300px, 108px); }
  .hero-slider .slide-bg { transition: none; transform: none; }
}

/* ---------- İç sayfa başlığı: soluk dünya haritası ve rotalar ---------- */
.page-hero { padding: 4.25rem 0 3.75rem; }
.page-hero > .container { position: relative; z-index: 1; }
.page-hero-art { position: absolute; top: 50%; right: -4%; width: min(820px, 62vw); aspect-ratio: 178 / 85; transform: translateY(-46%); pointer-events: none;
  mask-image: linear-gradient(90deg, transparent 0%, #000 35%); -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 35%); }
.page-hero-art img, .page-hero-art svg, .auth-aside-map img, .auth-aside-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.page-hero-art img { opacity: .22; }
.page-hero-art .r, .auth-aside-map .r { fill: none; stroke: rgba(140, 199, 223, .35); stroke-width: .3; stroke-dasharray: .8 .8; }
.page-hero-art .p, .auth-aside-map .p { fill: #8cc7df; }
.page-hero-art .o, .auth-aside-map .o { fill: var(--accent); stroke: #fff; stroke-width: .3; }
.page-hero-art .pl path, .auth-aside-map .pl path { fill: #fff; }
@media (max-width: 767px) { .page-hero-art { width: 120vw; right: -40%; opacity: .7; } }
[dir=rtl] .page-hero-art { right: auto; left: -4%; mask-image: linear-gradient(270deg, transparent 0%, #000 35%); -webkit-mask-image: linear-gradient(270deg, transparent 0%, #000 35%); }

/* ---------- Giriş / kayıt: iki sütunlu düzen ---------- */
.auth-wrap { position: relative; }
.auth-split { display: grid; grid-template-columns: minmax(0, 1fr); padding: 0; align-items: stretch; place-items: stretch; }
.auth-split > .auth-card { align-self: center; justify-self: center; margin: 3rem 1rem; }
.auth-aside { display: none; }
@media (min-width: 992px) {
  .auth-split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .auth-aside { display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; background: var(--navy); color: #cbd5e1; padding: 3.5rem 3rem 2.5rem; }
}
.auth-aside-map { position: absolute; left: -10%; right: -25%; top: 42%; aspect-ratio: 178 / 85; transform: translateY(-50%); }
.auth-aside-map img { opacity: .2; }
.auth-aside-copy { position: relative; z-index: 1; display: flex; flex-direction: column; height: 100%; }
.auth-aside .eyebrow { color: #8cc7df; }
.auth-aside h2 { color: #fff; font-size: clamp(1.6rem, 2.3vw, 2.1rem); line-height: 1.2; margin: .9rem 0 auto; max-width: 420px; }
.auth-aside ul { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.1rem; max-width: 440px; }
.auth-aside li { display: flex; gap: .9rem; align-items: flex-start; padding: .9rem 1rem; background: rgba(15, 46, 60, .55); border-left: 3px solid var(--accent); border-radius: 4px; backdrop-filter: blur(2px); }
.auth-aside li i { color: var(--accent); font-size: 1.1rem; margin-top: .2rem; width: 20px; text-align: center; }
.auth-aside li b { display: block; color: #fff; font-weight: 600; }
.auth-aside li span { font-size: .92rem; color: #b8cdd8; }
.auth-aside-foot { margin-top: 2rem; font-size: .82rem; color: #8fb3c4; display: flex; gap: .5rem; align-items: center; }
.auth-aside-foot i { color: #8cc7df; }
/* Sağ sütundaki zemin: hafif çizgili harita kâğıdı dokusu */
.auth-split::after { content: ""; position: absolute; inset: 0 0 0 auto; width: 100%; z-index: -1;
  background-image: linear-gradient(rgba(29, 106, 143, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(29, 106, 143, .05) 1px, transparent 1px); background-size: 32px 32px; }
.auth-split { isolation: isolate; }
@media (min-width: 992px) { .auth-split::after { width: 54.5%; } [dir=rtl] .auth-split::after { inset: 0 auto 0 0; } }

/* ---------- Hero: deniz yolları ve gemiler ---------- */
.sea-lane { fill: none; stroke: rgba(140, 199, 223, .32); stroke-width: .28; stroke-dasharray: .1 .75; stroke-linecap: round; stroke-linejoin: round; }
.hero-map-routes .port { fill: #8cc7df; }

.ship-m .hull { fill: #fff; }
.ship-m .cargo { fill: var(--accent); }
.ship-m .cargo.alt { fill: #8cc7df; }

/* ---------- Giriş / kayıt: mobil ve tablet ---------- */
@media (max-width: 991px) {
  .auth-wrap.auth-split { min-height: 0; background: var(--navy); overflow: hidden; align-content: start; }
  .auth-split::after { display: none; }
  /* Harita bölümün tamamına göre konumlanır; başlığın ve formun arkasında görünür */
  .auth-aside { display: block; position: static; padding: 1.75rem 1.25rem 6rem; color: #cbd5e1; pointer-events: none; }
  .auth-aside-map { width: 200%; left: -68%; right: auto; top: 0; transform: none; }
  .auth-aside-map img { opacity: .3; }
  .auth-aside-copy { height: auto; }
  .auth-aside-copy ul, .auth-aside-foot { display: none; }
  .auth-aside h2 { font-size: 1.4rem; margin: .55rem 0 0; max-width: 300px; text-shadow: 0 2px 12px rgba(15, 46, 60, .8); }
  .auth-split > .auth-card { position: relative; z-index: 1; margin: 0 1rem 2rem; align-self: start; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .55); border: 0; }
}
@media (min-width: 576px) and (max-width: 991px) {
  .auth-aside { padding: 2.5rem 2rem 7rem; text-align: center; }
  .auth-aside h2 { margin-left: auto; margin-right: auto; max-width: 480px; }
  .auth-aside-map { width: 140%; left: -33%; }
  .auth-split > .auth-card { margin-bottom: 3rem; }
}
[dir=rtl] .auth-aside-map { direction: ltr; }

/* Dosyası sunucuda olmayan görsel yer tutucusu (yönetim) */
.missing-file { width: 100%; height: 100%; min-height: 80px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem; text-align: center;
  background: repeating-linear-gradient(45deg, #f8fafc, #f8fafc 8px, #eef2f7 8px, #eef2f7 16px); color: var(--muted); font-size: .78rem; padding: .5rem; border-radius: 6px; }
.missing-file i { font-size: 1.3rem; color: #b6c2d4; }

/* Sürükle-bırak sıralama */
.drag-handle { cursor: grab; color: #94a3b8; padding: .25rem .35rem; border-radius: 4px; display: inline-flex; touch-action: none; }
.drag-handle:hover { color: var(--brand); background: var(--brand-50); }
.dragging { opacity: .45; }
.dragging .drag-handle { cursor: grabbing; }
.sort-hint { font-size: .82rem; color: var(--muted); }

/* Basında Biz: kart ayrıntıları */
.press-item figcaption { display: grid; gap: .3rem; padding: .7rem .35rem .25rem; }
.press-item figcaption strong { color: var(--ink); font-weight: 600; line-height: 1.35; }
.press-item figcaption p { margin: 0; font-size: .88rem; color: var(--muted); }
.press-meta { font-size: .78rem; color: var(--brand); font-weight: 600; }
.press-link { font-size: .85rem; font-weight: 600; display: inline-flex; gap: .35rem; align-items: center; margin-top: .15rem; }
.press-link i { font-size: .72rem; }

/* Basında Biz: yönetim kartları */
.press-admin { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1rem; }
.press-admin-item { background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; }
.press-admin-img { position: relative; aspect-ratio: 4 / 3; background: #eef2f7; display: grid; place-items: center; }
.press-admin-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.press-admin-img .drag-handle { position: absolute; top: .4rem; left: .4rem; background: rgba(255, 255, 255, .92); box-shadow: var(--shadow-sm); }
.press-admin-badge { position: absolute; top: .45rem; right: .45rem; }
.press-admin-body { padding: .75rem .85rem .85rem; min-width: 0; }
.press-admin-body form { margin: 0; }

/* Sitenin kendi onay penceresi (tarayıcının confirm kutusu yerine) */
.confirm-dialog { border: 0; border-radius: 10px; padding: 0; background: #fff; color: var(--ink); width: min(420px, calc(100vw - 2rem)); box-shadow: 0 30px 70px -20px rgba(15, 46, 60, .55); }
.confirm-dialog::backdrop { background: rgba(15, 46, 60, .55); backdrop-filter: blur(2px); }
.confirm-dialog[open] { animation: confirmIn .18s ease-out; }
@keyframes confirmIn { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.confirm-dialog form { padding: 1.6rem 1.6rem 1.25rem; text-align: center; }
.confirm-icon { width: 54px; height: 54px; margin: 0 auto .9rem; border-radius: 50%; display: grid; place-items: center; font-size: 1.45rem; background: var(--brand-50); color: var(--brand); }
.confirm-icon.danger { background: #fef2f2; color: #dc2626; }
.confirm-text { font-size: 1.02rem; color: var(--ink); margin: 0 0 1.4rem; line-height: 1.5; }
.confirm-actions { display: flex; gap: .6rem; justify-content: center; }
.confirm-actions .btn { min-width: 130px; }
.is-hidden-row { background: #f8fafc; }
.is-hidden-row .fw-semibold, .is-hidden-row .avatar { opacity: .55; }
.home-sections { display: grid; gap: 0; margin-top: .5rem; border: 1px solid var(--line); border-radius: 6px; }
.home-section-row { display: flex; align-items: center; gap: .6rem; padding: .55rem .8rem; border-bottom: 1px solid #eef2f7; }
.home-section-row:last-child { border-bottom: 0; }

/* Yönetim: kullanıcı profil fotoğrafı önizlemesi */
.user-photo-preview { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: var(--brand-50); display: grid; place-items: center; flex-shrink: 0; border: 3px solid var(--line); }
.user-photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.user-photo-preview .avatar-initials { font-size: 1.6rem; width: 100%; height: 100%; }

/* Sitenin kendi doğrulama kodu */
.captcha-image { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: #eef3f7; flex-shrink: 0; line-height: 0; }
.captcha-image svg { display: block; }
.captcha-box .form-control { max-width: 180px; letter-spacing: .25em; text-transform: uppercase; font-weight: 600; }

/* Hizmet kartı: tamamı tıklanabilir, imleç uçak */
.service-card-clickable { position: relative; cursor: url('/img/plane-cursor.svg') 4 4, pointer; }
.service-card-clickable:hover { border-top-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); }
.service-card-clickable h3 { transition: color .2s; }
.service-card-clickable:hover h3 { color: var(--brand); }
.service-card-clickable a { cursor: url('/img/plane-cursor.svg') 4 4, pointer; }
/* Dokunmatik cihazlarda özel imleç anlamsız; hover efekti de kalıcı kalmasın */
@media (hover: none) {
  .service-card-clickable, .service-card-clickable a { cursor: pointer; }
  .service-card-clickable:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .service-card-clickable:hover { transform: none; } }

/* Şifre alanı: göster / gizle düğmesi */
.has-password-toggle { position: relative; }
.password-field { display: block; }
.password-toggle { position: absolute; right: .25rem; top: 50%; transform: translateY(-50%); z-index: 5;
  border: 0; background: none; color: var(--muted); width: 36px; height: 36px; border-radius: 6px; display: grid; place-items: center; }
.password-toggle:hover { color: var(--brand); background: var(--brand-50); }
.password-toggle:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
.has-password-toggle input[type="password"], .has-password-toggle input[type="text"] { padding-right: 2.75rem; }
[dir=rtl] .password-toggle { right: auto; left: .25rem; }
[dir=rtl] .has-password-toggle input[type="password"], [dir=rtl] .has-password-toggle input[type="text"] { padding-right: .85rem; padding-left: 2.75rem; }

/* Telefon alanı: ülke kodu seçimi + numara */
.phone-field [data-phone-code] { max-width: 11rem; border-right: 0; background-color: #f8fafc !important; }
.phone-field [data-phone-local] { letter-spacing: .02em; }
@media (max-width: 575px) { .phone-field [data-phone-code] { max-width: 7.5rem; font-size: .85rem; } }
/* Slayt arka plan videosu */
video.slide-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: reduce) { video.slide-bg { display: none; } }

/* Yüklenecek dosyanın ön izlemesi */
.file-preview { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .6rem; }
.file-preview-item { margin: 0; max-width: 190px; }
.file-preview-item img, .file-preview-item video { width: 100%; max-height: 130px; object-fit: contain; background: #eef2f7; border: 1px solid var(--line); border-radius: 6px; display: block; }
.file-preview-doc { height: 90px; display: grid; place-items: center; background: #eef2f7; border: 1px solid var(--line); border-radius: 6px; color: #94a3b8; font-size: 1.8rem; }
.file-preview-item figcaption { font-size: .72rem; color: var(--muted); margin-top: .25rem; word-break: break-word; line-height: 1.3; }
