/* Teknik Bilgiler */

main.container {
  padding-top: 3rem;
}

.tech-search-wrap {
  margin-bottom: 3rem;
}
.tech-search {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .85rem 1.25rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 100px;
  box-shadow: 0 2px 16px rgba(0,0,0,.04);
  max-width: 520px;
}
.tech-search svg { color: var(--muted); flex-shrink: 0; }
.tech-search input {
  border: none; outline: none;
  font-family: inherit;
  font-size: .9375rem;
  width: 100%;
  background: transparent;
}
.tech-search input::placeholder { color: #aaa; }

.tech-stats {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 2rem;
}
.tech-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 700;
  color: var(--muted);
}
.tech-stat-pill strong {
  color: var(--red);
  font-family: var(--display);
  font-size: .875rem;
}

.tech-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 1.5rem;
  padding-bottom: 4rem;
}
@media (min-width: 960px) {
  .tech-layout {
    grid-template-columns: 240px 1fr;
    gap: 3rem;
    align-items: start;
  }
}

.tech-nav {
  display: flex;
  flex-direction: row;
  gap: .5rem;
  overflow-x: auto;
  padding-bottom: .25rem;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.tech-nav::-webkit-scrollbar { display: none; }
@media (min-width: 960px) {
  .tech-nav {
    flex-direction: column;
    position: sticky;
    top: 100px;
    overflow: visible;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
  }
}

.tech-nav a {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .7rem .9rem;
  font-size: .75rem;
  font-weight: 700;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: background .2s, border-color .2s, color .2s;
  flex-shrink: 0;
}
@media (min-width: 960px) {
  .tech-nav a { white-space: normal; line-height: 1.35; }
}
.tech-nav a span {
  font-family: var(--display);
  font-size: .6875rem;
  font-weight: 800;
  color: var(--red);
  min-width: 1.25rem;
}
.tech-nav a:hover,
.tech-nav a.active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.tech-nav a:hover span,
.tech-nav a.active span { color: rgba(255,255,255,.7); }

.tech-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.tech-group {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.04);
  scroll-margin-top: 100px;
}

.tech-group-toggle {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1.35rem 1.5rem;
  background: var(--cream);
  border: none;
  border-bottom: 1px solid transparent;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  transition: background .2s;
}
.tech-group-toggle:hover { background: #f5f0ea; }
.tech-group.is-open .tech-group-toggle {
  border-bottom-color: var(--line);
}
.tech-group-meta {
  flex: 1;
  min-width: 0;
}
.tech-group-chevron {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: transform .25s var(--ease), color .2s, border-color .2s;
}
.tech-group.is-open .tech-group-chevron {
  transform: rotate(180deg);
  color: var(--red);
  border-color: rgba(227,38,38,.25);
}

.tech-panel[hidden] { display: none; }

.tech-group-icon {
  font-size: 1.75rem;
  line-height: 1;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--line);
  flex-shrink: 0;
}
.tech-group-toggle h2 {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: .15rem;
}
@media (min-width: 640px) {
  .tech-group-toggle h2 { font-size: 1.125rem; }
}
.tech-group-count {
  font-size: .6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
}

.tech-list {
  list-style: none;
  padding: .5rem 0;
}
.tech-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .5rem .75rem;
  padding: .85rem 1.5rem;
  border-bottom: 1px solid var(--line);
  transition: background .15s;
}
.tech-list li:last-child { border-bottom: none; }
.tech-list li:hover { background: rgba(227,38,38,.03); }

.tech-code {
  display: inline-block;
  font-family: var(--display);
  font-size: .6875rem;
  font-weight: 800;
  color: #fff;
  background: var(--red);
  padding: .25rem .55rem;
  border-radius: 4px;
  white-space: nowrap;
  letter-spacing: .02em;
}
.tech-desc {
  font-size: .875rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.45;
  flex: 1;
  min-width: 0;
}

.tech-note {
  margin-top: 1rem;
  padding: 1.25rem 1.5rem;
  background: rgba(227,38,38,.06);
  border: 1px solid rgba(227,38,38,.15);
  border-radius: var(--radius);
  font-size: .8125rem;
  color: var(--muted);
  line-height: 1.6;
}
.tech-note strong { color: var(--ink); }
