/* ========== MODERN NAVİGASYON ========== */
.main-nav { background: var(--nav-bg); position: relative; z-index: 100; }
.nav-wrap { display: flex; align-items: center; height: 52px; gap: 0; }

/* Logo */
.nav-logo { flex-shrink: 0; margin-right: 10px; display: flex; align-items: center; }
.nav-logo img, .nav-logo .custom-logo { max-height: 30px; width: auto; filter: brightness(0) invert(1); }
.nav-logo .site-title-text { font-size: 18px; font-weight: 900; color: #fff; white-space: nowrap; }

/* Menü */
.nav-center { flex: 1; min-width: 0; overflow: hidden; }
.nav-menu { display: flex; align-items: center; overflow: hidden; white-space: nowrap; margin: 0; padding: 0; list-style: none; }
.nav-menu li { flex-shrink: 0; position: relative; }
.nav-menu li a { display: flex; align-items: center; gap: 5px; color: rgba(255,255,255,0.9); font-size: 12px; font-weight: 600; padding: 0 10px; height: 52px; text-transform: uppercase; white-space: nowrap; letter-spacing: 0.3px; transition: all 0.2s; }
.nav-menu li a:hover { background: rgba(255,255,255,0.12); color: #fff; }
.nav-menu li a i { font-size: 12px; opacity: 0.7; }

/* Alt menü */
.nav-menu .sub-menu { position: absolute; top: 100%; left: 0; background: #fff; min-width: 200px; box-shadow: 0 8px 24px rgba(0,0,0,0.12); border-radius: 0 0 8px 8px; opacity: 0; visibility: hidden; transform: translateY(5px); transition: all 0.2s; z-index: 200; }
.nav-menu li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-menu .sub-menu li a { color: #333; font-size: 13px; padding: 10px 16px; height: auto; text-transform: none; font-weight: 500; }
.nav-menu .sub-menu li a:hover { background: #f5f5f5; color: var(--primary); }

/* Sağ butonlar */
.nav-right { display: flex; align-items: center; margin-left: auto; flex-shrink: 0; gap: 2px; }
.nav-social { color: rgba(255,255,255,0.6); font-size: 13px; width: 32px; height: 52px; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.nav-social:hover { color: #fff; }
.nav-icon { color: rgba(255,255,255,0.9); font-size: 15px; width: 40px; height: 52px; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.nav-icon:hover { background: rgba(255,255,255,0.12); color: #fff; }

/* Sticky */
.sticky-nav.is-sticky { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; box-shadow: 0 2px 12px rgba(0,0,0,0.2); animation: slideDown 0.3s ease; }
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: translateY(0); } }

/* ========== ARAMA POPUP (Ortada) ========== */
.search-popup { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.9); width: 90%; max-width: 560px; background: #fff; border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,0.3); z-index: 3000; opacity: 0; visibility: hidden; transition: all 0.3s ease; padding: 0; }
.search-popup.active { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
.search-popup-header { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; border-bottom: 1px solid #eee; }
.search-popup-header h3 { font-size: 17px; font-weight: 700; margin: 0; color: #1a1a1a; }
.search-popup-close { font-size: 20px; color: #999; padding: 4px; cursor: pointer; border: none; background: none; }
.search-popup-close:hover { color: var(--primary); }
.search-popup-input-wrap { display: flex; gap: 10px; padding: 20px 24px; }
.search-popup-input { flex: 1; padding: 14px 18px; border: 2px solid #eee; border-radius: 10px; font-size: 15px; outline: none; transition: border-color 0.2s; }
.search-popup-input:focus { border-color: var(--primary); }
.search-popup-btn { padding: 14px 24px; background: var(--primary); color: #fff; border: none; border-radius: 10px; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.search-popup-btn:hover { opacity: 0.9; }
.search-popup-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); z-index: 2500; opacity: 0; visibility: hidden; transition: all 0.3s; backdrop-filter: blur(2px); }
.search-popup-overlay.active { opacity: 1; visibility: visible; }

/* ========== MOBİL SİDEBAR ========== */
.mobile-sidebar { position: fixed; top: 0; right: -320px; width: 300px; height: 100vh; background: #fff; z-index: 3000; transition: right 0.3s ease; overflow-y: auto; box-shadow: -4px 0 20px rgba(0,0,0,0.2); }
.mobile-sidebar.active { right: 0; }
.mobile-sidebar-header { display: flex; align-items: center; justify-content: space-between; padding: 15px 20px; border-bottom: 1px solid #eee; }
.mobile-sidebar-header .site-logo img { max-height: 28px; }
.mobile-close-btn { font-size: 22px; color: #333; padding: 5px; cursor: pointer; border: none; background: none; }
.mobile-logo-img { max-height: 28px; }
.mobile-nav-menu { padding: 8px 0; list-style: none; margin: 0; }
.mobile-nav-menu li { border-bottom: 1px solid #f0f0f0; }
.mobile-nav-menu li a { display: flex; align-items: center; gap: 8px; padding: 13px 20px; font-size: 14px; font-weight: 500; color: #333; min-height: 48px; }
.mobile-nav-menu li a:hover { background: #f8f8f8; color: var(--primary); }
.mobile-nav-menu .sub-menu { background: #fafafa; list-style: none; margin: 0; padding: 0; }
.mobile-nav-menu .sub-menu li a { padding-left: 40px; font-size: 13px; }
.mobile-sidebar-footer { padding: 15px 20px; display: flex; gap: 10px; border-top: 1px solid #eee; }
.mobile-sidebar-footer a { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: #f5f5f5; border-radius: 50%; color: #555; font-size: 14px; }
.mobile-sidebar-footer a:hover { background: var(--primary); color: #fff; }
.mobile-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); z-index: 2500; opacity: 0; visibility: hidden; transition: all 0.3s; }
.mobile-overlay.active { opacity: 1; visibility: visible; }
.mobile-menu-btn { display: none !important; }
