/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 14px;
    scroll-behavior: smooth;
    scroll-padding-top: 4.5rem;
}

/* Native scrolling stays compositor/browser-managed; no JavaScript animation loop. */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
        scroll-padding-top: 0;
    }
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

body {
    padding-bottom: 50px; /* footer height ile aynı */
    background-color: #f9fafb;
}





/* Mobil — varsayılan */
.footer-text {
    font-size: 13px;
}

/* Tablet (sm) */
@media (max-width: 576px) {
    .footer-text {
        font-size: 10px;
    }
}

/* Desktop (md+) */
@media (min-width: 768px) {
    .footer-text {
        font-size: 13px;
    }
}

@media (min-width: 992px) {
    .footer-text {
        font-size: 15px;
    }
}



/* =====================================================
   _Header.css  —  Site Header Stilleri
   Bağlantı: <link rel="stylesheet" href="~/css/layout/header.css" />
   ===================================================== */

/* ─── Temel değişkenler ─── */
:root {
    --sh-height: 76px;
    --sh-bg: #ffffff;
    --sh-bg2: #f9fafb;
    --sh-border: rgba(0, 0, 0, 0.07);
    --sh-text: #111827;
    --sh-muted: #6b7280;
    --sh-hover-bg: rgba(0, 0, 0, 0.04);
    --sh-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --sh-panel-shadow: 0 8px 20px rgba(0, 0, 0, 0.07), 0 2px 6px rgba(0, 0, 0, 0.04);
    --sh-radius: 12px;
    --sh-radius-sm: 8px;
    --sh-accent: #2563eb;
    --sh-accent-bg: #eff6ff;
    --sh-accent-text: #1d4ed8;
    --sh-danger: #dc2626;
    --sh-danger-bg: #fef2f2;
    --sh-badge: #ef4444;
    --sh-transition: 0.15s ease;
    --sh-font: -apple-system, 'Segoe UI', system-ui, sans-serif;
}

/* ─── Bootstrap 5 dark mode uyumu ─── */
[data-bs-theme="dark"] {
    --sh-bg: #080e1a;
    --sh-bg2: #111827;
    --sh-border: rgba(255, 255, 255, 0.08);
    --sh-text: #f5f5f5;
    --sh-muted: #9ca3af;
    --sh-hover-bg: rgba(255, 255, 255, 0.06);
    --sh-shadow: 0 1px 3px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.3);
    --sh-panel-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 2px 6px rgba(0, 0, 0, 0.2);
    --sh-accent-bg: #1e3a5f;
    --sh-accent-text: #93c5fd;
    --sh-danger-bg: #3b1212;
}

/* ─── HEADER - FIXED + GLASS ─── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    font-family: var(--sh-font);
    transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* ─── Navbar - Glassmorphism (başlangıçta saydam) ─── */
.sh-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--sh-height);
    padding: 0 1.25rem;
    background-color: transparent;
    border-bottom: 1px solid transparent;
    box-shadow: none;
    position: relative;
    gap: 12px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

/* ─── Scroll olduğunda Glass Efekt ─── */
.site-header.scrolled .sh-navbar {
    background-color: rgba(0, 62, 82, 0.75) !important;
    backdrop-filter: blur(12px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(140%) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06) !important;
}

/* Dark mode scroll */
[data-bs-theme="dark"] .site-header.scrolled .sh-navbar {
    background-color: rgba(8, 14, 26, 0.75) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3) !important;
}

/* ─── Saydam modda tüm text'ler beyaz ─── */
.site-header:not(.scrolled) .sh-brand {
    color: #ffffff !important;
}

    .site-header:not(.scrolled) .sh-brand:hover {
        color: rgba(255, 255, 255, 0.8) !important;
    }

.site-header:not(.scrolled) .sh-nav__link {
    color: rgba(255, 255, 255, 0.8) !important;
}

    .site-header:not(.scrolled) .sh-nav__link:hover,
    .site-header:not(.scrolled) .sh-nav__link.active {
        background: rgba(255, 255, 255, 0.12) !important;
        color: #ffffff !important;
    }

.site-header:not(.scrolled) .sh-icon-btn {
    color: rgba(255, 255, 255, 0.8) !important;
}

    .site-header:not(.scrolled) .sh-icon-btn:hover,
    .site-header:not(.scrolled) .sh-icon-btn[aria-expanded="true"] {
        background: rgba(255, 255, 255, 0.12) !important;
        border-color: rgba(255, 255, 255, 0.2) !important;
        color: #ffffff !important;
    }

.site-header:not(.scrolled) .sh-user-btn {
    color: #ffffff !important;
}

    .site-header:not(.scrolled) .sh-user-btn:hover,
    .site-header:not(.scrolled) .sh-user-btn[aria-expanded="true"] {
        background: rgba(255, 255, 255, 0.12) !important;
        border-color: rgba(255, 255, 255, 0.2) !important;
    }

.site-header:not(.scrolled) .sh-username {
    color: #ffffff !important;
}

.site-header:not(.scrolled) .sh-chevron {
    stroke: rgba(255, 255, 255, 0.6) !important;
}

