/* Custom CSS for Generative AI Presentation */

/* Callout Boxes */
.callout-tip {
  background-color: #d4edda;
  border-left: 5px solid #28a745;
  padding: 15px;
  margin: 20px 0;
  border-radius: 5px;
}

.callout-warning {
  background-color: #fff3cd;
  border-left: 5px solid #ffc107;
  padding: 15px;
  margin: 20px 0;
  border-radius: 5px;
}

.callout-important {
  background-color: #f8d7da;
  border-left: 5px solid #dc3545;
  padding: 15px;
  margin: 20px 0;
  border-radius: 5px;
}

.callout-note {
  background-color: #d1ecf1;
  border-left: 5px solid #17a2b8;
  padding: 15px;
  margin: 20px 0;
  border-radius: 5px;
}

.callout-success {
  background-color: #d4edda;
  border-left: 5px solid #28a745;
  padding: 15px;
  margin: 20px 0;
  border-radius: 5px;
}

/* Typography Improvements */
.reveal h1, .reveal h2, .reveal h3 {
  font-weight: 600;
  line-height: 1.2;
}

.reveal h1 {
  font-size: 2.5em;
}

.reveal h2 {
  font-size: 1.8em;
  color: #2c3e50;
}

.reveal h3 {
  font-size: 1.3em;
  color: #34495e;
}

/* Better list styling */
.reveal ul {
  display: block;
  margin-left: 1em;
}

.reveal ul li {
  margin-bottom: 0.5em;
}

/* Table improvements */
.reveal table {
  margin: auto;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 0.9em;
}

.reveal table th {
  background-color: #3498db;
  color: white;
  font-weight: bold;
  padding: 0.5em;
}

.reveal table td {
  padding: 0.5em;
  border-bottom: 1px solid #ddd;
}

.reveal table tr:nth-child(even) {
  background-color: #f2f2f2;
}

/* Code block styling */
.reveal pre {
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.15);
  font-size: 0.8em;
  padding: 10px;
  background-color: #f8f9fa;
  border-radius: 5px;
}

.reveal code {
  font-family: 'Courier New', monospace;
  background-color: #f8f9fa;
  padding: 2px 5px;
  border-radius: 3px;
}

/* Blockquote styling */
.reveal blockquote {
  width: 90%;
  margin: 20px auto;
  font-style: italic;
  background: #f9f9f9;
  border-left: 10px solid #3498db;
  padding: 15px;
  font-size: 1.1em;
}

/* Column layouts */
.columns {
  display: flex;
  gap: 30px;
}

.column {
  flex: 1;
}

/* Fragment animations */
.reveal .slides section .fragment {
  opacity: 0;
  visibility: hidden;
  transition: all .2s ease;
}

.reveal .slides section .fragment.visible {
  opacity: 1;
  visibility: visible;
}

/* Center alignment utility */
.center {
  text-align: center;
}

/* Smaller text utility */
.smaller {
  font-size: 0.85em;
}

/* Hidden utility */
.hidden {
  display: none;
}

/* Emoji sizing */
.reveal p {
  font-size: 1.1em;
  line-height: 1.5;
}

/* Section title slides */
.reveal section[data-background-color] h1,
.reveal section[data-background-color] h2 {
  color: white;
}

/* Progress bar color */
.reveal .progress {
  color: #3498db;
}

/* Control arrows */
.reveal .controls {
  color: #3498db;
}

/* Slide number */
.reveal .slide-number {
  background-color: rgba(0, 0, 0, 0.3);
  color: white;
}

/* Footer styling */
.reveal .footer {
  position: absolute;
  bottom: 1em;
  left: 1em;
  font-size: 0.5em;
  color: #666;
}

/* Interactive elements */
input[type="checkbox"] {
  margin-right: 10px;
  transform: scale(1.5);
}

/* Mermaid diagram container */
.mermaid {
  text-align: center;
  margin: 20px auto;
}

/* Print styles */
@media print {
  .reveal .controls,
  .reveal .progress,
  .reveal .slide-number {
    display: none !important;
  }
}