/* ==========================================
   1. DESIGN SYSTEM & CSS VARIABLES
   ========================================== */
:root {
  --bg-primary: #07090e;
  --bg-secondary: #0f131a;
  --bg-surface: #171d26;
  --bg-glass: rgba(7, 9, 14, 0.88);
  
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #475569;
  
  --accent-gold: #e2b842;
  --accent-gold-hover: #ffcf4b;
  --border-subtle: rgba(255, 255, 255, 0.08);

  --font-display: "Inter", -apple-system, sans-serif;
  --font-body: "Plus Jakarta Sans", -apple-system, sans-serif;
  
  --max-width: 1280px;
  --header-height: 90px;
  --footer-height: 72px;
  --radius-sm: 2px;
  --radius-lg: 8px;
  --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-bottom: var(--footer-height);
}

main {
  flex: 1 0 auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ==========================================
   2. HEADER & NAVIGATION
   ========================================== */
.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
}

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

.brand-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-mark {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--text-primary);
  color: var(--bg-primary);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: -0.05em;
  border-radius: var(--radius-sm);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  text-transform: uppercase;
  line-height: 1;
}

.brand-subtitle {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent-gold);
  text-transform: uppercase;
  margin-top: 3px;
}

.nav-links {
  display: flex;
  gap: 3rem;
  list-style: none;
}

.nav-link {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.btn-primary {
  background: var(--text-primary);
  color: var(--bg-primary);
  padding: 0.8rem 1.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background 0.3s var(--transition-smooth), transform 0.2s ease;
}

.btn-primary:hover {
  background: var(--accent-gold);
  transform: translateY(-1px);
}

.btn-secondary {
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 0.8rem 1.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.btn-secondary:hover {
  border-color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
}

/* Compact Primary Button Variant */
.btn-compact {
  padding: 0.6rem 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Mobile Toggle Hamburger Button */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.nav-toggle .bar {
  height: 2px;
  width: 100%;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}

/* Responsive Mobile Navigation Drawer */
@media (max-width: 968px) {
  /* Ensure header container doesn't crop the sliding menu */
  .nav-header {
    z-index: 1000;
  }

  /* Make sure the hamburger icon sits above the drawer */
  .nav-toggle {
    display: flex !important;
    z-index: 1002;
    position: relative;
  }

  /* Mobile Dropdown Drawer */
  .nav-links {
    position: fixed !important;
    top: var(--header-height) !important;
    left: 0 !important;
    right: 0 !important;
    background: var(--bg-secondary) !important;
    border-bottom: 2px solid var(--text-primary);
    flex-direction: column !important;
    padding: 2.5rem 2rem !important;
    gap: 1.5rem !important;
    
    /* Off-screen by default */
    transform: translateY(-150%) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.3s !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    z-index: 1001 !important;
  }

  /* ACTIVE STATE: Slides into view */
  .nav-links.is-open {
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

  /* Hamburger Animation when Active */
  .nav-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background-color: var(--accent-gold);
  }

  .nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background-color: var(--accent-gold);
  }
}s

/* ==========================================
   3. HERO & PAGE HEADERS
   ========================================== */
.nav-spacer {
  height: var(--header-height);
  width: 100%;
  clear: both;
}

.hero-section {
  min-height: 100vh;
  padding-top: var(--header-height);
  display: flex;
  align-items: center;
  position: relative;
  background: radial-gradient(circle at 90% 15%, rgba(226, 184, 66, 0.12) 0%, transparent 50%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 5rem;
  align-items: center;
  width: 100%;
}

.hero-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.5vw, 5.2rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.hero-title span {
  -webkit-text-stroke: 1px var(--text-primary);
  color: transparent;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin-bottom: 3rem;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.page-banner {
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 4rem;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
}

.page-title {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.03em;
}

/* ==========================================
   4. SHOWCASE & CONTENT CARDS
   ========================================== */
.showcase-section {
  padding: 8rem 0;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2.5rem;
}

.card-show {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-img-wrap {
  position: relative;
  height: 280px;
  background-size: cover;
  background-position: center;
}

.card-badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: var(--text-primary);
  color: var(--bg-primary);
  padding: 0.4rem 0.8rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  border-radius: var(--radius-sm);
}

.card-body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.card-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.card-meta {
  color: var(--accent-gold);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.card-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

/* Sidebar Widget */
.widget-next-show {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}

.widget-header {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
}

.widget-header .status-dot {
  height: 6px;
  width: 6px;
  background-color: var(--accent-gold);
  border-radius: 50%;
}

.widget-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.widget-details {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.widget-details p {
  margin-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  padding-bottom: 0.5rem;
}

/* ==========================================
   5. FOOTERS
   ========================================== */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 6rem 0 4rem 0;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  max-width: 320px;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

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

.contact-details p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--footer-height);
  background: rgba(15, 19, 26, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-subtle);
  z-index: 1000;
  display: flex;
  align-items: center;
}

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

.sticky-info {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.sticky-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.sticky-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-contact {
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-primary);
  padding: 0.6rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-contact:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

@media (max-width: 968px) {
  .hero-grid, .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .nav-links, .sticky-info {
    display: none;
  }
  .sticky-container {
    justify-content: center;
  }
}