@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Oswald:wght@500;600;700&display=swap');

:root {
  --primary: #821517; /* Logo SVG kırmızısı: rgb(130,21,23) */
  --secondary: #0a3d91; /* BINDUZ mavi */
  --dark: #111111;
  --dark-bg: #1a1a1a;
  --light-bg: #f9f9f9;
  --text-main: #333333;
  --text-muted: #777777;
  --border-color: #eeeeee;
  
  --font-main: 'Inter', sans-serif;
  --font-heading: 'Oswald', sans-serif;
}

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

body {
  font-family: var(--font-main);
  color: var(--text-main);
  background-color: #fff;
  line-height: 1.6;
  font-size: 14px;
}

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
img { max-width: 100%; height: auto; display: block; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Red Badge */
.badge-red {
  background-color: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.text-red {
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

/* ==========================================================================
   TOP BAR (Mavi)
   ========================================================================== */
.top-bar-blue {
  background: var(--secondary);
  color: #fff;
  font-size: 12px;
}
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
}
.tb-left { display: flex; align-items: center; border-right: 1px solid rgba(255,255,255,0.2); height: 100%; }
.tb-item {
  width: 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid rgba(255,255,255,0.2);
}
.tb-center {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 0 20px;
  overflow: hidden;
}
.tb-trending-badge {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  padding: 2px 10px;
  margin-right: 15px;
  border-radius: 2px;
  white-space: nowrap;
}
.tb-ticker { flex: 1; white-space: nowrap; overflow: hidden; opacity: 0.9; }
.tb-ticker a { color: #fff; }
.tb-ticker a:hover { text-decoration: underline; }

.tb-right {
  display: flex;
  align-items: center;
  height: 100%;
}
.tb-date {
  padding: 0 15px;
  border-left: 1px solid rgba(255,255,255,0.2);
  height: 100%;
  display: flex;
  align-items: center;
}
.tb-btn {
  padding: 0 15px;
  height: 100%;
  display: flex;
  align-items: center;
  font-weight: 600;
  color: #fff;
  border-left: 1px solid rgba(255,255,255,0.2);
}
.tb-btn-dark { background: rgba(0,0,0,0.3); }
.tb-btn:hover { background: var(--primary); }

/* ==========================================================================
   TOP AD BANNER
   ========================================================================== */
.top-ad-banner {
  padding: 20px 0;
  background: #f4f4f4;
  border-bottom: 1px solid #ddd;
}
.top-ad-banner img { max-height: 90px; margin: 0 auto; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.site-logo {
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.site-logo::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 80%
  );
  transform: skewX(-15deg);
  animation: logo-shimmer 5s ease-in-out infinite;
}
@keyframes logo-shimmer {
  0%   { left: -100%; opacity: 0; }
  5%   { opacity: 1; }
  30%  { left: 160%; opacity: 1; }
  35%  { left: 160%; opacity: 0; }
  100% { left: 160%; opacity: 0; }
}
.site-logo img { height: 64px; width: auto; image-rendering: -webkit-optimize-contrast; transform: translateZ(0); }
.logo-text { font-family: var(--font-heading); font-size: 26px; font-weight: 800; color: var(--dark); display: flex; align-items: center; gap: 8px;}
.logo-box { background: var(--primary); color: #fff; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; font-size: 20px; border-radius: 3px; }
.logo-sub { font-family: var(--font-main); font-size: 10px; color: var(--text-muted); font-weight: 600; letter-spacing: 1px; display:flex; flex-direction:column;}

.site-nav {
  display: flex;
  height: 100%;
}
.nav-item {
  position: relative;
  height: 100%;
}
.nav-link {
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 15px;
  font-weight: 600;
  font-size: 14px;
  color: var(--dark);
  text-transform: uppercase;
}
.nav-link:hover, .nav-link.active { color: var(--primary); }
.nav-link i { font-size: 11px; margin-left: 5px; color: #999; }

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  width: 220px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border-top: 3px solid var(--primary);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s;
  z-index: 101;
}
.nav-item:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  border-bottom: 1px solid #f1f1f1;
  font-size: 13px;
  font-weight: 500;
}
.dropdown-menu a:hover { background: #f9f9f9; padding-left: 25px; color: var(--primary); }
.cat-dot { width: 8px; height: 8px; border-radius: 50%; margin-right: 10px; }

.header-actions { display: flex; align-items: center; }
.btn-search-icon {
  background: none; border: none; font-size: 18px; color: var(--dark); cursor: pointer;
  width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.btn-search-icon:hover { background: #f4f4f4; color: var(--primary); }

.search-bar { background: var(--dark); padding: 0; height: 0; overflow: hidden; transition: 0.3s; }
.search-bar.active { padding: 15px 0; height: auto; }
.search-bar input { width: 100%; background: transparent; border: 1px solid #444; color: #fff; padding: 12px 20px; font-size: 16px; outline: none; }

/* ==========================================================================
   SECTIONS & HEADINGS
   ========================================================================== */
.section-pad { padding: 60px 0; }
.sec-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 15px;
}
.sec-title {
  font-family: var(--font-heading);
  font-size: 24px;
  text-transform: uppercase;
  color: var(--dark);
  position: relative;
}
/* Kırmızı kısa çizgi efekti */
.sec-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -16px;
  width: 40px;
  height: 3px;
  background: var(--primary);
}
.sec-heading.dark { border-bottom-color: #333; }
.sec-heading.dark .sec-title { color: #fff; }

.sec-filters a {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: 20px;
  text-transform: uppercase;
}
.sec-filters a.active, .sec-filters a:hover { color: var(--primary); }

/* ==========================================================================
   1. HERO SECTION (Büyük Resim, Yazı İçinde, Sağda 2 Küçük Kart)
   ========================================================================== */
.hero-wrap {
  position: relative;
  height: 550px;
  width: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; top:0; left:0; width:100%; height:100%; z-index: 1;
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; top:0; left:0; width:100%; height:100%;
  background: linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 100%);
}
.hero-content-box {
  position: relative; z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  height: 100%;
  padding-bottom: 60px;
}
.hero-content-left {
  max-width: 650px;
}
.hero-cat-wrap {
  display: flex; align-items: center; gap: 15px; margin-bottom: 20px;
}
.hero-date { color: #fff; font-size: 13px; font-weight: 500; opacity: 0.8; }
.hero-title {
  font-family: var(--font-heading);
  font-size: 48px;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 25px;
  text-transform: capitalize;
}
.hero-author-row { display: flex; align-items: center; color: #fff; gap: 15px; font-size: 13px; }
.ha-avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center; }

/* Sağ alt slider kutuları */
.hero-slider-boxes {
  display: flex;
  gap: 20px;
}
.hero-mini-card {
  width: 260px;
  background: #fff;
  border-radius: 4px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}
.hero-mini-card:hover { transform: translateY(-5px); }
.hmc-img { width: 70px; height: 70px; border-radius: 3px; overflow: hidden; flex-shrink: 0; background: #eee; }
.hmc-img img { width: 100%; height: 100%; object-fit: cover; }
.hmc-date { font-size: 11px; color: var(--text-muted); margin-bottom: 5px; }
.hmc-title { font-size: 13px; font-weight: 600; color: var(--dark); line-height: 1.4; }

/* ==========================================================================
   2. TRENDING NEWS (Grid: Büyük Kart - 3'lü Liste - Kategorili Liste)
   ========================================================================== */
.grid-layout-tn {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr;
  gap: 30px;
}
.tn-big-card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  height: 400px;
  display: block;
}
.tn-big-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.tn-big-card:hover img { transform: scale(1.05); }
.tnbc-overlay {
  position: absolute; top:0; left:0; width:100%; height:100%;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 60%);
}
.tnbc-body {
  position: absolute; bottom: 0; left: 0; width: 100%; padding: 30px; color: #fff;
}
.tnbc-meta { font-size: 12px; opacity: 0.8; margin-bottom: 10px; display: flex; gap: 15px; }
.tnbc-title { font-size: 22px; font-weight: 700; line-height: 1.3; }

.tn-mid-list { display: flex; flex-direction: column; gap: 20px; }
.tnm-item {
  display: flex;
  gap: 15px;
  align-items: center;
}
.tnm-item:hover .tnm-title { color: var(--primary); }
.tnm-img { width: 130px; height: 100px; border-radius: 4px; overflow: hidden; flex-shrink: 0; background: #eee; }
.tnm-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.3s; }
.tnm-item:hover .tnm-img img { transform: scale(1.05); }
.tnm-title { font-size: 15px; font-weight: 700; color: var(--dark); line-height: 1.4; margin: 8px 0; }
.tnm-date { font-size: 12px; color: var(--text-muted); }

.tn-right-list { display: flex; flex-direction: column; gap: 10px; }
.tnr-item {
  position: relative;
  height: 90px;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  color: #fff;
}
.tnr-item img { position: absolute; top:0; left:0; width:100%; height:100%; object-fit: cover; z-index: 1; }
.tnr-overlay { position: absolute; top:0; left:0; width:100%; height:100%; background: rgba(0,0,0,0.5); z-index: 2; transition: 0.3s; }
.tnr-item:hover .tnr-overlay { background: rgba(248, 58, 58, 0.8); } /* Kırmızı hover */
.tnr-title { position: relative; z-index: 3; font-weight: 700; font-size: 16px; letter-spacing: 1px; }
.tnr-count { position: relative; z-index: 3; font-size: 12px; background: rgba(255,255,255,0.2); padding: 2px 8px; border-radius: 10px; }

/* ==========================================================================
   3. FEATURED (Sol Dikey - Orta 2 Yatay - Sağ Widget)
   ========================================================================== */
.grid-layout-ft {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 30px;
}
.ft-vertical-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  display: flex; flex-direction: column; height: 100%;
}
.ftvc-img { height: 220px; overflow: hidden; }
.ftvc-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.3s; }
.ft-vertical-card:hover .ftvc-img img { transform: scale(1.05); }
.ftvc-body { padding: 25px; flex: 1; display: flex; flex-direction: column; }
.ftvc-title { font-size: 20px; font-weight: 700; color: var(--dark); margin: 15px 0; line-height: 1.4; flex: 1; }
.ftvc-date { font-size: 12px; color: var(--text-muted); }

.ft-mid-col { display: flex; flex-direction: column; gap: 20px; }
.ft-horiz-card {
  position: relative;
  height: calc(50% - 10px);
  border-radius: 4px;
  overflow: hidden;
  display: block;
}
.ft-horiz-card img { position: absolute; top:0; left:0; width:100%; height:100%; object-fit: cover; z-index: 1; transition: 0.5s; }
.ft-horiz-card:hover img { transform: scale(1.05); }
.fthc-overlay { position: absolute; top:0; left:0; width:100%; height:100%; background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 100%); z-index: 2; }
.fthc-body { position: absolute; top:0; left:0; width:100%; height:100%; padding: 30px; z-index: 3; display: flex; flex-direction: column; justify-content: center; color: #fff; }
.fthc-title { font-size: 22px; font-weight: 700; margin: 10px 0 15px; line-height: 1.3; max-width: 80%; }
.fthc-date { font-size: 12px; opacity: 0.8; }

.ft-social-widget { background: #fff; padding: 30px; border-radius: 4px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.sw-title { font-family: var(--font-heading); font-size: 18px; text-transform: uppercase; margin-bottom: 20px; font-weight: 700; }
.sw-grid { display: flex; flex-direction: column; gap: 10px; margin-bottom: 30px; }
.sw-btn { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; color: #fff; border-radius: 3px; font-weight: 600; font-size: 13px; }
.sw-btn i { font-size: 16px; }
.sw-btn:hover { opacity: 0.9; }

.sw-newsletter { background: #f4f4f4; padding: 25px 20px; border-radius: 4px; text-align: center; }
.sw-newsletter h4 { font-size: 16px; font-weight: 700; margin-bottom: 5px; }
.sw-newsletter p { font-size: 13px; color: var(--text-muted); margin-bottom: 15px; }
.sw-newsletter input { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 3px; margin-bottom: 10px; font-size: 13px; }
.sw-newsletter button { width: 100%; padding: 12px; background: var(--primary); color: #fff; border: none; border-radius: 3px; font-weight: 600; cursor: pointer; transition: 0.3s; }
.sw-newsletter button:hover { background: var(--dark); }

/* ==========================================================================
   4. CATEGORIES (Masonry Vari)
   ========================================================================== */
.grid-layout-cats {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 20px;
  height: 450px;
}
.glc-col { display: flex; flex-direction: column; gap: 20px; height: 100%; }
.glc-card {
  position: relative;
  flex: 1;
  border-radius: 4px;
  overflow: hidden;
}
.glc-card img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.glc-card:hover img { transform: scale(1.05); }
.glc-card::after, .glc-card-big::after { content:''; position:absolute; top:0; left:0; width:100%; height:100%; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); }
.glcc-body { position: absolute; bottom: 0; left: 0; width: 100%; padding: 20px; z-index: 2; color: #fff; text-align: center; }
.glcc-title { font-size: 15px; font-weight: 700; margin-top: 10px; }

.glc-mid { height: 100%; }
.glc-card-big {
  position: relative;
  height: 100%;
  border-radius: 4px;
  overflow: hidden;
  display: block;
}
.glc-card-big img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.glc-card-big:hover img { transform: scale(1.05); }
.glc-card-big .glcc-title { font-size: 24px; }
.glc-card-big .glcc-body { padding: 40px; }

/* ==========================================================================
   5. TRENDING NOW (Koyu Zemin)
   ========================================================================== */
.grid-4-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.dark-card { display: block; }
.dark-card:hover .dc-title { color: var(--primary); }
.dc-img { height: 160px; border-radius: 4px; overflow: hidden; margin-bottom: 15px; }
.dc-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.3s; }
.dark-card:hover .dc-img img { transform: scale(1.05); }
.dc-title { font-size: 16px; font-weight: 700; color: #fff; line-height: 1.4; margin: 10px 0; transition: 0.3s; }
.dc-date { font-size: 12px; color: #999; }

/* ==========================================================================
   6. BUSINESS / GÜNDEM (Grid + Sidebar)
   ========================================================================== */
.main-content-layout {
  display: grid;
  grid-template-columns: 2.5fr 1fr;
  gap: 40px;
}
.gundem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.gundem-card { display: flex; flex-direction: column; }
.gc-img { height: 180px; border-radius: 4px; overflow: hidden; margin-bottom: 15px; background: #eee; }
.gc-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.3s; }
.gundem-card:hover .gc-img img { transform: scale(1.05); }
.gundem-card:hover .gc-title { color: var(--primary); }
.gc-date { font-size: 12px; color: var(--text-muted); margin: 5px 0 10px; }
.gc-title { font-size: 18px; font-weight: 700; color: var(--dark); line-height: 1.3; margin-bottom: 10px; transition: 0.3s; }
.gc-excerpt { font-size: 14px; color: var(--text-muted); line-height: 1.5; }

/* Sidebar */
.mcl-sidebar { display: flex; flex-direction: column; gap: 30px; }
.widget-box { padding: 30px; background: #f9f9f9; border-radius: 4px; text-align: center; border: 1px solid #eee; }
.aw-avatar { width: 100px; height: 100px; border-radius: 50%; margin: 0 auto 15px; object-fit: cover; }
.author-widget h4 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.author-widget p { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }
.btn-read-more { display: inline-block; padding: 10px 25px; background: #fff; border: 1px solid #ddd; border-radius: 3px; font-weight: 600; font-size: 13px; color: var(--dark); transition: 0.3s; }
.btn-read-more:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.ad-widget { padding: 0; background: none; border: none; }

/* ==========================================================================
   7. SOCIAL BAR (5 Renkli Şerit)
   ========================================================================== */
.social-bar-grid { display: flex; width: 100%; height: 100px; }
.sb-item { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; color: #fff; font-weight: 700; font-size: 14px; text-transform: uppercase; transition: 0.3s; }
.sb-item:hover { opacity: 0.8; }
.sb-item.instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.sb-item.facebook { background: #3b5998; }
.sb-item.twitter { background: #1da1f2; }
.sb-item.pinterest { background: #bd081c; }
.sb-item.dribbble { background: #ea4c89; }

/* ==========================================================================
   8. FOOTER
   ========================================================================== */
.site-footer { background: var(--dark-bg); color: #fff; padding-top: 70px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 2fr 1.5fr; gap: 40px; margin-bottom: 50px; }
.footer-title { font-family: var(--font-heading); font-size: 18px; font-weight: 600; margin-bottom: 25px; position: relative; padding-bottom: 15px; }
.footer-title::after { content:''; position:absolute; bottom:0; left:0; width:30px; height:2px; background:var(--primary); }

.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: #aaa; font-size: 14px; display: flex; align-items: center; }
.footer-links a:hover { color: var(--primary); padding-left: 5px; }

.footer-recent-posts { display: flex; flex-direction: column; gap: 20px; }
.frp-item { display: flex; gap: 15px; align-items: center; }
.frp-item:hover .frp-title { color: var(--primary); }
.frp-img { width: 80px; height: 80px; border-radius: 4px; overflow: hidden; background: #333; flex-shrink: 0; }
.frp-img img { width: 100%; height: 100%; object-fit: cover; }
.frp-date { font-size: 12px; color: #777; margin-bottom: 5px; }
.frp-title { font-size: 15px; font-weight: 600; color: #ddd; line-height: 1.4; transition: 0.3s; }

.footer-brand-col { padding-left: 20px; border-left: 1px solid rgba(255,255,255,0.1); }
.footer-desc { color: #888; font-size: 14px; line-height: 1.8; }

.footer-bottom { background: #111; border-top: 1px solid #222; font-size: 13px; color: #666; }
.footer-bottom a { color: #666; margin-left: 15px; }
.footer-bottom a:hover { color: var(--primary); }

/* ==========================================================================
   RESPONSIVE DESIGN (Media Queries)
   ========================================================================== */
@media(max-width: 992px) {
  .grid-layout-tn { grid-template-columns: 1fr; }
  .grid-layout-ft { grid-template-columns: 1fr; }
  .grid-layout-cats { grid-template-columns: 1fr; height: auto; }
  .glc-mid { height: 300px; }
  .grid-4-cols { grid-template-columns: repeat(2, 1fr); }
  .main-content-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-brand-col { padding-left: 0; border-left: none; }
  .social-bar-grid { flex-wrap: wrap; height: auto; }
  .sb-item { width: 33.33%; height: 100px; }
}

@media(max-width: 768px) {
  .hero-content-box { flex-direction: column; align-items: flex-start; justify-content: center; }
  .hero-slider-boxes { display: none; } /* mobilde yer kaplamasın */
  .hero-title { font-size: 32px; }
  .gundem-grid { grid-template-columns: 1fr; }
  .grid-4-cols { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .sb-item { width: 50%; }
  .site-logo img { height: 44px; }
}

/* ==========================================================================
   AUTH PAGES (Login & Register)
   ========================================================================== */
.auth-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-color: var(--light-bg);
  padding: 20px;
}
.auth-card {
  background: #fff;
  width: 100%;
  max-width: 400px;
  padding: 40px 30px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border: 1px solid var(--border-color);
}
.auth-logo { text-align: center; margin-bottom: 20px; }
.auth-title {
  font-family: var(--font-heading);
  font-size: 24px;
  text-align: center;
  margin-bottom: 25px;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.form-group { margin-bottom: 20px; }
.form-label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 13px; color: var(--dark); }
.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  font-family: var(--font-main);
  transition: all 0.3s;
  background-color: #fcfcfc;
}
.form-control:focus { outline: none; border-color: var(--primary); background-color: #fff; box-shadow: 0 0 0 3px rgba(248, 58, 58, 0.1); }
.form-control.is-invalid { border-color: #dc3545; }
.invalid-feedback { color: #dc3545; font-size: 12px; margin-top: 5px; }

.form-check { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); }
.form-check input[type="checkbox"] { cursor: pointer; width: 16px; height: 16px; accent-color: var(--primary); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-main);
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: #5e0f10; }
.btn-full { width: 100%; }
.btn-lg { padding: 12px 20px; font-size: 15px; }

.alert {
  padding: 12px 15px;
  border-radius: 4px;
  margin-bottom: 20px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-danger { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* ==========================================================================
   ADMIN PANEL STYLES
   ========================================================================== */
:root {
  --admin-bg: #f5f6fa;
  --admin-sidebar: #1e293b;
  --admin-text: #334155;
  --admin-border: #e2e8f0;
  --admin-border-light: #f1f5f9;
}

.admin-layout {
  display: flex;
  height: 100vh;
  overflow: hidden;
  background-color: var(--admin-bg);
  font-family: var(--font-main);
}

.admin-sidebar {
  width: 260px;
  background: var(--admin-sidebar);
  color: #f8fafc;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  box-shadow: 2px 0 10px rgba(0,0,0,0.1);
  z-index: 10;
}

.admin-sidebar-header {
  padding: 24px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.admin-sidebar-header .logo-text { color: #fff; }
.admin-badge {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--primary);
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-top: 8px;
  font-weight: 700;
}

.admin-nav {
  flex: 1;
  overflow-y: auto;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
}
.admin-nav::-webkit-scrollbar { width: 4px; }
.admin-nav::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); }

.admin-nav-section {
  font-size: 11px;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 700;
  padding: 15px 20px 8px;
  letter-spacing: 0.5px;
}

.admin-nav a {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  color: #cbd5e1;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  border-left: 3px solid transparent;
}
.admin-nav a i { width: 22px; font-size: 15px; text-align: center; opacity: 0.7; }
.admin-nav a:hover {
  background: rgba(255,255,255,0.05);
  color: #fff;
}
.admin-nav a.active {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-left-color: var(--primary);
}
.admin-nav a.active i { opacity: 1; color: var(--primary); }
.admin-nav .badge { margin-left: auto; background: var(--primary); color: #fff; border-radius: 12px; padding: 2px 6px; font-size: 10px; }

.admin-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.admin-topbar {
  height: 70px;
  background: #fff;
  border-bottom: 1px solid var(--admin-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}
.admin-topbar h1 { font-size: 20px; font-weight: 700; color: var(--admin-text); margin: 0; }

.admin-main {
  flex: 1;
  overflow-y: auto;
  padding: 30px;
}

/* Dashboard Specifics */
.stat-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}
.stat-card {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-left: 4px solid var(--primary);
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  background: rgba(248, 58, 58, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.stat-num { font-size: 24px; font-weight: 800; color: var(--admin-text); line-height: 1.2; }
.stat-label { font-size: 12px; color: #64748b; font-weight: 600; text-transform: uppercase; }

.admin-table-wrap {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  border: 1px solid var(--admin-border);
  overflow: hidden;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}
.admin-table th {
  padding: 14px 20px;
  background: #f8fafc;
  border-bottom: 2px solid var(--admin-border);
  color: #475569;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12px;
}
.admin-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--admin-border);
  vertical-align: middle;
  color: var(--admin-text);
}
.admin-table tr:hover td { background: #fdfdfd; }

.cat-label {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
}

.badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-success { background: #dcfce7; color: #166534; }
.badge-warning { background: #fef9c3; color: #854d0e; }
.badge-danger { background: #fee2e2; color: #991b1b; }
.badge-info { background: #e0f2fe; color: #075985; }

.btn-secondary { background: #f1f5f9; color: #475569; }
.btn-secondary:hover { background: #e2e8f0; color: #1e293b; }
.btn-sm { padding: 6px 12px; font-size: 12px; }

:root {
  --border: var(--admin-border, #eeeeee);
  --border-light: var(--admin-border-light, #f1f5f9);
  --text: var(--admin-text, #333333);
  --dark-2: #1a1a1a;
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.05);
  --transition: all 0.3s ease;
  --bg: #f8f9fa;
}

/* ==========================================================================
   FRONTEND PAGES
   ========================================================================== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
}

.article-main {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-main);
}
.article-main p { margin-bottom: 20px; }
.article-main h1, .article-main h2, .article-main h3 {
  color: var(--dark);
  font-weight: 800;
  margin: 30px 0 15px;
}
.article-main ul, .article-main ol {
  margin-bottom: 20px;
  padding-left: 20px;
}
.article-main img {
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
}
