/* =========================================================
   THEME TOKENS
   ========================================================= */
:root{
  --red:#a80000;          /* primary brand red */
  --red-600:#c30000;
  --ink:#111;
  --muted:#6b6b6b;
  --card:#ffffff;
  --bg-soft:#fff5f5;      /* very light red tint */
  --ring:rgba(168,0,0,.18);
}

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

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  background-color: #fff;
  color: #333;
  overflow-x: hidden;
}

:focus-visible{
  outline: 3px solid var(--ring);
  outline-offset: 2px;
}

/* =========================================================
   HEADER
   ========================================================= */
.main-header {
  background-color: var(--red);
  padding: 15px 20px;
  color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.header-left {
  display: flex;
  align-items: center;
}

.logo {
  height: 60px;
  margin-right: 15px;
}

.site-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
}

/* =========================================================
   NAVIGATION
   ========================================================= */
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
}

.nav-links li {
  position: relative;
}

.nav-links li a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  transition: background 0.25s ease, transform .15s ease;
}

.nav-links li a:hover,
.nav-links li a:focus-visible {
  background-color: var(--red-600);
  transform: translateY(-1px);
}

/* DROPDOWN MENU for Leadership */
.dropdown { position: relative; } /* ensure the menu anchors to the parent */

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;

  /* FIX: make default background match the theme (not white) */
  background: #a80000;              /* SAME red */
  border: 1px solid #7e0000;
  min-width: 220px;
  z-index: 1000;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
  overflow: hidden;
}

.dropdown-menu li { display: block; }

.dropdown-menu a {
  padding: 11px 14px;
  color: #fff;                      /* white text on red */
  font-weight: 600;
  text-decoration: none;
  display: block;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
  background-color: #860000;        /* darker red on hover */
  color: #fff;
}

/* show on hover/focus */
.nav-links .dropdown:hover .dropdown-menu,
.nav-links .dropdown:focus-within .dropdown-menu {
  display: block;
}

/* =========================================================
   HERO SLIDESHOW
   ========================================================= */
.hero-section {
  position: relative;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

.hero-slideshow {
  display: flex;
  width: calc(100vw * 22); /* 11 images x 2 */
  animation: slideshow 100s linear infinite;
}

.hero-slideshow img {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  flex-shrink: 0;
}

@keyframes slideshow {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* seamless loop since duplicated once */
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.35));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.hero-overlay h1 {
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 15px;
  letter-spacing: .3px;
}

.hero-overlay p {
  color: #fff;
  max-width: 680px;
  margin-bottom: 25px;
  text-wrap: balance;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-btn {
  background-color: #fff;
  color: var(--red);
  font-weight: 700;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 10px;
  transition: background 0.25s ease, transform .15s ease, box-shadow .2s ease;
  position: relative;
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 10px 20px rgba(0,0,0,.15);
}

.hero-btn:hover,
.hero-btn:focus-visible {
  background-color: #ffe5e5;
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(0,0,0,.18);
}

.hero-btn[data-tooltip]:hover::after,
.hero-btn[data-tooltip]:focus-visible::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: -44px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.85);
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  white-space: nowrap;
  pointer-events: none;
  z-index: 10;
}

/* =========================================================
   (OLD) MISSION SECTION — still supported if used elsewhere
   ========================================================= */
.mission-section {
  padding: 60px 20px;
  background-color: #fef2f2;
}

.mission-container {
  max-width: 1000px;
  margin: auto;
  text-align: center;
}

.mission-section h2 {
  font-size: 2rem;
  color: var(--red);
  margin-bottom: 20px;
}

/* =========================================================
   TEAM SECTION
   ========================================================= */
.team-section {
  padding: 60px 20px;
  background-color: #fff5f5;
  text-align: center;
}

.team-title {
  color: var(--red);
  font-size: 2rem;
  margin-bottom: 30px;
}

