/* VEDOMASTER - Tam Kapsamlı Güncel Stil Dosyası (Modern Glassmorphism Sürümü) */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Siyah yerine Derin Lacivert / Slate Koyu Arka Plan */
    --koyu-arkaplan: #0f172a;
    --koyu-arkaplan-gradient: radial-gradient(circle at top left, #1e293b 0%, #0f172a 50%, #090d16 100%);
    
    /* Ana Vurgu Rengi ve Glassmorphism Katmanları */
    --ana-renk: #00c6ff; 
    --ana-renk-soft: rgba(0, 198, 255, 0.15);
    --border-glass: rgba(255, 255, 255, 0.12);
    --bg-glass: rgba(30, 41, 59, 0.45);
    
    /* AI Sohbet Renkleri (Cam Temasına Uygun) */
    --ai-bg-dark: rgba(15, 23, 42, 0.85);
    --ai-header-bg: rgba(30, 41, 59, 0.9);
    --ai-body-bg: rgba(15, 23, 42, 0.6);
    
    /* Temsilci Mesaj Renkleri */
    --temsilci-mavi-bg: rgba(0, 123, 255, 0.15);
    --temsilci-mavi-yazi: #e0f2fe;
}

html { 
    scroll-behavior: smooth; 
}

body {
    background: var(--koyu-arkaplan-gradient) !important;
    background-attachment: fixed !important;
    font-family: 'Poppins', sans-serif !important;
    color: #f8fafc;
    margin: 0; padding: 0; 
    overflow-x: hidden;
}

/* --- LOGO / TITLE: AMBİYANS VE PARILTI --- */
.navbar-brand {
    font-size: 1.8rem !important;
    font-weight: 800 !important;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 50%, #00c6ff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    display: inline-block;
    filter: drop-shadow(0 0 10px rgba(79, 172, 254, 0.3));
}

.navbar-brand:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px rgba(0, 242, 254, 0.6));
}

.navbar-brand::after {
    content: '';
    position: absolute;
    width: 0; height: 3px; bottom: -4px; left: 0;
    background: linear-gradient(90deg, #00f2fe, #4facfe, #00c6ff);
    transition: width 0.4s ease-in-out;
    border-radius: 10px;
    opacity: 0;
}

.navbar-brand:hover::after {
    width: 100%;
    opacity: 1;
}

/* --- ŞEFFAF HAP MENÜ LİNKLERİ --- */
.navbar-nav .nav-link {
    position: relative;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    color: rgba(241, 245, 249, 0.85) !important;
    display: flex;
    align-items: center;
    padding: 0.55rem 1rem !important;
    border-radius: 50rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
}

.navbar-nav .nav-link:hover {
    transform: translateY(-2px);
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.navbar-nav .nav-link::after {
    display: none; /* Hap tasarımı kullandığımız için alt çizgiyi kaldırdık */
}

/* --- DİNAMİK BUTON VE RENK SINIFLARI --- */
.text-klas { color: var(--ana-renk) !important; }

.btn-klas { 
    background: linear-gradient(135deg, #00c6ff, #0072ff) !important; 
    color: #fff !important; 
    border: none; 
    transition: all 0.3s ease;
    font-weight: 600;
    border-radius: 50rem;
    box-shadow: 0 4px 15px rgba(0, 198, 255, 0.3);
}

.btn-klas:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 10px 25px rgba(0, 198, 255, 0.5); 
    filter: brightness(1.15);
}

.btn-outline-klas {
    border: 1px solid rgba(0, 198, 255, 0.5) !important;
    color: var(--ana-renk) !important;
    background: rgba(0, 198, 255, 0.05);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    border-radius: 50rem;
}

.btn-outline-klas:hover {
    background-color: var(--ana-renk) !important;
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(0, 198, 255, 0.4);
}

.hov-renk { transition: 0.3s; }
.hov-renk:hover { color: var(--ana-renk) !important; }

/* --- KART TASARIMLARI (GLASSMORPHISM) --- */
.card {
    background: var(--bg-glass) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass) !important;
    border-radius: 20px !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card:hover {
    transform: translateY(-8px);
    background: rgba(30, 41, 59, 0.65) !important;
    border-color: rgba(0, 198, 255, 0.4) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 198, 255, 0.2) !important;
}

/* --- HERO TİPOGRAFİ --- */
.hero-title { font-size: 3.5rem; letter-spacing: -1.5px; line-height: 1.2; font-weight: 800; }
.hero-subtitle { font-size: 1.35rem; line-height: 1.6; color: rgba(241, 245, 249, 0.7); }

@media (max-width: 768px) {
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1.1rem; }
}

/* --- ORTAK ANİMASYONLAR VE GEÇİŞLER --- */
.transition-up { transition: all 0.3s ease; }
.transition-up:hover { transform: translateY(-8px); }

