/*
 * BASE.CSS - Variables, Reset & Typography
 * Kick-Off Presentation Framework
 */

:root {
  /* ============================
       BRAND COLORS (Override in config.js)
       ============================ */
  --primary: #f39c29;
  --primary-dim: rgba(243, 156, 41, 0.15);
  --primary-glow: rgba(243, 156, 41, 0.5);
  --secondary: #ff5500;

  /* ============================
  /* ============================
       UI COLORS
       ============================ */
  --bg-deep: #050507;
  --bg-card: rgba(255, 255, 255, 0.03);
  --border-light: rgba(255, 255, 255, 0.08);
  --text-white: #ffffff;
  --text-grey: #e2e8f0;
  
  /* Semantic Colors */
  --text-main: #ffffff;
  --text-secondary: #cbd5e1;
  --bg-overlay: rgba(255, 255, 255, 0.03);
  --bg-menu: rgba(8, 8, 12, 0.98);
  --border-color: rgba(255, 255, 255, 0.08);

  /* ============================
       FUNCTIONAL COLORS
       ============================ */
  --success: #2ecc71;
  --warning: #f1c40f;
  --danger: #ff4757;
  --info: #3498db;

  /* ============================
       FONTS
       ============================ */
  --font-main: "Outfit", sans-serif;
  --font-ui: "Inter", sans-serif;
  --font-code: "JetBrains Mono", monospace;
  --font-title-lux: "Montserrat", sans-serif;
  --font-body-lux: "Poppins", sans-serif;

  /* ============================
       SPACING
       ============================ */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 4rem;

  /* ============================
       ANIMATION
       ============================ */
  --ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);
  --ease-smooth: cubic-bezier(0.23, 1, 0.32, 1);

  /* ============================
       SAFE AREAS
       ============================ */
  --header-safe-area: 120px;
  /* Shared Values */
  --primary-rgb: 243, 156, 41;
}

/* Light Mode Overrides */
body.light-mode {
  --bg-deep: #f8fafc;
  --bg-card: rgba(255, 255, 255, 0.9);
  --border-light: rgba(0, 0, 0, 0.1);
  --text-white: #0f172a;
  --text-grey: #475569;
  --primary-glow: rgba(243, 156, 41, 0.25);

  /* Semantic Overrides */
  --text-main: #0f172a;
  --text-secondary: #334155;
  --bg-overlay: rgba(255, 255, 255, 0.8);
  --bg-menu: rgba(252, 253, 255, 0.98);
  --border-color: rgba(0, 0, 0, 0.1);
}

/* ============================
   RESET
   ============================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-white);
  font-family: var(--font-main);
  overflow: hidden;
  line-height: 1.6;
}

/* ============================
   TYPOGRAPHY
   ============================ */
h1 {
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -3px;
  margin-bottom: var(--spacing-md);
}

h1 span {
  color: var(--primary);
  display: block;
}

h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: var(--spacing-lg);
  display: flex;
  align-items: center;
  gap: 15px;
}

h2::before {
  content: "";
  display: block;
  width: 6px;
  height: 40px;
  background: var(--primary);
  border-radius: 3px;
  box-shadow: 0 0 20px var(--primary-glow);
}

h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
}

p {
  color: var(--text-grey);
  line-height: 1.6;
}

p.lead {
  font-size: 1.25rem;
  max-width: 800px;
  text-align: center;
  font-weight: 300;
}

/* ============================
   LINKS
   ============================ */
a {
  color: var(--primary);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  text-decoration: underline;
}

/* ============================
   AMBIENT BACKGROUND
   ============================ */
.ambient-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.noise-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.05;
  pointer-events: none;
  background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1MDAiIGhlaWdodD0iNTAwIj48ZmlsdGVyIGlkPSJnIj48ZmVUdXJidWxlbmNlIHR5cGU9ImZyYWN0YWxOb2lzZSIgYmFzZUZyZXF1ZW5jeT0iMC42NSIgbnVtT2N0YXZlcz0iMyIgc3RpdGNoVGlsZXM9InN0aXRjaCIvPjwvZmlsdGVyPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbHRlcj0idXJsKCNnKSIgb3BhY2l0eT0iMC4wMyIvPjwvc3ZnPg==");
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.25;
  z-index: -1;
}

.orb-1 {
  width: 1000px; /* Increased from 800px */
  height: 1000px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  top: -20%;
  left: -15%;
  opacity: 0.35; /* Increased from 0.25 */
  filter: blur(140px);
  animation: floatOrb 25s infinite alternate ease-in-out;
}

.orb-2 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  bottom: -15%;
  right: -5%;
  opacity: 0.3;
  filter: blur(80px);
  animation: floatOrb2 30s infinite alternate ease-in-out;
  animation-delay: -5s;
}

@keyframes floatOrb {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}

/* ============================
   HEADER / LOGO
   ============================ */
.header-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  z-index: 100;
  background: transparent;
}

.logo-container {
  position: fixed;
  top: 25px;
  left: 30px;
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 1000;
}

.logo-partner {
  height: 45px;
  transition: 0.3s var(--ease-out);
  cursor: pointer;
  opacity: 0.9;
    border-radius: 3px;
}

.logo-partner:hover {
  transform: scale(1.05);
  opacity: 1;
}

.logo-fixed {
  height: 45px;
  transition: 0.3s var(--ease-out);
  cursor: pointer;
      border-radius: 3px;
}

.logo-fixed:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 20px var(--primary-glow));
}

/* Menu Header & Theme Toggle */
.menu-header {
  padding: 20px 40px 0;
  display: flex;
  justify-content: flex-end;
}

.theme-toggle {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-light);
  color: var(--text-white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.theme-toggle:hover {
  background: var(--primary);
  color: white;
  transform: rotate(15deg);
}

body.light-mode .theme-toggle {
  background: rgba(0, 0, 0, 0.05);
  color: #1a1a1a;
}

body.light-mode .theme-toggle:hover {
  background: var(--primary);
  color: white;
}

.project-meta {
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: var(--text-grey);
  font-weight: 600;
  text-transform: uppercase;
}

/* ============================
   UTILITY CLASSES
   ============================ */
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}

.text-primary {
  color: var(--primary);
}
.text-success {
  color: var(--success);
}
.text-warning {
  color: var(--warning);
}
.text-danger {
  color: var(--danger);
}
.text-info {
  color: var(--info);
}
.text-muted {
  color: var(--text-grey);
}

.mt-1 {
  margin-top: var(--spacing-sm);
}
.mt-2 {
  margin-top: var(--spacing-md);
}
.mt-3 {
  margin-top: var(--spacing-lg);
}
.mt-4 {
  margin-top: var(--spacing-xl);
}

.mb-1 {
  margin-bottom: var(--spacing-sm);
}
.mb-2 {
  margin-bottom: var(--spacing-md);
}
.mb-3 {
  margin-bottom: var(--spacing-lg);
}
.mb-4 {
  margin-bottom: var(--spacing-xl);
}

.flex {
  display: flex;
}
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.flex-column {
  flex-direction: column;
}
.gap-1 {
  gap: var(--spacing-sm);
}
.gap-2 {
  gap: var(--spacing-md);
}
.gap-3 {
  gap: var(--spacing-lg);
}
