/* ========================================
   Brent Bushnell — Static Site Styles
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;700;900&family=Open+Sans:wght@400;500;600&display=swap');

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-size: 15px;
  line-height: 1.7em;
  color: #3e3e3e;
  background: #fff;
  font-family: 'Open Sans', Arial, sans-serif;
}

a {
  color: #0085bd;
  text-decoration: none;
  transition: color 0.25s ease;
}
a:hover { color: #60a5dd; }

img { max-width: 100%; display: block; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Raleway', Arial, Verdana, sans-serif;
  font-weight: 700;
  line-height: 1.2em;
  margin: 0 0 0.75em;
}

p { margin: 0 0 1.2em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.8em; }
li { margin-bottom: 0.3em; }

/* ---- Header ---- */
#headerWrapper {
  position: relative;
  z-index: 100;
}

/* Default header (light bg for interior pages) */
#header {
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  padding: 28px 50px;
}

#header .wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 24px;
}

/* Logo / Site Title */
#logo { flex-shrink: 0; }

.logo.logo-text a {
  font-family: 'Raleway', Arial, Verdana, sans-serif;
  font-weight: 900;
  font-size: 32px;
  letter-spacing: 0.21em;
  text-transform: uppercase;
  color: #111;
  line-height: 1em;
  display: block;
  transition: color 0.3s ease;
}
.logo.logo-text a:hover { color: #444; }

.logo-subtitle {
  font-family: 'Raleway', Arial, Verdana, sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  line-height: 1.5em;
  color: #555;
  margin: 4px 0 0 0;
}

/* Nav */
.main-nav { flex: 1; }
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 0;
}
.main-nav ul li { display: inline-block; }

.main-nav ul li a {
  font-family: 'Raleway', Arial, Verdana, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #111;
  padding: 4px 16px;
  display: block;
  border-bottom: 2px solid transparent;
  transition: color 0.25s, border-color 0.25s;
  text-transform: uppercase;
}
.main-nav ul li a:hover,
.main-nav ul li.active-link a {
  color: #000;
  border-bottom-color: #111;
}

/* Social icons */
#sqs-social {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #333;
  transition: color 0.25s, opacity 0.25s;
  opacity: 0.7;
}
.social-icon:hover { opacity: 1; color: #000; }
.social-icon svg { width: 20px; height: 20px; fill: currentColor; }

/* ---- Home Hero Header (overlaid on dark image) ---- */
body.page-home #header {
  background: transparent;
  border-bottom: none;
  position: absolute;
  top: 0; left: 0; right: 0;
}

body.page-home .logo.logo-text a,
body.page-home .main-nav ul li a {
  color: #fff;
}
body.page-home .logo-subtitle { color: rgba(255,255,255,0.8); }
body.page-home .main-nav ul li a:hover { border-bottom-color: #fff; }
body.page-home .social-icon { color: #fff; opacity: 0.85; }
body.page-home .social-icon:hover { opacity: 1; }

/* ---- Home Page Hero ---- */
.home-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: #111;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.85;
}

/* ---- Page Content Wrapper ---- */
.page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 70px 50px 80px;
}

