body {
  font-family: "Poppins", sans-serif;
  background-color: #0f172a;
  color: #f8fafc;
}
.navbar-brand {
  letter-spacing: 0.5px;
}
.nav-link {
  transition: color 0.3s ease;
}
.nav-link:hover {
  color: #8b5cf6 !important;
}
footer a:hover {
  color: #3b82f6 !important;
}
/* Yazılımlar bölümü için premium arka plan */
.yazilimlar-section {
  position: relative;
  background: radial-gradient(circle at center, rgba(13, 110, 253, 0.1) 0%, rgba(13, 110, 253, 0.03) 80%, transparent 100%);
  backdrop-filter: blur(10px);
  overflow: hidden;
  z-index: 1;
}

/* Arkaya neon efekt */
.yazilimlar-section::before {
  content: "";
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 300px;
  background: radial-gradient(circle at center, rgba(13,110,253,0.25), rgba(255,0,150,0.15), transparent 70%);
  filter: blur(80px);
  z-index: 0;
  opacity: 0.8;
}

/* Kartlar önde kalacak */
.yazilimlar-section .card {
  position: relative;
  z-index: 2;
}

/* 📌 Referans Kart Mobil Düzenleme */
.ref-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    width: 100%;
    margin: 0 auto;
    padding: 0 10px;
}

.ref-item {
    width: 160px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    transition: .3s;
}

/* LOGO */
.ref-item img {
    max-width: 120px;
    max-height: 50px;
    object-fit: contain;
}

/* 🌙 Hover efekt */
.ref-item:hover {
    background: rgba(255,255,255,0.18);
    transform: translateY(-3px);
}

/* 🔧 Mobil Fix */
@media(max-width: 576px){
    .ref-item {
        width: calc(50% - 12px) !important;
        height: 70px;
        margin: 0;
    }

    .ref-item img {
        max-width: 100px;
        max-height: 45px;
    }

    .ref-wrapper {
        padding: 0 5px;
    }
}

/* 📌 Genel mobil kayma düzeltici */
html, body {
    overflow-x: hidden !important;
}
/* 📌 REFERANSLAR GENEL ALAN */
.referanslar-section {
    padding-top: 40px;
    padding-bottom: 40px;
}

/* Liste alanı */
.ref-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 0 15px;
}

/* Tek kutu */
.ref-item {
    width: 180px;
    height: 90px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s ease;
    text-decoration: none;
    overflow: hidden;
}

.ref-item:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-4px);
}

/* Logo Boyutu */
.ref-item img {
    max-width: 130px;
    max-height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.25));
}

/* 🔧 Mobil Optimize */
@media (max-width: 576px) {
    .ref-item {
        width: 48%;
        height: 80px;
    }
    .ref-item img {
        max-width: 100px;
        max-height: 40px;
    }
}

/* Taşma engelleme */
body, html {
    overflow-x: hidden !important;
}


#ai-btn{
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #00c8ff;
    color: #000;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0,200,255,.5);
    z-index: 9999;
}

#ai-box{
    position: fixed;
    bottom: 110px;
    right: 25px;
    width: 350px;
    height: 480px;
    background: #0a0f1c;
    border: 1px solid #00c8ff;
    border-radius: 12px;
    display: none;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 0 25px rgba(0,200,255,.3);
    z-index: 9999;
}

.ai-header{
    background: #001a2c;
    padding: 12px;
    color: #00c8ff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#ai-messages{
    flex: 1;
    padding: 12px;
    overflow-y: auto;
    font-size: 14px;
}

.ai-input{
    display: flex;
    border-top: 1px solid #00304f;
}

.ai-input input{
    flex: 1;
    background: #07111d;
    border: none;
    padding: 10px;
    color: white;
}

.ai-input button{
    background: #00c8ff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    color: #000;
}
/* AI CHAT BUTTON */
#ai-btn{
    position: fixed;
    bottom: 22px;
    right: 22px;
    width: 65px;
    height: 65px;
    background: #00c8ff;
    color: #000;
    font-size: 32px;
    border-radius: 50%;
    display: flex;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0,200,255,.6);
    z-index: 999999;
    transition: .2s;
}
#ai-btn:hover{
    transform: scale(1.08);
}

/* AI BOX */
#ai-box{
    position: fixed;
    bottom: 100px;
    right: 22px;
    width: 350px;
    height: 470px;
    background: #0a0f1c;
    border-radius: 12px;
    border: 1px solid #00c8ff;
    box-shadow: 0 0 25px rgba(0,200,255,.4);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 999999;
}

/* Header */
.ai-header{
    background: #001a2c;
    color: #00c8ff;
    padding: 12px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.ai-close{
    background: none;
    color: #fff;
    border: none;
    font-size: 22px;
    cursor: pointer;
}

/* Messages */
#ai-messages{
    flex: 1;
    padding: 12px;
    overflow-y: auto;
}
.msg{
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.4;
    max-width: 90%;
}
.msg.user{
    background: #005d96;
    color: #fff;
    margin-left: auto;
}
.msg.bot{
    background: #062030;
    color: #d6eaff;
    margin-right: auto;
}

/* Input */
.ai-input{
    display: flex;
    border-top: 1px solid #00324e;
}
.ai-input input{
    flex: 1;
    padding: 10px;
    background: #07101d;
    border: none;
    color: #fff;
}
.ai-input button{
    background: #00c8ff;
    color: #000;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-weight: 600;
}

/* Chat butonu */
#evrenlerAI_btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: #00c3ff;
    color: #000;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 0 15px #00c3ff;
    transition: .3s;
}

#evrenlerAI_btn:hover {
    transform: scale(1.1);
}

/* Panel */
#evrenlerAI_panel {
    position: fixed;
    right: 20px;
    bottom: 90px;
    width: 330px;
    height: 420px;
    background: #0d111a;
    border: 1px solid #00c3ff55;
    border-radius: 12px;
    display: none;
    flex-direction: column;
    z-index: 99999;
    box-shadow: 0 0 20px #00c3ff55;
}

#evrenlerAI_panel.open {
    display: flex;
}

/* Header */
#evrenlerAI_header {
    padding: 10px;
    background: #00c3ff22;
    border-bottom: 1px solid #00c3ff55;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
}

#evrenlerAI_close {
    background: none;
    border: none;
    font-size: 22px;
    color: #fff;
    cursor: pointer;
}

/* Mesaj alanı */
#evrenlerAI_messages {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    color: #eee;
}

.msg.user {
    background: #007bff33;
    padding: 8px;
    margin-bottom: 6px;
    border-radius: 6px;
}

.msg.bot {
    background: #00c3ff33;
    padding: 8px;
    margin-bottom: 6px;
    border-radius: 6px;
}

/* Input */
#evrenlerAI_inputBox {
    padding: 8px;
    display: flex;
    gap: 5px;
}

#evrenlerAI_input {
    flex: 1;
    padding: 7px;
    border-radius: 6px;
    border: 1px solid #333;
    background: #111722;
    color: #eee;
}

#evrenlerAI_send {
    background: #00c3ff;
    border: none;
    padding: 7px 12px;
    border-radius: 6px;
    cursor: pointer;
}
