@import url('https://fonts.googleapis.com/css?family=Roboto+Condensed:300,400,700&subset=latin,latin-ext');

/* ==========================================================================
   CSS Variables & Design Tokens
   ========================================================================== */
:root {
  --bg-dark: #0a0a0c;
  --bg-dark-secondary: #131318;
  --bg-card: rgba(20, 20, 26, 0.65);
  --bg-navbar: rgba(30, 115, 190, 0.15); /* Sleek blue glassmorphism navbar */
  --border-card: rgba(255, 255, 255, 0.08);
  --border-card-hover: rgba(81, 253, 3, 0.3);
  --text-primary: #ffffff;
  --text-secondary: #a0a0ab;
  --text-muted: #71717a;
  
  --accent: #51fd03; /* Brand Neon Green */
  --accent-glow: rgba(81, 253, 3, 0.3);
  --brand-red: #dd3333;
  --brand-blue: #1e73be;
  
  --font-family: 'Roboto Condensed', sans-serif;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s ease;
}

/* ==========================================================================
   CSS Reset & Base Rules
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  font-family: var(--font-family);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* Ambient Radial Glows */
body {
  position: relative;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 10% 15%, rgba(221, 51, 51, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 85%, rgba(30, 115, 190, 0.08) 0%, transparent 45%);
  background-attachment: fixed;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  line-height: 1.2;
}

a {
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--accent);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: #27272a;
  border-radius: 5px;
  border: 2px solid var(--bg-dark);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* ==========================================================================
   Layout Containers & Grid
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.col {
  flex: 1 0 0%;
  padding-right: 15px;
  padding-left: 15px;
}

/* Simple Responsive Columns */
.col-12 {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 0 15px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 992px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 50px 0;
  }
}

/* ==========================================================================
   Navbar & Navigation Menu
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 1000;
  background: rgba(10, 10, 12, 0.75);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  background: var(--bg-dark);
  height: 70px;
  border-bottom-color: rgba(81, 253, 3, 0.15);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-logo img {
  height: 48px;
  width: auto;
  transition: var(--transition-smooth);
}

.navbar.scrolled .brand-logo img {
  height: 40px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 24px;
}

.nav-item a {
  font-size: 1.05rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 8px 0;
  position: relative;
}

.nav-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  transition: var(--transition-smooth);
}

.nav-item a:hover::after,
.nav-item.active a::after {
  width: 100%;
}

.nav-item.active a {
  color: var(--accent);
}

/* Mobile Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
  z-index: 1100;
}

.mobile-menu-toggle span {
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: var(--transition-smooth);
}

@media (max-width: 992px) {
  .mobile-menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(13, 13, 17, 0.95);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    flex-direction: column;
    padding: 100px 40px 40px;
    gap: 30px;
    transition: var(--transition-smooth);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background-color: var(--accent);
  }
  
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background-color: var(--accent);
  }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding-top: 160px;
  padding-bottom: 80px;
  text-align: center;
  position: relative;
}

.hero-subtitle {
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.15em;
  margin-bottom: 15px;
  display: inline-block;
  text-shadow: 0 0 10px var(--accent-glow);
}

.hero-title {
  font-size: 3.5rem;
  max-width: 800px;
  margin: 0 auto 20px;
  font-weight: 300;
  line-height: 1.1;
  text-transform: uppercase;
}

.hero-title strong {
  font-weight: 700;
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .hero {
    padding-top: 130px;
    padding-bottom: 50px;
  }
}

/* ==========================================================================
   Glassmorphism Cards
   ========================================================================== */
.glass-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 40px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: var(--transition-smooth);
}

.glass-panel:hover {
  border-color: var(--border-card-hover);
  box-shadow: 0 15px 40px rgba(81, 253, 3, 0.05);
}

.glass-panel-title {
  font-size: 1.8rem;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 12px;
}

.text-center {
  text-align: center;
}

.lead-text {
  font-size: 1.25rem;
  color: var(--text-secondary);
  font-weight: 300;
  margin-bottom: 30px;
}

/* ==========================================================================
   Video Cards & Gallery Grid
   ========================================================================== */
.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-smooth);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.video-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: 0 12px 30px rgba(81, 253, 3, 0.12);
}

.video-thumbnail-container {
  position: relative;
  aspect-ratio: 16/9;
  width: 100%;
  background-color: #121216;
  overflow: hidden;
}

.video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.video-card:hover .video-thumbnail {
  transform: scale(1.05);
}

.play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.video-card:hover .play-overlay {
  background: rgba(0, 0, 0, 0.2);
}

.play-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(10, 10, 12, 0.85);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.2rem;
  transition: var(--transition-smooth);
  box-shadow: 0 0 15px var(--accent-glow);
}

.play-btn::before {
  content: '▶';
  margin-left: 3px;
}

.video-card:hover .play-btn {
  background: var(--accent);
  color: #000000;
  transform: scale(1.1);
  box-shadow: 0 0 25px var(--accent);
}