/* --- İÇERİK VE BOŞLUK ÇÖZÜMLERİ --- */
.editor-output { line-height: 1.8 !important; word-wrap: break-word; }
.editor-output p { margin-bottom: 25px !important; display: block !important; }
.editor-output img { max-width: 100%; height: auto; border-radius: 15px; margin: 20px 0; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.editor-output ul, .editor-output ol { margin-bottom: 25px !important; padding-left: 20px; }
.editor-output li { margin-bottom: 10px; }

/* --- FOOTER & SAYFA HERO --- */
.hvr-forward { transition: 0.3s; display: inline-block; }
.hvr-forward:hover { 
    transform: translateX(5px); 
    color: var(--ana-renk) !important; 
    text-shadow: 0 0 10px var(--ana-renk);
}

.page-hero {
    height: 400px;
    background-size: cover !important;
    background-position: center !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    position: relative;
}

/* --- MODERNIZE EDILMIŞ ŞEFFAF AI SOHBET TASARIMI --- */
.ai-chat-container { 
    position: fixed; bottom: 30px; right: 30px; z-index: 9999; 
}

.ai-toggle-btn { 
    width: 65px; height: 65px; border-radius: 50%; 
    background: linear-gradient(135deg, #00c6ff, #0072ff); border: none; color: white; 
    font-size: 28px; cursor: pointer; box-shadow: 0 8px 25px rgba(0, 198, 255, 0.4); 
    display: flex; align-items: center; justify-content: center; transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
}

.ai-toggle-btn:hover { transform: scale(1.1) rotate(10deg); box-shadow: 0 12px 30px rgba(0, 198, 255, 0.6); }

.ai-chat-box { 
    width: 360px; height: 550px; 
    background: var(--ai-bg-dark); 
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass); 
    border-radius: 24px; 
    position: absolute; bottom: 85px; right: 0; display: none; 
    flex-direction: column; overflow: hidden; 
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6); 
}

.ai-chat-header { 
    background: var(--ai-header-bg); padding: 18px; display: flex; 
    justify-content: space-between; align-items: center; 
    border-bottom: 1px solid var(--border-glass); 
}

.ai-avatar { 
    position: relative; width: 42px; height: 42px; 
    background: linear-gradient(135deg, #00c6ff, #0072ff); 
    border-radius: 50%; display: flex; align-items: center; justify-content: center; 
}

.online-dot { 
    position: absolute; bottom: 2px; right: 2px; width: 10px; height: 10px; 
    background: #00e676; border: 2px solid #0f172a; border-radius: 50%; 
}

.ai-chat-body { 
    flex: 1; padding: 20px; overflow-y: auto; display: flex; 
    flex-direction: column; gap: 15px; background: var(--ai-body-bg); 
    scroll-behavior: smooth;
}

/* SOHBET BALONCUKLARI (GLASSMORPHISM UYUMLU) */
.ai-message { 
    max-width: 85%; padding: 12px 16px; font-size: 13.5px; line-height: 1.6; 
    position: relative; transition: 0.3s;
}

/* TEMSİLCİ / BOT */
.ai-message.bot { 
    background: var(--temsilci-mavi-bg); 
    color: var(--temsilci-mavi-yazi); 
    align-self: flex-start; 
    border-radius: 18px 18px 18px 4px;
    border: 1px solid rgba(0, 198, 255, 0.2);
    backdrop-filter: blur(8px);
}

/* KULLANICI */
.ai-message.user { 
    background: linear-gradient(135deg, #00c6ff, #0072ff); 
    color: #fff; 
    font-weight: 500;
    align-self: flex-end; 
    border-radius: 18px 18px 4px 18px; 
    box-shadow: 0 4px 15px rgba(0, 198, 255, 0.3);
}

.ai-message b {
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    text-transform: uppercase;
    opacity: 0.8;
}

.chat-copyright { 
    padding: 10px 15px; background: var(--ai-bg-dark); 
    border-top: 1px solid rgba(255,255,255,0.05); 
    display: flex; justify-content: space-between; align-items: center; 
    font-size: 11px; color: rgba(255,255,255,0.4); 
}

.chat-copyright a { color: var(--ana-renk); text-decoration: none; font-weight: 600; }

.ai-chat-footer { 
    padding: 15px; background: var(--ai-header-bg); display: flex; 
    gap: 10px; border-top: 1px solid var(--border-glass); 
}

.ai-chat-footer input { 
    flex: 1; background: rgba(15, 23, 42, 0.8); border: 1px solid var(--border-glass); color: white; 
    padding: 10px 15px; border-radius: 25px; outline: none; font-size: 14px; 
    transition: 0.3s;
}

.ai-chat-footer input:focus { border-color: var(--ana-renk); box-shadow: 0 0 12px rgba(0, 198, 255, 0.3); }

.ai-chat-footer button { 
    background: linear-gradient(135deg, #00c6ff, #0072ff); border: none; color: #fff; 
    width: 42px; height: 42px; border-radius: 50%; cursor: pointer; 
    display: flex; align-items: center; justify-content: center; 
    transition: 0.3s; font-size: 18px;
}

.ai-chat-footer button:hover { transform: rotate(10deg) scale(1.1); filter: brightness(1.15); }

/* Scrollbar Tasarımı */
.ai-chat-body::-webkit-scrollbar { width: 4px; }
.ai-chat-body::-webkit-scrollbar-track { background: transparent; }
.ai-chat-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 10px; }

#messageDisplay {
    height: 400px;
    overflow-y: auto;
}