/* --- Genel Ayarlar & Reset --- */
:root {
    --primary-color: #3b82f6;
    --primary-dark: #2563eb;
    --secondary-color: #6366f1;
    --accent-color: #8b5cf6;
    --bg-color: #050505; 
    --card-bg: rgba(20, 20, 23, 0.6);
    --text-color: #f1f5f9;
    --text-muted: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.08);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* --- Scrollbar Tasarımı --- */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* --- ARKA PLAN --- */
.background-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: var(--bg-color);
}

.bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    z-index: 2;
    animation: moveBlob 20s infinite alternate;
}

.blob-1 { top: -10%; left: -10%; width: 600px; height: 600px; background: var(--primary-color); animation-duration: 25s; }
.blob-2 { bottom: -10%; right: -10%; width: 500px; height: 500px; background: var(--secondary-color); animation-duration: 30s; animation-direction: alternate-reverse; }
.blob-3 { top: 40%; left: 40%; width: 400px; height: 400px; background: var(--accent-color); opacity: 0.2; animation: pulseBlob 15s infinite; }

@keyframes moveBlob {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -50px) scale(1.1); }
    66% { transform: translate(-30px, 30px) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

@keyframes pulseBlob {
    0%, 100% { transform: scale(1); opacity: 0.2; }
    50% { transform: scale(1.2); opacity: 0.4; }
}

#particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- Navbar --- */
.navbar {
    background-color: rgba(5, 5, 5, 0.7);
    backdrop-filter: blur(20px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-brand {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(to right, #fff, var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.nav-link:hover, .nav-link.active {
    color: white;
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transition: var(--transition);
    border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.lang-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.8rem;
    transition: var(--transition);
}

.lang-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- Sections General --- */
.section {
    padding: 120px 0 80px;
    min-height: 100vh;
    /* Display: none kaldırıldı çünkü çok sayfalı yapıda her zaman görünür olacak */
    display: block; 
    animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 10;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
    display: inline-block;
    position: relative;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.section-title::after {
    content: '';
    display: block;
    width: 50%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    margin: 10px auto 0;
    border-radius: 2px;
}

/* --- ANASAYFA --- */
.home-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: calc(100vh - 200px);
    gap: 40px;
}

.home-text { flex: 1; max-width: 600px; }

.badge-greeting {
    display: inline-flex;
    align-items: center;
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.2);
}

.home-title {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 15px;
    color: white;
}

.name-gradient {
    background: linear-gradient(to right, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.3));
}

.home-subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 25px;
    font-weight: 400;
}

.home-desc {
    font-size: 1.1rem;
    color: #cbd5e1;
    margin-bottom: 35px;
    line-height: 1.8;
    max-width: 500px;
}

.home-buttons { display: flex; gap: 15px; margin-bottom: 40px; }

.btn {
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    background: rgba(59, 130, 246, 0.1);
}

.social-links { display: flex; gap: 20px; }

.social-link {
    color: var(--text-muted);
    transition: var(--transition);
    padding: 10px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-link:hover {
    color: white;
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.4);
}

.social-icon { width: 20px; height: 20px; }

.home-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.visual-circle {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.1), transparent 70%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.visual-circle::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px dashed rgba(59, 130, 246, 0.3);
    border-radius: 50%;
    animation: spin 30s linear infinite;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid rgba(15, 23, 42, 0.8);
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
    position: relative;
    z-index: 2;
    animation: floatImage 4s ease-in-out infinite, rippleWave 3s linear infinite;
}

@keyframes floatImage {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes rippleWave {
    0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4), 0 0 0 20px rgba(59, 130, 246, 0.2), 0 0 0 40px rgba(59, 130, 246, 0.1); }
    100% { box-shadow: 0 0 0 20px rgba(59, 130, 246, 0.2), 0 0 0 40px rgba(59, 130, 246, 0.1), 0 0 0 60px rgba(59, 130, 246, 0); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* --- HAKKIMDA --- */
.profile-container { display: flex; flex-direction: column; gap: 50px; }

.profile-card-large {
    display: grid;
    grid-template-columns: 400px 1fr;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
}

.profile-pic-side {
    position: relative;
    height: 100%;
    min-height: 450px;
}

.profile-pic-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.profile-card-large:hover .profile-pic-side img { transform: scale(1.05); }

.profile-content-side {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.profile-header-name {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: white;
}

.profile-role-badge {
    display: inline-block;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 25px;
    width: fit-content;
}

.profile-bio-text {
    font-size: 1.05rem;
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 30px;
}

.info-badges-grid { display: flex; flex-wrap: wrap; gap: 15px; }

.info-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: white;
    transition: var(--transition);
}

.info-badge:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.info-badge svg { color: var(--primary-color); width: 18px; height: 18px; }

/* Timeline (Eğitim) */
.timeline-full-width {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    position: relative;
}

.timeline-horizontal {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    position: relative;
}

.t-item {
    position: relative;
    padding-left: 25px;
    border-left: 2px solid var(--primary-color);
}

.t-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 0;
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-color);
}