.video-info {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.video-title {
  font-size: 1.25rem;
  margin-bottom: 8px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
  transition: var(--transition-fast);
}

.video-card:hover .video-title {
  color: var(--accent);
}

.video-date {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: auto;
}

/* ==========================================================================
   WISH Cards Interactive Showcase (Flip Cards)
   ========================================================================== */
.wish-card-container {
  perspective: 1000px;
  height: 340px;
  cursor: pointer;
}

.wish-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.wish-card-container:hover .wish-card-inner {
  transform: rotateY(180deg);
}

.wish-card-front, .wish-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 16px;
  border: 1px solid var(--border-card);
  overflow: hidden;
}

.wish-card-front {
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.wish-card-front img {
  max-height: 230px;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.wish-card-container:hover .wish-card-front img {
  transform: scale(1.05);
}

.wish-card-title {
  margin-top: 15px;
  font-size: 1.3rem;
  text-transform: uppercase;
}

.wish-card-back {
  background: var(--bg-dark-secondary);
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(81, 253, 3, 0.1);
}

.wish-card-back p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* ==========================================================================
   Timeline component
   ========================================================================== */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 50px auto;
  padding: 10px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(-50%);
}

.timeline-row {
  position: relative;
  width: 100%;
  margin-bottom: 40px;
}

.timeline-row::after {
  content: '';
  display: table;
  clear: both;
}

.timeline-item {
  position: relative;
  width: 45%;
  float: left;
  transition: var(--transition-smooth);
}

.timeline-row:nth-child(even) .timeline-item {
  float: right;
}

.timeline-badge {
  position: absolute;
  top: 30px;
  left: 50%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 3px solid rgba(255, 255, 255, 0.2);
  transform: translateX(-50%);
  z-index: 10;
  transition: var(--transition-smooth);
}

.timeline-row:hover .timeline-badge {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
}

.timeline-content {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 25px;
  transition: var(--transition-smooth);
}

.timeline-row:hover .timeline-content {
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(81, 253, 3, 0.08);
  transform: translateY(-3px);
}

.timeline-date {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.timeline-title {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.timeline-description {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 15px;
}

.timeline-link {
  display: inline-flex;
  align-items: center;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  transition: var(--transition-fast);
}

.timeline-link::after {
  content: ' →';
  transition: var(--transition-fast);
}

.timeline-link:hover::after {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .timeline::before {
    left: 20px;
    transform: none;
  }
  
  .timeline-item {
    width: calc(100% - 45px);
    float: right !important;
  }
  
  .timeline-badge {
    left: 20px;
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   Biography & Team Grid
   ========================================================================== */
.bio-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 30px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 30px;
  align-items: start;
  transition: var(--transition-smooth);
}

.bio-card:hover {
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(81, 253, 3, 0.06);
}

.bio-avatar {
  width: 100%;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-smooth);
}

.bio-card:hover .bio-avatar {
  border-color: var(--accent);
}

.bio-name {
  font-size: 1.8rem;
  margin-bottom: 5px;
}

.bio-role {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.bio-text {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

@media (max-width: 600px) {
  .bio-card {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
  .bio-avatar {
    width: 150px;
  }
}

/* ==========================================================================
   Responsive Video Embed Details Page & Post Formatting
   ========================================================================== */
.post-header {
  text-align: center;
  padding: 140px 0 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.post-meta {
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 15px;
}

.post-heading {
  font-size: 2.8rem;
  margin-bottom: 20px;
  font-weight: 300;
}

.post-media-grid {
  margin: 50px 0;
}

.post-body {
  max-width: 800px;
  margin: 0 auto;
}

.post-body p {
  color: var(--text-secondary);
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 25px;
}

.post-body p strong {
  color: var(--text-primary);
}

.back-link {
  display: inline-flex;
  align-items: center;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  margin-top: 30px;
}

.back-link::before {
  content: '← ';
  margin-right: 5px;
  transition: var(--transition-fast);
}

.back-link:hover::before {
  transform: translateX(-4px);
}

/* Inline video responsive container */
.inline-video-wrap {
  width: 100%;
  margin-bottom: 30px;
}

.inline-video-wrap:last-child {
  margin-bottom: 0;
}

.inline-video-title {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  background-color: #000000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-card);
}

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

/* ==========================================================================
   Responsive Video Modal Overlay (Dynamic Player)
   ========================================================================== */
.video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 5, 8, 0.95);
  backdrop-filter: blur(15px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
}

.video-modal.active {
  display: flex;
  opacity: 1;
}

.modal-content-wrap {
  width: 90%;
  max-width: 900px;
  position: relative;
  transform: scale(0.9);
  transition: var(--transition-smooth);
}

.video-modal.active .modal-content-wrap {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 2.2rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close:hover {
  color: var(--accent);
  transform: rotate(90deg);
}

/* ==========================================================================
   Footer Styling
   ========================================================================== */
footer {
  background-color: #050507;
  padding: 60px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.footer-logo {
  height: 50px;
  margin: 0 auto 30px;
}

.footer-nav {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 30px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--text-secondary);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.footer-nav a:hover {
  color: var(--accent);
}

.copyright {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
