/* GENEL AYARLAR */
body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0f172a; 
    color: white;
    min-height: 100vh;
    overflow-y: auto; 
    display: flex;
    flex-direction: column;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: transparent;
    z-index: 9999;
    position: relative;
}

.logo { margin: 0; font-size: 24px; font-weight: bold; color: white; display: flex; align-items: center; gap: 8px;}

.menu { display: flex; gap: 15px; align-items: center; }

.menu-btn {
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 25px;
    background: #334155;
    color: #f8fafc;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s;
    border: none;
    cursor: pointer;
    font-family: inherit;
}
.menu-btn:hover { background: #475569; }

/* AÇILIR MENÜ */
.dropdown { position: relative; display: inline-block; }
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #1e293b;
    min-width: 240px;
    border-radius: 12px;
    box-shadow: 0px 15px 30px rgba(0,0,0,0.8);
    z-index: 10000;
    margin-top: 10px;
    overflow: hidden;
}
.dropdown:hover .dropdown-content { display: block; }
.dropdown-content a {
    color: #cbd5e1;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    text-align: left;
}
.dropdown-content a:hover { background-color: #334155; color: white; padding-left: 22px; transition: 0.3s; }

/* ANA İÇERİK VE VİDEO DÜZENİ */
.content-wrapper { display: flex; flex: 1; padding: 0 50px; position: relative; padding-bottom: 50px;}
.container {
    width: 55%;
    background: #1e293b;
    padding: 40px;
    border-radius: 20px;
    margin: auto 0;
    z-index: 10;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    text-align: left;
    position: relative;
}
.container h1 { text-align: center; font-size: 32px; margin-bottom: 10px; }
.container .subtitle { text-align: center; color: #94a3b8; margin-bottom: 30px; font-size: 15px; }

/* ARAMA KUTUSU */
.search-box form { display: flex; gap: 15px; margin-bottom: 30px; }
input[type="text"], textarea {
    flex: 1; padding: 15px; border-radius: 10px; border: none;
    background: #f1f5f9; color: #0f172a; font-size: 15px; outline: none; font-family: monospace;
}
.search-box button, .dynamic-btn {
    padding: 15px 25px; background: #00c9a7; color: white; border-radius: 10px;
    border: none; font-weight: bold; cursor: pointer; transition: 0.3s;
}
.search-box button:hover, .dynamic-btn:hover { background: #00a98a; transform: translateY(-2px); }

/* ÖZELLİKLER LİSTESİ VE KARTLAR */
.info h2 { font-size: 20px; margin-bottom: 15px; }
.info ul { line-height: 1.8; color: #cbd5e1; margin-bottom: 30px; }

.features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.card-link { text-decoration: none; color: inherit; display: block; transition: 0.3s; }
.card {
    background: rgba(255, 255, 255, 0.05); padding: 20px; border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.1); height: 100%; box-sizing: border-box; transition: 0.3s;
}
.card h3 { font-size: 18px; margin: 0 0 10px 0; color: #00c9a7; }
.card p { font-size: 14px; margin: 0; color: #94a3b8; line-height: 1.5; }
.card-link:hover .card { background: rgba(0, 201, 167, 0.1); border-color: #00c9a7; transform: translateY(-5px); }

/* VİDEO */
.video-container { position: absolute; right: 0; top: 0; width: 45%; height: 100%; z-index: 0; }
.video-container video { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; mask-image: linear-gradient(to right, transparent, black 30%); -webkit-mask-image: linear-gradient(to right, transparent, black 30%); }

/* CHATBOT WIDGET */
.chat-widget { position: fixed; bottom: 30px; right: 30px; width: 350px; background: #1e293b; border-radius: 15px; box-shadow: 0 15px 40px rgba(0,0,0,0.8); border: 1px solid #00c9a7; display: flex; flex-direction: column; overflow: hidden; z-index: 9999; transition: height 0.3s; height: 500px; }
.chat-widget.collapsed { height: 55px; cursor: pointer; }
.chat-header { background: #00c9a7; color: white; padding: 15px 20px; font-size: 16px; font-weight: bold; display: flex; justify-content: space-between; cursor: pointer; user-select: none; }
.chat-body { flex: 1; padding: 15px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; }
.message { max-width: 80%; padding: 12px 16px; border-radius: 15px; font-size: 14px; line-height: 1.5; word-wrap: break-word; }
.bot-message { background: #334155; color: #fff; align-self: flex-start; border-bottom-left-radius: 3px; }
.user-message { background: #00c9a7; color: #fff; align-self: flex-end; border-bottom-right-radius: 3px; }
.chat-footer { display: flex; padding: 15px; background: #0f172a; gap: 10px; }
.chat-footer input { flex: 1; padding: 12px; border-radius: 20px; border: none; outline: none; }
.chat-footer button { background: transparent; color: #00c9a7; border: none; font-weight: bold; cursor: pointer; }

/* 📱 MOBİL UYUMLULUK (RESPONSIVE TASARIM) */
@media screen and (max-width: 768px) {
    body { padding-bottom: 70px; }
    h1 { font-size: 24px !important; }
    h2 { font-size: 20px !important; }
    .navbar { flex-direction: column; text-align: center; gap: 15px; padding: 15px; height: auto; }
    .menu { flex-wrap: wrap; justify-content: center; gap: 5px; width: 100%; }
    .menu-btn { font-size: 12px; padding: 8px; width: 100%; box-sizing: border-box; text-align: center; }
    .content-wrapper { flex-direction: column; padding: 10px; }
    .container { width: 100% !important; padding: 20px; box-sizing: border-box; }
    .features { grid-template-columns: 1fr !important; }
    .video-container { display: none; }
    .chat-widget { width: 90%; right: 5%; bottom: 10px; }
    .chat-widget:not(.collapsed) { height: 400px; max-height: 80vh; }
}