@charset "utf-8";
/*
  BLACKPLUG Web Project
  Author: Robert Webber
  Filename: bp_styles.css
*/

/* === Global Reset === */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* === Layout Foundation === */
html, body {
  height: 100%;
  font-family: Verdana, Geneva, sans-serif;
  background: radial-gradient(1200px 800px at 50% -10%, #222 0%, #111 45%, #000 100%) fixed;
  color: #e9e9e9;
}

/* Centered page card */
body {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border-left: 1px solid rgba(255,255,255,0.15);
  border-right: 1px solid rgba(255,255,255,0.15);
  box-shadow:
    0 0 30px rgba(0,0,0,0.6),
    0 0 24px rgba(255,204,0,0.08) inset;
  min-width: 320px;
  max-width: 1100px;
  margin: auto;
  display: flex;
  flex-direction: column;
}

/* Links */
a { color: #ffcc00; text-decoration: none; transition: color 0.3s; }
a:hover, a:focus { color: #fff2b3; }
::selection { background: rgba(255,204,0,0.35); color: #000; }
::-moz-selection { background: rgba(255,204,0,0.35); color: #000; }

/* === Header === */
header {
  text-align: center;
  padding: 15px 10px;
  background: #000;
  color: #fff;
  border-bottom: 2px solid #ffcc00;
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
}
header h1 em { font-size: 0.7em; }

/* === Responsive Navigation === */
nav.horizontal {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
nav.horizontal .brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Nav Logo */
.logo {
  max-width: 220px;
  height: auto;
  display: block;
  margin: 0 auto;
  transition: all 0.3s ease-in-out;
}

/* Nav Menu */
nav.horizontal .menu {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
nav.horizontal .menu a {
  color: #fff;
  font-weight: bold;
  font-size: 1rem;
}
nav.horizontal .menu a:hover { color: #ffcc00; }

/* Hamburger Button */
.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid #444;
  background: transparent;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.menu-toggle .bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 4px auto;
}

/* Responsive Nav Layout */
@media (min-width: 769px) {
  nav.horizontal { flex-direction: row; justify-content: space-between; }
  header .logo { max-width: 250px; }
}
@media (max-width: 768px) {
  .menu-toggle { display: inline-flex; order: 2; }
  nav.horizontal .brand { width: 100%; justify-content: center; order: 1; }
  nav.horizontal .menu {
    width: 100%;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
    display: none;
  }
  nav.horizontal.open .menu { display: flex; }
  header .logo { max-width: 180px; }
}
@media (max-width: 480px) {
  header .logo { max-width: 140px; }
  aside .logo  { max-width: 110px; }
}

/* === Main Section === */
#container {
  flex: 1 0 auto;
  background: linear-gradient(to right, #1b1b1b 30%, #2d2d2d);
  padding: 20px;
}
section#main {
  padding: 10px 20px;
  margin: auto;
}
section#main h1, section#main h2, section#main h3 {
  text-shadow: 0 0 8px rgba(255,204,0,0.25);
  border-left: 4px solid #ffcc00;
  padding-left: 10px;
  color: #fff;
  margin-bottom: 10px;
}
section#main p {
  line-height: 1.5;
  margin: 15px 0;
}

/* Gold divider */
.hr-gold {
  height: 2px;
  background: linear-gradient(90deg, transparent, #ffcc00, transparent);
  border: 0;
  margin: 18px 0;
}

/* === Footer === */
footer {
  background: linear-gradient(to right, #000, #1f1f1f 60%, #000);
  color: #ffcc00;
  border-top: 2px solid #ffcc00;
  text-align: center;
  padding: 14px 10px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.4px;
  box-shadow: 0 -6px 18px rgba(0,0,0,0.45);
}
footer a { color: #fff; }
footer a:hover { color: #ffcc00; }
footer:hover {
  box-shadow:
    0 -6px 18px rgba(0,0,0,0.45),
    0 0 18px rgba(255,204,0,0.45);
  transform: translateZ(0);
}

/* === Responsive Images === */
aside .logo { max-width: 180px; margin-top: 15px; }

/* === Mobile Adjustments === */
@media (max-width: 600px) {
  section#main { padding: 8px 10px; }
}
/* === MOBILE FIX PACK (place at end of bp_styles.css) === */
@media (max-width: 768px) {
  html, body { width: 100%; overflow-x: hidden; }
  body { margin: 0; }

  /* Brand & menu layout */
  nav.horizontal { flex-wrap: wrap; justify-content: center; gap: 10px; }

  /* SHOW hamburger on mobile */
  .menu-toggle { display: inline-flex !important; order: 2; }

  /* Center the logo above */
  nav.horizontal .brand { width: 100%; justify-content: center; order: 1; }

  /* Collapse menu by default; open when JS toggles .open */
  nav.horizontal .menu {
    width: 100%;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
    display: none;
  }
  nav.horizontal.open .menu { display: flex; }

  /* Full-width tappable menu items */
  nav.horizontal .menu li { width: 100%; text-align: center; }

  /* Images never overflow */
  img, .logo { max-width: 100%; height: auto; }
}

/* Legacy navicon link (hide if still present) */
a#navicon { display: none !important; }
