:root {
    --ana: #1f6feb;
    --koyu: #0d1b2a;
    --acik: #f5f8fc;
}
body { font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif; color: #1d2633; }
a { text-decoration: none; }

.topbar { background: var(--koyu); color: #c8d3e0; font-size: .85rem; padding: 6px 0; }
.navbar-brand { font-size: 1.3rem; }
.navbar .nav-link { font-weight: 500; }
.navbar .nav-link, .navbar .btn { white-space: nowrap; }
/* Orta genislik (992-1199px): menu tek satira sigsin */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .navbar .nav-ana { display: none; }
    .navbar .nav-link { padding-left: .45rem !important; padding-right: .45rem !important; font-size: .93rem; }
    .navbar-brand { font-size: 1.1rem; }
}

/* Mega menu */
.mega-menu { margin-top: 0; border-radius: 0 0 12px 12px; }
/* Masaustu: mega menu navbar'in tam altina, ekran genisliginde ve ortali acilir (saga kaymaz) */
@media (min-width: 992px) {
    .navbar .dropdown.position-static .mega-menu {
        position: absolute; left: 0; right: 0; top: 100%;
        width: 100%; max-width: 100vw; transform: none !important; inset: 100% 0 auto 0 !important;
    }
}
/* Mobil: menu icinde akar, uzunsa kendi icinde kaydirilir */
@media (max-width: 991.98px) {
    .navbar .mega-menu { box-shadow: none !important; max-height: 60vh; overflow-y: auto; }
}
html, body { overflow-x: clip; }
.mega-baslik { display: block; font-weight: 600; color: var(--koyu); margin-bottom: 4px; }
.mega-baslik i { color: var(--ana); }
.mega-menu .dropdown-item { padding: 3px 0; font-size: .92rem; color: #4a5568; white-space: normal; }
.mega-menu .dropdown-item:hover { background: none; color: var(--ana); }
@media (min-width: 992px) {
    .navbar .dropdown:hover > .dropdown-menu { display: block; }
}

/* Slider */
.hero .carousel-item { min-height: 460px; background-size: cover; background-position: center; }
.hero .hero-ic { min-height: 460px; display: flex; align-items: center; color: #fff; }
.hero .hero-ic h1, .hero .hero-ic h2 { font-weight: 700; font-size: clamp(1.8rem, 4vw, 3rem); text-shadow: 0 2px 12px rgba(0,0,0,.25); }
.hero .hero-ic p { font-size: 1.15rem; max-width: 640px; opacity: .95; }
.hero .golge { background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.1)); }
.hero-kucuk .carousel-item, .hero-kucuk .hero-ic { min-height: 320px; }
@media (max-width: 576px) {
    .hero .carousel-item, .hero .hero-ic { min-height: 380px; }
}

/* Kartlar */
.bolum { padding: 64px 0; }
.bolum-acik { background: var(--acik); }
.bolum-baslik { font-weight: 700; margin-bottom: .5rem; }
.kart { border: 1px solid #e6ebf2; border-radius: 14px; padding: 26px; height: 100%; background: #fff; transition: .2s; display: block; color: inherit; }
.kart:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(13,27,42,.10); border-color: transparent; color: inherit; }
.kart .ikon { width: 54px; height: 54px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: rgba(31,111,235,.1); color: var(--ana); font-size: 1.6rem; margin-bottom: 14px; }
.kart h3, .kart h5 { font-size: 1.15rem; font-weight: 600; }
.kart p { color: #5b6878; font-size: .95rem; margin-bottom: 0; }
.kart img.kart-gorsel { width: 100%; height: 170px; object-fit: cover; border-radius: 10px; margin-bottom: 14px; }
.rozet { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; }

.ozellik-liste li { padding: 8px 0 8px 32px; position: relative; border-bottom: 1px dashed #e6ebf2; }
.ozellik-liste li:before { content: "\F26B"; font-family: "bootstrap-icons"; position: absolute; left: 0; color: #21a179; font-size: 1.2rem; top: 5px; }

.teklif-kutu { background: #fff; border-radius: 16px; box-shadow: 0 12px 40px rgba(13,27,42,.12); padding: 28px; }
.cta { background: linear-gradient(135deg, #0d3b66, #1f6feb); color: #fff; border-radius: 18px; padding: 44px; }

.urun-icerik img { max-width: 100%; height: auto; border-radius: 10px; }
.breadcrumb { font-size: .9rem; }

/* Video / blog / kampanya */
.video-kart { display: block; color: inherit; }
.video-kart:hover { color: var(--ana); }
.video-resim { position: relative; display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 16/9; background: #000; }
.video-resim img { width: 100%; height: 100%; object-fit: cover; transition: .25s; }
.video-kart:hover .video-resim img { transform: scale(1.05); opacity: .85; }
.video-resim i { position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; font-size: 56px; line-height: 1; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.video-baslik { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 600; margin-top: 10px; line-height: 1.35; }
.video-tarih { display: block; font-size: .82rem; color: #7a8696; margin-top: 2px; }
.kanal-bant { background: linear-gradient(135deg, #1a1a1a, #3a0d0d); color: #fff; border-radius: 18px; padding: 28px; }
.kanal-bant .btn-abone { background: #ff0000; color: #fff; font-weight: 600; }
.kanal-bant .btn-abone:hover { background: #cc0000; color: #fff; }
.blog-gorsel { width: 100%; height: 190px; object-fit: cover; }
.kampanya-bant { height: 120px; background: linear-gradient(135deg, #b91c1c, #f97316); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.paylas a { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #eef2f7; color: #1d2633; margin-right: 6px; }
.paylas a:hover { background: var(--ana); color: #fff; }
.yazi-icerik { font-size: 1.05rem; line-height: 1.75; }
.kutu-yan { border: 1px solid #e6ebf2; border-radius: 14px; padding: 20px; background: #fff; }

/* Blog */
.blog-etiket { display: inline-block; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--ana); margin-bottom: 6px; }
.blog-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: .82rem; color: #7a8696; }
.blog-meta i { margin-right: 3px; }
.kart h3 { line-height: 1.35; }
.blog-kapak { height: 150px; display: flex; align-items: center; justify-content: center; font-size: 2.6rem; color: rgba(255,255,255,.9); }
.blog-kapak-0 { background: linear-gradient(135deg,#0d3b66,#1f6feb); }
.blog-kapak-1 { background: linear-gradient(135deg,#0b6e4f,#21a179); }
.blog-kapak-2 { background: linear-gradient(135deg,#3a0ca3,#7209b7); }
.blog-kapak-3 { background: linear-gradient(135deg,#9a3412,#f97316); }
.blog-kapak-4 { background: linear-gradient(135deg,#155e75,#06b6d4); }
.blog-kapak-5 { background: linear-gradient(135deg,#1f2937,#4b5563); }
@media (min-width: 768px) {
    .blog-manset .kart { flex-direction: row !important; }
    .blog-manset .blog-gorsel, .blog-manset .blog-kapak { width: 45%; height: auto; min-height: 240px; flex-shrink: 0; }
    .blog-manset h3 { font-size: 1.5rem; }
}
.icindekiler { background: var(--acik); border-left: 4px solid var(--ana); border-radius: 10px; padding: 16px 20px; margin: 0 0 28px; }
.icindekiler ol { margin: 0; padding-left: 20px; }
.icindekiler li { margin: 3px 0; }
.yazi-icerik h2 { font-size: 1.5rem; font-weight: 700; margin: 2rem 0 .8rem; scroll-margin-top: 90px; }
.yazi-icerik h3 { font-size: 1.15rem; font-weight: 600; margin: 1.4rem 0 .5rem; }
.yazi-icerik table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .95rem; }
.yazi-icerik th, .yazi-icerik td { border: 1px solid #e6ebf2; padding: 8px 10px; text-align: left; }
.yazi-icerik th { background: var(--acik); }
.populer-liste { padding-left: 20px; margin: 0; }
.populer-liste li { margin-bottom: 10px; font-size: .92rem; }
.populer-liste a { color: #1d2633; }
.populer-liste a:hover { color: var(--ana); }
.bulten-kutu { background: linear-gradient(135deg, #0d3b66, #1f6feb); color: #fff; border-radius: 14px; padding: 20px; }
.bulten-kutu a { color: #fff; text-decoration: underline; }
.urun-grup-baslik { font-size: 1.25rem; font-weight: 700; margin: 2rem 0 1rem; padding-bottom: 8px; border-bottom: 2px solid #e6ebf2; }
.yazi-icerik img { max-width: 100%; height: auto; border-radius: 10px; }

.site-footer { background: var(--koyu); color: #a9b6c6; }
.sosyal a { font-size: 1.4rem; margin-right: 12px; }
.site-footer a { color: #a9b6c6; }
.site-footer a:hover { color: #fff; }

/* WhatsApp */
.wa-btn { position: fixed; left: 18px; bottom: 18px; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.7rem; box-shadow: 0 6px 20px rgba(0,0,0,.2); z-index: 1040; }
.wa-btn:hover { color: #fff; transform: scale(1.06); }

/* Chatbot */
.bot-ac { position: fixed; right: 18px; bottom: 18px; width: 60px; height: 60px; border-radius: 50%; border: none; background: var(--ana); color: #fff; font-size: 1.6rem; box-shadow: 0 6px 20px rgba(31,111,235,.4); z-index: 1050; }
.bot-kutu { position: fixed; right: 18px; bottom: 90px; width: 360px; max-width: calc(100vw - 24px); height: 500px; max-height: calc(100vh - 120px); background: #fff; border-radius: 16px; box-shadow: 0 16px 48px rgba(0,0,0,.22); display: none; flex-direction: column; overflow: hidden; z-index: 1050; }
.bot-kutu.acik { display: flex; }
.bot-baslik { background: var(--ana); color: #fff; padding: 12px 14px; display: flex; align-items: center; gap: 8px; font-weight: 600; }
.bot-mesajlar { flex: 1; overflow-y: auto; padding: 14px; background: var(--acik); }
.bot-msj { max-width: 85%; padding: 9px 12px; border-radius: 14px; margin-bottom: 8px; font-size: .92rem; line-height: 1.45; white-space: pre-wrap; word-wrap: break-word; }
.bot-msj.bot { background: #fff; border: 1px solid #e6ebf2; border-bottom-left-radius: 4px; }
.bot-msj.user { background: var(--ana); color: #fff; margin-left: auto; border-bottom-right-radius: 4px; }
.bot-msj a { font-weight: 600; }
.bot-msj.yaziyor { color: #8895a7; font-style: italic; }
.bot-giris { display: flex; border-top: 1px solid #e6ebf2; }
.bot-giris input { flex: 1; border: none; padding: 12px; outline: none; font-size: .95rem; }
.bot-giris button { border: none; background: none; color: var(--ana); font-size: 1.3rem; padding: 0 14px; }
@media (max-width: 576px) {
    .bot-kutu { right: 12px; bottom: 84px; height: 70vh; }
}
