/* Temel stil ayarları */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #111827; /* Koyu gri (Tailwind bg-gray-900) */
    color: #f3f4f6; /* Açık gri (Tailwind text-gray-100) */
    /* Mobil alttaki navbar için altta boşluk bırak */
    padding-bottom: 80px; /* Mobil navbar yüksekliği kadar */
}

/* Sayfa geçiş animasyonu */
.page-content {
    animation: fadeIn 0.5s ease-in-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* PC'de aktif menü linki */
.pc-nav-link.active {
    color: #38bdf8; /* Tailwind color-sky-400 */
    border-bottom: 2px solid #38bdf8;
}

/* Mobil'de aktif menü linki */
.mobile-nav-link.active {
    color: #38bdf8; /* Tailwind color-sky-400 */
}

/* Hizmet kartları için parlama efekti */
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 191, 255, 0.1);
}

/* Gönder butonu stili */
.btn-primary {
    background: linear-gradient(90deg, #38bdf8, #3b82f6);
    transition: all 0.3s ease;
}
.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

/* Telefon Mockup için scrollbar gizleme */
.phone-screen::-webkit-scrollbar {
    display: none;
}
.phone-screen {
    -ms-overflow-style: none; /* IE ve Edge */
    scrollbar-width: none; /* Firefox */
}
/* === CHAT ASİSTANI STİLLERİ === */
#chat-widget-container {
    position: fixed;
    right: 2rem; /* 32px sağdan */
    z-index: 1000;
    
    /* Masaüstü (md ve üstü) için varsayılan konum */
    bottom: 2rem; /* 32px alttan */
    transition: bottom 0.3s ease; /* Ekran boyutuna göre yumuşak geçiş */
}

/* Telefon görünümü (md breakpoint'i 768px'dir)
  768px altındayken, alttaki mobil navbar (80px) + 1rem (16px) boşluk payı ekle.
*/
@media (max-width: 767.98px) {
    #chat-widget-container {
        /* 80px (navbar) + 16px (boşluk) = 96px */
        bottom: 6rem; 
    }
}

/* Açılma/Kapanma animasyonları */
#chat-window {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#chat-window.active {
    display: flex; /* hidden'dan flex'e geçiş */
    opacity: 1;
    transform: translateY(0);
}

#chat-bubble.hidden {
    display: none;
}

#chat-window.hidden {
    display: none;
}

/* Mesaj Baloncukları */
.chat-bubble-bot {
    background-color: #374151; /* gray-700 */
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 1rem 1rem 1rem 0;
    align-self: flex-start;
    max-width: 80%;
    word-wrap: break-word;
}

.chat-bubble-user {
    background: linear-gradient(90deg, #38bdf8, #3b82f6);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 1rem 1rem 0 1rem;
    align-self: flex-end;
    max-width: 80%;
    word-wrap: break-word;
}

#chat-messages {
    display: flex;
    flex-direction: column;
}