.site-header:not(.scrolled) .sh-avatar {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

.site-header:not(.scrolled) .sh-auth-btn--ghost {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

    .site-header:not(.scrolled) .sh-auth-btn--ghost:hover {
        background: rgba(255, 255, 255, 0.12) !important;
        border-color: rgba(255, 255, 255, 0.5) !important;
        color: #ffffff !important;
    }

.site-header:not(.scrolled) .sh-auth-btn--solid {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
}

    .site-header:not(.scrolled) .sh-auth-btn--solid:hover {
        background: rgba(255, 255, 255, 0.25) !important;
    }

.site-header:not(.scrolled) .sh-hamburger__bar {
    background: #ffffff !important;
}

.site-header:not(.scrolled) .sh-badge {
    border-color: transparent !important;
}

/* ─── Scroll olduğunda text renkleri DEĞİŞMEZ ─── */
/* Scroll öncesindeki görünüm aynen korunur */

.site-header.scrolled .sh-brand {
    color: #ffffff !important;
}

    .site-header.scrolled .sh-brand:hover {
        color: rgba(255, 255, 255, 0.8) !important;
    }

.site-header.scrolled .sh-nav__link {
    color: rgba(255, 255, 255, 0.8) !important;
}

    .site-header.scrolled .sh-nav__link:hover,
    .site-header.scrolled .sh-nav__link.active {
        background: rgba(255, 255, 255, 0.12) !important;
        color: #ffffff !important;
    }

.site-header.scrolled .sh-icon-btn {
    color: rgba(255, 255, 255, 0.8) !important;
}

    .site-header.scrolled .sh-icon-btn:hover,
    .site-header.scrolled .sh-icon-btn[aria-expanded="true"] {
        background: rgba(255, 255, 255, 0.12) !important;
        border-color: rgba(255, 255, 255, 0.2) !important;
        color: #ffffff !important;
    }

.site-header.scrolled .sh-user-btn {
    color: #ffffff !important;
}

    .site-header.scrolled .sh-user-btn:hover,
    .site-header.scrolled .sh-user-btn[aria-expanded="true"] {
        background: rgba(255, 255, 255, 0.12) !important;
        border-color: rgba(255, 255, 255, 0.2) !important;
    }

.site-header.scrolled .sh-username {
    color: #ffffff !important;
}

.site-header.scrolled .sh-chevron {
    stroke: rgba(255, 255, 255, 0.6) !important;
}

.site-header.scrolled .sh-avatar {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

.site-header.scrolled .sh-auth-btn--ghost {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

    .site-header.scrolled .sh-auth-btn--ghost:hover {
        background: rgba(255, 255, 255, 0.12) !important;
        border-color: rgba(255, 255, 255, 0.5) !important;
        color: #ffffff !important;
    }

.site-header.scrolled .sh-auth-btn--solid {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
}

    .site-header.scrolled .sh-auth-btn--solid:hover {
        background: rgba(255, 255, 255, 0.25) !important;
        border-color: rgba(255, 255, 255, 0.5) !important;
        color: #ffffff !important;
    }

.site-header.scrolled .sh-hamburger__bar {
    background: #ffffff !important;
}

.site-header.scrolled .sh-badge {
    border-color: transparent !important;
}

/* ─── Marka ─── */
.sh-brand {
    font-size: 15px;
    font-weight: 700;
    color: var(--sh-text);
    text-decoration: none;
    letter-spacing: -0.3px;
    white-space: nowrap;
    min-width: 0;
    flex: 0 1 250px;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

    .sh-brand:hover {
        color: var(--sh-accent);
    }

/* Resim kabı — sabit kare, yuvarlak köşeli */
.sh-logo-wrap {
    width: 100%;
    max-width: 250px;
    aspect-ratio: 625 / 144;
    min-width: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.sh-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.sh-brand:hover .sh-logo-wrap {
    transform: scale(1.07);
    opacity: 0.88;
}

/* ─── Desktop nav linkleri (orta) ─── */
.sh-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
    position: static;
    min-width: 0;
    flex: 1 1 auto;
    justify-content: center;
}

.sh-nav__link {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--sh-muted);
    text-decoration: none;
    padding: 6px 12px;
    border-radius: var(--sh-radius-sm);
    transition: background var(--sh-transition), color var(--sh-transition);
    white-space: nowrap;
}

    .sh-nav__link:hover,
    .sh-nav__link.active {
        background: var(--sh-hover-bg);
        color: var(--sh-text);
    }

/* ─── Sağ küme ─── */
.sh-right {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

/* ─── Ortak ikon butonu ─── */
.sh-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--sh-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    position: relative;
    transition: background var(--sh-transition), border-color var(--sh-transition), color var(--sh-transition);
    color: var(--sh-muted);
}

    .sh-icon-btn:hover,
    .sh-icon-btn[aria-expanded="true"] {
        background: var(--sh-hover-bg);
        border-color: var(--sh-border);
        color: var(--sh-text);
    }

    .sh-icon-btn svg {
        width: 17px;
        height: 17px;
        stroke: currentColor;
        fill: none;
        stroke-width: 1.7;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

/* ─── Bildirim rozeti ─── */
.sh-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    background: var(--sh-badge);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
    border: 1.5px solid var(--sh-bg);
    transition: border-color 0.3s ease;
}

/* ─── Kullanıcı butonu ─── */
.sh-user-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 10px 0 5px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--sh-radius-sm);
    cursor: pointer;
    transition: background var(--sh-transition), border-color var(--sh-transition), color var(--sh-transition);
    color: var(--sh-text);
}

    .sh-user-btn:hover,
    .sh-user-btn[aria-expanded="true"] {
        background: var(--sh-hover-bg);
        border-color: var(--sh-border);
    }

.sh-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--sh-accent-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--sh-accent-text);
    flex-shrink: 0;
    user-select: none;
    transition: background 0.3s ease, color 0.3s ease;
}

.sh-username {
    font-size: 13px;
    font-weight: 500;
    color: var(--sh-text);
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.sh-chevron {
    width: 13px;
    height: 13px;
    stroke: var(--sh-muted);
    fill: none;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform var(--sh-transition), stroke 0.3s ease;
    flex-shrink: 0;
}

.sh-user-btn[aria-expanded="true"] .sh-chevron {
    transform: rotate(180deg);
}

/* ─── Auth butonları ─── */
.sh-auth-btn {
    display: inline-flex;
    align-items: center;
    height: 34px;
    padding: 0 14px;
    border-radius: var(--sh-radius-sm);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: background var(--sh-transition), border-color var(--sh-transition), color var(--sh-transition);
    white-space: nowrap;
}

.sh-auth-btn--ghost {
    background: transparent;
    border: 1px solid var(--sh-border);
    color: var(--sh-muted);
}

    .sh-auth-btn--ghost:hover {
        background: var(--sh-hover-bg);
        color: var(--sh-text);
        border-color: var(--sh-border);
    }

.sh-auth-btn--solid {
    background: var(--sh-accent);
    border: 1px solid var(--sh-accent);
    color: #fff;
}

    .sh-auth-btn--solid:hover {
        background: #1d4ed8;
        border-color: #1d4ed8;
    }

/* ─── Hamburger ─── */
.sh-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--sh-radius-sm);
    cursor: pointer;
    padding: 0;
    transition: background var(--sh-transition), border-color var(--sh-transition);
}

    .sh-hamburger:hover {
        background: var(--sh-hover-bg);
        border-color: var(--sh-border);
    }

.sh-hamburger__bar {
    display: block;
    width: 17px;
    height: 1.5px;
    background: var(--sh-muted);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease, width 0.2s ease, background 0.3s ease;
    transform-origin: center;
}

.sh-hamburger[aria-expanded="true"] .sh-hamburger__bar:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.sh-hamburger[aria-expanded="true"] .sh-hamburger__bar:nth-child(2) {
    opacity: 0;
    width: 0;
}

.sh-hamburger[aria-expanded="true"] .sh-hamburger__bar:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* ─── Dropdown panel (bildirim / kullanıcı) ─── */
.sh-dropdown {
    position: relative;
}

.sh-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    background-color: var(--sh-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--sh-border);
    border-radius: var(--sh-radius);
    box-shadow: var(--sh-panel-shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px) scale(0.98);
    transform-origin: top right;
    transition: opacity 0.15s ease, transform 0.15s ease;
    z-index: 1100;
}

    .sh-panel.sh--open {
        opacity: 1;
        pointer-events: all;
        transform: translateY(0) scale(1);
    }

/* ─── Bildirim paneli ─── */
.sh-notif-panel {
    width: 310px;
}

.sh-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 14px 9px;
}

    .sh-panel__header span {
        font-size: 13px;
        font-weight: 600;
        color: var(--sh-text);
    }

