:root{
  --brand:#c1121f;
  --brand-dark:#780000;
  --brand-soft:#fff1f2;
  --brand-border:#fecdd3;
  --ink:#0f172a;
  --muted:#64748b;
  --line:#e5e7eb;
  --bg:#f7f8fb;
}

*{
  box-sizing:border-box;
  margin:0;
  padding:0;
}

body{
  font-family:Inter,Arial,sans-serif;
  background:var(--bg);
  color:var(--ink);
}

.header{
  position:sticky;
  top:0;
  z-index:10;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(16px);
  border-bottom:1px solid var(--line);
}

.container{
  max-width:1180px;
  margin:0 auto;
  padding:0 24px;
}

.nav{
  height:76px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color:inherit;
}

.brand-icon{
  width:46px;
  height:46px;
  border-radius:18px;
  background:linear-gradient(135deg,var(--brand-dark),var(--brand));
  display:grid;
  place-items:center;
  color:white;
  font-size:24px;
  box-shadow:0 14px 28px rgba(193,18,31,.24);
}

.brand-title{
  font-size:19px;
  font-weight:900;
  letter-spacing:-.4px;
}

.brand-subtitle{
  font-size:12px;
  color:var(--muted);
  font-weight:700;
  margin-top:2px;
}

.menu{
  display:flex;
  gap:28px;
}

.menu a{
  color:#475569;
  font-size:14px;
  font-weight:800;
  text-decoration:none;
}

.nav-button{
  border:0;
  background:linear-gradient(135deg,var(--brand-dark),var(--brand));
  color:white;
  padding:12px 18px;
  border-radius:999px;
  font-weight:900;
  text-decoration:none;
  box-shadow:0 14px 28px rgba(193,18,31,.2);
}

.hero{
  position:relative;
  overflow:hidden;
  background:linear-gradient(180deg,#fff,#fff7f8);
  border-bottom:1px solid #f1e7e8;
}

.hero:before{
  content:"";
  position:absolute;
  right:-120px;
  top:-90px;
  width:390px;
  height:390px;
  border-radius:999px;
  background:rgba(193,18,31,.18);
  filter:blur(32px);
}

.hero:after{
  content:"";
  position:absolute;
  left:-130px;
  bottom:-120px;
  width:360px;
  height:360px;
  border-radius:999px;
  background:rgba(120,0,0,.11);
  filter:blur(32px);
}

.hero-grid{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:44px;
  padding:72px 0;
  align-items:center;
}

.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 15px;
  border-radius:999px;
  background:var(--brand-soft);
  border:1px solid var(--brand-border);
  color:var(--brand-dark);
  font-size:14px;
  font-weight:900;
  margin-bottom:22px;
}

.hero h1{
  max-width:720px;
  font-size:clamp(38px,5vw,66px);
  line-height:1.03;
  letter-spacing:-2.4px;
  font-weight:950;
}

.hero p{
  max-width:650px;
  margin-top:24px;
  font-size:18px;
  line-height:1.8;
  color:var(--muted);
  font-weight:500;
}

.search-box{
  margin-top:30px;
  max-width:690px;
  display:flex;
  align-items:center;
  gap:12px;
  background:white;
  border:1px solid #e2e8f0;
  border-radius:28px;
  padding:10px;
  box-shadow:0 24px 55px rgba(148,163,184,.25);
}

.search-icon{
  width:52px;
  height:52px;
  border-radius:20px;
  background:#f8fafc;
  display:grid;
  place-items:center;
  color:var(--brand);
  font-size:22px;
  flex:0 0 auto;
}

.search-box input{
  border:0;
  outline:0;
  flex:1;
  font-size:14px;
  font-weight:700;
  color:var(--ink);
  min-width:0;
}

.search-box button{
  border:0;
  background:linear-gradient(135deg,var(--brand-dark),var(--brand));
  color:white;
  border-radius:20px;
  padding:16px 24px;
  font-weight:950;
  cursor:pointer;
  box-shadow:0 14px 28px rgba(193,18,31,.25);
}

.quick-links{
  margin-top:22px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  max-width:690px;
}

.quick-card{
  background:white;
  border:1px solid #e2e8f0;
  border-radius:20px;
  padding:14px;
  font-size:13px;
  font-weight:900;
  color:#334155;
  box-shadow:0 10px 24px rgba(148,163,184,.08);
}

.featured-panel{
  border-radius:34px;
  padding:16px;
  background:#111827;
  box-shadow:0 34px 70px rgba(15,23,42,.25);
}

.featured-inner{
  border-radius:26px;
  padding:24px;
  background:linear-gradient(145deg,#111827,#020617);
  color:white;
}

.featured-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:20px;
}

.featured-small{
  color:#fecdd3;
  font-size:13px;
  font-weight:950;
}

.featured-title{
  font-size:27px;
  font-weight:950;
  margin-top:4px;
  letter-spacing:-.8px;
}

