/*
 * SVTech Presentation Theme
 * Modern glassmorphism aesthetic with brand colors
 */

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

:root {
  --primary: #0066cc;
  --secondary: #00a8a8;
  --accent: #34a853;
  --background: #0a1628;
  --surface: rgba(255, 255, 255, 0.05);
  --glass: rgba(255, 255, 255, 0.08);
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.7);
  --border: rgba(255, 255, 255, 0.1);
  --gradient-primary: linear-gradient(135deg, #0066cc 0%, #00a8a8 100%);
  --gradient-dark: linear-gradient(180deg, #0a1628 0%, #1a2744 100%);
}

/* Base styles */
.reveal-viewport {
  background: var(--gradient-dark);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.reveal {
  font-size: 24px;
  font-weight: 400;
  color: var(--text);
}

/* Background patterns */
.reveal::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(0, 102, 204, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0, 168, 168, 0.15) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* Grid pattern overlay */
.reveal::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
}

/* Typography */
.reveal h1 {
  font-size: 3.5em;
  font-weight: 800;
  margin-bottom: 0.3em;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

.reveal h2 {
  font-size: 2.2em;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5em;
}

.reveal h3 {
  font-size: 1.6em;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 0.4em;
}

.reveal h4 {
  font-size: 1.2em;
  font-weight: 500;
  color: var(--text-muted);
}

.reveal p {
  line-height: 1.6;
  margin-bottom: 1em;
}

/* Glassmorphism cards */
.glass-card {
  background: var(--glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.glass-card-light {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 20px;
}

/* Lists */
.reveal ul, .reveal ol {
  text-align: left;
  margin-left: 1em;
}

.reveal li {
  margin-bottom: 0.6em;
  line-height: 1.5;
}

.reveal ul li::marker {
  color: var(--secondary);
}

/* Metric highlights */
.metric {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 30px;
  background: var(--glass);
  border-radius: 12px;
  border: 1px solid var(--border);
  margin: 10px;
}

.metric-value {
  font-size: 3em;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.metric-label {
  font-size: 0.9em;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 8px;
}

/* Customer logos */
.customer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.customer-badge {
  background: var(--glass);
  padding: 15px 20px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 0.85em;
  text-align: center;
  color: var(--text-muted);
}

/* Timeline styles */
.timeline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 40px 0;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 5%;
  right: 5%;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.timeline-item {
  flex: 1;
  text-align: center;
  position: relative;
  padding-top: 40px;
}

.timeline-year {
  font-size: 1.4em;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.timeline-dot {
  width: 20px;
  height: 20px;
  background: var(--secondary);
  border: 4px solid var(--background);
  border-radius: 50%;
  position: absolute;
  top: 52px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-content {
  font-size: 0.85em;
  color: var(--text-muted);
  padding: 0 10px;
}

/* Two-column layout */
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  width: 100%;
  align-items: start;
}

/* Architecture comparison */
.arch-compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  align-items: center;
  width: 100%;
}

.arch-box {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
}

.arch-arrow {
  font-size: 3em;
  color: var(--secondary);
}

/* Tech stack layers */
.stack-layers {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 600px;
}

.stack-layer {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 15px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stack-layer:nth-child(1) { border-left: 4px solid #9c27b0; }
.stack-layer:nth-child(2) { border-left: 4px solid #673ab7; }
.stack-layer:nth-child(3) { border-left: 4px solid #3f51b5; }
.stack-layer:nth-child(4) { border-left: 4px solid #2196f3; }
.stack-layer:nth-child(5) { border-left: 4px solid #00bcd4; }
.stack-layer:nth-child(6) { border-left: 4px solid #009688; }

.layer-name {
  font-weight: 600;
}

.layer-tech {
  font-size: 0.85em;
  color: var(--text-muted);
}

/* Tags */
.tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.8em;
  margin: 4px;
  color: var(--text-muted);
}

.tag-primary {
  background: rgba(0, 102, 204, 0.2);
  border-color: rgba(0, 102, 204, 0.4);
  color: #66b3ff;
}

.tag-secondary {
  background: rgba(0, 168, 168, 0.2);
  border-color: rgba(0, 168, 168, 0.4);
  color: #4dd4d4;
}

/* Slide-specific */
.slide-title {
  text-align: center;
}

.slide-content {
  text-align: left;
  width: 100%;
  max-width: 1400px;
}

/* Emphasis text */
.highlight {
  color: var(--secondary);
  font-weight: 600;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Quote/callout */
.callout {
  background: var(--glass);
  border-left: 4px solid var(--secondary);
  padding: 20px 30px;
  border-radius: 0 12px 12px 0;
  margin: 20px 0;
  font-style: italic;
  color: var(--text-muted);
}

/* Closing slide */
.closing-statement {
  font-size: 1.3em;
  font-weight: 500;
  color: var(--text);
  max-width: 800px;
  text-align: center;
  line-height: 1.6;
}

/* Logo */
.logo {
  height: 50px;
  position: absolute;
  top: 30px;
  left: 30px;
  z-index: 20;
  opacity: 0.8;
}

.logo-large {
  height: 80px;
  margin-bottom: 30px;
}

/* Responsive adjustments */
@media (max-width: 1600px) {
  .reveal { font-size: 20px; }
  .reveal h1 { font-size: 3em; }
  .reveal h2 { font-size: 2em; }
}

/* Animation enhancements */
.reveal .slides section .fragment.grow {
  transform: scale(0.9);
}

.reveal .slides section .fragment.grow.visible {
  transform: scale(1);
}

.reveal .slides section .fragment.fade-left {
  transform: translateX(-40px);
}

.reveal .slides section .fragment.fade-left.visible {
  transform: translateX(0);
}

.reveal .slides section .fragment.fade-right {
  transform: translateX(40px);
}

.reveal .slides section .fragment.fade-right.visible {
  transform: translateX(0);
}