/* ---- About Page ---- */
.about-layout {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.about-text {
  flex: 1;
  min-width: 0;
}

.about-image {
  flex-shrink: 0;
  width: 280px;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-text h1 {
  font-family: 'Raleway', Arial, sans-serif;
  font-weight: 900;
  font-size: 36px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #111;
  margin-bottom: 1.2em;
}

.about-text p { color: #3e3e3e; }

.about-text a { color: #0085bd; }
.about-text a:hover { color: #60a5dd; }

/* ---- Archive Page ---- */
.page-heading {
  font-family: 'Raleway', Arial, sans-serif;
  font-weight: 900;
  font-size: 36px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #111;
  margin-bottom: 0.5em;
}

.archive-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.archive-list li {
  border-bottom: 1px solid #e8e8e8;
  margin-bottom: 0;
}

.archive-list li:first-child {
  border-top: 1px solid #e8e8e8;
}

.archive-list li a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 18px 0;
  color: #222;
  transition: color 0.2s;
}

.archive-list li a:hover { color: #0085bd; }

.archive-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4em;
}

.archive-date {
  font-size: 12px;
  color: #999;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ---- Video Embeds ---- */
.video-embed {
  margin: 1.8em 0;
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  background: #000;
}

.video-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ---- Gallery Note ---- */
.gallery-note {
  font-size: 13px;
  color: #999;
  font-style: italic;
  border-left: 3px solid #e0e0e0;
  padding-left: 12px;
  margin: 1.5em 0;
}

/* ---- Individual Post Page ---- */
.post-header {
  margin-bottom: 2em;
  padding-bottom: 1.5em;
  border-bottom: 1px solid #e8e8e8;
}

.post-title {
  font-family: 'Raleway', Arial, sans-serif;
  font-weight: 900;
  font-size: 36px;
  letter-spacing: 0.03em;
  color: #111;
  margin-bottom: 0.3em;
}

.post-date {
  font-size: 13px;
  color: #999;
  letter-spacing: 1px;
}

.post-body {
  font-size: 15px;
  line-height: 1.8em;
  color: #3e3e3e;
}

.post-body p { margin-bottom: 1.2em; }
.post-body a { color: #0085bd; }
.post-body a:hover { color: #60a5dd; }
.post-body ul, .post-body ol { margin-bottom: 1.2em; }

.back-link {
  display: inline-block;
  margin-bottom: 2em;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #888;
  font-weight: 600;
}
.back-link:hover { color: #0085bd; }
.back-link::before { content: '← '; }

/* ---- Contact Page ---- */
.contact-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.contact-content h1 {
  font-family: 'Raleway', Arial, sans-serif;
  font-weight: 900;
  font-size: 36px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #111;
  margin-bottom: 0.7em;
}

.contact-content p {
  font-size: 16px;
  color: #555;
  margin-bottom: 1.5em;
}

.contact-speaking {
  background: #f6f6f6;
  border-radius: 4px;
  padding: 20px 28px;
  margin: 2em 0;
  text-align: left;
  font-size: 14px;
  color: #555;
  line-height: 1.7em;
}

.contact-speaking strong { color: #333; }

.btn-contact {
  display: inline-block;
  background: #111;
  color: #fff !important;
  font-family: 'Raleway', Arial, sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 18px 48px;
  margin-top: 10px;
  border: 2px solid #111;
  transition: background 0.25s, color 0.25s;
}

.btn-contact:hover {
  background: #fff;
  color: #111 !important;
}

/* ---- Footer ---- */
#footer {
  background: #f6f6f6;
  border-top: 1px solid #e8e8e8;
  padding: 30px 50px;
  text-align: center;
  font-size: 12px;
  color: #aaa;
  letter-spacing: 1px;
}

#footer a { color: #888; }
#footer a:hover { color: #333; }

/* ---- Mobile ---- */
@media (max-width: 768px) {
  #header { padding: 20px 24px; }

  #header .wrapper {
    flex-wrap: wrap;
    gap: 16px;
  }

  .logo.logo-text a { font-size: 22px; }
  .logo-subtitle { font-size: 9px; letter-spacing: 3px; }

  .main-nav ul { gap: 0; }
  .main-nav ul li a { padding: 4px 10px; font-size: 12px; }

  .page-content { padding: 40px 24px 60px; }

  .about-layout { flex-direction: column-reverse; gap: 32px; }
  .about-image { width: 100%; max-width: 340px; }

  .post-title, .page-heading, .about-text h1, .contact-content h1 { font-size: 26px; }

  .archive-list li a { flex-direction: column; gap: 4px; }

  #footer { padding: 24px; }
}

@media (max-width: 480px) {
  .logo.logo-text a { font-size: 18px; letter-spacing: 0.15em; }
  .main-nav ul li a { padding: 4px 8px; font-size: 11px; }
  #sqs-social { gap: 6px; }
  .btn-contact { padding: 16px 32px; font-size: 14px; }
}