.carousel-container {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.carousel-track {
  display: flex;
  animation: scroll 120s linear infinite;
  gap: 0;
}

.carousel-track img {
  height: 100%;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

@keyframes scroll {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

/* =========================================================
   NEW — MISSION & VISION (polished cards)
   ========================================================= */
.mv-section{
  padding: clamp(48px, 6vw, 96px) 20px;
  background:
    radial-gradient(1200px 600px at 90% -50%, rgba(168,0,0,0.08), transparent 60%),
    linear-gradient(to bottom, #fff, #fff);
}

.mv-wrap{max-width:1100px;margin:0 auto}
.mv-head{text-align:center;margin-bottom:28px}
.mv-head h2{
  font-weight:700; letter-spacing:.3px;
  font-size: clamp(28px, 3.2vw, 36px);
  color:var(--ink);
}
.mv-tagline{
  color:var(--muted);
  margin-top:8px;
  font-size:14.5px;
}

.mv-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:20px;
}
@media (max-width: 840px){
  .mv-grid{grid-template-columns:1fr}
}

.mv-card{
  background: var(--card);
  border:1px solid rgba(0,0,0,.06);
  border-radius: 18px;
  padding: 22px 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  position:relative;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.mv-card:hover{
  transform: translateY(-2px);
  border-color: var(--ring);
  box-shadow: 0 18px 36px rgba(168,0,0,.08);
}

.mv-icon{
  width:46px;height:46px;border-radius:12px;
  background: linear-gradient(135deg, rgba(168,0,0,.12), rgba(168,0,0,.03));
  color: var(--red); display:grid;place-items:center;margin-bottom:10px;
}
.mv-icon-svg{width:26px;height:26px}

.mv-card h3{
  font-weight:700;color:var(--ink);margin:4px 0 6px;
  font-size: clamp(18px, 2.4vw, 22px);
}
.mv-card p{color:#333;line-height:1.55;margin:0 0 10px}
.mv-list{margin:0;padding-left:18px;color:#333}
.mv-list li{margin:6px 0}

/* =========================================================
   NEW — CONNECT & JOIN (Discord + socials)
   ========================================================= */
.connect-section{
  background: linear-gradient(180deg, #fff, var(--bg-soft));
  padding: clamp(40px, 5.5vw, 80px) 20px;
  border-top:1px solid rgba(0,0,0,.06);
}
.connect-wrap{
  max-width:1100px;margin:0 auto;display:grid;
  grid-template-columns: 1.25fr .9fr; gap:24px; align-items:stretch;
}
@media (max-width: 960px){
  .connect-wrap{grid-template-columns:1fr}
}

.connect-left h2{
  font-weight:700;color:var(--ink);
  font-size: clamp(24px, 3vw, 30px);
}
.connect-sub{color:var(--muted);margin:6px 0 16px}

.cta-row{display:flex;flex-wrap:wrap;gap:14px;align-items:center}

.btn-discord{
  display:inline-flex;align-items:center;gap:10px;
  background: var(--ink);
  color:#fff;text-decoration:none;font-weight:700;
  padding:12px 16px;border-radius:12px;border:1px solid rgba(0,0,0,.15);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn-discord:hover,
.btn-discord:focus-visible{
  transform:translateY(-1px);
  box-shadow:0 8px 20px rgba(0,0,0,.18)
}
.btn-ico{width:20px;height:20px}

.socials{display:flex;gap:10px}
.social-link{
  width:42px;height:42px;border-radius:12px;display:grid;place-items:center;
  background:#fff;border:1px solid rgba(0,0,0,.08); color:var(--ink);
  box-shadow: 0 6px 16px rgba(0,0,0,.06);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, color .2s ease;
}
.social-link:hover,
.social-link:focus-visible{
  transform:translateY(-1px);border-color: var(--ring);
  box-shadow:0 12px 24px rgba(168,0,0,.10); color:var(--red);
}
.social-ico{width:20px;height:20px}

.quick-links{
  display:flex;flex-wrap:wrap;gap:10px;margin-top:14px
}
.qlink{
  text-decoration:none;color:var(--red);font-weight:700;
  background:#fff;border:1px solid rgba(168,0,0,.22);
  padding:10px 14px;border-radius:12px;
  transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.qlink:hover,
.qlink:focus-visible{
  background:linear-gradient(180deg, rgba(168,0,0,.06), rgba(168,0,0,.02));
  color:#8b0000; transform: translateY(-1px);
  box-shadow:0 10px 20px rgba(168,0,0,.10);
}

.connect-right .connect-card{
  height:100%; border-radius:18px; overflow:hidden;
  border:1px solid rgba(0,0,0,.06);
  box-shadow:0 10px 30px rgba(0,0,0,.08);
  background:#fff;
}
.connect-right .connect-card img{
  width:100%; height:100%; object-fit:cover; display:block;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background-color: var(--red);
  color: white;
  text-align: center;
  padding: 15px 0;
  font-size: 0.95rem;
}

/* =========================================================
   RESPONSIVE TWEAKS
   ========================================================= */
@media (max-width: 640px){
  .site-title{font-size:1.4rem}
  .nav-links{gap:12px}
  .hero-btn{padding:9px 16px}
}
