/**
 * UAB Corporate Theme for Reveal.js (Minimal Accent Version)
 * Primary color: Pantone 355 C (#009639)
 * 
 * This file only overrides colors to match UAB branding.
 * Layout, spacing, and typography are left to the default Reveal.js 'white' theme.
 */

:root {
  --uab-green: #009639;
  /* Pantone 355 C */
  --uab-green-dark: #007a33;
  --r-main-color: #222;
  /* Default text color */
  --r-heading-color: #222;
  /* Default heading color */
  --r-link-color: var(--uab-green);
  --r-link-color-hover: var(--uab-green-dark);
  --r-selection-background-color: var(--uab-green);
}

/* --- Typography --- */

.reveal {
  font-family: 'Inter', sans-serif;
}

.reveal h1,
.reveal h2,
.reveal h3,
.reveal h4,
.reveal h5,
.reveal h6 {
  font-family: 'Creato Display', sans-serif;
  font-weight: 700;
  color: var(--uab-green);
  text-transform: none;
}

/* --- Title Slide Styling --- */
.reveal .slides section.title-slide {
  text-align: center;
  justify-content: center;
  height: 100%;
}

.title-slide__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}

.title-slide__title-block h1 {
  font-size: 3.7rem;
  line-height: 1.2;
}

.title-slide__names-block {
  margin-top: 5rem;
  margin-bottom: 3rem;
  font-size: 2.5rem;
}

.title-slide__author {
  font-weight: bold;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.title-slide__supervisor,
.title-slide__program {
  color: #666;
}

.title-slide__logo-row {
  display: flex;
  justify-content: center;
  gap: 4rem;
  align-items: center;
  margin-top: auto;
}

.title-slide__logo {
  height: 80px;
  object-fit: contain;
}

/* --- Section Cover Styling --- */
.reveal .slides section.section-cover {
  text-align: center;
  justify-content: center;
  height: 100%;
}

.section-cover__part {
  font-family: 'Creato Display', sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: #000;
  margin-bottom: 15rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.section-cover__title {
  margin-top: 8rem;
  font-family: 'Creato Display', sans-serif;
  font-weight: 700;
  color: #000;
  /* Black for contrast as per user preference for light theme */
  line-height: 8;
  width: 100%;
  display: block;
  /* Ensure block-level for r-fit-text */
}

/* Links */
.reveal a {
  color: var(--uab-green);
}

.reveal a:hover {
  color: var(--uab-green-dark);
}

/* Progress Bar */
.reveal .progress {
  color: var(--uab-green);
}

.reveal .progress span {
  background-color: var(--uab-green);
}

/* Controls (Navigation Arrows) */
.reveal .controls {
  color: var(--uab-green);
}

/* Slide Numbers */
.reveal .slide-number {
  color: var(--uab-green);
  background-color: transparent;
  font-weight: bold;
}

/* Selection */
::selection {
  background: var(--uab-green);
  color: #fff;
}