/* presentation.css — FLOZAD & FLOZAD HR Pitch Deck Web App */

:root {
  --bg-dark: #0f172a;
  --bg-card: #1e293b;
  --bg-card-hover: #334155;

  /* Hardened Brand Hex Colors */
  --flo-navy: #0F2D5C;
  --flo-navy-light: #60a5fa;
  --za-teal: #00B8A9;
  --d-amber: #F59E0B;

  --primary-teal: #00B8A9;
  --primary-teal-hover: #009688;
  --accent-amber: #F59E0B;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dark: #0f172a;
  --border-light: rgba(255, 255, 255, 0.1);
  --border-highlight: rgba(0, 184, 169, 0.4);
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow-glow: 0 10px 30px -10px rgba(0, 184, 169, 0.3);
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* BRAND WORDMARK COLORING */
.fz-brand {
  display: inline-block;
  font-weight: inherit;
}
.fz-brand .flo { color: var(--flo-navy-light); }
.fz-brand .za { color: var(--za-teal); }
.fz-brand .d { color: var(--d-amber); }

.fz-brand-dark {
  display: inline-block;
  font-weight: inherit;
}
.fz-brand-dark .flo { color: #3b82f6; } /* High contrast navy-blue on dark card */
.fz-brand-dark .za { color: var(--za-teal); }
.fz-brand-dark .d { color: var(--d-amber); }

/* TOP NAVBAR */
.navbar {
  height: 64px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 100;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-brand img {
  height: 36px;
  width: auto;
}

.brand-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-icon {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-icon:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary-teal);
  color: var(--primary-teal);
}

.btn-primary {
  background: var(--primary-teal);
  color: #fff;
  border: none;
  font-weight: 600;
}

.btn-primary:hover {
  background: var(--primary-teal-hover);
  color: #fff;
  box-shadow: var(--shadow-glow);
}

/* MAIN DECK CONTAINER */
.deck-container {
  flex: 1;
  display: flex;
  position: relative;
  overflow: hidden;
}

/* SLIDE STAGE */
.stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
}

/* 16:9 SLIDE CARD */
.slide-frame {
  width: 100%;
  max-width: 1200px;
  aspect-ratio: 16 / 9;
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  position: relative;
  display: none;
  flex-direction: column;
  padding: 48px;
  overflow: hidden;
  animation: fadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-frame.active {
  display: flex;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.98) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* SLIDE CONTENT STYLES */
.slide-kicker {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--za-teal);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.slide-title {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 16px;
}

.slide-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 32px;
}

/* CARDS & GRIDS INSIDE SLIDES */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-card {
  background: rgba(30, 41, 59, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.25s ease;
  position: relative;
}

.feature-card:hover {
  border-color: var(--za-teal);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0, 184, 169, 0.15);
  color: var(--za-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-weight: 700;
  font-size: 1.2rem;
}

.card-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 8px;
}

.card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* STAT CARDS */
.stat-box {
  background: linear-gradient(135deg, rgba(0, 184, 169, 0.15) 0%, rgba(30, 41, 59, 0.4) 100%);
  border: 1px solid var(--border-highlight);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  margin-bottom: 16px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--za-teal);
  line-height: 1;
}

/* FOOTER CONTROLS BAR */
.controls-bar {
  height: 60px;
  background: rgba(15, 23, 42, 0.9);
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}

.slide-counter {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.progress-bar-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
}

.progress-bar {
  height: 100%;
  background: var(--za-teal);
  width: 8.33%;
  transition: width 0.3s ease;
}

/* THUMBNAIL DRAWER */
.thumbnail-drawer {
  width: 260px;
  background: #0b1120;
  border-left: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  padding: 16px;
  gap: 12px;
  overflow-y: auto;
  transition: transform 0.3s ease;
}

.thumb-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.thumb-item:hover, .thumb-item.active {
  border-color: var(--za-teal);
  background: var(--bg-card-hover);
}

.thumb-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--za-teal);
  margin-bottom: 4px;
}

.thumb-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
