/* Presentation Styles for Lesson 3 - AI Ethics */

/* Print Styles */
@media print {
  .no-print {
    display: none !important;
  }
  
  .slide {
    page-break-after: always;
    display: block !important;
    height: 100vh;
    padding: 2rem;
  }
  
  .slide:last-child {
    page-break-after: auto;
  }
}

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

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: #2c3e50;
  background: #f8f9fa;
}

/* Slide Controls */
.slide-controls {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.95);
  padding: 15px 30px;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 15px;
}

.slide-controls button {
  min-width: 45px;
  height: 45px;
  border-radius: 50%;
  border: none;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.slide-controls button:hover {
  transform: scale(1.1);
}

#slideCounter {
  font-weight: 600;
  color: #2c3e50;
  font-size: 1rem;
}

/* Slide Container */
.slide {
  display: none;
  min-height: 100vh;
  padding: 100px 50px 50px;
  background: white;
}

.slide.active {
  display: block;
}

.slide-content {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
}

/* Typography */
h1 {
  color: #1e3a5f;
  font-weight: 700;
  margin-bottom: 1rem;
}

h2 {
  color: #2c5282;
  font-weight: 600;
  margin-bottom: 2rem;
  border-bottom: 4px solid #4299e1;
  padding-bottom: 0.5rem;
}

h3, h4 {
  color: #2d3748;
  font-weight: 600;
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.4rem;
  font-weight: 400;
  color: #4a5568;
}

/* Title Slide */
.title-slide {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: calc(100vh - 150px);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 20px;
  padding: 3rem;
}

.title-slide h1,
.title-slide h2,
.title-slide p,
.title-slide h4 {
  color: white;
}

.title-slide .lead {
  color: rgba(255, 255, 255, 0.9);
}