.timeline-header {
    font-size: 1.4rem;
    color: white;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.timeline-header svg { color: var(--primary-color); }

.timeline-date {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 5px;
    display: inline-block;
    background: rgba(59, 130, 246, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
}

.timeline-title { font-size: 1.1rem; color: white; font-weight: 600; margin-bottom: 5px; }
.timeline-subtitle { font-size: 0.95rem; color: #cbd5e1; margin-bottom: 10px; font-style: italic; }
.timeline-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; }

.skills-grid { 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    margin-top: 20px;
    display: grid;
    gap: 24px;
}

.skill-card, .hobby-box, .contact-card-new {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.skill-card:hover, .hobby-box:hover, .contact-card-new:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -10px rgba(59, 130, 246, 0.3);
    background-color: rgba(30, 41, 59, 0.9);
}

.skill-card {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 30px; 
    border-radius: 16px; 
    text-align: left;
}

.skill-header { display: flex; align-items: center; gap: 15px; }

.skill-icon-box {
    width: 45px;
    height: 45px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
}

/* --- HOBİLER --- */
.hobbies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.hobby-box {
    border-radius: 24px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.hobby-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hobby-box:hover::before { opacity: 1; }

.hobby-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 25px; }

.hobby-icon-wrapper {
    width: 65px;
    height: 65px;
    background: rgba(59, 130, 246, 0.08);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.4s ease;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.hobby-box:hover .hobby-icon-wrapper {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
    border-color: transparent;
}

.hobby-icon-wrapper svg { width: 32px; height: 32px; stroke-width: 1.5; }

.category-badge {
    font-size: 0.7rem;
    padding: 6px 14px;
    border-radius: 50px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: var(--transition);
}

.hobby-box:hover .category-badge {
    border-color: var(--secondary-color);
    color: white;
    background: rgba(99, 102, 241, 0.1);
}

.hobby-title-new { font-size: 1.35rem; font-weight: 700; color: white; margin-bottom: 12px; letter-spacing: -0.5px; }
.hobby-desc-new { font-size: 0.95rem; color: #94a3b8; line-height: 1.7; flex-grow: 1; }

/* --- İLETİŞİM --- */
.contact-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-card-new {
    padding: 40px;
    border-radius: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.contact-icon-large {
    width: 80px;
    height: 80px;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: var(--transition);
}

.contact-card-new:hover .contact-icon-large {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.contact-icon-large svg { width: 36px; height: 36px; }

.contact-title-new { font-size: 1.25rem; color: white; font-weight: 600; margin-bottom: 10px; }
.contact-value-new { font-size: 1.1rem; color: var(--text-muted); transition: var(--transition); }
.contact-card-new:hover .contact-value-new { color: white; }

.contact-btn {
    margin-top: 20px;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
    background: transparent;
    color: white;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.contact-card-new:hover .contact-btn {
    background: rgba(59, 130, 246, 0.2);
    border-color: var(--primary-color);
}

.contact-full {
    grid-column: 1 / -1;
    flex-direction: row;
    text-align: left;
    justify-content: flex-start;
    gap: 30px;
}

.contact-full .contact-icon-large { margin-bottom: 0; width: 70px; height: 70px; flex-shrink: 0; }
.contact-full .contact-content { display: flex; flex-direction: column; }

.footer {
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    margin-top: auto;
    text-align: center;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
}

/* --- CHAT BOT CSS --- */
.chatbot-toggler {
    position: fixed;
    bottom: 30px;
    right: 35px;
    outline: none;
    border: none;
    height: 50px;
    width: 50px;
    display: flex;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary-color);
    transition: all 0.2s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
    z-index: 9999;
}

.chatbot-toggler:hover { background: var(--primary-dark); transform: scale(1.1); }

body.show-chatbot .chatbot-toggler { transform: rotate(90deg); }

.chatbot-toggler span {
    color: #fff;
    position: absolute;
}

.chatbot-toggler span:last-child,
body.show-chatbot .chatbot-toggler span:first-child { opacity: 0; }

body.show-chatbot .chatbot-toggler span:last-child { opacity: 1; }

.chatbot {
    position: fixed;
    right: 35px;
    bottom: 90px;
    width: 350px;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.5);
    transform-origin: bottom right;
    box-shadow: 0 0 128px 0 rgba(0,0,0,0.1), 0 32px 64px -48px rgba(0,0,0,0.5);
    transition: all 0.1s ease;
    z-index: 9998;
}

body.show-chatbot .chatbot { opacity: 1; pointer-events: auto; transform: scale(1); }

.chatbot header {
    padding: 16px 0;
    position: relative;
    text-align: center;
    color: #fff;
    background: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.chatbot header h2 { font-size: 1.2rem; font-weight: 600; }
.chatbot header span {
    position: absolute;
    right: 15px;
    top: 50%;
    display: none;
    cursor: pointer;
    transform: translateY(-50%);
}

.chatbox {
    overflow-y: auto;
    height: 350px;
    padding: 20px 20px 70px;
    background: #1e293b;
}

.chatbox::-webkit-scrollbar { width: 6px; }
.chatbox::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }

.chatbox .chat { display: flex; list-style: none; margin-bottom: 15px; }

.chatbox .outgoing { margin: 20px 0; justify-content: flex-end; }

.chatbox .chat p {
    white-space: pre-wrap;
    padding: 10px 14px;
    border-radius: 10px 10px 0 10px;
    max-width: 75%;
    color: #fff;
    font-size: 0.9rem;
    background: var(--primary-color);
}

.chatbox .incoming span {
    width: 32px;
    height: 32px;
    color: #fff;
    cursor: default;
    text-align: center;
    line-height: 32px;
    align-self: flex-end;
    background: var(--primary-color);
    border-radius: 4px;
    margin: 0 10px 7px 0;
}

.chatbox .incoming p {
    border-radius: 10px 10px 10px 0;
    background: #334155;
    color: #fff;
}

.chat-input {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: var(--bg-color);
    padding: 3px 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 5px;
}

.chat-input textarea {
    height: 55px;
    width: 100%;
    border: none;
    outline: none;
    resize: none;
    max-height: 180px;
    padding: 15px 15px 15px 0;
    font-size: 0.95rem;
    background: transparent;
    color: #fff;
}

.chat-input span {
    align-self: flex-end;
    color: var(--primary-color);
    cursor: pointer;
    height: 55px;
    display: flex;
    align-items: center;
    visibility: hidden;
    font-size: 1.35rem;
}

.chat-input textarea:valid ~ span { visibility: visible; }

/* --- RESPONSIVE DÜZENLEME (Sayfanın Tamamı İçin) --- */

/* Tablet ve Altı (968px) */
@media (max-width: 968px) {
    .home-wrapper {
        flex-direction: column-reverse;
        justify-content: center;
        text-align: center;
        padding-top: 40px;
        min-height: auto;
    }

    .home-text { max-width: 100%; }
    .home-title { font-size: 3rem; }
    .home-buttons { justify-content: center; }
    .social-links { justify-content: center; }
    
    .visual-circle {
        width: 300px;
        height: 300px;
        margin-bottom: 30px;
    }

    /* Profil Kartı Düzeni */
    .profile-card-large {
        grid-template-columns: 1fr;
    }
    .profile-pic-side {
        min-height: 350px;
        max-height: 400px;
    }
    .profile-content-side {
        padding: 30px;
        text-align: center;
    }
    .info-badges-grid {
        justify-content: center;
    }
    .profile-header-name {
        font-size: 2rem;
    }

    /* İletişim Kartı */
    .contact-full {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .contact-full .contact-content {
        align-items: center;
    }
}

/* Mobil (768px ve altı) */
@media (max-width: 768px) {
    .navbar {
        padding: 0 10px;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: rgba(5, 5, 5, 0.98);
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        padding: 20px;
        backdrop-filter: blur(15px);
    }
    .nav-links.active { display: flex; }
    .mobile-menu-btn { display: block; }
    
    .home-title { font-size: 2.2rem; }
    
    /* Timeline Mobilde Dikey Olmalı */
    .timeline-horizontal {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .t-item::before { top: 8px; }

    /* Chatbot Mobil - YENİ DÜZENLEME (Tam ekran iptal edildi) */
    .chatbot {
        right: 20px;        /* Sağdan biraz boşluk */
        bottom: 90px;       /* Butonun hemen üzerinde */
        width: 340px;       /* Genişlik */
        max-width: calc(100% - 40px); /* Ekran çok küçükse taşmasın */
        height: 450px;      /* Sabit yükseklik */
        border-radius: 15px; /* Köşeleri yuvarla */
    }
    
    .chatbot header span { display: block; } 
    
    /* Chat içeriğinin yüksekliğini ayarla */
    .chatbox { 
        height: 340px; 
    }
}