/* Base Styles */
:root {
  --main-text-color: #333333;
  --heading-color: #2c3e50;
  --background-color: #ffffff;
}

.reveal {
  font-family: 'Inter', sans-serif;
  color: var(--main-text-color);
  font-size: 2em;
}

.reveal h1 {
  font-family: 'Playfair Display', serif;
  color: var(--heading-color);
  font-size: 3.5em;
  margin-bottom: 0.3em;
  text-transform: none;
}

.reveal h2 {
  font-family: 'Playfair Display', serif;
  color: var(--heading-color);
  font-size: 2.8em;
  margin-bottom: 0.5em;
  text-transform: none;
}

.reveal h3 {
  font-family: 'Playfair Display', serif;
  color: var(--heading-color);
  font-size: 1.8em;
  margin-bottom: 0.5em;
  text-transform: none;
}

/* Cover Slide */
.subtitle {
  font-size: 1.5em;
  margin-top: 1em;
  margin-bottom: 1em;
  color: var(--heading-color);
}

.contact {
  position: fixed;
  bottom: 2em;
  right: 2em;
  font-size: 1em;
}

/* Fund Stats */
.fund-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5em;
  padding: 1em;
  max-width: 90%;
  margin: 0 auto;
}

.stat-item {
  background: rgba(255, 255, 255, 0.9);
  padding: 1.2em;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
}

.stat-value {
  font-size: 1.2em;
  font-weight: 600;
  margin-top: 0.3em;
  color: var(--heading-color);
  line-height: 1.3;
}

/* Grids */
.two-col-grid, .three-col-grid {
  display: grid;
  gap: 2em;
  padding: 1em;
  max-width: 90%;
  margin: 0 auto;
}

.two-col-grid {
  grid-template-columns: repeat(2, 1fr);
}

.three-col-grid {
  grid-template-columns: repeat(3, 1fr);
}

/* Lists */
.clean-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9em;
}

.clean-list li {
  margin-bottom: 0.8em;
  display: flex;
  align-items: center;
  line-height: 1.4;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
  line-height: 1.4;
  font-size: 0.8em;
}

.icon {
  margin-right: 0.5em;
  font-size: 1.2em;
}

/* Sections */
.reveal .slides section {
  padding: 1em;
}

/* Columns */
.focus-col, .opportunity-col {
  background: rgba(255, 255, 255, 0.9);
  padding: 1.2em;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Value Creation Process */
.value-process {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5em;
  padding: 1em;
  max-width: 90%;
  margin: 0 auto;
}

.process-step {
  background: rgba(255, 255, 255, 0.9);
  padding: 1.5em;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  position: relative;
}

.step-number {
  position: absolute;
  top: -15px;
  left: -15px;
  width: 40px;
  height: 40px;
  background: var(--heading-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2em;
}

/* Platform Capabilities */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}

.platform-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
}

.platform-card:hover {
  transform: translateY(-5px);
}

/* Team Slides */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin: 2rem 0;
}

.team-photo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-placeholder {
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: rgba(0, 0, 0, 0.5);
}

.team-info {
  text-align: left;
}

.role {
  font-size: 1.5rem;
  color: #666;
  margin-bottom: 2rem;
}

.background-section,
.track-record,
.focus-areas {
  margin-bottom: 2rem;
}

/* Process Timeline */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin: 2rem 0;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 2rem;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(0, 0, 0, 0.1);
  z-index: 0;
}

/* Portfolio Strategy */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}

.portfolio-section {
  text-align: center;
}

.chart {
  margin: 2rem 0;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 1rem;
}

/* Returns & Metrics */
.returns-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}

.returns-section {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.highlight {
  color: #007AFF;
  font-weight: bold;
  font-size: 1.2em;
}

/* Case Studies */
.case-studies {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.case-study {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 1rem;
}

.case-col {
  padding: 1rem;
}

/* Fund Terms */
.terms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin: 2rem 0;
}

.terms-section {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Call to Action */
.cta-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-button {
  margin: 2rem 0;
}

.cta-button a {
  display: inline-block;
  padding: 1rem 2rem;
  background: #2C5282;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.2em;
  transition: background-color 0.3s;
}

.cta-button a:hover {
  background: #1A365D;
}

.contact-info {
  margin-top: 3rem;
  color: #666;
}

/* Charts */
.chart-container {
  position: relative;
  width: 80%;
  max-width: 600px;
  margin: 0 auto;
  height: 400px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .reveal { font-size: 1.5em; }
  
  .fund-stats,
  .two-col-grid,
  .three-col-grid {
    grid-template-columns: 1fr;
    gap: 1em;
  }
  
  .stat-value { font-size: 1.2em; }
  .clean-list li { font-size: 0.8em; }
  
  .value-process,
  .platform-grid {
    grid-template-columns: 1fr;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .photo-placeholder {
    max-width: 300px;
    margin: 0 auto;
  }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .case-grid,
  .terms-grid {
    grid-template-columns: 1fr;
  }

  .chart-container {
    width: 95%;
    height: 300px;
  }
}

/* Print Styles */
@media print {
  .reveal .slides section {
    page-break-before: always;
  }

  .chart-container {
    break-inside: avoid;
  }
}

/* Transitions */
.reveal .slides section {
  transition: transform 0.8s ease, opacity 0.8s ease;
}
