/*
Theme Name: Silent Threats Tabs
Theme URI: https://malwarestudios.dev
Author: Malware Studios
Author URI: https://malwarestudios.dev
Description: Tabs als eigene Seiten + CPTs für Announcements, Projects und Team. Vorhang liegt über Tab-Hintergrund.
Version: 2.7
License: GNU General Public License v2 or later
Text Domain: silents-threats-tabs
*/

*{ box-sizing:border-box; }
html,body{ height:100%; }

:root{
  --bg:#000;
  --text:#fff;
  --muted: rgba(255,255,255,.78);
  --panel: rgba(255,255,255,.04);
  --border: rgba(255,255,255,.10);
}

body{
  margin:0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

/* HEADER */
.site-header{
  position:fixed;
  top:0; left:0; right:0;
  z-index:1000;
  background: rgba(0,0,0,.92);
  border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
}

.site-header-inner{
  max-width:1200px;
  margin:0 auto;
  padding: 14px 22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;
}

.site-logo img{
  height: 52px;
  width:auto;
  display:block;
}

.site-nav{
  display:flex;
  gap: 18px;
  flex-wrap:wrap;
  justify-content:center;
  text-transform:uppercase;
  letter-spacing: .12em;
  font-weight: 800;
  font-size: 12px;
}

.site-nav a{
  color:#fff;
  text-decoration:none;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.site-nav a:hover{
  border-color: rgba(255,255,255,.22);
  background: rgba(255,255,255,.05);
}

.site-nav a.current{
  border-color: rgba(255,255,255,.30);
  background: rgba(255,255,255,.08);
}

/* HERO */
.hero{
  position:relative;
  min-height: 86vh;
  padding-top: 96px;
  padding-bottom: 56px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: #000 center/cover no-repeat;
  overflow:hidden;
}

/* Vorhang über dem Tab-Hintergrund */
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background: url("./assets/curtain.png") center/cover no-repeat;
  z-index: 1;
  pointer-events:none;
}

/* dunkle Vignette, damit Text lesbar bleibt */
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(circle at 50% 40%, rgba(0,0,0,.10), rgba(0,0,0,.92));
  z-index: 2;
  pointer-events:none;
}

.hero-inner{
  position:relative;
  z-index: 3;
  text-align:center;
  padding: 18px 20px;
  max-width: 920px;
}

.hero-title{
  margin:0 0 10px;
  font-size: 34px;
  text-transform:uppercase;
  letter-spacing: .18em;
}

.hero-subtitle{
  margin:0 auto;
  max-width: 780px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}

.hero-actions{
  margin-top: 22px;
  display:flex;
  gap: 12px;
  justify-content:center;
  flex-wrap:wrap;
}

.btn{
  display:inline-block;
  padding: 12px 30px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration:none;
  border: 1px solid transparent;
}

.btn-primary{
  background:#fff;
  color:#000;
}

.btn-ghost{
  background: rgba(0,0,0,.35);
  color:#fff;
  border-color: rgba(255,255,255,.20);
}

.btn:hover{ transform: translateY(-1px); }

/* SECTIONS */
.section{
  padding: 70px 24px;
  background: #05070b;
}

.section.alt{
  background: #020308;
}

.section-inner{
  max-width: 1100px;
  margin: 0 auto;
}

.section-title{
  margin: 0 0 22px;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 22px;
}

.grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.card{
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 18px;
}

.card h3{
  margin: 0 0 6px;
  font-size: 18px;
}

.card p{
  margin:0;
  color: var(--muted);
  line-height: 1.55;
}

.card a{ color:#fff; text-decoration:none; }
.card a:hover{ text-decoration:underline; }

.prose{
  max-width: 860px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.75;
}

.prose a{ color:#fff; }

/* TEAM */
.team-card{
  display:flex;
  gap:14px;
  align-items:flex-start;
}
.team-photo{
  width:72px;
  height:72px;
  border-radius:12px;
  object-fit:cover;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  flex: 0 0 auto;
}
.team-meta{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.team-role{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.14em;
  color: rgba(255,255,255,.7);
}

/* FOOTER */
.site-footer{
  background:#000;
  color:#888;
  text-align:center;
  padding: 16px 12px;
  font-size: 13px;
}

@media (max-width: 900px){
  .site-header-inner{ flex-wrap:wrap; justify-content:center; }
  .site-logo img{ height: 46px; }
  .site-nav{ gap: 10px; font-size: 11px; }
  .hero-title{ font-size: 26px; }
  .hero-subtitle{ font-size: 16px; }
}
