/*
Theme Name: Linkqin Minimal Bootstrap
Theme URI: https://example.com/
Author: linkqin
Author URI: https://example.com/
Description: A minimal, full-width WordPress theme built with Bootstrap layout. Simple, fast, and security-conscious.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: linkqin-minimal
Tags: one-column, full-width-template, bootstrap, custom-logo, accessibility-ready
*/

/* ====== Minimal Base Styles ====== */
:root{
  --lq-bg: #0b0f14;
  --lq-surface: #111827;
  --lq-text: #e5e7eb;
  --lq-muted: #9ca3af;
  --lq-border: rgba(255,255,255,.10);
}

html, body { height: 100%; }
body{
  background: var(--lq-bg);
  color: var(--lq-text);
}

a{ color: inherit; }
a:hover{ opacity: .9; }

/* Full-width layout helpers */
.lq-page{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.lq-main{
  flex: 1 1 auto;
}

/* Navbar */
.lq-navbar{
  backdrop-filter: blur(8px);
  background: rgba(17, 24, 39, .85) !important;
  border-bottom: 1px solid var(--lq-border);
}
.lq-navbar .navbar-brand{
  font-weight: 700;
  letter-spacing: .2px;
}
.lq-footer{
  border-top: 1px solid var(--lq-border);
  background: rgba(17, 24, 39, .60);
}

/* Content */
.lq-card{
  background: rgba(17, 24, 39, .75);
  border: 1px solid var(--lq-border);
  border-radius: 16px;
}
.lq-card .card-body{ color: var(--lq-text); }

.lq-muted{ color: var(--lq-muted); }

/* WordPress alignment */
.alignwide { width: 100%; max-width: 1200px; margin-left:auto; margin-right:auto; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.wp-block-image img{ height:auto; }

/* Accessibility */
.screen-reader-text{
  position:absolute; left:-10000px; top:auto; width:1px; height:1px; overflow:hidden;
}
.screen-reader-text:focus{
  left: 12px; top: 12px; width:auto; height:auto; padding: 12px 14px;
  background: #fff; color: #000; z-index: 100000;
}


/* ====== ERP-oriented navigation (minimal) ====== */
.lq-navbar{
  position: sticky;
  top: 0;
  z-index: 1030;
}

.lq-nav .menu-item > a{
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .7rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--lq-text);
  border: 1px solid transparent;
  transition: background .15s ease, border-color .15s ease, opacity .15s ease;
}

.lq-nav .menu-item > a:hover{
  background: rgba(255,255,255,.06);
  border-color: var(--lq-border);
  opacity: 1;
}

.lq-nav .current-menu-item > a,
.lq-nav .current-menu-ancestor > a,
.lq-nav .current_page_item > a{
  background: rgba(255,255,255,.10);
  border-color: var(--lq-border);
}

/* Improve spacing in navbar */
.lq-navbar .navbar-brand img{
  max-height: 34px;
  width: auto;
}

/* Full-bleed page content utility (ERP pages often have their own sections) */
.lq-bleed{
  width: 100%;
  padding: 0;
}
