/* ============================================================
   GNA Journal of Management and Technology
   Main Stylesheet
   Colors: #B11D1F (red) | #373435 (dark)
   Font: Be Vietnam Pro
============================================================ */

:root {
  --red:    #B11D1F;
  --dark:   #373435;
  --light:  #f8f6f2;
  --muted:  #6b7280;
  --border: #e2ddd8;
  --white:  #ffffff;
}

/* ── RESET & BASE ── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Be Vietnam Pro', sans-serif;
  background: var(--light);
  color: #2c2c2c;
  overflow-x: hidden;
}

/* ============================================================
   NAVBAR
============================================================ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 3px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  height: 70px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.1);
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo img {
  height: 50px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Centered nav menu */
.nav-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2px;
}

.nav-center > li { position: relative; }

.nav-center > li > a {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--dark);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 5px;
  transition: all 0.18s;
  white-space: nowrap;
}

.nav-center > li > a:hover,
.nav-center > li > a.active {
  background: rgba(177,29,31,0.08);
  color: var(--red);
}

.nav-center > li > a svg {
  width: 11px; height: 11px;
  transition: transform 0.18s;
  flex-shrink: 0;
}

.nav-center > li:hover > a svg { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  min-width: 250px;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  border-top: 2px solid var(--red);
  border-radius: 8px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: all 0.18s ease;
  box-shadow: 0 12px 36px rgba(0,0,0,0.12);
}

.nav-center > li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown a {
  display: block;
  padding: 12px 20px;
  color: var(--dark);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: all 0.14s;
}

.dropdown a:last-child { border-bottom: none; }

.dropdown a:hover {
  background: rgba(177,29,31,0.06);
  color: var(--red);
  padding-left: 26px;
}

/* Mobile hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border: none;
  background: none;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 70px; left: 0; right: 0;
  background: var(--white);
  border-bottom: 2px solid var(--border);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  z-index: 999;
  padding: 12px 0;
}

.mobile-menu.open { display: block; }

.mobile-menu a {
  display: block;
  padding: 11px 24px;
  color: var(--dark);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border);
  transition: all 0.15s;
}

.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { background: rgba(177,29,31,0.05); color: var(--red); }
.mobile-menu a.sub { padding-left: 36px; font-weight: 500; font-size: 12.5px; text-transform: none; letter-spacing: 0; color: var(--muted); }
.mobile-menu a.sub:hover { color: var(--red); }

/* ============================================================
   PAGE HEADER (inner pages)
============================================================ */
.page-header {
  margin-top: 70px;
  background: var(--dark);
  padding: 52px 0;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -52deg, transparent, transparent 38px,
    rgba(255,255,255,0.014) 38px, rgba(255,255,255,0.014) 39px
  );
}

.page-header::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: var(--red);
}

.page-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
}

.page-header h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--white);
}

.page-header h1 em { font-style: normal; color: var(--red); }

/* ============================================================
   SHARED UTILITIES
============================================================ */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

.section-tag::before {
  content: '';
  width: 18px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.18;
  margin-bottom: 8px;
}

.section-title em { font-style: normal; color: var(--red); }

.section-divider {
  height: 1px;
  background: var(--border);
  margin: 44px 0;
}

/* Centered board heading */
.board-heading {
  text-align: center;
  margin-bottom: 40px;
}

.board-heading h2 {
  font-size: 30px;
  font-weight: 700;
  color: var(--dark);
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}

.board-heading h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
}

/* ============================================================
   HOME — HERO
============================================================ */
.hero {
  margin-top: 70px;
  width: 100%;
  line-height: 0;
  font-size: 0;
}

.hero img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ============================================================
   HOME — AIM & SCOPE
============================================================ */
#aim-scope {
  background: var(--white);
  border-top: 4px solid var(--red);
  padding: 88px 0;
}

.aim-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  align-items: start;
}

.aim-cover-card {
  position: sticky;
  top: 88px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.aim-cover-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.aim-content .section-title { margin-bottom: 28px; }

.aim-content p {
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.82;
  color: #484848;
  margin-bottom: 20px;
}

.aim-content p:last-child { margin-bottom: 0; }

.aim-highlight {
  border-left: 3px solid var(--red);
  padding: 15px 20px;
  background: rgba(177,29,31,0.04);
  border-radius: 0 8px 8px 0;
  margin: 26px 0;
}

.aim-highlight p { margin: 0; font-style: italic; color: #555; }

/* ============================================================
   HOME — JOURNAL PARTICULARS
============================================================ */
#particulars {
  background: var(--light);
  padding: 88px 0;
}

.particulars-header { text-align: center; margin-bottom: 46px; }

.particulars-table-wrap {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 36px rgba(0,0,0,0.07);
  border: 1px solid var(--border);
}

.particulars-table-header {
  background: var(--dark);
  padding: 18px 30px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.particulars-table-header h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}

.particulars-table-header span {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.35);
  border-left: 1px solid rgba(255,255,255,0.1);
  padding-left: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

table { width: 100%; border-collapse: collapse; }

thead tr {
  background: rgba(177,29,31,0.05);
  border-bottom: 2px solid rgba(177,29,31,0.15);
}

thead th {
  padding: 13px 22px;
  text-align: left;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--red);
}

thead th:first-child { width: 70px; }
thead th:nth-child(2) { width: 190px; }

tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.14s;
}

tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: rgba(177,29,31,0.02); }

tbody td {
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 400;
  color: #333;
  vertical-align: top;
  line-height: 1.5;
}

tbody td:first-child { color: var(--red); font-weight: 700; font-size: 13px; }
tbody td:nth-child(2) { color: var(--muted); font-weight: 600; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.4px; }

.table-link {
  color: var(--red);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px dashed rgba(177,29,31,0.35);
  transition: border-color 0.18s;
}

.table-link:hover { border-color: var(--red); }

/* ============================================================
   EDITORIAL BOARD PAGE
============================================================ */
.editorial-body {
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 40px 80px;
}

.board-section { display: flex; flex-direction: column; gap: 20px; }

.board-card {
  background: var(--white);
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

.board-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.board-card-inner { display: grid; grid-template-columns: 6px 1fr; }
.board-card-stripe { background: var(--red); }

.board-card-body { padding: 24px 28px; }

.board-role {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(177,29,31,0.07);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 14px;
}

.board-info {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.board-avatar {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--dark) 0%, #555 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
  border: 3px solid rgba(177,29,31,0.15);
  letter-spacing: 0.5px;
}

.board-details h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 3px;
}

.board-details span {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

.board-details span svg { width: 13px; height: 13px; }

.board-footer {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-profile {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--red);
  text-decoration: none;
  padding: 8px 16px;
  border: 1.5px solid rgba(177,29,31,0.3);
  border-radius: 6px;
  transition: all 0.18s;
  letter-spacing: 0.3px;
}

.btn-profile:hover { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-profile svg { width: 14px; height: 14px; }

.btn-pdf {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  padding: 8px 16px;
  background: var(--red);
  border: 1.5px solid var(--red);
  border-radius: 6px;
  transition: all 0.18s;
  letter-spacing: 0.3px;
}

.btn-pdf:hover { background: #8f1618; border-color: #8f1618; }
.btn-pdf svg { width: 14px; height: 14px; }
.no-link { opacity: 0.35; pointer-events: none; }

/* ============================================================
   ADVISORY BOARD PAGE
============================================================ */
.advisory-body {
  max-width: 980px;
  margin: 0 auto;
  padding: 60px 40px 80px;
}

.patron-group { margin-bottom: 44px; }

.group-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}

.group-label::before {
  content: '';
  width: 18px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}

.patron-card {
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 18px rgba(0,0,0,0.05);
  display: grid;
  grid-template-columns: 5px 1fr;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

.patron-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.1); transform: translateY(-2px); }

.patron-stripe { background: var(--red); }

.patron-body {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.patron-avatar {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--dark) 0%, #555 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
  border: 2px solid rgba(177,29,31,0.2);
  letter-spacing: 0.5px;
}

.patron-info h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 3px;
}

.patron-info span {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

.patron-info span svg { width: 13px; height: 13px; flex-shrink: 0; }

/* Members grid */
.members-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.member-card {
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 18px rgba(0,0,0,0.05);
  display: grid;
  grid-template-columns: 5px 1fr;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

.member-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.1); transform: translateY(-2px); }

.member-stripe { background: rgba(177,29,31,0.5); }

.member-body {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.member-avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--dark) 0%, #666 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
  letter-spacing: 0.5px;
}

.member-info h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 3px;
  line-height: 1.3;
}

.member-info span {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.4;
  display: block;
}

/* ============================================================
   FOOTER
============================================================ */
footer {
  background: var(--dark);
  border-top: 3px solid var(--red);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 48px;
}

.footer-logo-wrap { margin-bottom: 16px; }
.footer-logo-wrap img { height: 42px; width: auto; object-fit: contain; }

.footer-brand p {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.72;
  color: rgba(255,255,255,0.4);
  max-width: 260px;
}

.footer-col h5 {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.footer-col ul a {
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  transition: color 0.18s;
  display: flex;
  align-items: center;
  gap: 7px;
}

.footer-col ul a::before { content: '›'; font-size: 15px; color: var(--red); opacity: 0.7; }
.footer-col ul a:hover { color: rgba(255,255,255,0.82); }

.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.42);
  line-height: 1.55;
  align-items: flex-start;
}

.footer-contact-icon {
  width: 28px;
  height: 28px;
  background: rgba(177,29,31,0.15);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.footer-contact-icon svg { width: 13px; height: 13px; color: var(--red); }

.footer-mail-link {
  color: rgba(255,255,255,0.42);
  text-decoration: none;
  transition: color 0.18s;
}

.footer-mail-link:hover { color: rgba(255,255,255,0.75); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom p { font-size: 12px; font-weight: 400; color: rgba(255,255,255,0.22); }

.footer-issn { font-size: 12px; color: rgba(255,255,255,0.22); }
.footer-issn strong { color: rgba(255,255,255,0.4); font-weight: 700; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 900px) {
  .aim-layout { grid-template-columns: 1fr; }
  .aim-cover-card { position: static; max-width: 320px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .members-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-center { display: none; }
  .nav-hamburger { display: flex; }
  .container { padding: 0 20px; }
  .page-header-inner { padding: 0 20px; }
  .editorial-body { padding: 40px 20px 60px; }
  .advisory-body { padding: 40px 20px 60px; }
  #aim-scope { padding: 60px 0; }
  #particulars { padding: 60px 0; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
