/*
Theme Name: Blank
Author: You
Description: Minimal personal theme.
Version: 1.3
*/

/* ----------------------------------------
   VARIABLES & GLOBAL RESET
----------------------------------------- */

:root {
  --text-main: #1a1a1a;
  --text-muted: #555555;
  --border-subtle: #e0e0e0;
  --bg-main: #ffffff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg-main);
  color: var(--text-main);
  font-family: system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", sans-serif;
}

/* ----------------------------------------
   LAYOUT WRAPPER
----------------------------------------- */

.hb-site {
  min-height: 100vh;
  background: var(--bg-main);
  display: flex;
  flex-direction: column;
}

/* ----------------------------------------
   NAVBAR
----------------------------------------- */

.hb-nav {
  width: 100%;
  background: #ffffff;
  padding: 32px 40px;
  display: flex;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  border-bottom: 1px solid var(--border-subtle);
  transition: padding 0.25s ease, background 0.25s ease;
}

.hb-nav.shrink {
  padding: 12px 40px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.hb-nav-links {
  display: flex;
  gap: 64px;
  transform-origin: center;
  transition: transform 0.2s ease;
}

.hb-nav-links a {
  color: #1a1a1a;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-decoration: none;
  font-size: 20px;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.hb-nav:not(.shrink) .hb-nav-links {
  transform: scale(1.2);
}

.hb-nav.shrink .hb-nav-links {
  transform: scale(1.0);
}

.hb-nav-links a:hover {
  color: #666666;
  transform: translateY(-2px);
}

/* ----------------------------------------
   MAIN CONTENT
----------------------------------------- */

.hb-content {
  padding-top: 120px;            /* matches tall navbar */
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ----------------------------------------
   GENERIC PAGE CONTENT
----------------------------------------- */

.hb-generic {
  max-width: 800px;
  margin: 40px auto 64px auto;
  padding: 0 16px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ----------------------------------------
   FOOTER
----------------------------------------- */

.hb-footer {
  padding: 16px 40px 22px;
  color: #666666;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid var(--border-subtle);
  background: #ffffff;
}

.hb-footer-left {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.hb-footer-right {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.hb-footer a {
  color: #1a1a1a;
  text-decoration: none;
}

.hb-footer a:hover {
  text-decoration: underline;
}

/* ----------------------------------------
   RESPONSIVE (GLOBAL)
----------------------------------------- */

@media (max-width: 860px) {
  .hb-nav {
    padding: 20px 18px;
  }

  .hb-nav.shrink {
    padding: 10px 18px;
  }

  .hb-nav-links {
    gap: 28px;
  }

  .hb-footer {
    padding: 14px 18px 18px;
    flex-direction: column;
    align-items: flex-start;
  }
}