.play{
  width:58px;
  height:58px;
  border-radius:20px;
  background:linear-gradient(135deg,var(--brand-dark),var(--brand));
  display:grid;
  place-items:center;
  font-size:26px;
  box-shadow:0 18px 36px rgba(193,18,31,.32);
}

.orange-card{
  min-height:240px;
  border-radius:28px;
  padding:26px;
  background:linear-gradient(135deg,var(--brand-dark),var(--brand));
  position:relative;
  overflow:hidden;
}

.orange-card:after{
  content:"";
  position:absolute;
  right:-55px;
  top:-55px;
  width:170px;
  height:170px;
  border-radius:999px;
  background:rgba(255,255,255,.18);
}

.orange-card span{
  position:relative;
  z-index:1;
  display:inline-block;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.18);
  font-size:12px;
  font-weight:950;
  margin-bottom:72px;
}

.orange-card h2{
  position:relative;
  z-index:1;
  font-size:32px;
  line-height:1.13;
  letter-spacing:-1px;
  font-weight:950;
}

.check-list{
  margin-top:16px;
  display:grid;
  gap:12px;
}

.check-item{
  display:flex;
  gap:12px;
  align-items:center;
  background:rgba(255,255,255,.08);
  border-radius:18px;
  padding:13px;
  color:#e2e8f0;
  font-size:14px;
  font-weight:800;
}

.section{
  padding:58px 0;
}

.section-head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:30px;
}

.eyebrow{
  color:var(--brand);
  font-size:13px;
  font-weight:950;
  letter-spacing:2.4px;
  text-transform:uppercase;
  margin-bottom:8px;
}

.section h2,
.popular-box h2{
  font-size:34px;
  letter-spacing:-1.2px;
  font-weight:950;
}

.outline-btn{
  border:1px solid #e2e8f0;
  background:white;
  border-radius:999px;
  padding:13px 18px;
  font-size:14px;
  font-weight:950;
  color:#334155;
  box-shadow:0 10px 22px rgba(148,163,184,.12);
}

.category-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}

.category-card{
  background:white;
  border:1px solid #e2e8f0;
  border-radius:30px;
  padding:25px;
  box-shadow:0 8px 20px rgba(148,163,184,.08);
  transition:.25s ease;
  text-decoration:none;
  color:inherit;
  display:block;
}

.category-card:hover{
  transform:translateY(-5px);
  box-shadow:0 24px 48px rgba(148,163,184,.22);
  border-color:var(--brand-border);
}

.category-top{
  display:flex;
  align-items:start;
  justify-content:space-between;
  margin-bottom:22px;
}

.cat-icon{
  width:58px;
  height:58px;
  border-radius:22px;
  background:var(--brand-soft);
  color:var(--brand);
  display:grid;
  place-items:center;
  font-size:27px;
}

.lesson-count{
  background:#f8fafc;
  color:#475569;
  border-radius:999px;
  padding:7px 10px;
  font-size:12px;
  font-weight:950;
}

.category-card h3{
  font-size:20px;
  line-height:1.2;
  font-weight:950;
  letter-spacing:-.5px;
}

.category-card p{
  margin-top:12px;
  color:var(--muted);
  line-height:1.65;
  font-size:14px;
  min-height:68px;
}

.start-link{
  margin-top:20px;
  color:var(--brand);
  font-size:14px;
  font-weight:950;
}

.popular{
  padding-bottom:64px;
}

