/* ===== SEFA AYDIN - SHARED DESIGN SYSTEM ===== */
/* v1.0 - Tüm sayfalar tarafından paylaşılan ortak stiller */

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  --bg: #F5F5F7;
  --bg-white: #FFFFFF;
  --accent: #1D1D1F;
  --accent-blue: #4285F4;
  --accent-soft: rgba(66, 133, 244, 0.06);
  --gradient: linear-gradient(135deg, #4285F4, #00B4D8, #00C9A7);
  --gemini-gradient: linear-gradient(135deg, #4285F4, #00B4D8, #00C9A7, #4285F4);
  --gemini-static: linear-gradient(135deg, #4285F4, #00B4D8, #00C9A7);
  --gradient-border: linear-gradient(135deg, #4285F4, #00B4D8, #00C9A7);
  --green: #34C759;
  --green-soft: rgba(52, 199, 89, 0.1);
  --orange: #FF9F0A;
  --orange-soft: rgba(255, 159, 10, 0.1);
  --red: #FF453A;
  --red-soft: rgba(255, 69, 58, 0.08);
  --text: #1D1D1F;
  --text-secondary: #6E6E73;
  --text-muted: #86868B;
  --border: rgba(0, 0, 0, 0.06);
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-bg-strong: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  --radius: 20px;
  --radius-sm: 14px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

/* ===== BASE RESET ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; overflow-x: hidden; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-wrap: pretty;
}

a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

.cursor-glow { display: none; }

/* ===== NEURAL CANVAS ===== */
#neuralCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.22;
}

@media (max-width: 768px) {
  #neuralCanvas { opacity: 0.15; }
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: rgba(29, 29, 31, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 20px 24px;
  transform: translateY(100%);
  transition: transform 0.5s var(--ease);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-text {
  flex: 1;
  min-width: 280px;
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  line-height: 1.5;
}
.cookie-text a {
  color: var(--accent-blue);
  text-decoration: underline;
}
.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-btn {
  padding: 10px 22px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.cookie-accept {
  background: var(--accent-blue);
  color: #fff;
  border: none;
}
.cookie-accept:hover { background: #3a6ce0; }
.cookie-reject {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.2);
}
.cookie-reject:hover {
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}

/* ===== GRAIN OVERLAY ===== */
.grain {
  position: fixed; inset: -50%; width: 200%; height: 200%;
  z-index: 9998; pointer-events: none; opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===== SCROLL PROGRESS ===== */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px;
  background: var(--gradient);
  z-index: 1001; transform-origin: left; transform: scaleX(0); width: 100%;
}

/* ===== CONTAINER ===== */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%;
  z-index: 100; padding: 18px 0;
  transition: all 0.5s var(--ease);
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(245,245,247,0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}

.navbar .container { display: flex; align-items: center; justify-content: space-between; position: relative; }

.nav-logo { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.03em; }
.nav-logo span { color: var(--text); font-weight: 800; }

.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.nav-links li { display: flex; align-items: center; }
.nav-links a { display: flex; align-items: center; line-height: 1; }

.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-icon-btn {
  width: 36px; height: 36px; border-radius: 50%; border: none;
  background: transparent; cursor: pointer; display: flex;
  align-items: center; justify-content: center;
  color: var(--text-secondary); transition: all 0.3s var(--ease);
}
.nav-icon-btn:hover { background: rgba(0,0,0,0.04); color: var(--text); }
.nav-icon-btn svg { width: 18px; height: 18px; }

.nav-auth-btn {
  font-size: 0.82rem; font-weight: 500; color: var(--text-secondary);
  transition: color 0.3s ease; padding: 8px 0; min-width: 80px; text-align: center;
  border-radius: 8px; font-family: var(--font);
  border: none; cursor: pointer; white-space: nowrap;
}
.nav-auth-btn.login { background: transparent; color: var(--text-secondary); display: inline-block; }

.nav-cta-btn {
  font-size: 0.82rem; font-weight: 600; color: #fff;
  background: var(--text); padding: 10px 24px; border-radius: 50px;
  transition: all 0.4s var(--ease); white-space: nowrap;
  font-family: var(--font); text-decoration: none;
}
.nav-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,180,216,0.3);
}

.nav-mega-sm { padding-top: 56px; }
.nav-mega-inner-sm { width: 560px; gap: 0; }
.nav-auth-btn.login:hover { color: var(--text); }
.nav-auth-btn.register { background: var(--accent); color: #fff; }
.nav-auth-btn.register:hover { background: var(--accent-blue); }

.nav-profile-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 6px; border-radius: 50px; border: none;
  background: rgba(66,133,244,0.06); cursor: pointer;
  font-family: var(--font); font-size: 0.78rem; font-weight: 600;
  color: var(--text); transition: all 0.3s var(--ease); white-space: nowrap;
}
.nav-profile-btn:hover { background: rgba(66,133,244,0.12); }
.nav-profile-avatar {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--gradient); display: flex; align-items: center;
  justify-content: center; font-size: 0.6rem; font-weight: 800; color: #fff;
}

/* ===== SEARCH OVERLAY ===== */
.search-overlay {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(245,245,247,0.92); backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  align-items: flex-start; justify-content: center; padding-top: 140px;
}
.search-overlay.active { display: flex; }
.search-box { width: 100%; max-width: 600px; padding: 0 24px; }
.search-input-wrap {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-white); border-radius: 16px;
  border: 1px solid var(--border); padding: 16px 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}
.search-input-wrap svg { width: 20px; height: 20px; color: var(--text-muted); flex-shrink: 0; }
.search-input-wrap input {
  flex: 1; border: none; background: none; outline: none;
  font-family: var(--font); font-size: 1.05rem; color: var(--text);
}
.search-input-wrap input::placeholder { color: var(--text-muted); }
.search-close {
  border: none; background: rgba(0,0,0,0.06); border-radius: 8px;
  padding: 6px 12px; font-family: var(--font); font-size: 0.72rem;
  color: var(--text-muted); cursor: pointer; font-weight: 600;
}
.search-close:hover { background: rgba(0,0,0,0.1); }
.search-results {
  margin-top: 16px; background: var(--bg-white); border-radius: 16px;
  border: 1px solid var(--border); overflow: hidden; display: none;
}
.search-results.has-results { display: block; }
.search-result-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px; border-bottom: 1px solid var(--border);
  transition: background 0.2s; cursor: pointer; text-decoration: none; color: var(--text);
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: rgba(66,133,244,0.04); }
.search-result-item .icon { width: 32px; height: 32px; border-radius: 8px; background: var(--bg); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.search-result-item .icon svg { width: 16px; height: 16px; color: var(--accent-blue); }
.search-result-item .info { flex: 1; }
.search-result-item .info strong { font-size: 0.85rem; font-weight: 600; display: block; }
.search-result-item .info span { font-size: 0.72rem; color: var(--text-muted); }

.nav-links li { position: relative; }
.nav-links a {
  font-size: 0.82rem; font-weight: 500; color: var(--text-secondary);
  transition: color 0.4s ease, transform 0.4s var(--ease);
  position: relative; display: inline-block; will-change: transform;
}
.nav-links a:hover { color: var(--text); }

/* ===== MEGA DROPDOWN ===== */
.nav-dropdown-parent { position: static; }
.nav-mega {
  position: fixed;
  top: 0; left: 0; width: 100%;
  padding-top: 56px;
  background: rgba(255,255,255,0.98);
  backdrop-filter: saturate(180%) blur(40px);
  -webkit-backdrop-filter: saturate(180%) blur(40px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  z-index: 99;
  clip-path: inset(0 0 100% 0);
  opacity: 0;
  transition: clip-path 0.4s cubic-bezier(0.32,0.72,0,1) 0.1s,
              opacity 0.3s ease 0.1s;
  pointer-events: none;
}
.nav-dropdown-parent:hover .nav-mega,
.nav-mega:hover {
  clip-path: inset(0 0 0 0);
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0.15s;
}
.nav-mega-inner {
  width: 760px;
  margin: 0 auto;
  padding: 24px 0 32px;
  display: flex;
  justify-content: center;
  gap: 0;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.35s ease 0.12s, transform 0.35s cubic-bezier(0.32,0.72,0,1) 0.12s;
}
.nav-dropdown-parent:hover .nav-mega-inner {
  opacity: 1;
  transform: translateY(0);
}
.nav-mega-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 14px 16px; border-radius: 12px;
  transition: background 0.3s ease;
  color: var(--text);
  width: 190px; flex-shrink: 0;
}
.nav-mega-item:hover { background: rgba(0,0,0,0.04); }
.nav-mega-item svg {
  flex-shrink: 0; margin-top: 2px; width: 20px; height: 20px;
  color: var(--accent-blue);
}
.nav-mega-item div { overflow: hidden; }
.nav-mega-item strong {
  display: block; font-size: 0.78rem; font-weight: 700;
  letter-spacing: -0.01em; margin-bottom: 2px;
}
.nav-mega-item span {
  display: block; font-size: 0.66rem; color: var(--text-muted);
  font-weight: 400; line-height: 1.3;
}
@media (max-width: 768px) {
  .nav-mega { display: none !important; }
}

/* ===== HAMBURGER ===== */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  width: 24px; padding: 4px 0; z-index: 101;
}
.hamburger span {
  display: block; width: 100%; height: 1.5px;
  background: var(--text); border-radius: 2px;
  transition: all 0.4s var(--ease); transform-origin: center;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* ===== MOBILE MENU ===== */
.mobile-menu {
  display: none; position: fixed; inset: 0;
  background: rgba(245,245,247,0.95);
  backdrop-filter: saturate(180%) blur(30px);
  -webkit-backdrop-filter: saturate(180%) blur(30px);
  z-index: 99; flex-direction: column;
  align-items: center; justify-content: center; gap: 32px;
}
.mobile-menu.active { display: flex; }
.mobile-menu a { font-size: 1.5rem; font-weight: 700; color: var(--text); letter-spacing: -0.02em; }

/* ===== COMMON BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px;
  font-size: 0.875rem; font-weight: 600;
  transition: all 0.4s var(--ease); position: relative; overflow: hidden;
}
.btn-primary {
  background: var(--text); color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.btn-primary:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
}
.btn-gradient {
  background: var(--bg-white);
  color: var(--text);
  position: relative;
  border: none;
  z-index: 1;
}
.btn-gradient::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 52px;
  background: var(--gradient);
  z-index: -1;
  opacity: 0.7;
  transition: opacity 0.4s ease;
}
.btn-gradient::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50px;
  background: var(--bg-white);
  z-index: -1;
}
.btn-gradient:hover::before { opacity: 1; }
.btn-gradient:hover { box-shadow: 0 8px 32px rgba(0,180,216,0.15); }

.btn-glass {
  background: var(--text);
  color: #fff;
}

/* ===== SECTION TITLES ===== */
.section-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 16px; border-radius: 50px;
  background: var(--accent-soft);
  font-size: 0.72rem; font-weight: 700;
  color: var(--accent-blue); letter-spacing: 0.03em;
  text-transform: uppercase; margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
  color: var(--text);
}

.section-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 520px;
}

