/*
Theme Name: HD Tech Pro
Theme URI: https://hdtech.com.tr
Description: Özel Tasarım Teknoloji, Donanım ve Gadget İnceleme Teması
Author: Antigravity Pair Programming
Version: 3.5.0
Text Domain: hdtech-pro
*/

:root {
  --bg-tech-body: #0b0f19;
  --bg-tech-card: #151b2b;
  --bg-tech-nav: #0e1322;
  --tech-red: #ef4444;
  --tech-blue: #3b82f6;
  --tech-indigo: #4f46e5;
  --text-white: #ffffff;
  --text-gray: #9ca3af;
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background-color: var(--bg-tech-body);
  color: var(--text-white);
  font-family: var(--font-main);
  font-size: 14.5px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: 0.2s; }
a:hover { opacity: 0.85; }
img { max-width: 100%; height: auto; display: block; object-fit: cover; }

.container-wide {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 16px;
}

/* NAVBAR (Exact pro_mag Tech Dark) */
.tech-navbar {
  background: var(--bg-tech-nav);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  height: 64px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 999;
}
.tech-nav-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.tech-brand-logo {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
}
.flame-icon {
  color: var(--tech-red);
  font-size: 22px;
}

.tech-menu-links {
  display: flex;
  list-style: none;
  gap: 24px;
  align-items: center;
}
.tech-menu-links li a {
  font-size: 13.5px;
  font-weight: 700;
  color: #cbd5e1;
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.2s;
}
.tech-menu-links li.current-menu-item a, .tech-menu-links li a:hover {
  color: #ffffff;
  background: rgba(255,255,255,0.08);
}

.tech-nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.btn-tech-signin {
  background: var(--tech-indigo);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 18px;
  border-radius: 6px;
  transition: background 0.2s;
}
.btn-tech-signin:hover {
  background: #4338ca;
}
.nav-icon-tool {
  font-size: 16px;
  color: #94a3b8;
  cursor: pointer;
  transition: color 0.2s;
}
.nav-icon-tool:hover {
  color: #ffffff;
}

/* HERO MOSAIC CONTAINER (Exact pro_mag Tech Edge-to-Edge Grid) */
.tech-hero-section {
  padding: 16px 0 24px;
}
.mosaic-row-1 {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 12px;
  height: 420px;
  margin-bottom: 12px;
}
.mosaic-row-2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  height: 280px;
}

/* Card Common */
.tech-mosaic-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-tech-card);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.tech-mosaic-card img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  z-index: 1;
}
.tech-mosaic-card:hover img {
  transform: scale(1.04);
}
.mosaic-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(11,15,25,0) 35%, rgba(11,15,25,0.85) 75%, rgba(11,15,25,0.98) 100%);
  z-index: 2;
}
.mosaic-card-body {
  position: relative;
  z-index: 3;
  padding: 20px;
}

/* Badges */
.badge-pill-red {
  display: inline-block;
  background: var(--tech-red);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.badge-pill-blue {
  display: inline-block;
  background: var(--tech-blue);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.video-play-corner {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #ffffff;
  z-index: 4;
}
.media-count-corner {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  border-radius: 4px;
  padding: 2px 7px;
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Titles */
.title-hero-giant {
  font-size: 24px;
  font-weight: 900;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 10px;
}
.title-mosaic-mid {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  color: #ffffff;
  margin-bottom: 8px;
}
.title-mosaic-small {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.35;
  color: #ffffff;
  margin-bottom: 6px;
}

/* Meta Footer */
.mosaic-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  color: var(--text-gray);
  margin-top: 6px;
}
.author-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}
.author-avatar-tiny {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #334155;
  display: inline-block;
}
.bookmark-btn {
  font-size: 14px;
  color: #94a3b8;
  cursor: pointer;
  transition: color 0.2s;
}
.bookmark-btn:hover {
  color: #ffffff;
}

/* Stacked Column (Right of Row 1) */
.mosaic-stacked-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}
.mosaic-stacked-col .tech-mosaic-card {
  height: calc(50% - 6px);
}