.popular-box{
  background:linear-gradient(145deg,#111827,#020617);
  color:white;
  border-radius:34px;
  padding:32px;
  box-shadow:0 28px 55px rgba(15,23,42,.18);
}

.popular-grid{
  margin-top:28px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.course-card{
  background:white;
  color:var(--ink);
  border-radius:28px;
  padding:22px;
  text-decoration:none;
  display:block;
}

.course-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:24px;
}

.tag{
  background:var(--brand-soft);
  color:var(--brand);
  border-radius:999px;
  padding:7px 11px;
  font-size:12px;
  font-weight:950;
}

.number{
  color:#94a3b8;
  font-size:14px;
  font-weight:950;
}

.course-card h3{
  min-height:56px;
  font-size:21px;
  line-height:1.25;
  letter-spacing:-.5px;
  font-weight:950;
}

.course-bottom{
  margin-top:20px;
  padding-top:16px;
  border-top:1px solid #e2e8f0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  color:var(--muted);
  font-size:14px;
  font-weight:850;
}

.footer{
  background:#111827;
  color:white;
  padding:38px 0;
}

.footer-inner{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
}

.footer-brand{
  font-size:20px;
  font-weight:950;
}

.footer p{
  margin-top:8px;
  color:#cbd5e1;
}

.footer-links{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
}

.footer-links a{
  color:#cbd5e1;
  text-decoration:none;
  font-weight:800;
  font-size:14px;
}

@media(max-width:900px){
  .menu{
    display:none;
  }

  .hero-grid{
    grid-template-columns:1fr;
    padding:48px 0;
  }

  .category-grid,
  .popular-grid,
  .quick-links{
    grid-template-columns:1fr;
  }

  .section-head{
    align-items:start;
    flex-direction:column;
  }

  .nav-button{
    display:none;
  }

  .footer-inner{
    flex-direction:column;
  }
}

/* =========================================================
   BaZaaRDan özel marka yazımı - aktif kullanılan CSS
   ========================================================= */
.academy-brand-word,
.bz-auto-brand,
.bz-brand-inline {
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 0 !important;
  white-space: nowrap !important;
  line-height: 1 !important;
  font: inherit !important;
  font-weight: inherit !important;
  letter-spacing: inherit !important;
}

.academy-brand-word span,
.bz-auto-brand span,
.bz-brand-inline span {
  display: inline !important;
}

.academy-brand-red,
.bz-auto-red,
.bz-red {
  color: #d6111b !important;
}

.academy-brand-green,
.bz-auto-green,
.bz-green {
  color: #22c55e !important;
}

.academy-brand-akademi,
.bz-akademi-word {
  color: #0f172a !important;
  font: inherit !important;
  font-weight: inherit !important;
  letter-spacing: inherit !important;
  white-space: nowrap !important;
}

.bz-auto-suffix,
.bz-suffix {
  color: #0f172a !important;
  font: inherit !important;
  font-weight: inherit !important;
  letter-spacing: inherit !important;
}

/* =========================================================
   Eğitim kartları koyu premium görünüm
   ========================================================= */

.academy-category-group .category-card,
.category-grid .category-card {
  background:
    radial-gradient(circle at top left, rgba(193,18,31,.18), transparent 34%),
    linear-gradient(180deg, #111827 0%, #0f172a 100%) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  color: #f8fafc !important;
  box-shadow: 0 26px 70px rgba(2,6,23,.22) !important;
}

.academy-category-group .category-card h3,
.category-grid .category-card h3 {
  color: #f8fafc !important;
}

.academy-category-group .category-card p,
.category-grid .category-card p {
  color: #cbd5e1 !important;
}

.academy-category-group .category-card .lesson-count,
.category-grid .category-card .lesson-count {
  background: rgba(255,255,255,.10) !important;
  color: #f8fafc !important;
  border: 1px solid rgba(255,255,255,.10) !important;
}

.academy-category-group .category-card .cat-icon,
.category-grid .category-card .cat-icon {
  background: rgba(255,255,255,.09) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08) !important;
}

.academy-category-group .category-card .start-link,
.category-grid .category-card .start-link {
  color: #ff4d5a !important;
  font-weight: 950 !important;
}

.academy-category-group .category-card:hover,
.category-grid .category-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(255,77,90,.55) !important;
  box-shadow: 0 34px 90px rgba(193,18,31,.20), 0 24px 70px rgba(2,6,23,.28) !important;
}

.academy-category-group .category-card.academy-search-match,
.category-grid .category-card.academy-search-match {
  border-color: #ff4d5a !important;
  box-shadow: 0 34px 90px rgba(193,18,31,.28) !important;
}

/* =========================================================
   kategori.php sol kategori listesi sticky + iç scroll
   ========================================================= */

/* Sol kategori kutusunu yakala */
.category-sidebar,
.category-side,
.category-left,
.academy-category-sidebar,
.category-page aside,
.category-detail-page aside {
  position: sticky !important;
  top: 115px !important;
  max-height: calc(100vh - 135px) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding-right: 8px !important;
  scrollbar-width: thin !important;
}

/* Scrollbar premium görünüm */
.category-sidebar::-webkit-scrollbar,
.category-side::-webkit-scrollbar,
.category-left::-webkit-scrollbar,
.academy-category-sidebar::-webkit-scrollbar,
.category-page aside::-webkit-scrollbar,
.category-detail-page aside::-webkit-scrollbar {
  width: 7px !important;
}

.category-sidebar::-webkit-scrollbar-track,
.category-side::-webkit-scrollbar-track,
.category-left::-webkit-scrollbar-track,
.academy-category-sidebar::-webkit-scrollbar-track,
.category-page aside::-webkit-scrollbar-track,
.category-detail-page aside::-webkit-scrollbar-track {
  background: transparent !important;
}

.category-sidebar::-webkit-scrollbar-thumb,
.category-side::-webkit-scrollbar-thumb,
.category-left::-webkit-scrollbar-thumb,
.academy-category-sidebar::-webkit-scrollbar-thumb,
.category-page aside::-webkit-scrollbar-thumb,
.category-detail-page aside::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, .18) !important;
  border-radius: 999px !important;
}

/* Mobilde sticky/scroll kapansın, doğal aksın */
@media (max-width: 980px) {
  .category-sidebar,
  .category-side,
  .category-left,
  .academy-category-sidebar,
  .category-page aside,
  .category-detail-page aside {
    position: static !important;
    top: auto !important;
    max-height: none !important;
    overflow: visible !important;
    padding-right: 0 !important;
  }
}