/* ===== RESPONSIVE BREAKPOINTS ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-auth-btn.login { display: none; }
  .nav-right .nav-icon-btn:first-child { display: none; }

  .container { padding: 0 16px; }
}

@media (max-width: 480px) {
  .cookie-inner { flex-direction: column; text-align: center; }
  .cookie-buttons { justify-content: center; }
}

/* ===== FOOTER ===== */
.footer { padding: 40px 0 24px; border-top: 1px solid var(--border); background: var(--bg-white); }
.footer-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--border); margin-bottom: 20px; }
.footer-brand { font-size: 0.95rem; color: var(--text); letter-spacing: -0.01em; }
.footer-brand strong { font-weight: 700; }
.footer-tagline { font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; }
.footer-nav { display: flex; gap: 24px; justify-content: center; }
.footer-nav a { font-size: 0.78rem; color: var(--text-secondary); transition: color 0.3s ease; }
.footer-nav a:hover { color: var(--text); }
.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.footer-social { display: flex; gap: 12px; margin-bottom: 12px; }
.social-icon { width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; color: var(--text-secondary); transition: all 0.3s ease; }
.social-icon:hover { background: var(--text); color: #fff; }
.footer-email { font-size: 0.78rem; color: var(--text-secondary); transition: color 0.3s ease; }
.footer-email:hover { color: var(--text); }
.footer-policy { font-size: 0.7rem; color: var(--text-muted); transition: color 0.3s ease; }
.footer-policy:hover { color: var(--text-secondary); }
.footer-bottom { text-align: center; }
.footer-copy { font-size: 0.72rem; color: var(--text-muted); }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 20px; }
  .footer-nav { justify-content: center; flex-wrap: wrap; gap: 16px; }
  .footer-right { align-items: center; }
}

