/*
Theme Name: GCTI Glass Blank Theme
Theme URI: https://globalctinstitute.org
Author: GCTI
Description: Dark-glass header/footer with centered blank content area. Includes page templates for core site pages.
Version: 1.0.0
Text Domain: gcti-glass-blank
*/

/* ===== Theme tokens ===== */
:root{
  --bg:#070A12;
  --text:#EAF0FF;
  --text-92:rgba(234,240,255,.92);
  --text-82:rgba(234,240,255,.82);
  --text-72:rgba(234,240,255,.72);

  --borderA:rgba(255,255,255,.10);
  --borderB:rgba(255,255,255,.14);

  --blue:#3A90DB;
  --violet:rgba(92,59,255,.18);
  --glassA:rgba(255,255,255,.035);
  --glassB:rgba(255,255,255,.015);

  --shadow:0 18px 60px rgba(0,0,0,.45);
}

/* ===== Base ===== */
*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{
  font-family: ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial;
  background: var(--bg);
  color: var(--text);
  min-height:100vh;
}
img{ max-width:100%; height:auto; }
a{ color:inherit; }

/* ===== Centered layout ===== */
.gcti-wrap{
  max-width:1120px;
  margin:0 auto;
  padding:14px 18px;
}
.gcti-main{
  max-width:1120px;
  margin:0 auto;
  padding:18px 18px 56px;
}

/* ===== Glass surface (matches your header style) ===== */
.gcti-glass{
  border-radius:18px;
  overflow:hidden;
  border:1px solid var(--borderA);
  box-shadow: var(--shadow);
  background:
    radial-gradient(900px 520px at 16% 24%, rgba(58,144,219,.22), rgba(58,144,219,0) 60%),
    radial-gradient(820px 520px at 86% 18%, var(--violet), rgba(92,59,255,0) 62%),
    linear-gradient(180deg, var(--glassA), var(--glassB));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Footer glass — add a dark base so it NEVER washes out */
.gcti-glass--footer{
  background:
    linear-gradient(0deg, rgba(0,0,0,.45), rgba(0,0,0,.45)),
    radial-gradient(900px 520px at 16% 24%, rgba(58,144,219,.22), rgba(58,144,219,0) 60%),
    radial-gradient(820px 520px at 86% 18%, var(--violet), rgba(92,59,255,0) 62%),
    linear-gradient(180deg, var(--glassA), var(--glassB));
}

/* =========================
   GCTI HEADER — improved + responsive
   ========================= */

.gcti-header-sticky{
  position: sticky;
  top: 0;
  z-index: 9999;
}

/* If you want the header to scroll on mobile (recommended) */
@media (max-width: 980px){
  .gcti-header-sticky{ position: relative; top:auto; }
}

/* Container */
.gcti-wrap{ max-width:1120px; margin:0 auto; padding:14px 18px; }

/* Dark glass surface (keep your existing if already defined) */
.gcti-glass{
  border-radius:18px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 18px 60px rgba(0,0,0,.45);
  background:
    radial-gradient(900px 520px at 16% 24%, rgba(58,144,219,.22), rgba(58,144,219,0) 60%),
    radial-gradient(820px 520px at 86% 18%, rgba(92,59,255,.18), rgba(92,59,255,0) 62%),
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.015));
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}

/* Inner layout */
.gcti-header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:12px 14px;
}

/* Brand */
.gcti-brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color:#EAF0FF;
  min-width: 190px;
}
.gcti-brand img{ height:78px; width:auto; display:block; }
.gcti-brand span{ font-weight:900; letter-spacing:.2px; font-size:18px; line-height:1; }

/* Desktop nav */
.gcti-nav{
  display:flex;
  align-items:center;
  gap:6px;
  flex-wrap:wrap;
  justify-content:center;
}
.gcti-nav a{
  padding:8px 10px;
  border-radius:10px;
  color:rgba(234,240,255,.92);
  text-decoration:none;
  font-size:14px;
  font-weight:800;
  border:1px solid transparent;
}
.gcti-nav a:hover{
  background:rgba(255,255,255,.04);
  border-color:rgba(255,255,255,.10);
}
.gcti-nav a.active{
  background:rgba(255,255,255,.05);
  border-color:rgba(255,255,255,.14);
}