.sh-panel__see-all {
    font-size: 12px;
    color: var(--sh-muted);
    text-decoration: none;
    transition: color var(--sh-transition);
}

    .sh-panel__see-all:hover {
        color: var(--sh-accent);
    }

.sh-divider {
    height: 1px;
    background: var(--sh-border);
    margin: 0;
}

.sh-notif-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 280px;
    overflow-y: auto;
}

.sh-notif-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 14px;
    cursor: pointer;
    transition: background var(--sh-transition);
    border-bottom: 1px solid var(--sh-border);
}

    .sh-notif-item:last-child {
        border-bottom: none;
    }

    .sh-notif-item:hover {
        background: var(--sh-hover-bg);
    }

.sh-notif-item__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sh-accent);
    flex-shrink: 0;
    margin-top: 5px;
}

.sh-notif-item__dot--read {
    background: var(--sh-border);
}

.sh-notif-item__text p {
    font-size: 13px;
    color: var(--sh-text);
    line-height: 1.45;
    margin: 0 0 3px;
}

.sh-notif-item__text span {
    font-size: 11px;
    color: var(--sh-muted);
}

.sh-notif-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 28px 14px;
    font-size: 13px;
    color: var(--sh-muted);
    text-align: center;
}

    .sh-notif-empty svg {
        width: 28px;
        height: 28px;
        stroke: var(--sh-border);
        fill: none;
        stroke-width: 1.5;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.sh-panel__footer {
    padding: 8px 14px;
    text-align: center;
}

/* ─── Kullanıcı paneli ─── */
.sh-user-panel {
    width: 220px;
}

.sh-user-info {
    padding: 13px 14px 11px;
}

.sh-user-info__name {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--sh-text);
    margin: 0 0 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sh-user-info__role {
    font-size: 11.5px;
    color: var(--sh-muted);
    margin: 0;
}

/* ─── Menü öğeleri ─── */
.sh-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--sh-text);
    text-decoration: none;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: background var(--sh-transition);
    font-family: var(--sh-font);
}

    .sh-menu-item:hover {
        background: var(--sh-hover-bg);
    }

    .sh-menu-item svg {
        width: 15px;
        height: 15px;
        stroke: var(--sh-muted);
        fill: none;
        stroke-width: 1.6;
        stroke-linecap: round;
        stroke-linejoin: round;
        flex-shrink: 0;
    }

.sh-menu-item--danger {
    color: var(--sh-danger);
}

    .sh-menu-item--danger:hover {
        background: var(--sh-danger-bg);
    }

    .sh-menu-item--danger svg {
        stroke: var(--sh-danger);
    }

/* ─── Mobil Drawer ─── */
.sh-drawer {
    display: none;
    flex-direction: column;
    background-color: var(--sh-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--sh-border);
    padding: 6px 10px 10px;
    gap: 1px;
}

    .sh-drawer.sh--open {
        display: flex;
    }

.sh-drawer__link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--sh-text);
    text-decoration: none;
    padding: 10px 12px;
    border-radius: var(--sh-radius-sm);
    transition: background var(--sh-transition);
}

    .sh-drawer__link:hover {
        background: var(--sh-hover-bg);
    }

    .sh-drawer__link svg {
        width: 16px;
        height: 16px;
        stroke: var(--sh-muted);
        fill: none;
        stroke-width: 1.6;
        stroke-linecap: round;
        stroke-linejoin: round;
        flex-shrink: 0;
    }

/* ─── Saydam modda drawer ─── */
.site-header:not(.scrolled) .sh-drawer {
    background-color: rgba(8, 14, 26, 0.85) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.site-header:not(.scrolled) .sh-drawer__link {
    color: #ffffff !important;
}

    .site-header:not(.scrolled) .sh-drawer__link:hover {
        background: rgba(255, 255, 255, 0.1) !important;
    }

    .site-header:not(.scrolled) .sh-drawer__link svg {
        stroke: rgba(255, 255, 255, 0.6) !important;
    }

/* =====================================================
   System Dropdown (Navbar üzerinde hover ile açılan menü)
   NOT: Bu blok bilinçli olarak media query DIŞINDA tutulur;
   masaüstünde her zaman, mobilde ise .sh-nav zaten gizli
   olduğu için otomatik devre dışı kalır.
   ===================================================== */
/*.sh-dropdown-system {
    position: relative;
}

.sh-dropdown-system__toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.sh-dropdown-system__chevron {
    width: 12px;
    height: 12px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.sh-dropdown-system__toggle[aria-expanded="true"] .sh-dropdown-system__chevron {
    transform: rotate(180deg);
}

.sh-dropdown-system__menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(-6px) scale(0.98);
    min-width: 280px;
    list-style: none;
    margin: 0;
    padding: 6px;
    background-color: var(--sh-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--sh-border);
    border-radius: var(--sh-radius);
    box-shadow: var(--sh-panel-shadow);
    opacity: 0;
    pointer-events: none;
    transform-origin: top center;
    transition: opacity 0.15s ease, transform 0.15s ease;
    z-index: 1100;
}*/

/* Masaüstünde hover ile aç */
/*@media (min-width: 641px) {
    .sh-dropdown-system:hover .sh-dropdown-system__menu,
    .sh-dropdown-system__menu.sh--open {
        opacity: 1;
        pointer-events: all;
        transform: translateX(-50%) translateY(0) scale(1);
    }*/

    /* Fare menüye giderken aradaki boşlukta kapanmasın diye köprü alan */
    /*.sh-dropdown-system::after {
        content: "";
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        height: 8px;
    }
}

.sh-dropdown-system__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--sh-text);
    text-decoration: none;
    border-radius: var(--sh-radius-sm);
    transition: background var(--sh-transition);
    white-space: normal;
}

    .sh-dropdown-system__item:hover {
        background: var(--sh-hover-bg);
    }

.sh-dropdown-system__item-icon {
    font-size: 15px;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}*/

/* =====================================================
   SYSTEM DROPDOWN
   Desktop hover + technical drawing preview
   ===================================================== */

.sh-dropdown-system {
    position: relative;
}


/* =====================================================
   SYSTEM TOGGLE
   ===================================================== */

.sh-dropdown-system__toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}


.sh-dropdown-system__chevron {
    width: 12px;
    height: 12px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}


.sh-dropdown-system__toggle[aria-expanded="true"]
.sh-dropdown-system__chevron {
    transform: rotate(180deg);
}


/* =====================================================
   DESKTOP SYSTEM MENU
   ===================================================== */

