/* knebl.ca — consolidated site styles
   - Full-screen background w/ overlay
   - Black Ops One for headlines and subscribe line
   - Nanum Brush Script as secondary font (large)
*/

@font-face {
  font-family: 'BlackOpsOne';
  src: url('https://knebl.ca/BlackOpsOne-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'NanumBrushScript';
  src: url('https://knebl.ca/NanumBrushScript-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root{
  --text: #f3f4f6;
  --muted: #d1d5db;
  --card: rgba(17, 24, 39, 0.72);
  --overlay: rgba(0, 0, 0, 0.5);
  --accent: #d4af37;
  --accent-2: #cc0000;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --base-size: 2rem; /* doubled Nanum Brush Script size */
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body{
  margin: 0;
  color: var(--text);
  font-family: 'NanumBrushScript', 'Roboto', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: var(--base-size);
  background: url('https://knebl.ca/GreyBackgroundWithGears.png') center center / cover fixed no-repeat;
  position: relative;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.bg-overlay{ position: fixed; inset: 0; background: var(--overlay); z-index: 0; }

.site-header, .content, .site-footer{ position: relative; z-index: 1; }

.site-header{
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  padding: 36px 20px 12px; gap: 16px;
}

.brand{ display: grid; place-items: center; gap: 10px; text-align: center; }

.brand-logo{ max-width: min(800px, 90vw); height: auto; filter: drop-shadow(0 6px 22px rgba(0,0,0,.35)); }
.brand-logo.small{ max-width: min(320px, 50vw); }

.brand-tagline{ 
  max-width: min(630px, 64vw); 
  height: auto; 
  margin-top: -6px; 
  filter: drop-shadow(0 6px 22px rgba(0,0,0,.35)); 
}

.main-nav{ display: flex; align-items: center; gap: 10px; margin-top: 6px; justify-content: center; flex-wrap: wrap;
  font-family: 'NanumBrushScript', sans-serif; font-size: calc(var(--base-size) * 1.2); }

.nav-link{ color: var(--muted); text-decoration: none; font-weight: 500; padding: 8px 12px; border-radius: 999px;
  transition: background .2s ease, color .2s ease, transform .08s ease; }

.nav-link:hover{ color: var(--text); background: rgba(255,255,255,.06); transform: translateY(-1px); }

.nav-link.current{ color: var(--text); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); }

.dot{ opacity: .5; }

.content{ display: grid; place-items: center; padding: 24px 20px 48px; }

.card{
  width: min(1100px, 92vw); background: var(--card); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(18px, 3vw, 32px); backdrop-filter: blur(4px);
}

h1, h2, h3{ font-family: 'BlackOpsOne', sans-serif; letter-spacing: .02em; margin: 0 0 .4em; }
h1{ font-size: clamp(28px, 4vw, 42px); }
h2{ font-size: clamp(22px, 3vw, 30px); }
h3{ font-size: clamp(18px, 2.2vw, 22px); }

p{ margin: 0 0 1em; }

/* Subscribe + channel link */
.subscribe-heading{
  text-align: center;
  font-family: 'BlackOpsOne', sans-serif;
  font-size: clamp(22px, 3.6vw, 36px);
  margin-top: 32px;   /* extra space from tagline */
  margin-bottom: 0;   /* tight to channel link */
  color: #000;
  letter-spacing: .02em;
  text-shadow: 0 2px 6px rgba(0,0,0,0.0);
}

.yt-channel-link{
  text-align: center;
  margin-top: -4px;  /* pulled closer to subscribe line */
}
.yt-channel-link a{
  font-family: 'NanumBrushScript', cursive;
  font-size: 1.6rem;
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.yt-channel-link a:hover{ opacity: 0.9; }

/* Home: embedded video */
.video-embed {
  margin-top: 6px;
  display: flex;
  justify-content: center;
  padding: 0 12px;
}
.video-embed iframe {
  width: 320px;   /* Fixed size per request */
  height: 180px;  /* 16:9 */
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  border: 1px solid rgba(204,0,0,0.4);
}

/* About page helpers */
.about-section p { margin-bottom: 0.8em; }
.about-list { margin: 0.4em 0 1em 1.2em; }
.about-list li { margin: 0.2em 0; }
.external-link{ color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.bio-video{ display:flex; justify-content:center; padding: 8px 12px 0; }
.bio-video iframe{ width: min(100%, 900px); aspect-ratio: 16/9; height: auto; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.5); border: 1px solid rgba(204,0,0,0.4); }

.site-footer{
  display: grid; place-items: center; padding: 28px 16px 42px;
  color: var(--muted); font-size: calc(var(--base-size) * 1.1); font-family: 'NanumBrushScript', sans-serif;
}