/* ===== WHATSAPP BUTTON ===== */
.whatsapp-btn { position: fixed; bottom: 28px; right: 28px; z-index: 999; width: 56px; height: 56px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(37,211,102,0.35); transition: all 0.4s var(--ease); cursor: pointer; animation: whatsappPulse 3s ease-in-out infinite; }
.whatsapp-btn:hover { transform: scale(1.1) translateY(-2px); box-shadow: 0 8px 28px rgba(37,211,102,0.45); animation: none; }
.whatsapp-btn:active { transform: scale(0.95); }
.whatsapp-btn svg { width: 28px; height: 28px; fill: #fff; }
.whatsapp-tooltip { position: absolute; right: 68px; top: 50%; background: #fff; color: var(--text); font-size: 0.78rem; font-weight: 500; padding: 8px 14px; border-radius: 10px; box-shadow: 0 4px 16px rgba(0,0,0,0.1); white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.3s ease, transform 0.3s ease; transform: translateY(-50%) translateX(8px); }
.whatsapp-btn:hover .whatsapp-tooltip { opacity: 1; transform: translateY(-50%) translateX(0); }
.whatsapp-tooltip::after { content: ''; position: absolute; right: -6px; top: 50%; transform: translateY(-50%); border: 6px solid transparent; border-left-color: #fff; }
@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(37,211,102,0.35), 0 0 0 0 rgba(37,211,102,0.3); }
  50% { box-shadow: 0 4px 16px rgba(37,211,102,0.35), 0 0 0 10px rgba(37,211,102,0); }
}
@media (max-width: 768px) {
  .whatsapp-btn { bottom: 20px; right: 20px; width: 52px; height: 52px; }
  .whatsapp-btn svg { width: 26px; height: 26px; }
  .whatsapp-tooltip { display: none; }
  .cookie-banner.show ~ .whatsapp-btn { bottom: 90px; }
}

/* ===== SEARCH RESULTS (site-ui.js çıktısı) ===== */
.search-result {
  display: block; padding: 14px 18px; border-radius: 12px;
  text-decoration: none; transition: background 0.2s ease;
  margin-bottom: 4px;
}
.search-result:hover { background: rgba(66,133,244,0.06); }
.search-result-title { font-size: 0.92rem; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.search-result-desc { font-size: 0.78rem; color: var(--text-muted); }
.search-empty { padding: 24px; text-align: center; color: var(--text-muted); font-size: 0.85rem; }