@media (min-width: 641px) {

    .sh-dropdown-system__menu {
        position: absolute;
        top: calc(100% + 8px);
        left: 50%;
        width: 650px;
        max-width: calc(100vw - 24px);
        display: grid;
        grid-template-columns: 270px minmax(0, 1fr);
        gap: 6px;
        list-style: none;
        margin: 0;
        padding: 7px;
        background-color: rgba(8, 14, 26, 0.94);
        backdrop-filter: blur(20px) saturate(140%);
        -webkit-backdrop-filter: blur(20px) saturate(140%);
        border: 1px solid rgba(255, 255, 255, 0.10);
        border-radius: var(--sh-radius);
        box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22), 0 4px 12px rgba(0, 0, 0, 0.12);
        opacity: 0;
        pointer-events: none;
        transform: translateX(-50%) translateY(-6px) scale(0.985);
        transform-origin: top center;
        transition: opacity 0.16s ease, transform 0.16s ease;
        z-index: 1100;
    }


        /* =================================================
       DROPDOWN AÇILMA
       ================================================= */

        .sh-dropdown-system:hover
        .sh-dropdown-system__menu,
        .sh-dropdown-system:focus-within
        .sh-dropdown-system__menu,
        .sh-dropdown-system__menu.sh--open {
            opacity: 1;
            pointer-events: auto;
            transform: translateX(-50%) translateY(0) scale(1);
        }


    /* =================================================
       HOVER KÖPRÜSÜ
       ================================================= */

    .sh-dropdown-system::after {
        content: "";
        position: absolute;
        top: 100%;
        left: -12px;
        right: -12px;
        height: 10px;
    }


    /* =================================================
       SOL KATEGORİ LİSTESİ
       ================================================= */

    .sh-dropdown-system__list {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 2px;
        min-width: 0;
    }


        .sh-dropdown-system__list > li {
            margin: 0;
            padding: 0;
        }


    /* =================================================
       CATEGORY ITEM
       ================================================= */

    .sh-dropdown-system__item {
        position: relative;
        display: flex;
        align-items: center;
        gap: 10px;
        width: 100%;
        min-height: 38px;
        padding: 9px 10px;
        box-sizing: border-box;
        font-size: 13px;
        font-weight: 500;
        color: rgba(255, 255, 255, 0.88);
        text-decoration: none;
        border-radius: var(--sh-radius-sm);
        background: transparent;
        outline: none;
        cursor: pointer;
        transition: background 0.14s ease, color 0.14s ease, transform 0.14s ease;
    }


        .sh-dropdown-system__item:hover,
        .sh-dropdown-system__item:focus-visible,
        .sh-dropdown-system__item.sh--active {
            background: rgba(255, 255, 255, 0.095);
            color: #ffffff;
        }


        .sh-dropdown-system__item:hover {
            transform: translateX(2px);
        }


        .sh-dropdown-system__item:focus-visible {
            box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.20);
        }


    /* =================================================
       CATEGORY ICON
       ================================================= */

    .sh-dropdown-system__item-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 20px;
        min-width: 20px;
        font-size: 15px;
        color: rgba(255, 255, 255, 0.55);
        transition: color 0.14s ease, transform 0.14s ease;
    }


    .sh-dropdown-system__item:hover
    .sh-dropdown-system__item-icon,
    .sh-dropdown-system__item:focus-visible
    .sh-dropdown-system__item-icon,
    .sh-dropdown-system__item.sh--active
    .sh-dropdown-system__item-icon {
        color: #ffffff;
        transform: translateX(2px);
    }


    .sh-dropdown-system__item-text {
        min-width: 0;
        line-height: 1.35;
    }


    /* =================================================
       SAĞ PREVIEW
       ================================================= */

    .sh-dropdown-system__preview {
        position: relative;
        min-width: 0;
        min-height: 0;
        display: flex;
        padding-left: 5px;
    }


    /* =================================================
       PREVIEW FRAME
       ================================================= */

    .sh-dropdown-system__preview-frame {
        position: relative;
        width: 100%;
        height: 100%;
        min-height: 248px;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        background: linear-gradient( 135deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015) );
        border: 1px solid rgba(255, 255, 255, 0.075);
    }


    /* =================================================
       TECHNICAL GRID
       ================================================= */

    .sh-dropdown-system__preview-grid {
        position: absolute;
        inset: 0;
        opacity: 0.18;
        background-image: linear-gradient( rgba(255, 255, 255, 0.06) 1px, transparent 1px ), linear-gradient( 90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px );
        background-size: 22px 22px;
        mask-image: linear-gradient( to bottom, black 0%, rgba(0, 0, 0, 0.5) 65%, transparent 100% );
        -webkit-mask-image: linear-gradient( to bottom, black 0%, rgba(0, 0, 0, 0.5) 65%, transparent 100% );
        pointer-events: none;
    }


    /* =================================================
       CENTER GLOW
       ================================================= */

    .sh-dropdown-system__preview-frame::before {
        content: "";
        position: absolute;
        width: 180px;
        height: 180px;
        left: 50%;
        top: 45%;
        transform: translate(-50%, -50%);
        background: radial-gradient( circle, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.025) 42%, transparent 72% );
        pointer-events: none;
    }


    /* =================================================
       SVG TECHNICAL DRAWING
       ================================================= */

    .sh-dropdown-system__preview-image {
        position: relative;
        z-index: 2;
        display: block;
        width: 100%;
        max-width: 300px;
        height: 190px;
        max-height: 190px;
        object-fit: contain;
        padding: 10px;
        box-sizing: border-box;
        opacity: 0;
        visibility: hidden;
        transform: translateY(5px) scale(0.985);
        transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
        /*
         * SVG çizimleri için tarayıcı render optimizasyonu.
         */
        will-change: opacity, transform;
    }


        .sh-dropdown-system__preview-image.sh--visible {
            opacity: 1;
            visibility: visible;
            transform: translateY(0) scale(1);
        }


    /* =================================================
       PREVIEW LABEL
       ================================================= */

    .sh-dropdown-system__preview-label {
        position: absolute;
        left: 13px;
        right: 13px;
        bottom: 11px;
        z-index: 3;
        display: flex;
        flex-direction: column;
        gap: 2px;
        pointer-events: none;
    }


    .sh-dropdown-system__preview-kicker {
        font-size: 8px;
        font-weight: 600;
        letter-spacing: 1.4px;
        color: rgba(255, 255, 255, 0.38);
    }


    .sh-dropdown-system__preview-title {
        font-size: 11px;
        font-weight: 500;
        color: rgba(255, 255, 255, 0.78);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }


    /* =================================================
       HEADER STATES
       ================================================= */

    .site-header:not(.scrolled)
    .sh-dropdown-system__menu,
    .site-header.scrolled
    .sh-dropdown-system__menu {
        background-color: rgba(8, 14, 26, 0.94);
        border-color: rgba(255, 255, 255, 0.10);
    }


    /* =================================================
       REDUCED MOTION
       ================================================= */

    @media (prefers-reduced-motion: reduce) {

        .sh-dropdown-system__menu {
            transition: opacity 0.01ms linear;
        }


        .sh-dropdown-system__item {
            transition: background 0.01ms linear, color 0.01ms linear;
        }


        .sh-dropdown-system__preview-image {
            transition: none;
            transform: none;
        }
    }
}


/* =====================================================
   SYSTEM DROPDOWN — FORCE DARK THEME
   ===================================================== */

