/* ============================================================= */
/* GLOBAL STYLES – USED ON EVERY PAGE                           */
/* ============================================================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;900&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  background: #000;
  color: #ddd;
  line-height: 1.6;
  overflow-x: hidden;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 15px;
}

/* -------------------------- NAVBAR -------------------------- */
.navbar {
  background: #FF0000;
  padding: 12px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(255,0,0,.6);
}
.navbar-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
  /* Removed: position: relative; — no longer needed for a centered navbar element */
}
.navbar-logo img {
  height: 48px;
  transition: .3s;
}
.navbar-logo img:hover { transform: scale(1.1); }


/* ---- MENU ---- */
.navbar-menu {
  display: flex;
  gap: 20px;
  list-style: none;
}
.navbar-menu a {
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  font-weight: 600;
  border-radius: 6px;
  transition: .3s;
}
.navbar-menu a:hover,
.navbar-menu a.active,
.navbar-menu a.live-link {
  background: #fff;
  color: #FF0000;
}
.navbar-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

/* -------------------------- TITLE BLOCK (ZION WU) -------------------------- *//* -------------------------- TITLE BLOCK (ZION WU) -------------------------- */
.title-block {
  text-align: center; /* **Kept:** Ensures H1 and P are centered */
  padding: 30px 20px;
  background: linear-gradient(180deg, #000 0%, #111 100%);
  position: relative; /* Crucial for positioning the absolute counter inside */
}

/* ⬅️ Live Counter: Set to Top-Left */
.title-block-live-counter {
  position: absolute;
  left: 15px; /* Aligns to the far left with padding */
  top: 15px; /* Positions it vertically below the navbar */
  transform: none; /* Removes any centering offset */
  text-align: left;
}

/* ---- LIVE COUNTER BASE STYLES ---- */
.navbar-live-counter h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff; /* White text for visibility */
}
#view-count {
  font-size: 1.6rem;
  color: #fff;
  margin: 0 6px;
  font-weight: 700;
}
.pulse {
  display: inline-block;
  background: #fff;
  color: #FF0000;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: .8rem;
  animation: pulseGlow 1.5s infinite;
}

/* 🎯 Main Title: Centered */
.title-block h1 {
  font-size: 4.8rem;
  color: #FF0000;
  text-shadow: 0 0 30px #FF0000;
  margin: 0;
  /* Reduced margin-top significantly so the H1 is centered, but the counter is off to the left */
  margin-top: 5px; 
}
.title-block p {
  font-size: 1.4rem;
  margin: 12px 0 0;
  color: #ddd;
}
/* -------------------------- ANIMATION -------------------------- */
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 8px #FF0000; }
  50%      { box-shadow: 0 0 20px #FF0000; }
}

/* Ensure H1 is pushed down below the absolute-positioned counter */
.title-block h1 {
  font-size: 4.8rem;
  color: #FF0000;
  text-shadow: 0 0 30px #FF0000;
  margin: 0;
  margin-top: 40px; /* Pushes the main title down */
}

/* -------------------------- MEDIA QUERY ADJUSTMENT -------------------------- */
@media (max-width: 768px) {
  /* For mobile, you may want to stack it normally */
  .title-block-live-counter {
    position: static;
    transform: none;
    padding-top: 5px;
  }
  .title-block h1 { 
    margin-top: 5px; /* Reduce margin when the counter is static */
    font-size: 3.2rem; 
  }
}
/* -------------------------- HERO BASE -------------------------- */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.4);
}
.hero-content { position: relative; z-index: 2; padding: 20px; }
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 1;
}

/* CTA BUTTON */
.cta-btn {
  background: #FF0000;
  color: #fff;
  padding: 16px 40px;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: .3s;
  display: inline-block;
}
.cta-btn:hover {
  background: #fff;
  color: #FF0000;
  box-shadow: 0 0 25px #fff;
}
/* ============================================================= */
/* FOOTER (Requested Update)                                     */
/* ============================================================= */
.footer {
  background: #111;
  color: #aaa;
  padding: 30px 20px;
  text-align: center;
  border-top: 5px solid #FF0000;
  box-shadow: 0 -5px 20px rgba(255, 0, 0, 0.3);
  margin-top: 50px;
}

.footer p {
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.footer p:first-child {
  font-weight: 600;
  color: #fff;
  margin-bottom: 15px;
}

.footer p span {
    color: #FF0000;
    font-weight: 900;
}

/* Social Icons (using placeholders for structure) */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
    margin-bottom: 10px;
}

.footer-social a {
    color: #aaa;
    font-size: 1.8rem;
    transition: color 0.3s;
}

.footer-social a:hover {
    color: #FF0000;
    transform: scale(1.1);
}

/* -------------------------- MEDIA QUERIES (General) -------------------------- */
@media (max-width: 600px) {
  .navbar-menu { display: none; }
  .navbar-toggle { display: block; }
  .navbar-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px; /* Below the navbar */
    left: 0;
    width: 100%;
    background: #FF0000;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.5);
  }
  .navbar-menu.active li {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }
  .navbar-menu.active a {
    display: block;
    padding: 15px 0;
  }
  .title-block h1 { font-size: 3.5rem; }
  .title-block p { font-size: 1.2rem; }
  .section-title { font-size: 2rem; }
}