/* CTAs */
.gcti-cta{ display:flex; align-items:center; gap:10px; }
.gcti-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:999px;
  font-weight:900;
  font-size:14px;
  text-decoration:none;
  white-space:nowrap;
  border:1px solid rgba(255,255,255,.14);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
}
.gcti-pill.soft{ background:rgba(255,255,255,.04); color:#EAF0FF; }
.gcti-pill.blue{
  background:#3A90DB;
  color:#fff;
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 16px 34px rgba(58,144,219,.25);
}

/* MOBILE MENU BUTTON */
.gcti-menu-btn{
  display:none;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.04);
  border-radius:12px;
  height:44px;
  width:44px;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
}
.gcti-menu-icon{
  width:18px; height:2px;
  background:rgba(234,240,255,.92);
  position:relative;
  display:block;
  border-radius:2px;
}
.gcti-menu-icon:before,
.gcti-menu-icon:after{
  content:"";
  position:absolute;
  left:0;
  width:18px; height:2px;
  background:rgba(234,240,255,.92);
  border-radius:2px;
}
.gcti-menu-icon:before{ top:-6px; }
.gcti-menu-icon:after{ top:6px; }

/* MOBILE DROPDOWN */
.gcti-mobile-menu{
  display:none;
  border-top:1px solid rgba(255,255,255,.10);
  padding:12px 14px 14px;
}
.gcti-nav-mobile{
  display:grid;
  grid-template-columns:1fr;
  gap:8px;
}
.gcti-nav-mobile a{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:11px 12px;
  border-radius:12px;
  text-decoration:none;
  color:rgba(234,240,255,.92);
  font-weight:850;
  background:rgba(255,255,255,.02);
  border:1px solid rgba(255,255,255,.10);
}
.gcti-nav-mobile a:hover{
  background:rgba(255,255,255,.04);
}
.gcti-cta-mobile{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:12px;
}

/* MOBILE BREAKPOINT */
@media (max-width: 980px){
  .gcti-brand img{ height:64px; }
  .gcti-nav-desktop,
  .gcti-cta-desktop{ display:none !important; }

  .gcti-menu-btn{ display:inline-flex; }
  .gcti-mobile-menu{ display:block; }
}

/* Brand */
.gcti-brand{
  display:flex; align-items:center; gap:12px;
  text-decoration:none; color: var(--text);
  min-width:220px;
}
.gcti-brand img{ height:78px; width:auto; display:block; }
.gcti-brand span{ font-weight:900; letter-spacing:.2px; font-size:18px; line-height:1; }

/* Nav */
.gcti-nav{
  display:flex; align-items:center; gap:8px;
  flex-wrap:wrap; justify-content:center;
}
.gcti-nav a{
  padding:8px 10px;
  border-radius:10px;
  color: var(--text-92);
  text-decoration:none;
  font-size:14px;
  font-weight:700;
  border:1px solid transparent;
  background: transparent;
}
.gcti-nav a:hover{
  background: rgba(255,255,255,.04);
  border-color: var(--borderA);
}
.gcti-nav a.is-active{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.16);
}

/* CTAs */
.gcti-cta{ display:flex; align-items:center; gap:10px; }
.gcti-pill{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 14px;
  border-radius:999px;
  font-weight:900;
  font-size:14px;
  text-decoration:none;
  border:1px solid var(--borderB);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  white-space:nowrap;
}
.gcti-pill.soft{ background: rgba(255,255,255,.04); color: var(--text); }
.gcti-pill.blue{
  background: var(--blue);
  color:#fff;
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 16px 34px rgba(58,144,219,.25);
}

/* ===== Content surface (blank area) ===== */
.gcti-content-surface{
  border-radius:18px;
  border:1px solid var(--borderA);
  background: rgba(255,255,255,.02);
  box-shadow: 0 18px 60px rgba(0,0,0,.25);
  padding: 18px;
}

/* Make editor content readable */
.gcti-content-surface h1,
.gcti-content-surface h2,
.gcti-content-surface h3,
.gcti-content-surface h4{ color: var(--text); margin-top: 0.6em; }
.gcti-content-surface p,
.gcti-content-surface li{ color: var(--text-72); line-height:1.7; }
.gcti-content-surface a{ color: #A9D7FF; }
.gcti-content-surface a:hover{ text-decoration: underline; }

/* Remove default WP top margin on first element */
.gcti-content-surface > :first-child{ margin-top:0; }

/* ===== Footer ===== */
.gcti-footer{ margin-top:18px; }
.gcti-footer-inner{
  padding:14px 14px;
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
}
.gcti-footer small{ color: var(--text-72); font-weight:700; }
.gcti-footer-links{ display:flex; gap:6px; flex-wrap:wrap; justify-content:flex-end; }
.gcti-footer a{
  color: var(--text-92);
  text-decoration:none;
  font-weight:800;
  font-size:13px;
  padding:8px 10px;
  border-radius:10px;
  border:1px solid transparent;
}
.gcti-footer a:hover{
  background: rgba(255,255,255,.04);
  border-color: var(--borderA);
}

/* ===== Mobile tweaks ===== */
@media (max-width:520px){
  .gcti-brand img{ height:64px; }
}