.site-header:not(.scrolled)
.sh-dropdown-system__menu,
.site-header.scrolled
.sh-dropdown-system__menu {
    background-color: rgba(8, 14, 26, 0.92) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}


.site-header:not(.scrolled)
.sh-dropdown-system__item,
.site-header.scrolled
.sh-dropdown-system__item {
    color: #ffffff !important;
}


    .site-header:not(.scrolled)
    .sh-dropdown-system__item:hover,
    .site-header.scrolled
    .sh-dropdown-system__item:hover {
        background: rgba(255, 255, 255, 0.1) !important;
    }


.site-header:not(.scrolled)
.sh-dropdown-system__toggle
.sh-dropdown-system__chevron,
.site-header.scrolled
.sh-dropdown-system__toggle
.sh-dropdown-system__chevron {
    stroke: rgba(255, 255, 255, 0.8) !important;
}


/* =====================================================
   MOBİLDE SYSTEM PREVIEW TAMAMEN KAPALI
   ===================================================== */

@media (max-width: 1439.98px) {

    .sh-dropdown-system__menu {
        display: none !important;
    }

    .sh-dropdown-system__preview {
        display: none !important;
    }
}













/* Saydam / scroll header modunda dropdown panel her zaman koyu ve okunur kalsın */
.site-header:not(.scrolled) .sh-dropdown-system__menu,
.site-header.scrolled .sh-dropdown-system__menu {
    background-color: rgba(8, 14, 26, 0.92) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.site-header:not(.scrolled) .sh-dropdown-system__item,
.site-header.scrolled .sh-dropdown-system__item {
    color: #ffffff !important;
}

    .site-header:not(.scrolled) .sh-dropdown-system__item:hover,
    .site-header.scrolled .sh-dropdown-system__item:hover {
        background: rgba(255, 255, 255, 0.1) !important;
    }

.site-header:not(.scrolled) .sh-dropdown-system__toggle .sh-dropdown-system__chevron,
.site-header.scrolled .sh-dropdown-system__toggle .sh-dropdown-system__chevron {
    stroke: rgba(255, 255, 255, 0.8) !important;
}

/* =====================================================
   Mobil Drawer — System Accordion
   ===================================================== */
.sh-drawer-system {
    display: flex;
    flex-direction: column;
}

.sh-drawer-system__toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: var(--sh-font);
}

.sh-drawer-system__label {
    flex: 1;
    text-align: left;
}

.sh-drawer-system__chevron {
    width: 14px;
    height: 14px;
    stroke: var(--sh-muted);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.sh-drawer-system.sh--open .sh-drawer-system__chevron {
    transform: rotate(180deg);
}

.sh-drawer-system__menu {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    transition: grid-template-rows 0.2s ease;
}

    .sh-drawer-system__menu > * {
        min-height: 0;
    }

.sh-drawer-system.sh--open .sh-drawer-system__menu {
    grid-template-rows: 1fr;
}

.sh-drawer-system__item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--sh-text);
    text-decoration: none;
    padding: 9px 12px 9px 30px;
    border-radius: var(--sh-radius-sm);
    transition: background var(--sh-transition);
    overflow: hidden;
}

    .sh-drawer-system__item:hover {
        background: var(--sh-hover-bg);
    }

/* Saydam modda drawer accordion */
.site-header:not(.scrolled) .sh-drawer-system__toggle {
    color: #ffffff !important;
}

    .site-header:not(.scrolled) .sh-drawer-system__toggle:hover {
        background: rgba(255, 255, 255, 0.1) !important;
    }

    .site-header:not(.scrolled) .sh-drawer-system__toggle svg {
        stroke: rgba(255, 255, 255, 0.6) !important;
    }

.site-header:not(.scrolled) .sh-drawer-system__item {
    color: rgba(255, 255, 255, 0.85) !important;
}

    .site-header:not(.scrolled) .sh-drawer-system__item:hover {
        background: rgba(255, 255, 255, 0.1) !important;
    }

/* ─── Responsive ─── */
@media (max-width: 1439.98px) {
    .sh-nav {
        display: none;
    }

    .sh-hamburger {
        display: flex;
    }

    .sh-username,
    .sh-chevron {
        display: none;
    }

    .sh-panel {
        position: fixed;
        top: var(--sh-height);
        left: 0.75rem;
        right: 0.75rem;
        width: auto;
        transform-origin: top center;
        transform: translateY(-6px) scale(0.98);
    }

        .sh-panel.sh--open {
            transform: translateY(0) scale(1);
        }

    .sh-notif-list {
        max-height: 60vh;
    }
}



/* The brand may shrink; controls must remain reachable at 320px and with zoom. */
.sh-navbar { padding-left: max(12px, env(safe-area-inset-left)); padding-right: max(12px, env(safe-area-inset-right)); }
.sh-right { flex: 0 0 auto; gap: 6px; }
.sh-hamburger { flex: 0 0 44px; width: 44px; height: 44px; }
.sh-drawer { max-height: calc(100vh - var(--sh-height)); max-height: calc(100dvh - var(--sh-height)); overflow-y: auto; padding-bottom: max(12px, env(safe-area-inset-bottom)); }
.sh-panel:not(.sh--open) { visibility: hidden; }
.sh-panel.sh--open { visibility: visible; }
.sh-right .social-media-white { margin-top: 0; margin-right: 0; padding-right: 0; }
@media (max-width: 1439.98px) {
    .sh-right .social-media-white { display: none !important; }
    .sh-brand { flex-basis: clamp(180px, 25vw, 250px); } /*Logo boyutlandırma*/
}
@media (max-width: 575.98px) {
    .sh-navbar { gap: 6px; }
    .sh-auth-btn { padding: 8px 6px; font-size: 12px; }
    .sh-user-btn { padding: 4px; }
}
@media (min-width: 1440px) { .sh-drawer { display: none !important; } }

