/* ==== CORE ==== */
:root{
  --gold:#d4af37;
  --navy:#0d1a31;
  --blue:#132544;
  --ink:#eef2ff;
  --muted:#9aa3b8;
}

body{
  margin:0;
  padding:0;
  background:var(--navy);
  font-family: 'Segoe UI', sans-serif;
  color:var(--ink);
}

/* ==== SPLASH ==== */
#splash{
  position:fixed;
  inset:0;
  background:var(--navy);
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  color:var(--gold);
  z-index:9999;
  transition:1s ease;
}
#splash img{
  width:120px;
  margin-bottom:14px;
}

/* ==== HEADER ==== */
.topbar{
  background:var(--blue);
  padding:8px 14px;
  display:flex;
  align-items:center;
  gap:12px;
  border-bottom:1px solid rgba(255,255,255,0.06);
}
.logo{
  width:40px;
  height:40px;
}
.hamburger{
  font-size:1.6rem;
  background:none;
  border:none;
  color:var(--ink);
  cursor:pointer;
}

/* ==== MOBILE MENU ==== */
.mobile-menu{
  position:fixed;
  top:0;
  left:-260px;
  width:260px;
  height:100%;
  background:#101d33;
  padding-top:70px;
  display:flex;
  flex-direction:column;
  gap:22px;
  transition:.35s ease;
  z-index:9998;
}
.mobile-menu a{
  color:var(--ink);
  padding:12px 20px;
  text-decoration:none;
  font-size:1.05rem;
}
.mobile-menu.open{ left:0; }

/* ==== MAP ==== */
#map{
  height:65vh;
  width:100%;
  border-radius:12px;
  overflow:hidden;
  margin-top:10px;
}
.leaflet-container{ background:#0b1627 !important; }

/* ==== SECTIONS ==== */
.content-section{
  padding:30px 18px;
  max-width:900px;
  margin:0 auto;
}
.content-section h2{
  color:var(--gold);
  text-align:center;
}
.intro{
  text-align:center;
  color:var(--muted);
  margin-bottom:18px;
}

.archive-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:20px;
}
.archive-grid article, .story-card{
  background:rgba(255,255,255,0.04);
  border-radius:16px;
  padding:18px;
  box-shadow:0 4px 10px rgba(0,0,0,0.25);
}
.archive-grid a, .story-card a{
  color:var(--gold);
  text-decoration:none;
}

.story-list{
  display:grid;
  gap:16px;
}

/* ==== ABOUT MODAL ==== */
.modal{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.6);
  z-index:9997;
}
.modal-content{
  background:var(--blue);
  padding:20px;
  border-radius:12px;
  max-width:420px;
  margin:10% auto;
  text-align:center;
  border:1px solid var(--gold);
}
.modal-logo{ width:70px; }
.close{
  float:right;
  cursor:pointer;
  font-size:22px;
  color:var(--gold);
}

/* ==== FOOTER ==== */
footer{
  text-align:center;
  padding:18px;
  color:var(--muted);
}
.nile-line{
  height:2px;
  border:none;
  background:linear-gradient(90deg,transparent,#d4af3780,transparent);
  margin-bottom:6px;
}

/* ==== BOTTOM NAV ==== */
.bottom-nav{
  position:fixed;
  bottom:0;
  left:0;
  width:100%;
  height:60px;
  background:#0b1627;
  display:flex;
  justify-content:space-between;
  padding:0 20px;
  align-items:center;
  border-top:1px solid rgba(255,255,255,0.1);
}
.bottom-nav a{
  text-decoration:none;
  color:var(--muted);
  text-align:center;
  font-size:1.2rem;
}
.bottom-nav span{
  font-size:0.7rem;
  display:block;
}
.bottom-nav a:hover{
  color:var(--gold);
}
/* Fix header size on mobile */
@media (max-width: 760px) {
  .topbar {
    padding: 6px 10px;
  }
  .topbar h1 {
    font-size: 1.1rem;
  }
  .logo {
    width: 32px;
    height: 32px;
  }
  .hamburger {
    font-size: 1.4rem;
  }
}