/* ========================================
   COLOUR SCHEME & DARK MODE
   ======================================== */

:root {
  color-scheme: dark;
  
  /* Your brand colours */
  --accent-color: #FF1A75;
  --background-color: #1A1A1A;
  --text-color: #e4e4e4;
  --text-secondary: #a0a0a0;
  --border-color: #333;
  
  /* Override Bayou defaults */
  --link-color: #FF1A75;
  --link-hover-color: #ff3d8f;
}

/* Force dark mode styling */
body {
  background-color: #1A1A1A;
  color: #e4e4e4;
}

/* ========================================
   STICKY TRANSPARENT HEADER
   ======================================== */

header,
.site-header,
nav {
  position: sticky;
  top: 0;
  background: rgba(26, 26, 26, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  transition: background 0.3s ease;
  border-bottom: 1px solid rgba(255, 26, 117, 0.2);
}

/* When scrolling, make header slightly more opaque */
header.scrolled {
  background: rgba(26, 26, 26, 0.95);
}

/* ========================================
   TYPOGRAPHY & LINKS
   ======================================== */

a {
  color: #FF1A75;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #ff3d8f;
}

/* ========================================
   LIGHT MODE (if user switches)
   ======================================== */

@media (prefers-color-scheme: light) {
  :root {
    --background-color: #ffffff;
    --text-color: #1a1a1a;
    --text-secondary: #666;
    --border-color: #e0e0e0;
  }
  
  body {
    background-color: #ffffff;
    color: #1a1a1a;
  }
  
  header,
  .site-header,
  nav {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(255, 26, 117, 0.2);
  }
}

/* ========================================
   BUTTONS & INTERACTIVE ELEMENTS
   ======================================== */

button,
.button,
input[type="submit"] {
  background-color: #FF1A75;
  color: #ffffff;
  border: none;
  transition: background-color 0.2s ease;
}

button:hover,
.button:hover,
input[type="submit"]:hover {
  background-color: #ff3d8f;
}

/* ========================================
   PHOTO STYLING
   ======================================== */

img {
  border-radius: 4px;
  max-width: 100%;
  height: auto;
}

/* Photo posts - make them stand out */
.post-image,
.h-entry img {
  margin: 2rem 0;
}

/* ========================================
   SIDEBAR
   ======================================== */

.sidebar {
  background: rgba(255, 26, 117, 0.05);
  border-left: 2px solid #FF1A75;
  padding: 1.5rem;
}

.sidebar h3 {
  color: #FF1A75;
  margin-bottom: 1rem;
}

/* ========================================
   CONTENT SPACING
   ======================================== */

.h-entry {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-color);
}

.h-entry:last-child {
  border-bottom: none;
}
/* ========================================
   LOGO - Simplified test
   ======================================== */

/* ========================================
   LOGO - Target only the H1 link
   ======================================== */

/* Hide the entire H1 and its link */
.site-title h1 {
  display: none !important;
}

/* Show logo on the first direct link only */
.site-title > a {
  text-indent: -9999px;
  background: url('https://notnixon.com/uploads/2026/overflow-logo.png') no-repeat left center !important;
  background-size: contain !important;
  display: block !important;
  width: 200px !important;
  height: 60px !important;
  overflow: hidden !important;
}

@media (max-width: 768px) {
  .site-title > a {
    width: 150px !important;
    height: 45px !important;
  }
}
/* ========================================
   SIDEBAR COLOUR
   ======================================== */
html {
  background: #1A1A1A !important;
}

body {
  background: #1A1A1A !important;
}