/* ReganCipher Blog Styles - Bold Redesign */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  /* Colors - ReganCipher Gold Brand */
  --primary-bg: #1a1f28;
  --secondary-bg: #212830;
  --tertiary-bg: #2a3038;
  --border-color: #3a3f48;

  --text-primary: #e6edf3;
  --text-secondary: #a8b0bc;
  --text-muted: #6e7681;

  --accent-color: #d4af37;
  --accent-hover: #f0c849;
  --gold-gradient: linear-gradient(135deg, #d4af37 0%, #f0c849 100%);

  --success-color: #3fb950;
  --warning-color: #f85149;

  /* Typography - Much Better! */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-mono: 'SF Mono', Monaco, 'Cascadia Code', monospace;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;

  /* Layout */
  --max-width: 1200px;
  --content-width: 800px;
}

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

/* Global body - Gold background for ALL pages */
body {
  font-family: var(--font-main);
  background: linear-gradient(135deg, #d4af37 0%, #f0c849 100%);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

/* Header - Fixed with backdrop to prevent content intrusion */
.site-header {
  background: linear-gradient(135deg, #d4af37 0%, #f0c849 100%);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}

/* Logo branding with text */
.site-branding-center {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-text-left {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--secondary-bg);
  letter-spacing: 0.1em;
}

.logo-image {
  height: 120px;
  width: 120px;
  border-radius: 50%;
  transition: transform 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.logo-image:hover {
  transform: scale(1.05) rotate(5deg);
}

.brand-text-right {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--secondary-bg);
  letter-spacing: 0.1em;
}

/* Navigation - Clean, slim */
.site-nav-left,
.site-nav-right {
  flex: 1;
}

.site-nav-left ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  justify-content: flex-end;
  margin: 0;
  padding: 0;
}

.site-nav-right ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  justify-content: flex-start;
  margin: 0;
  padding: 0;
}

.site-nav-left li,
.site-nav-right li {
  list-style: none !important;
}

/* Links - No blue/purple! */
a {
  color: var(--accent-color);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--accent-hover);
  text-decoration: none;
}

a:visited {
  color: var(--accent-color);
}

/* Navigation links - Dark, uppercase, no underline */
.site-nav-left a,
.site-nav-right a {
  color: #1a1f28 !important;
  font-weight: 600 !important;
  font-family: var(--font-main);
  font-size: 1.1rem;
  transition: all 0.2s ease;
  letter-spacing: 0.08em;
  text-transform: uppercase !important;
  text-decoration: none !important;
  opacity: 0.9;
}

.site-nav-left a:hover,
.site-nav-right a:hover {
  opacity: 1 !important;
  color: #000000 !important;
  transform: translateY(-2px);
  text-decoration: none !important;
}

.site-nav-left a:visited,
.site-nav-right a:visited {
  color: #1a1f28 !important;
  text-decoration: none !important;
}

/* Footer - Clean on gold */
.site-footer {
  background: transparent;
  margin-top: 4rem;
  padding: 3rem 0 1.5rem;
  border-top: 2px solid rgba(26, 31, 40, 0.15);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-about h3,
.footer-links h3,
.footer-social h3 {
  font-family: var(--font-display);
  color: var(--secondary-bg);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.footer-about p {
  color: var(--secondary-bg);
  line-height: 1.7;
  opacity: 0.85;
}

.footer-links ul,
.footer-social ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
}

.footer-links li,
.footer-social li {
  list-style: none;
}

.footer-links a,
.footer-social a {
  color: var(--secondary-bg);
  font-weight: 500;
  opacity: 0.85;
  transition: all 0.2s ease;
}

.footer-links a:hover,
.footer-social a:hover {
  opacity: 1;
  transform: translateX(4px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(26, 31, 40, 0.15);
  max-width: 1200px;
  margin: 0 auto;
}

.footer-bottom p {
  color: var(--secondary-bg);
  opacity: 0.8;
  font-size: 0.9rem;
  margin: 0.25rem 0;
}

/* Mobile responsive */
@media (max-width: 968px) {
  .header-container {
    flex-direction: column;
    gap: 1.5rem;
  }

  .site-nav-left ul,
  .site-nav-right ul {
    justify-content: center;
  }

  .brand-text-left,
  .brand-text-right {
    font-size: 1.75rem;
  }

  .logo-image {
    height: 80px;
    width: 80px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
