/* ============================================================
   ABASS IBRAHIM KHALIF — Campaign Website Stylesheet
   File: assets/css/style.css
   ============================================================ */

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  --navy:       #1a2d5a;
  --navy-dark:  #0f1c38;
  --navy-mid:   #1e3568;
  --gold:       #c9a84c;
  --gold-light: #e2c06e;
  --gold-pale:  #f7edcf;
  --gold-dim:   rgba(201, 168, 76, 0.15);
  --green:      #16a34a;
  --green-pale: #dcfce7;
  --white:      #ffffff;
  --off:        #f6f7fb;
  --text:       #111827;
  --muted:      #5b6880;
  --border:     #e2e8f4;
}

/* ===== RESET & BASE ===== */
*  { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--off); color: var(--text); line-height: 1.6; }
a  { text-decoration: none; color: inherit; }
img { display: block; }

/* ===== CAMPAIGN TICKER ===== */
.ticker {
  background: var(--green);
  padding: 8px 20px;
  text-align: center;
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.ticker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.7;
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.3); }
}

/* ===== NAVIGATION ===== */
nav {
  background: var(--navy-dark);
  border-bottom: 3px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 300;
}
.nav-inner {
  max-width: 1200px;
  margin: auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 160px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-logo img {
  width: auto !important;
  height: 152px !important;
  min-width: 152px;
  max-width: none !important;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.nav-logo-text  { display: flex; flex-direction: column; line-height: 1.25; }
.nav-logo-name  { font-size: 15px; font-weight: 700; color: #fff; }
.nav-logo-role  { font-size: 10.5px; color: var(--gold-light); font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.nav-links { display: flex; gap: 2px; align-items: center; }
.nav-links a {
  padding: 8px 30px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  transition: all 0.15s;
  white-space: nowrap;
}
.nav-links a:hover     { color: var(--gold-light); background: rgba(255, 255, 255, 0.07); }
.nav-links a.cta       { background: var(--gold); color: var(--navy-dark) !important; font-weight: 700; padding: 8px 20px; }
.nav-links a.cta:hover { background: var(--gold-light); }
.burger {
  display: none;
  background: none;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  padding: 8px 11px;
  color: white;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}
.mobile-menu { display: none; background: var(--navy-dark); border-top: 1px solid rgba(255, 255, 255, 0.08); }
.mobile-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.07);
}
.mobile-menu a:last-child  { border-bottom: none; }
.mobile-menu a:hover       { background: rgba(255, 255, 255, 0.05); color: var(--gold-light); }

/* ===== HERO ===== */
.hero {
  background: var(--navy-dark);
  color: white;
  position: relative;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: -80px; right: -80px;
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(201,168,76,0.13) 0%, transparent 65%);
  pointer-events: none;
}
.hero-stripe {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 35%, var(--gold-light) 65%, transparent 100%);
}
.hero-inner {
  max-width: 1200px;
  margin: auto;
  padding: 70px 24px 80px;
  display: flex;
  align-items: center;
  gap: 70px;
  position: relative;
  z-index: 1;
}
.hero-photo-wrap { flex-shrink: 0; position: relative; }
.hero-photo-wrap::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 22px;
  background: linear-gradient(145deg, var(--gold) 0%, rgba(201,168,76,0.2) 60%, transparent 100%);
  z-index: 0;
}
.hero-photo {
  width: 240px;
  height: 310px;
  object-fit: cover;
  object-position: top center;
  border-radius: 18px;
  position: relative;
  z-index: 1;
}
.hero-text   { flex: 1; min-width: 0; }
.campaign-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(22,163,74,0.18);
  border: 1px solid rgba(22,163,74,0.5);
  border-radius: 24px;
  padding: 7px 16px;
  font-size: 11.5px;
  color: #4ade80;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-dim);
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: 24px;
  padding: 6px 16px;
  font-size: 11px;
  color: var(--gold-light);
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-name  { font-size: 40px; font-weight: 600; line-height: 1.05; margin-bottom: 10px; }
.hero-name span { color: var(--gold); }
.hero-title { font-size: 17px; color: rgba(255,255,255,0.55); font-weight: 400; margin-bottom: 24px; letter-spacing: 0.01em; }
.hero-bio   { font-size: 15.5px; color: rgba(255,255,255,0.72); line-height: 1.8; max-width: 560px; margin-bottom: 32px; }
.hero-tags  { display: flex; flex-wrap: wrap; gap: 10px; }
.htag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 500;
}
.htag.dim   { background: rgba(255,255,255,0.07); border: 0.5px solid rgba(255,255,255,0.18); color: rgba(255,255,255,0.8); }
.htag.gold  { background: var(--gold-dim); border: 1px solid rgba(201,168,76,0.45); color: var(--gold-light); }
.htag.green { background: rgba(22,163,74,0.15); border: 1px solid rgba(22,163,74,0.45); color: #4ade80; }

/* ===== CAMPAIGN BANNER ===== */
.campaign-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  border-top: 1px solid rgba(201,168,76,0.25);
  border-bottom: 1px solid rgba(201,168,76,0.25);
  padding: 50px 24px;
}
.campaign-inner {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 50px;
}
.campaign-text { flex: 1; }
.camp-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.camp-headline { font-size: 36px; font-weight: 800; color: #fff; line-height: 1.2; margin-bottom: 14px; }
.camp-headline span { color: var(--gold); }
.camp-desc  { font-size: 15px; color: rgba(255,255,255,0.65); line-height: 1.75; max-width: 580px; }
.camp-pillars {
  flex-shrink: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.pillar {
  background: rgba(255,255,255,0.05);
  border: 0.5px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 16px 18px;
}
.pillar i          { font-size: 22px; color: var(--gold); margin-bottom: 8px; }
.pillar-title      { font-size: 13.5px; font-weight: 700; color: #fff; }
.pillar-sub        { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 2px; }

/* ===== STATS BAR ===== */
.stats-bar   { background: var(--navy-mid); }
.stats-grid  {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 24px 16px;
  text-align: center;
  border-right: 0.5px solid rgba(255,255,255,0.1);
}
.stat:last-child { border-right: none; }
.stat-n { font-size: 32px; font-weight: 800; color: var(--gold); line-height: 1; }
.stat-l { font-size: 11px; color: rgba(255,255,255,0.5); margin-top: 5px; letter-spacing: 0.04em; text-transform: uppercase; }

/* ===== SECTIONS ===== */
.section     { padding: 80px 24px; }
.section.alt { background: var(--white); }
.wrap        { max-width: 1200px; margin: auto; }
.sec-head    { margin-bottom: 44px; }
.sec-head h2 {
  font-size: 34px;
  font-weight: 800;
  color: var(--navy);
  display: inline-block;
  position: relative;
  padding-bottom: 12px;
}
.sec-head h2::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 52px; height: 3px;
  background: var(--gold);
  border-radius: 2px;
}
.sec-head p { font-size: 16px; color: var(--muted); margin-top: 14px; max-width: 600px; }

/* ===== CARDS ===== */
.g2   { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.card {
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.section.alt .card { background: var(--off); }
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(26,45,90,0.09); }
.c-icon {
  width: 46px; height: 46px;
  border-radius: 11px;
  background: var(--gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 15px;
}
.card h3 { font-size: 15.5px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.card p  { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ===== ASSEMBLY CARDS ===== */
.asm-card {
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}
.section.alt .asm-card { background: var(--off); }
.asm-card.active   { border: 2px solid var(--gold); }
.asm-card.campaign { border: 2px solid var(--green); }
.asm-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}
.asm-top h3 { font-size: 17px; font-weight: 700; color: var(--navy); display: flex; align-items: center; gap: 8px; }
.tag {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tag.past    { background: #eef1f9; color: #6b7a9e; }
.tag.now     { background: var(--gold-pale); color: #7a5910; }
.tag.running { background: var(--green-pale); color: #15803d; }
.mlist { list-style: none; }
.mlist li {
  padding: 11px 0;
  border-bottom: 0.5px solid var(--border);
  font-size: 14px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.mlist li:last-child { border-bottom: none; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.dot.green { background: var(--green); }

/* ===== TIMELINE ===== */
.tl { padding-left: 30px; border-left: 2px solid #dde4f0; }
.tl-item { margin-bottom: 30px; position: relative; }
.tl-item::before {
  content: '';
  position: absolute;
  left: -35px; top: 5px;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--gold);
}
.tl-item.now::before { background: var(--green); box-shadow: 0 0 0 2px var(--green); }
.tl-yr   { font-size: 11px; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 4px; }
.tl-item.now .tl-yr { color: var(--green); }
.tl-ttl  { font-size: 15px; font-weight: 700; color: var(--navy); }
.tl-body { font-size: 13.5px; color: var(--muted); margin-top: 5px; line-height: 1.65; }

/* ===== GALLERY ===== */
.gal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gal-item {
  border-radius: 14px;
  overflow: hidden;
  border: 0.5px solid var(--border);
  aspect-ratio: 3/4;
  position: relative;
}
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.gal-item:hover img { transform: scale(1.06); }

/* ===== CONTACT ===== */
.con-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.con-item {
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.con-item i   { font-size: 22px; color: var(--gold); margin-top: 1px; flex-shrink: 0; }
.con-lbl      { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; }
.con-val      { font-size: 15px; font-weight: 600; color: var(--navy); margin-top: 3px; }

/* ===== FOOTER ===== */
footer {
  background: var(--navy-dark);
  border-top: 3px solid var(--gold);
  padding: 36px 24px;
  text-align: center;
}
.footer-logo    { margin: 0 auto 14px; height: 46px; object-fit: contain; filter: brightness(0) invert(1); }
.footer-name    { font-size: 17px; font-weight: 800; color: #fff; }
.footer-sub     { font-size: 13px; color: rgba(255,255,255,0.45); margin-top: 6px; }
.footer-copy    { font-size: 12px; color: rgba(255,255,255,0.28); margin-top: 18px; border-top: 0.5px solid rgba(255,255,255,0.1); padding-top: 18px; }
.footer-copy span { color: var(--gold-light); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .burger    { display: block; }
  .hero-inner        { flex-direction: column; text-align: center; padding: 50px 24px 60px; gap: 36px; }
  .hero-name         { font-size: 36px; }
  .hero-tags         { justify-content: center; }
  .hero-bio          { margin: 0 auto 28px; }
  .campaign-inner    { flex-direction: column; }
  .camp-pillars      { grid-template-columns: repeat(2, 1fr); width: 100%; }
  .camp-headline     { font-size: 28px; }
  .stats-grid        { grid-template-columns: repeat(2, 1fr); }
  .stat              { border-right: none; border-bottom: 0.5px solid rgba(255,255,255,0.1); }
  .gal-grid          { grid-template-columns: repeat(2, 1fr); }
  .sec-head h2       { font-size: 26px; }
}
@media (max-width: 560px) {
  .hero-name  { font-size: 28px; }
  .hero-photo { width: 200px; height: 258px; }
  .camp-pillars { grid-template-columns: 1fr 1fr; }
}