/* SEA-Stack Presentation — Simocean Dark Theme
   Use with: #+REVEAL_THEME: black
   Source: simoceanxyz/public/protected-static/doe-updates/2025-q4/
   Local tweak: removed flat slide-background / .backgrounds overrides so
   org-re-reveal :reveal_background: colours and video still apply. */

@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600;700&family=Fira+Code:wght@400;500&display=swap');

/* ============================================
   GLOBAL OVERRIDES
   ============================================ */
.reveal-viewport,
.reveal,
body {
  background: #000000 !important;
}

.reveal .slides > section,
.reveal .slides > section > section {
  background: transparent !important;
}

/* Subtle gradient glow */
.reveal .slides > section::before,
.reveal .slides > section > section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(14, 165, 233, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
}

/* Per-slide backgrounds (e.g. org :reveal_background:, video) are left to
   Reveal.js — the DOE deck forced solid black here, which overrides those.
   Viewport / slide content area below still uses #000. */

/* ============================================
   TYPOGRAPHY
   ============================================ */
.reveal {
  font-family: 'Raleway', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-weight: 400;
  font-size: 36px !important;
  color: #ffffff !important;
}

.reveal p,
.reveal li,
.reveal td {
  color: #e0e0e0 !important;
}

.reveal h1, .reveal h2, .reveal h3, .reveal h4, .reveal h5 {
  font-family: 'Raleway', sans-serif !important;
  font-weight: 600;
  text-transform: none !important;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: #ffffff !important;
}

.reveal h2 {
  font-size: 1.8em;
  margin-bottom: 0.6em;
  color: #38bdf8 !important;
}

.reveal h3 {
  font-size: 1.3em;
  color: #ffffff !important;
  margin-bottom: 0.5em;
}

/* ============================================
   TITLE SLIDE
   ============================================ */
.reveal .slides section#sec-title-slide {
  text-align: center;
}

.reveal .slides section#sec-title-slide h2 {
  font-size: 2.5em;
  font-weight: 700;
  color: #0ea5e9 !important;
  margin-bottom: 0.15em;
  text-shadow: 0 0 60px rgba(14, 165, 233, 0.5);
  letter-spacing: 0.02em;
}

.reveal .slides section#sec-title-slide h3 {
  font-size: 1.3em;
  font-weight: 400;
  color: #b0b0b0 !important;
  margin-bottom: 1.5em;
}

.reveal .slides section#sec-title-slide p {
  font-size: 1em;
  color: #e0e0e0 !important;
  margin: 0.3em 0;
}

/* ============================================
   SECTION DIVIDERS
   ============================================ */
.reveal .slides section > section:first-child h2 {
  font-size: 2.4em;
  font-weight: 700;
  color: #0ea5e9 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em;
  margin-bottom: 0.6em;
}

.reveal .slides section > section:first-child .org-center p {
  font-size: 1.3em;
  font-weight: 300;
  color: #e0e0e0 !important;
}

.reveal .slides section > section:first-child .org-center strong {
  font-weight: 500;
  color: #ffffff !important;
}

/* ============================================
   LISTS
   ============================================ */
.reveal ul, .reveal ol {
  margin-left: 0.8em;
}

.reveal li {
  margin-bottom: 0.5em;
  line-height: 1.5;
  color: #e0e0e0 !important;
}

.reveal ul li::marker {
  color: #0ea5e9;
}

.reveal ol li::marker {
  color: #0ea5e9;
  font-weight: 600;
}

.reveal ul ul li, .reveal ol ul li {
  color: #b0b0b0 !important;
}

/* ============================================
   EMPHASIS
   ============================================ */
.reveal strong, .reveal b {
  color: #0ea5e9 !important;
  font-weight: 600;
}

.reveal em, .reveal i {
  color: #b0b0b0 !important;
  font-style: italic;
}

/* ============================================
   CODE
   ============================================ */
.reveal code {
  font-family: 'Fira Code', 'Consolas', monospace !important;
  background: rgba(14, 165, 233, 0.15) !important;
  border: 1px solid rgba(14, 165, 233, 0.3) !important;
  border-radius: 4px;
  padding: 0.15em 0.4em;
  font-size: 0.85em;
  color: #0ea5e9 !important;
}

.reveal pre {
  background: #0f0f0f !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 8px;
  padding: 1em;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.reveal pre code {
  background: transparent !important;
  border: none !important;
  color: #e0e0e0 !important;
}

/* ============================================
   TABLES
   ============================================ */
.reveal table {
  margin: 1em auto;
  border-collapse: collapse;
  font-size: 0.7em;
}

.reveal table th {
  background: rgba(14, 165, 233, 0.1) !important;
  color: #0ea5e9 !important;
  font-weight: 600;
  padding: 0.7em 1.2em;
  border-bottom: 2px solid #0ea5e9 !important;
  text-align: left;
}

.reveal table td {
  padding: 0.6em 1.2em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #e0e0e0 !important;
}

.reveal table tr:last-child td {
  border-bottom: none !important;
}

.reveal table tr:hover td {
  background: rgba(14, 165, 233, 0.08);
}

/* ============================================
   BLOCKQUOTES
   ============================================ */
.reveal blockquote {
  background: rgba(14, 165, 233, 0.1) !important;
  border-left: 4px solid #0ea5e9 !important;
  padding: 0.8em 1.2em;
  margin: 1em 0;
  font-style: italic;
  border-radius: 0 8px 8px 0;
}

.reveal blockquote p {
  color: #e0e0e0 !important;
}

/* ============================================
   HORIZONTAL RULES
   ============================================ */
.reveal hr {
  border: none !important;
  height: 1px;
  background: linear-gradient(90deg, transparent, #0ea5e9, transparent) !important;
  margin: 1.5em 0;
  opacity: 0.5;
}

/* ============================================
   IMAGES
   ============================================ */
.reveal section img {
  max-height: 55vh;
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
  border: none !important;
  background: transparent !important;
}

.reveal .figure p:last-child {
  font-size: 0.75em;
  color: #b0b0b0 !important;
}

/* ============================================
   FRAGMENTS
   ============================================ */
.reveal .fragment {
  transition: all 0.3s ease-out;
}

/* ============================================
   CENTER BLOCKS
   ============================================ */
.reveal .org-center {
  text-align: center;
}

.reveal .org-center p {
  color: #e0e0e0 !important;
}

.reveal .org-center strong {
  color: #0ea5e9 !important;
}

/* ============================================
   CONTROLS & PROGRESS
   ============================================ */
.reveal .progress {
  background: rgba(14, 165, 233, 0.15) !important;
  height: 4px;
}

.reveal .progress span {
  background: #0ea5e9 !important;
}

.reveal .slide-number {
  font-family: 'Fira Code', monospace !important;
  font-size: 13px;
  color: #808080 !important;
  background: transparent !important;
}

.reveal .controls {
  color: #0ea5e9 !important;
}

.reveal .controls button {
  color: #0ea5e9 !important;
}

/* ============================================
   LINKS
   ============================================ */
.reveal a {
  color: #0ea5e9 !important;
  text-decoration: none;
}

.reveal a:hover {
  color: #38bdf8 !important;
  text-decoration: underline;
}

/* ============================================
   INLINE STYLE OVERRIDES
   ============================================ */
[style*="color:#0ea5e9"] {
  color: #0ea5e9 !important;
}

[style*="opacity:0.7"],
[style*="opacity:0.6"] {
  opacity: 0.8 !important;
}
