/**
 * SAATR JKR Geotechnical Dark Theme for Reveal.js
 */

.reveal {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 26px;
  font-weight: normal;
  color: #f8fafc;
  background-color: #0b1120;
}

.reveal .slides {
  text-align: left;
}

.reveal h1,
.reveal h2,
.reveal h3,
.reveal h4,
.reveal h5,
.reveal h6 {
  color: #ffffff;
  font-family: inherit;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-transform: none;
  margin-bottom: 0.5em;
}

.reveal h1 {
  font-size: 2.1em;
  background: linear-gradient(135deg, #ffffff 40%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.reveal h2 {
  font-size: 1.55em;
  color: #38bdf8;
  border-bottom: 2px solid #1e293b;
  padding-bottom: 0.2em;
}

.reveal h3 {
  font-size: 1.05em;
  color: #94a3b8;
  font-weight: 400;
  margin-top: -0.4em;
  margin-bottom: 0.8em;
}

.reveal p, .reveal li {
  line-height: 1.5;
  color: #e2e8f0;
}

.reveal strong {
  color: #ffffff;
}

.reveal a {
  color: #38bdf8;
  text-decoration: none;
  transition: color 0.2s;
}

.reveal a:hover {
  color: #7dd3fc;
  text-decoration: underline;
}

.reveal table {
  margin: 0.8em auto;
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  font-size: 0.72em;
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid #334155;
  border-radius: 6px;
  overflow: hidden;
}

.reveal table th {
  background-color: #1e293b;
  color: #38bdf8;
  font-weight: 700;
  padding: 8px 12px;
  border-bottom: 2px solid #334155;
  text-align: left;
}

.reveal table td {
  padding: 8px 12px;
  border-bottom: 1px solid #1e293b;
  color: #cbd5e1;
}

.reveal table tr:hover td {
  background-color: rgba(56, 189, 248, 0.05);
}

.reveal blockquote {
  background: rgba(30, 41, 59, 0.8);
  border-left: 4px solid #38bdf8;
  padding: 12px 18px;
  border-radius: 4px;
  font-style: normal;
  width: 95%;
  margin: 0.8em auto;
  font-size: 0.85em;
  color: #cbd5e1;
}

.reveal pre {
  background: #020617;
  border: 1px solid #334155;
  border-radius: 6px;
  padding: 12px;
  font-size: 0.62em;
  box-shadow: none;
  width: 98%;
  color: #38bdf8;
  font-family: "Courier New", Courier, monospace;
}

.reveal pre code {
  background: transparent;
  color: inherit;
  font-family: inherit;
}

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

/* Mermaid Diagrams in Reveal.js */
.reveal .mermaid {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin: 0.5em auto !important;
  width: 100% !important;
  background: transparent !important;
}

.reveal .mermaid svg {
  max-width: 100% !important;
  height: auto !important;
  max-height: 380px !important;
}

/* Slide Footer & Header Branding */
.deck-persistent-footer {
  position: fixed;
  bottom: 12px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #64748b;
  pointer-events: none;
  z-index: 100;
}

.deck-persistent-footer a {
  pointer-events: auto;
  color: #38bdf8;
}

.deck-badge {
  background: #1e293b;
  border: 1px solid #334155;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  color: #94a3b8;
}
