/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green: #01411C;
  --green2: #016630;
  --dark: #111827;
  --white: #ffffff;
  --light: #f8f9fa;
  --border: #e5e7eb;
  --gray: #6b7280;
  --text: #1f2937;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  padding-top: 70px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--dark);
  height: 70px;
  border-bottom: 3px solid var(--green);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--green);
}

.brand-name {
  display: block;
  color: white;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1.2;
}

.brand-sub {
  display: block;
  color: var(--green2);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-links a {
  display: block;
  text-decoration: none;
  color: rgba(255,255,255,0.7);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 6px 10px;
  border-radius: 4px;
  transition: all 0.2s;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: white;
  background: var(--green);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: white;
  border-radius: 2px;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #0d1f0d 0%, #01411C 60%, #111 100%);
  padding: 64px 24px;
  text-align: center;
}

/* Video background hero (home page only) */
.hero.hero-video {
  position: relative;
  padding: 0;
  height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-video-bg iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.78vh;
  height: 56.25vw;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  border: none;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.70) 0%,
    rgba(0,0,0,0.30) 50%,
    rgba(0,0,0,0.05) 100%
  );
}

.hero.hero-video .hero-inner {
  position: relative;
  z-index: 2;
  padding: 24px;
  text-align: center;
}

/* Mute/unmute button */
#muteBtn {
  position: absolute;
  bottom: 18px;
  right: 18px;
  z-index: 3;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.25);
  color: white;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
#muteBtn:hover {
  background: rgba(1,65,28,0.85);
  border-color: #4ade80;
}

.hero h1 {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 800;
  color: white;
  letter-spacing: 3px;
  line-height: 1.15;
  margin-bottom: 12px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.8);
}

.hero h1 span {
  color: #4ade80;
  font-size: 0.65em;
  letter-spacing: 6px;
  display: block;
}

.hero p {
  color: rgba(255,255,255,0.90);
  font-size: 15px;
  letter-spacing: 1px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.7);
}

/* ===== LAYOUT ===== */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 24px;
}

.page-content {}

.page-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--dark);
  border-left: 4px solid var(--green);
  padding-left: 16px;
  margin-bottom: 36px;
}

/* ===== SECTION BLOCK ===== */
.section-block {
  margin-bottom: 36px;
}

/* ===== VIDEO ===== */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
}

.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-wrapper.small {
  margin-top: 12px;
}

/* ===== SIDEBAR CARDS ===== */
.sidebar-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 36px;
}

.sidebar-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-left: 4px solid var(--green);
  border-radius: 10px;
  padding: 24px;
}

.sidebar-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.sidebar-card p {
  font-size: 14px;
  color: var(--gray);
}

/* ===== SOCIAL ===== */
.social-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
}

.social-btn.facebook {
  background: #1877f2;
  color: white;
}

.social-btn.facebook:hover { background: #1565c0; }

/* ===== FILES PAGE ===== */
.files-intro {
  margin-bottom: 32px;
}

.files-intro img {
  width: 100%;
  max-width: 480px;
  border-radius: 10px;
  display: block;
  margin-bottom: 24px;
}

.files-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
  margin-bottom: 40px;
}

.file-link {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  text-decoration: none;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s;
}

.file-link:hover {
  border-color: var(--green);
  background: #f0fdf4;
  color: var(--green);
}

.file-link i {
  color: var(--green);
  font-size: 15px;
  flex-shrink: 0;
}

/* FIR Section */
.fir-section {
  margin-top: 8px;
}

.fir-section h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  margin-top: 24px;
}

/* ===== JINNAH BAGH PAGE ===== */
.jinnah-intro {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 32px;
}

.jinnah-intro h2 {
  font-size: 18px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.jinnah-intro p {
  font-size: 14px;
  color: var(--gray);
}

.fb-post-block {
  background: #f0f2f5;
  border: 1px solid #dde0e4;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--text);
}

.fb-post-block .fb-meta {
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 8px;
}

.fb-post-block a {
  color: #1877f2;
  text-decoration: none;
  font-weight: 500;
}

.fb-post-block a:hover { text-decoration: underline; }

.quote-text {
  font-style: italic;
  color: #374151;
  font-size: 14px;
  border-left: 3px solid var(--green);
  padding-left: 12px;
  margin: 8px 0;
}

/* ===== GALLERY GRID (Protests / Petrol Pump) ===== */
.gallery-intro {
  margin-bottom: 28px;
}

.gallery-intro p {
  font-size: 15px;
  color: var(--gray);
}

.gallery-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}

.gallery-link-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 12px;
  text-decoration: none;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s;
  text-align: center;
}

.gallery-link-btn:hover {
  background: #f0fdf4;
  border-color: var(--green);
  color: var(--green);
}

.gallery-link-btn i {
  color: var(--green);
  font-size: 16px;
}

/* ===== SHARED SIDEBAR BOTTOM ===== */
.page-sidebar {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--dark);
  border-top: 3px solid var(--green);
  padding: 24px;
  text-align: center;
}

.site-footer p, .site-footer a {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

.site-footer a { color: #4ade80; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: var(--dark);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 4px;
    border-bottom: 2px solid var(--green);
  }

  .nav-links.open { display: flex; }
  .nav-links a { font-size: 13px; }
  .hamburger { display: flex; }
  .hero { padding: 48px 16px; }
  .hero.hero-video { height: 320px; padding: 0; }
  .container { padding: 36px 16px; }
  .files-grid { grid-template-columns: 1fr; }
  .gallery-links { grid-template-columns: repeat(2, 1fr); }
}