/* Toast */
.p-toast {
    position: fixed;
    bottom: 1.8rem;
    right: 1.8rem;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .85rem 1.3rem;
    border-radius: 12px;
    font-family: var(--p-font);
    font-size: .88rem;
    font-weight: 600;
    box-shadow: 0 8px 30px rgba(0,0,0,.13);
    animation: toastIn .3s cubic-bezier(.22,1,.36,1) both;
    max-width: 340px;
    word-break: break-word;
}

    .p-toast.success {
        background: #eafaf3;
        color: #1a6645;
        border: 1.5px solid #b2e8d0;
    }

    .p-toast.error {
        background: #fdf0f1;
        color: #9b2335;
        border: 1.5px solid #f0bfc4;
    }

    .p-toast.warning {
        background: #fffbea;
        color: #7d5a00;
        border: 1.5px solid #ffe08a;
    }

    .p-toast i {
        font-size: 1rem;
        flex-shrink: 0;
    }

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(1rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Notyf container pozisyon override ── */
.notyf {
    bottom: 1.8rem !important;
    right: 1.8rem !important;
}

/* ── Base toast ── */
.notyf__toast {
    border-radius: 12px !important;
    font-size: .88rem !important;
    font-weight: 600 !important;
    box-shadow: 0 8px 30px rgba(0,0,0,.13) !important;
    padding: .85rem 1.3rem !important;
    max-width: 340px !important;
    word-break: break-word !important;
    animation: toastIn .3s cubic-bezier(.22,1,.36,1) both !important;
    display: flex !important;
    align-items: center !important;
    gap: .65rem !important;
}

    /* ── Notyf'in kendi arka plan rengini sıfırla ── */
    .notyf__toast:before {
        display: none !important;
    }

.notyf__ripple {
    display: none !important;
}

/* ── Success ── */
.notyf__toast--success {
    background: #eafaf3 !important;
    border: 1.5px solid #b2e8d0 !important;
}

    .notyf__toast--success .notyf__message,
    .notyf__toast--success .notyf__icon {
        color: #1a6645 !important;
    }

/* ── Error ── */
.notyf__toast--error {
    background: #fdf0f1 !important;
    border: 1.5px solid #f0bfc4 !important;
}

    .notyf__toast--error .notyf__message,
    .notyf__toast--error .notyf__icon {
        color: #9b2335 !important;
    }
/* ── Warning ── */
.notyf__toast--warning {
    background: #fffbea !important;
    border: 1.5px solid #ffe08a !important;
}

    .notyf__toast--warning .notyf__message,
    .notyf__toast--warning .notyf__icon {
        color: #7d5a00 !important;
    }

/* ── İkon ── */
.notyf__icon {
    font-size: 1rem !important;
    flex-shrink: 0 !important;
}

/* ── Giriş animasyonu ── */
@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(1rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ── Notification Badge ── */
.notif-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--clr-danger, #e74c3c);
    color: #fff;
    font-size: .62rem;
    font-weight: 700;
    line-height: 17px;
    text-align: center;
    pointer-events: none;
    animation: badgePop .25s cubic-bezier(.34,1.56,.64,1);
}

@keyframes badgePop {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

/* ── Notification Panel ── */
.notif-panel {
    width: 320px;
    border-radius: 10px;
    border: 1px solid var(--clr-border);
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    overflow: hidden;
}

.notif-header {
    background: var(--clr-surface);
}

.notif-see-all {
    font-size: .75rem;
    color: var(--clr-primary);
    text-decoration: none;
    font-weight: 600;
}

    .notif-see-all:hover {
        text-decoration: underline;
    }

/* ── Notification Item ── */
.notif-item {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    padding: .65rem 1rem;
    cursor: pointer;
    transition: background .15s;
    border-bottom: 1px solid var(--clr-border);
    text-decoration: none;
    color: inherit;
}

    .notif-item:last-child {
        border-bottom: none;
    }

    .notif-item:hover {
        background: var(--clr-hover, rgba(0,0,0,.04));
    }

    .notif-item.unread {
        background: var(--clr-primary-soft, rgba(var(--clr-primary-rgb),.06));
    }

.notif-item__icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--clr-primary-soft, #e8f0fe);
    color: var(--clr-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: .9rem;
}

.notif-item__body {
    flex: 1;
    min-width: 0;
}

.notif-item__name {
    font-size: .8rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notif-item__subject {
    font-size: .76rem;
    color: var(--clr-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notif-item__preview {
    font-size: .73rem;
    color: var(--clr-muted);
    margin-top: .1rem;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notif-item__time {
    font-size: .68rem;
    color: var(--clr-muted);
    white-space: nowrap;
    flex-shrink: 0;
    margin-top: .15rem;
}

/* ── Notification Message new ── */
.sh-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--bs-body-bg, #fff);
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-left: 4px solid #0d6efd;
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,.12);
    z-index: 9999;
    min-width: 280px;
    max-width: 380px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .3s, transform .3s;
    cursor: pointer;
}

.sh-toast--show {
    opacity: 1;
    transform: translateY(0);
}

.sh-toast__icon {
    font-size: 1.1rem;
    margin-top: 2px;
}

.sh-toast__body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
}

    .sh-toast__body strong {
        font-size: .85rem;
    }

    .sh-toast__body span {
        font-size: .82rem;
    }

    .sh-toast__body small {
        font-size: .78rem;
        color: #6c757d;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 260px;
    }

.sh-toast__close {
    background: none;
    border: none;
    cursor: pointer;
    color: #adb5bd;
    font-size: .85rem;
    padding: 0;
    line-height: 1;
    align-self: flex-start;
}

    .sh-toast__close:hover {
        color: #495057;
    }


/* =========================================================
       FINEASTRA — PREMIUM ARCHITECTURAL FOOTER
       ========================================================= */

:root {
    --footer-primary: #003d7a;
    --footer-primary-dark: #002b57;
    --footer-accent: #0b6fb8;
    --footer-text: #475569;
    --footer-muted: #64748b;
    --footer-light: #f8fafc;
    --footer-border: rgba(0, 61, 122, 0.10);
    --footer-white: #ffffff;
    --footer-container: 1440px;
}

/* =========================================================
       MAIN FOOTER
       ========================================================= */

.fineastra-footer {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: linear-gradient( 135deg, #ffffff 0%, #ffffff 34%, #f8fbfe 58%, #f2f7fb 100% );
    border-top: 1px solid var(--footer-border);
}

    /*
        Soft architectural glow.
        Pure CSS — no images, no additional HTTP requests.
    */

    .fineastra-footer::before {
        content: "";
        position: absolute;
        z-index: -3;
        width: 760px;
        height: 760px;
        top: -420px;
        right: -180px;
        border-radius: 50%;
        background: radial-gradient( circle, rgba(0, 61, 122, 0.055) 0%, rgba(0, 61, 122, 0.025) 38%, transparent 72% );
        pointer-events: none;
    }

    .fineastra-footer::after {
        content: "";
        position: absolute;
        z-index: -3;
        width: 620px;
        height: 620px;
        bottom: -430px;
        left: -160px;
        border-radius: 50%;
        background: radial-gradient( circle, rgba(11, 111, 184, 0.045) 0%, rgba(11, 111, 184, 0.018) 40%, transparent 72% );
        pointer-events: none;
    }


/* =========================================================
       DIAGONAL WAVE SYSTEM
       ========================================================= */

.fineastra-footer__waves {
    position: absolute;
    z-index: -2;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.fineastra-footer__wave {
    position: absolute;
    width: 145%;
    left: -22%;
    height: 180px;
    transform: rotate(-7deg);
    border-radius: 50%;
}

.fineastra-footer__wave--one {
    top: 38%;
    background: linear-gradient( 90deg, transparent 0%, rgba(0, 61, 122, 0.018) 22%, rgba(0, 61, 122, 0.045) 50%, rgba(0, 61, 122, 0.018) 78%, transparent 100% );
}

.fineastra-footer__wave--two {
    top: 43%;
    height: 145px;
    transform: rotate(-7deg) translateY(25px);
    background: linear-gradient( 90deg, transparent 0%, rgba(11, 111, 184, 0.018) 20%, rgba(11, 111, 184, 0.035) 50%, rgba(11, 111, 184, 0.018) 80%, transparent 100% );
}

.fineastra-footer__wave--three {
    top: 47%;
    height: 110px;
    transform: rotate(-7deg) translateY(48px);
    background: linear-gradient( 90deg, transparent 0%, rgba(0, 61, 122, 0.012) 30%, rgba(0, 61, 122, 0.025) 50%, rgba(0, 61, 122, 0.012) 70%, transparent 100% );
}


/* =========================================================
       INNER CONTAINER
       ========================================================= */

.fineastra-footer__inner {
    position: relative;
    max-width: var(--footer-container);
    margin: 0 auto;
    padding: 5.5rem 1.5rem 2rem;
}


/* =========================================================
       TOP CTA
       ========================================================= */

.fineastra-footer__intro {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    padding-bottom: 3rem;
    margin-bottom: 3.5rem;
    border-bottom: 1px solid var(--footer-border);
}

.fineastra-footer__intro-content {
    max-width: 760px;
}

.fineastra-footer__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1rem;
    color: var(--footer-primary);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

    .fineastra-footer__eyebrow::before {
        content: "";
        width: 28px;
        height: 1px;
        background: var(--footer-primary);
    }

.fineastra-footer__intro h2 {
    max-width: 700px;
    margin: 0;
    color: #0f172a;
    font-size: clamp(2rem, 4vw, 3.35rem);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

    .fineastra-footer__intro h2 strong {
        color: var(--footer-primary);
        font-weight: 700;
    }

.fineastra-footer__intro-text {
    max-width: 650px;
    margin: 1.15rem 0 0;
    color: var(--footer-muted);
    font-size: 1rem;
    line-height: 1.75;
}

.fineastra-footer__cta {
    flex: 0 0 auto;
}

.fineastra-footer__cta-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    min-height: 52px;
    padding: 0.75rem 1.3rem;
    color: #ffffff;
    background: var(--footer-primary);
    border: 1px solid var(--footer-primary);
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(0, 61, 122, 0.12);
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

    .fineastra-footer__cta-link i {
        transition: transform 0.3s ease;
    }

    .fineastra-footer__cta-link:hover {
        color: #ffffff;
        background: var(--footer-primary-dark);
        transform: translateY(-3px);
        box-shadow: 0 16px 35px rgba(0, 61, 122, 0.18);
    }

        .fineastra-footer__cta-link:hover i {
            transform: translateX(4px);
        }


/* =========================================================
       MAIN GRID
       ========================================================= */

.fineastra-footer__grid {
    display: grid;
    grid-template-columns: minmax(250px, 1.3fr) minmax(150px, 0.75fr) minmax(250px, 1.25fr) minmax(250px, 1.15fr);
    gap: 3.5rem;
}


/* =========================================================
       BRAND
       ========================================================= */

.fineastra-footer__brand {
    min-width: 0;
}

.fineastra-footer__logo {
    display: inline-flex;
    align-items: center;
    max-width: 185px;
    margin-bottom: 1.5rem;
}

    .fineastra-footer__logo img {
        display: block;
        width: 100%;
        height: auto;
        max-height: 58px;
        object-fit: contain;
    }

.fineastra-footer__brand-text {
    max-width: 340px;
    margin: 0;
    color: var(--footer-text);
    font-size: 0.92rem;
    line-height: 1.75;
}


/* =========================================================
       SOCIAL LINKS
       ========================================================= */
/* =========================================================
   SOCIAL LINKS
   ========================================================= */

.fineastra-footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.85rem;
}

.fineastra-footer__social-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    overflow: hidden;
    color: #ffffff;
    background: var(--footer-primary);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    font-size: 1.15rem;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.10), 0 2px 4px rgba(15, 23, 42, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

    /* İkon her zaman beyaz ve net */
    .fineastra-footer__social-link i,
    .fineastra-footer__social-link svg {
        color: #ffffff;
        font-size: 1.15rem;
        line-height: 1;
        display: inline-block;
        transition: transform 0.3s ease;
    }

    /* =========================================================
   BRAND GRADIENTS — Resmi marka renkleri
   ========================================================= */



    /* =========================================================
   HOVER
   ========================================================= */

    .fineastra-footer__social-link:hover {
        color: #ffffff;
        transform: translateY(-4px) scale(1.06);
        filter: brightness(1.08);
        box-shadow: 0 14px 28px rgba(15, 23, 42, 0.18), 0 4px 8px rgba(15, 23, 42, 0.10);
    }

        .fineastra-footer__social-link:hover i,
        .fineastra-footer__social-link:hover svg {
            transform: scale(1.1);
        }

    /* =========================================================
   FOCUS (erişilebilirlik)
   ========================================================= */

    .fineastra-footer__social-link:focus-visible {
        outline: 3px solid var(--footer-primary);
        outline-offset: 4px;
    }


/* =========================================================
       COLUMN HEADINGS
       ========================================================= */

.fineastra-footer__heading {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0 0 1.35rem;
    color: #0f172a;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

    .fineastra-footer__heading::before {
        content: "";
        width: 4px;
        height: 18px;
        border-radius: 999px;
        background: var(--footer-primary);
    }


/* =========================================================
       FOOTER NAVIGATION
       ========================================================= */

.fineastra-footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

    .fineastra-footer__links li {
        margin: 0;
    }

    .fineastra-footer__links a {
        position: relative;
        display: inline-flex;
        align-items: center;
        gap: 0.45rem;
        padding: 0.3rem 0;
        color: var(--footer-text);
        font-size: 0.9rem;
        line-height: 1.5;
        text-decoration: none;
        transition: color 0.25s ease, transform 0.25s ease;
    }

        .fineastra-footer__links a::before {
            content: "\279C"; /* ➜ işareti oluşturur. */
            position: absolute;
            left: -18px;
            opacity: 0;
            color: var(--footer-primary);
            transform: translateX(-5px);
            transition: opacity 0.25s ease, transform 0.25s ease;
        }

        .fineastra-footer__links a:hover {
            color: var(--footer-primary);
            transform: translateX(6px);
        }

            .fineastra-footer__links a:hover::before {
                opacity: 1;
                transform: translateX(0);
            }


/* =========================================================
       CONTACT
       ========================================================= */

.fineastra-footer__contact {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.fineastra-footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0, 61, 122, 0.06);
}

.fineastra-footer__contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    color: var(--footer-primary);
    background: rgba(0, 61, 122, 0.055);
    border-radius: 10px;
}

.fineastra-footer__contact-content {
    min-width: 0;
}

.fineastra-footer__contact-label {
    display: block;
    margin-bottom: 0.2rem;
    color: var(--footer-muted);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.fineastra-footer__contact-content a,
.fineastra-footer__contact-content p {
    margin: 0;
    color: #334155;
    font-size: 0.9rem;
    line-height: 1.55;
    text-decoration: none;
}

.fineastra-footer__contact-content a {
    transition: color 0.25s ease;
}

    .fineastra-footer__contact-content a:hover {
        color: var(--footer-primary);
    }

.fineastra-footer__address {
    font-style: normal;
}


/* =========================================================
       BOTTOM BAR
       ========================================================= */

.fineastra-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 4rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--footer-border);
}

.fineastra-footer__copyright {
    margin: 0;
    color: var(--footer-muted);
    font-size: 0.78rem;
    line-height: 1.6;
}

.fineastra-footer__legal {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.85rem;
}

    .fineastra-footer__legal a {
        color: var(--footer-muted);
        font-size: 0.78rem;
        text-decoration: none;
        transition: color 0.25s ease;
    }

        .fineastra-footer__legal a:hover {
            color: var(--footer-primary);
        }

.fineastra-footer__legal-separator {
    width: 3px;
    height: 3px;
    background: #94a3b8;
    border-radius: 50%;
}


/* =========================================================
       ACCESSIBILITY
       ========================================================= */

.fineastra-footer a:focus-visible {
    outline: 2px solid var(--footer-primary);
    outline-offset: 4px;
    border-radius: 4px;
}


/* =========================================================
       RESPONSIVE — TABLET
       ========================================================= */

@media (max-width: 1100px) {

    .fineastra-footer__grid {
        grid-template-columns: minmax(230px, 1fr) minmax(150px, 0.7fr) minmax(220px, 1fr);
    }

    .fineastra-footer__contact-column {
        grid-column: 1 / -1;
    }

    .fineastra-footer__contact {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .fineastra-footer__contact-item {
        border-bottom: 0;
    }
}


/* =========================================================
       RESPONSIVE — MOBILE
       ========================================================= */

@media (max-width: 768px) {

    .fineastra-footer__inner {
        padding: 4rem 1.25rem 1.5rem;
    }

    .fineastra-footer__intro {
        display: block;
        padding-bottom: 2.5rem;
        margin-bottom: 2.75rem;
    }

        .fineastra-footer__intro h2 {
            font-size: clamp(2rem, 9vw, 2.8rem);
        }

    .fineastra-footer__intro-text {
        font-size: 0.92rem;
    }

    .fineastra-footer__cta {
        margin-top: 1.5rem;
    }

    .fineastra-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.75rem 1.75rem;
    }

    .fineastra-footer__brand {
        grid-column: 1 / -1;
    }

    .fineastra-footer__contact-column {
        grid-column: 1 / -1;
    }

    .fineastra-footer__contact {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .fineastra-footer__bottom {
        display: block;
        margin-top: 3rem;
    }

    .fineastra-footer__legal {
        justify-content: flex-start;
        margin-top: 0.8rem;
    }
}


/* =========================================================
       RESPONSIVE — SMALL MOBILE
       ========================================================= */

@media (max-width: 480px) {

    .fineastra-footer__inner {
        padding-top: 3.25rem;
    }

    .fineastra-footer__grid {
        grid-template-columns: 1fr;
        gap: 2.25rem;
    }

    .fineastra-footer__brand {
        grid-column: auto;
    }

    .fineastra-footer__contact-column {
        grid-column: auto;
    }

    .fineastra-footer__logo {
        max-width: 160px;
    }

    .fineastra-footer__intro h2 {
        font-size: 2rem;
    }

    .fineastra-footer__intro-text {
        font-size: 0.88rem;
    }

    .fineastra-footer__wave {
        width: 180%;
        left: -40%;
    }
}


/* =========================================================
       REDUCED MOTION
       ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .fineastra-footer *,
    .fineastra-footer *::before,
    .fineastra-footer *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}


/* =========================================================
       PRINT
       ========================================================= */

@media print {

    .fineastra-footer {
        background: #ffffff;
    }

    .fineastra-footer__waves,
    .fineastra-footer__cta {
        display: none;
    }
}

/* Perf: viewport dışındaki footer render edilmez; scroll sırasında layout/paint maliyeti düşer. */
.fineastra-footer {
    content-visibility: auto;
    contain-intrinsic-size: auto 560px;
}

.fa-cookie {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%) translateY(140%);
    width: min(960px, calc(100% - 32px));
    z-index: 99998;
    background: #0d2530;
    color: #eaf3f6;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(0,0,0,.45), 0 2px 8px rgba(0,0,0,.25);
    padding: 18px 22px;
    font-family: inherit;
    animation: fa-cookie-in .55s cubic-bezier(.19,1,.22,1) .4s forwards;
}

    /* hidden attribute'u animasyonla birlikte düzgün çalışsın */
    .fa-cookie[hidden] {
        display: none;
    }

@keyframes fa-cookie-in {
    to {
        transform: translateX(-50%) translateY(0);
    }
}

.fa-cookie__inner {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.fa-cookie__icon {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(255,255,255,.06);
    color: #7fd2e0;
}

.fa-cookie__text {
    flex: 1 1 320px;
    min-width: 0;
}

.fa-cookie__title {
    margin: 0 0 4px 0;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .2px;
}

.fa-cookie__desc {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.55;
    color: #b9cbd3;
}

.fa-cookie__link {
    color: #7fd2e0;
    text-decoration: underline;
}

.fa-cookie__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-left: auto;
}

.fa-cookie__btn {
    appearance: none;
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease;
    white-space: nowrap;
}

    .fa-cookie__btn:active {
        transform: scale(.97);
    }

.fa-cookie__btn--ghost {
    background: transparent;
    color: #cfdde3;
    border-color: rgba(255,255,255,.15);
}

    .fa-cookie__btn--ghost:hover {
        background: rgba(255,255,255,.05);
        color: #fff;
    }

.fa-cookie__btn--outline {
    background: transparent;
    color: #7fd2e0;
    border-color: rgba(127,210,224,.55);
}

    .fa-cookie__btn--outline:hover {
        background: rgba(127,210,224,.10);
    }

.fa-cookie__btn--solid {
    background: linear-gradient(180deg, #2fb5c9, #1e8ea3);
    color: #05141a;
    box-shadow: 0 6px 18px rgba(47,181,201,.35);
}

    .fa-cookie__btn--solid:hover {
        filter: brightness(1.05);
    }

.fa-cookie--hidden {
    animation: fa-cookie-out .35s ease forwards;
    pointer-events: none;
}

@keyframes fa-cookie-out {
    to {
        transform: translateX(-50%) translateY(140%);
        opacity: 0;
    }
}

@media (max-width: 640px) {
    .fa-cookie {
        padding: 16px;
        bottom: 12px;
    }

    .fa-cookie__actions {
        margin-left: 0;
        width: 100%;
    }

    .fa-cookie__btn {
        flex: 1 1 auto;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fa-cookie {
        animation: none;
        transform: translateX(-50%);
    }

    .fa-cookie--hidden {
        animation: none;
        display: none;
    }
}