/* SPONSORED BANNER STRIP */
.tech-banner-strip {
  background: #111827;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 18px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 30px 0;
}
.banner-info-left {
  display: flex;
  align-items: center;
  gap: 20px;
}
.banner-text-bold {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
}
.banner-text-sub {
  font-size: 13px;
  color: #9ca3af;
}
.btn-banner-glow {
  background: var(--tech-indigo);
  color: #ffffff;
  font-weight: 800;
  font-size: 13px;
  padding: 9px 22px;
  border-radius: 6px;
  transition: all 0.2s;
}
.btn-banner-glow:hover {
  background: #4338ca;
  box-shadow: 0 0 15px rgba(79,70,229,0.5);
}

/* SECTION 2: Editor's Pick / */
.section-editors-pick {
  margin: 40px 0 60px;
}
.section-head-pro {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}
.section-head-pro h2 {
  font-size: 22px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.5px;
}
.section-head-pro .accent-slash {
  color: #8b5cf6;
  font-size: 24px;
  font-weight: 900;
}

.editors-pick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.editor-card {
  background: var(--bg-tech-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}
.editor-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.15);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.editor-thumb {
  height: 190px;
  overflow: hidden;
  position: relative;
}
.editor-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.editor-card:hover .editor-thumb img {
  transform: scale(1.05);
}
.editor-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.editor-title {
  font-size: 15.5px;
  font-weight: 800;
  line-height: 1.35;
  color: #ffffff;
  margin-bottom: 10px;
}
.editor-card:hover .editor-title {
  color: #60a5fa;
}

/* Single Post */
.single-post-wrapper {
  max-width: 860px;
  margin: 40px auto 80px;
  background: var(--bg-tech-card);
  padding: 40px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
}
.single-post-title {
  font-size: 34px;
  font-weight: 900;
  line-height: 1.25;
  margin: 16px 0;
  color: #ffffff;
}
.single-post-content {
  font-size: 16.5px;
  line-height: 1.8;
  color: #cbd5e1;
}
.single-post-content p { margin-bottom: 20px; }

/* Footer */
.site-footer {
  background: var(--bg-tech-nav);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 40px 0 24px;
  text-align: center;
  font-size: 13px;
  color: #94a3b8;
}

@media (max-width: 1024px) {
  .mosaic-row-1 { grid-template-columns: 1fr; height: auto; }
  .mosaic-row-2 { grid-template-columns: repeat(2, 1fr); height: auto; }
  .tech-mosaic-card { height: 260px; }
  .editors-pick-grid { grid-template-columns: 1fr; }
  .tech-menu-links { display: none; }
}

/* === UNIVERSAL CLEAN HEADER CSS === */
.tech-navbar {
  background: #0d1117 !important;
  border-bottom: 1px solid #21262d !important;
  padding: 16px 0 !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
}
.tech-nav-flex {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
}
.tech-brand-logo {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  text-decoration: none !important;
  font-size: 22px !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  letter-spacing: -0.5px !important;
}
.tech-bolt-icon {
  color: #f97316 !important;
  font-size: 22px !important;
}
.tech-menu-links {
  display: flex !important;
  align-items: center !important;
  gap: 22px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.tech-menu-links li a {
  text-decoration: none !important;
  color: #94a3b8 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  transition: color 0.15s ease !important;
}
.tech-menu-links li.current-menu-item a,
.tech-menu-links li a:hover {
  color: #ffffff !important;
}
.tech-search-wrap .tech-search-form {
  display: flex !important;
  align-items: center !important;
  background: #161b22 !important;
  border: 1px solid #30363d !important;
  border-radius: 20px !important;
  padding: 4px 12px !important;
}
.tech-search-wrap .search-input {
  border: none !important;
  background: transparent !important;
  padding: 6px 8px !important;
  font-size: 13px !important;
  color: #f0f6fc !important;
  outline: none !important;
  width: 170px !important;
}
.tech-search-wrap .search-input::placeholder {
  color: #6e7681 !important;
}
.tech-search-wrap .search-btn {
  border: none !important;
  background: transparent !important;
  cursor: pointer !important;
  padding: 4px !important;
  color: #8b949e !important;
  font-size: 14px !important;
}