/* Question Box */
.question-box {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 3rem;
  border-radius: 15px;
  text-align: center;
  margin: 2rem 0;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.question-box p {
  color: white;
  margin: 0;
}

/* Objective List */
.objective-list-slides {
  list-style: none;
  padding: 0;
}

.objective-list-slides li {
  padding: 1.5rem;
  margin-bottom: 1rem;
  background: #f7fafc;
  border-left: 5px solid #4299e1;
  border-radius: 8px;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.objective-list-slides li:hover {
  background: #edf2f7;
  transform: translateX(10px);
}

.objective-list-slides i {
  color: #4299e1;
  margin-right: 1rem;
  font-size: 1.3rem;
}

/* Activity Box */
.activity-box {
  background: #fff5f5;
  border: 2px solid #fc8181;
  padding: 2rem;
  border-radius: 12px;
  margin: 2rem 0;
}

.activity-box h4 {
  color: #c53030;
  margin-bottom: 1rem;
}

.activity-box ol,
.activity-box ul {
  font-size: 1.1rem;
  margin-left: 1.5rem;
}

.thinking-prompt {
  background: #fef5e7;
  border-left: 5px solid #f39c12;
  padding: 1.5rem;
  border-radius: 8px;
  font-size: 1.1rem;
}

/* Definition Box */
.definition-box {
  background: #e6fffa;
  border: 3px solid #38b2ac;
  padding: 2rem;
  border-radius: 15px;
  margin: 2rem 0;
  text-align: center;
}

.definition-box .lead {
  color: #234e52;
  font-size: 1.3rem;
}

/* Analogy Box */
.analogy-box {
  background: #fef5e7;
  border-left: 5px solid #f39c12;
  padding: 2rem;
  border-radius: 8px;
}

.analogy-box h4 {
  color: #d68910;
  margin-bottom: 1rem;
}

.analogy-box p {
  font-size: 1.1rem;
  color: #5d4037;
}

/* Info Cards */
.info-card {
  background: white;
  border: 2px solid #e2e8f0;
  padding: 1.5rem;
  border-radius: 12px;
  height: 100%;
  transition: all 0.3s ease;
}

.info-card:hover {
  border-color: #4299e1;
  box-shadow: 0 8px 20px rgba(66, 153, 225, 0.15);
  transform: translateY(-5px);
}

.info-card h4 {
  color: #2c5282;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-card i {
  color: #4299e1;
  font-size: 1.5rem;
}

.info-card .example {
  background: #f7fafc;
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  font-size: 0.95rem;
}

/* Impact Grid */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.impact-item {
  background: white;
  border: 2px solid #e2e8f0;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
}

.impact-item:hover {
  border-color: #fc8181;
  box-shadow: 0 8px 20px rgba(252, 129, 129, 0.15);
  transform: translateY(-5px);
}

.impact-item i {
  font-size: 3rem;
  color: #fc8181;
  margin-bottom: 1rem;
}

.impact-item h4 {
  color: #2d3748;
  margin-bottom: 0.5rem;
}

.impact-item p {
  color: #718096;
  font-size: 1rem;
}

/* Video Info */
.video-info {
  background: #2d3748;
  color: white;
  padding: 3rem;
  border-radius: 15px;
  text-align: center;
}

.video-info h4 {
  color: white;
  margin-bottom: 1rem;
}

.video-info .lead {
  color: rgba(255, 255, 255, 0.9);
}

.video-info .key-points {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 10px;
  text-align: left;
}

.video-info .key-points h5 {
  color: #ffd700;
  margin-bottom: 1rem;
}

.video-info ul {
  margin-left: 1.5rem;
}

.note {
  background: #fff5f5;
  border-left: 4px solid #fc8181;
  padding: 1rem;
  border-radius: 8px;
  font-size: 1rem;
}

/* Question List */
.question-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.question-item {
  background: #f7fafc;
  border-left: 5px solid #4299e1;
  padding: 1.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.question-item:hover {
  background: #edf2f7;
  transform: translateX(10px);
}

.question-item h4 {
  color: #2c5282;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.question-item i {
  color: #4299e1;
}

/* Activity Instructions */
.activity-instructions {
  background: #ebf4ff;
  border: 3px solid #4299e1;
  padding: 2rem;
  border-radius: 15px;
}

.activity-instructions h4 {
  color: #2c5282;
  margin-bottom: 1rem;
}

.activity-instructions h5 {
  color: #2d3748;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.activity-instructions ul {
  margin-left: 1.5rem;
}

.activity-instructions ul li {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

/* Investigation Questions */
.investigation-questions {
  margin-left: 2rem;
}

.investigation-questions li {
  padding: 1rem;
  margin-bottom: 1rem;
  background: #f7fafc;
  border-radius: 8px;
  font-size: 1.1rem;
}

/* Case Overview */
.case-overview {
  display: grid;
  gap: 2rem;
  margin: 2rem 0;
}

.case-section {
  background: white;
  border: 2px solid #e2e8f0;
  padding: 2rem;
  border-radius: 12px;
}

.case-section h4 {
  color: #2c5282;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.case-section i {
  color: #4299e1;
  font-size: 1.3rem;
}

.case-section p {
  font-size: 1.1rem;
  color: #4a5568;
  margin: 0;
}

/* Principles Grid */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.principle-card {
  background: white;
  border: 2px solid #e2e8f0;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
}

.principle-card:hover {
  border-color: #48bb78;
  box-shadow: 0 8px 20px rgba(72, 187, 120, 0.15);
  transform: translateY(-5px);
}

.principle-card i {
  font-size: 3rem;
  color: #48bb78;
  margin-bottom: 1rem;
}

.principle-card h4 {
  color: #2d3748;
  margin-bottom: 0.5rem;
}

.principle-card p {
  color: #718096;
  font-size: 0.95rem;
  margin: 0;
}

/* Charter Box */
.charter-box {
  background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
  color: white;
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(72, 187, 120, 0.3);
}

.charter-box h4 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.charter-list {
  list-style: none;
  padding: 0;
}

.charter-list li {
  padding: 1rem;
  margin-bottom: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
}

.charter-list li::before {
  content: "\f058";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-right: 1rem;
  color: #ffd700;
  font-size: 1.2rem;
}

/* Takeaway Box */
.takeaway-box {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 2rem 0;
}

.takeaway-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background: #f7fafc;
  padding: 2rem;
  border-radius: 12px;
  border-left: 5px solid #4299e1;
}

.takeaway-item i {
  font-size: 2.5rem;
  color: #4299e1;
  min-width: 50px;
  text-align: center;
}

.takeaway-item p {
  font-size: 1.2rem;
  color: #2d3748;
  margin: 0;
}

/* Next Steps */
.next-steps {
  list-style: none;
  padding: 0;
  text-align: left;
  display: inline-block;
}

.next-steps li {
  padding: 1rem;
  margin-bottom: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  font-size: 1.1rem;
}

.next-steps li::before {
  content: "\f0da";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-right: 1rem;
  color: #ffd700;
}

/* Responsive Design */
@media (max-width: 768px) {
  .slide {
    padding: 80px 20px 30px;
  }
  
  .slide-controls {
    padding: 10px 20px;
    top: 10px;
  }
  
  .lead {
    font-size: 1.1rem;
  }
  
  .impact-grid {
    grid-template-columns: 1fr;
  }
  
  .principles-grid {
    grid-template-columns: 1fr;
  }
}

/* Accessibility */
.slide-controls button:focus,
.question-item:focus,
.info-card:focus {
  outline: 3px solid #4299e1;
  outline-offset: 2px;
}

/* Smooth transitions */
.slide {
  animation: fadeIn 0.5s ease-in;
}

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