/* ============================================================
   jeffers.css  —  shared styles for the Carl Jeffers sample site
   Rebuilt from the original Xara design (slate-grey / white / Trebuchet).
   Linked by index.htm, homepage.htm, media.htm.
   Flat folder: this file sits beside the .htm pages and images.
   ============================================================ */

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

:root {
  --slate:    #3D4A52;   /* headings / primary text accent      */
  --slate-lo: #5a6b75;   /* lighter slate for hovers            */
  --grey:     #BABCBE;   /* panel gradient top / rules          */
  --grey-bd:  #8D9397;   /* borders                             */
  --grey-lt:  #BEC7CC;   /* light grey accent text              */
  --ink:      #1f1f1f;   /* body copy                           */
  --white:    #ffffff;
  --page-bg:  #d9dcde;   /* the grey behind the white card      */
}

body {
  font-family: 'Trebuchet MS', 'Segoe UI', Tahoma, Arial, sans-serif;
  color: var(--ink);
  background: var(--page-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--slate); }
a:hover { color: var(--slate-lo); }

/* ---- centered white card, like the original panel ---- */
.card {
  max-width: 820px;
  margin: 24px auto;
  background: linear-gradient(180deg, var(--grey) 0%, var(--white) 22%);
  border: 1px solid var(--grey-bd);
  border-radius: 9px;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.25);
  overflow: hidden;
}
.card-inner { padding: 0 36px 28px; }

/* ---- masthead banner ---- */
.masthead { display: block; width: 100%; height: auto; }

/* ---- title block ---- */
.title-block { text-align: center; padding: 22px 16px 6px; }
.title-block h1 {
  font-size: 2.1rem; font-weight: bold; color: var(--slate);
  letter-spacing: 0.01em;
}
.title-block .tagline {
  font-size: 1.15rem; color: var(--grey-lt); font-style: italic;
  margin-top: 2px;
}

/* ---- navigation bar ---- */
nav.bar {
  background: var(--slate);
  display: flex; flex-wrap: wrap; justify-content: center; gap: 2px;
  padding: 0 8px;
}
nav.bar a {
  color: var(--white); text-decoration: none;
  font-size: 0.82rem; font-weight: bold;
  padding: 10px 16px; border-radius: 3px;
  transition: background 0.15s;
}
nav.bar a:hover { background: var(--slate-lo); color: var(--white); }
nav.bar a.current { background: var(--slate-lo); }
/* a disabled/placeholder menu item (pages not part of this sample) */
nav.bar span.off {
  color: rgba(255,255,255,0.45);
  font-size: 0.82rem; font-weight: bold; padding: 10px 16px;
  cursor: default;
}

/* ---- headings inside content ---- */
h2 { color: var(--slate); font-size: 1.5rem; margin: 26px 0 10px; }
h3 { color: var(--slate); font-size: 1.2rem; margin: 20px 0 8px; }

p { margin: 0 0 14px; }
.lead { font-size: 1.05rem; }

/* ---- pull quote (testimonials / Cavuto) ---- */
blockquote {
  border-left: 4px solid var(--grey-bd);
  background: #f3f5f6;
  padding: 12px 18px; margin: 16px 0;
  font-style: italic; color: var(--slate);
}
blockquote .who { display: block; margin-top: 6px; font-style: normal;
  font-size: 0.85rem; color: var(--grey-bd); font-weight: bold; }

/* ---- video ---- */
.video-wrap { margin: 18px auto; max-width: 720px; }
.video-wrap video { width: 100%; height: auto; display: block;
  background: #000; border: 1px solid var(--grey-bd); border-radius: 6px; }
.video-cap { text-align: center; font-size: 0.85rem; color: var(--grey-bd);
  margin-top: 6px; }

/* responsive 16:9 iframe (YouTube playlist on media page) */
.embed {
  position: relative; width: 100%; max-width: 720px; margin: 18px auto;
  aspect-ratio: 16 / 9; border: 1px solid var(--grey-bd); border-radius: 6px;
  overflow: hidden; background: #000;
}
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---- splash (index) specific ---- */
/* stage = positioning context so the unmute button can sit over the video */
.video-stage { position: relative; line-height: 0; }
#unmuteBtn {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--slate); color: #fff;
  font-family: inherit; font-size: 0.95rem; font-weight: bold; line-height: 1;
  border: 2px solid #fff; border-radius: 30px;
  padding: 11px 22px; cursor: pointer;
  box-shadow: 0 3px 12px rgba(0,0,0,0.45);
  animation: pulse 1.8s ease-in-out infinite;
  transition: background 0.15s, transform 0.15s;
}
#unmuteBtn:hover { background: var(--slate-lo); transform: translateX(-50%) scale(1.05); }
#unmuteBtn .spk { font-size: 1.15rem; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 3px 12px rgba(0,0,0,0.45); }
  50%      { box-shadow: 0 3px 12px rgba(0,0,0,0.45), 0 0 0 8px rgba(61,74,82,0.18); }
}
.splash { min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 24px; }
.splash .card { margin: 0; }
.enter-btn {
  display: inline-block; margin: 8px 0 24px;
  background: var(--slate); color: var(--white); text-decoration: none;
  font-weight: bold; font-size: 0.95rem;
  padding: 12px 34px; border-radius: 4px;
  transition: background 0.15s, transform 0.15s;
}
.enter-btn:hover { background: var(--slate-lo); color: var(--white); transform: translateY(-1px); }
.splash-cta { text-align: center; }
.splash-cta .hint { font-size: 0.82rem; color: var(--grey-bd); font-style: italic; }

/* ---- announcement box ---- */
.announce {
  border: 1px solid var(--grey-bd); border-radius: 6px;
  background: #eef1f2; padding: 14px 18px; margin: 18px 0;
}
.announce .label {
  display: inline-block; background: var(--slate); color: #fff;
  font-size: 0.7rem; font-weight: bold; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 3px 10px; border-radius: 3px; margin-bottom: 8px;
}

/* ---- channel links line ---- */
.channel-links {
  text-align: center; font-size: 0.95rem;
  background: #f3f5f6; border: 1px solid var(--grey-bd); border-radius: 6px;
  padding: 12px 16px; margin: 6px auto 4px; max-width: 720px;
}
.channel-links a { font-weight: bold; }

/* ---- contact block ---- */
.contact-block { margin: 20px 0; font-size: 0.95rem; }
.contact-block strong { color: var(--slate); }

/* ---- footer ---- */
.foot {
  border-top: 1px solid var(--grey-bd); margin-top: 26px; padding-top: 14px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px; font-size: 0.8rem; color: var(--grey-bd);
}
.foot a { color: var(--slate); }
.foot .socials { display: flex; gap: 10px; align-items: center; }
.foot .socials img { height: 28px; width: auto; display: block; }

/* ---- responsive ---- */
@media (max-width: 680px) {
  .card-inner { padding: 0 18px 22px; }
  .title-block h1 { font-size: 1.6rem; }
  nav.bar { justify-content: flex-start; }
  .foot { flex-direction: column; text-align: center; }
}
