/* ==========================================================================
   BAYKUŞ SOFTWARE - CENTRAL HUB & PORTAL DESIGN SYSTEM
   Dark Neon Glassmorphism Aesthetic
========================================================================== */

:root {
  --bg-dark: #0b1120;
  --bg-card: #1e293b;
  --bg-card-hover: #334155;
  
  --primary: #e11d48;
  --primary-light: #fb7185;
  
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  
  --border-card: rgba(255, 255, 255, 0.1);
  --border-glow: rgba(225, 29, 72, 0.3);
  
  --font-main: 'Plus Jakarta Sans', sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
  
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { font-size: 16px; background-color: var(--bg-dark); color: var(--text-main); }
body { font-family: var(--font-main); min-height: 100vh; overflow-x: hidden; position: relative; line-height: 1.6; }

/* AMBIENT GLOW & PARTICLES */
.ambient-glow { position: fixed; border-radius: 50%; filter: blur(140px); pointer-events: none; z-index: 0; opacity: 0.15; }
.glow-1 { top: -10%; left: 20%; width: 500px; height: 500px; background: var(--primary); }
.glow-2 { bottom: -10%; right: 20%; width: 600px; height: 600px; background: var(--primary-light); }

.grid-overlay {
  position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: 0.15;
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* HUB WRAPPER */
.hub-wrapper { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; padding: 60px 24px; }

/* HEADER */
.hub-header { text-align: center; margin-bottom: 48px; display: flex; flex-direction: column; align-items: center; }

.brand-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; background: rgba(225, 29, 72, 0.15);
  border: 1px solid rgba(225, 29, 72, 0.4); border-radius: 30px; font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  color: var(--primary); margin-bottom: 24px;
}
.badge-dot { width: 6px; height: 6px; background: var(--primary); border-radius: 50%; box-shadow: 0 0 10px var(--primary); }

.logo-box { margin-bottom: 16px; max-width: 100%; display: flex; justify-content: center; }
.owl-logo { filter: drop-shadow(0 0 20px rgba(225, 29, 72, 0.4)); transition: transform 0.4s var(--ease); width: 64px; height: 64px; border-radius: 12px; max-width: 100%; object-fit: contain; }
.logo-box:hover .owl-logo { transform: scale(1.08) rotate(3deg); }

.hub-title { font-family: var(--font-display); font-size: clamp(32px, 6vw, 56px); font-weight: 700; letter-spacing: -1px; background: linear-gradient(135deg, #fff 0%, #94a3b8 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 8px; line-height: 1.1; overflow-wrap: break-word; text-align: center; }
.hub-subtitle { font-size: clamp(14px, 4vw, 16px); color: var(--text-muted); max-width: 500px; margin-bottom: 24px; padding: 0 10px; line-height: 1.5; overflow-wrap: break-word; }

.lang-switch button {
  padding: 6px 16px; background: rgba(255,255,255,0.05); border: 1px solid var(--border-card); border-radius: 20px;
  color: var(--text-muted); font-size: 12px; font-weight: 600; cursor: pointer; transition: 0.3s;
}
.lang-switch button:hover { border-color: var(--primary); color: #fff; }
.active-lang { color: var(--primary); font-weight: 700; }

/* SEARCH BAR */
.search-container { margin-bottom: 40px; }
.search-input-wrap {
  position: relative; display: flex; align-items: center; background: var(--bg-card); border: 1px solid var(--border-card);
  border-radius: 16px; padding: 0 20px; transition: border-color 0.3s, box-shadow 0.3s;
}
.search-input-wrap:focus-within { border-color: var(--primary); box-shadow: 0 0 24px rgba(225, 29, 72, 0.15); }
.search-input-wrap svg { color: var(--text-muted); margin-right: 12px; }
.search-input-wrap input { width: 100%; height: 54px; background: transparent; border: none; outline: none; color: #fff; font-family: var(--font-main); font-size: 15px; }
.search-input-wrap input::placeholder { color: var(--text-muted); }

/* PROJECTS GRID */
.projects-grid { display: flex; flex-direction: column; gap: 20px; margin-bottom: 60px; }

.project-card {
  position: relative; display: grid; grid-template-columns: 50px 48px 1fr 40px; align-items: center; gap: 20px;
  padding: 24px 28px; background: var(--bg-card); border: 1px solid var(--border-card); border-radius: 20px;
  text-decoration: none; color: inherit;
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.project-card:hover {
  transform: translateY(-4px); border-color: var(--border-glow); background: var(--bg-card-hover);
  box-shadow: 0 12px 32px rgba(225, 29, 72, 0.12), inset 0 0 20px rgba(225, 29, 72, 0.05);
}

.card-num { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--text-muted); opacity: 0.5; }
.card-icon { font-size: 28px; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: rgba(255,255,255,0.04); border-radius: 14px; border: 1px solid rgba(255,255,255,0.06); }

.card-body { display: flex; flex-direction: column; gap: 4px; overflow: hidden; }
.card-tag { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: 1px; color: var(--primary); text-transform: uppercase; margin-bottom: 2px; }

.card-title { font-family: var(--font-display); font-size: clamp(18px, 4vw, 20px); font-weight: 700; color: #fff; line-height: 1.2; overflow-wrap: break-word; }
.card-desc { font-size: 13px; color: var(--text-muted); line-height: 1.4; font-weight: 500; overflow-wrap: break-word; }
.card-url { font-family: var(--font-display); font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.4); margin-top: 4px; transition: color 0.3s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.project-card:hover .card-url { color: var(--primary); }

.card-arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border-card); display: flex; align-items: center; justify-content: center; color: var(--text-muted); transition: 0.3s; }
.project-card:hover .card-arrow { background: var(--primary); border-color: var(--primary); color: #fff; transform: translate(4px, -4px); }

/* FOOTER */
.hub-footer { border-top: 1px solid var(--border-card); padding-top: 40px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.footer-brand { font-size: 14px; color: var(--text-muted); }
.footer-brand strong { color: #fff; }

.footer-contact { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; font-size: 14px; }
.footer-contact a { color: var(--text-muted); text-decoration: none; transition: color 0.3s; }
.footer-contact a:hover { color: var(--primary); }
.main-site-btn { font-weight: 700; color: var(--primary) !important; padding: 4px 12px; border: 1px solid var(--border-glow); border-radius: 20px; background: rgba(225, 29, 72, 0.05); }

.footer-copy { font-size: 12px; color: rgba(255,255,255,0.3); margin-top: 10px; }

/* RESPONSIVE */
@media (max-width: 680px) {
  .project-card { grid-template-columns: 36px 1fr 32px; gap: 14px; padding: 20px; }
  .card-icon { display: none; }
  .hub-wrapper { padding: 40px 16px; }
  .footer-contact { flex-direction: column; gap: 12px; }
}
