/* ============================================
   PRESENTATION STYLE CSS
   Optimized for TV/Projector Display
   ============================================ */

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

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #1C2833;
    color: #2C3E50;
    overflow: hidden;
}

/* ============================================
   SLIDE CONTAINER
   ============================================ */
.slide-container {
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    padding: 4vh 4vw;
}

.slide.active {
    display: flex;
    opacity: 1;
    flex-direction: column;
}

/* ============================================
   BACKGROUND COLORS
   ============================================ */
.bg-cream { 
    background: #FFF8E7; 
}

.bg-white { 
    background: #FFFFFF; 
}

/* ============================================
   TYPOGRAPHY - OPTIMIZED FOR TV DISPLAY
   ============================================ */
h1 {
    font-size: 4em;          /* ~64px - Main titles (was 3em) */
    color: #1C2833;
    font-weight: bold;
    margin-bottom: 0.5em;
}

h2 {
    font-size: 3em;          /* ~48px - Section headers (was 2.2em) */
    color: #34495E;
    font-weight: bold;
    margin-bottom: 0.5em;
}

h3 {
    font-size: 2.4em;        /* ~38px - Subsections (was 1.8em) */
    color: #34495E;
    font-weight: bold;
    margin-bottom: 0.4em;
}

p, li {
    font-size: 1.8em;        /* ~29px - Body text (was 1.3em) */
    line-height: 1.6;
    color: #2C3E50;
}

ul {
    margin-left: 3vw;
    list-style-type: disc;
}

li {
    margin-bottom: 1vh;
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.center-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
}

.two-column {
    display: flex;
    gap: 3vw;
    height: 100%;
}

.column {
    flex: 1;
}

.column.narrow {
    flex: 0.4;
}

.column.wide {
    flex: 0.6;
}

/* ============================================
   BOXES AND CONTAINERS
   ============================================ */
.box {
    padding: 2vh 2vw;
    border-radius: 8px;
    margin: 2vh 0;
}

.navy-box {
    background: #1C2833;
    color: #FFFFFF;
}

.navy-box h3 {
    color: #D4AF37;
}

.navy-box p {
    color: #FFFFFF;
}

.gold-box {
    background: rgba(212, 175, 55, 0.3);
    border: 2px solid #D4AF37;
}

.cream-box {
    background: #FFF8E7;
    border: 2px solid #D4AF37;
}

.gray-box {
    background: #ECF0F1;
}

.stats-box {
    background: rgba(28, 40, 51, 0.1);
    padding: 3vh 2vw;
    border-radius: 8px;
}

/* ============================================
   IMAGE PLACEHOLDERS
   ============================================ */
.image-placeholder {
    background: #E8E8E8;
    border: 2px dashed #999999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2vh 1vw;
    border-radius: 4px;
    font-size: 1.5em;       /* ~24px (was 1.1em) */
    color: #666666;
    font-style: italic;
}

/* ============================================
   INTERACTIVE ELEMENTS
   ============================================ */
.click-btn {
    background: #D4AF37;
    color: #1C2833;
    padding: 1.5vh 3vw;
    border: 3px solid #FFFFFF;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.6em;       /* ~26px (was 1.2em) */
    cursor: pointer;
    display: inline-block;
    transition: transform 0.2s;
}

.click-btn:hover {
    transform: scale(1.05);
    background: #E5C050;
}

/* ============================================
   POPUP MODAL SYSTEM
   ============================================ */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s;
}

.popup-overlay.active {
    display: flex;
}

.popup-content {
    background: #FFFFFF;
    padding: 4vh 4vw;
    border-radius: 12px;
    max-width: 80vw;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.popup-close {
    position: absolute;
    top: 2vh;
    right: 2vw;
    font-size: 3.5em;       /* ~56px (was 2.5em) */
    font-weight: bold;
    color: #1C2833;
    cursor: pointer;
    background: none;
    border: none;
}

.popup-close:hover {
    color: #D4AF37;
}

.popup-content h2 {
    color: #1C2833;
    margin-bottom: 2vh;
    border-bottom: 3px solid #D4AF37;
    padding-bottom: 1vh;
    font-size: 2.8em;       /* ~45px (was 2em) */
}

.popup-content h3 {
    color: #34495E;
    margin-top: 2vh;
    margin-bottom: 1vh;
    font-size: 2.2em;       /* ~35px (was 1.6em) */
}

.stat-item {
    font-size: 1.8em;       /* ~29px (was 1.3em) */
    margin: 1.5vh 0;
    color: #2C3E50;
    line-height: 1.5;
}

.stat-number {
    font-weight: bold;
    color: #D4AF37;
    font-size: 2em;         /* ~32px (was 1.4em) */
}

/* ============================================
   NAVIGATION ELEMENTS
   ============================================ */
.nav-hint {
    position: fixed;
    bottom: 2vh;
    right: 2vw;
    font-size: 1.2em;       /* ~19px (was 0.9em) */
    color: rgba(255, 255, 255, 0.7);
    background: rgba(0, 0, 0, 0.6);
    padding: 1vh 1.5vw;
    border-radius: 4px;
}

.slide-number {
    position: absolute;
    top: 2vh;
    right: 2vw;
    font-size: 1.5em;       /* ~24px (was 1.1em) */
    color: #34495E;
    font-weight: bold;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.5vh 1.5vw;
    border-radius: 4px;
    border: 2px solid #D4AF37;
}

/* ============================================
   TITLE SLIDE SPECIAL STYLING
   ============================================ */
.title-slide h1 {
    font-size: 4.5em;       /* ~72px - Extra large for title (was 3.5em) */
    line-height: 1.3;
    margin-bottom: 0.3em;
}

.subtitle {
    font-size: 2.5em;       /* ~40px (was 1.8em) */
    color: #34495E;
    font-style: italic;
    margin-top: 1em;
}

.lecture-number {
    font-size: 2em;         /* ~32px (was 1.5em) */
    color: #34495E;
    font-weight: bold;
    margin-bottom: 1.5em;
}

/* ============================================
   SYMBOLS FOR INCLUSION/EXCLUSION
   ============================================ */
.checkmark { 
    color: #27AE60; 
}

.partial { 
    color: #F39C12; 
}

.crossmark { 
    color: #E74C3C; 
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   For tablets/mobile (secondary displays)
   ============================================ */
@media (max-width: 768px) {
    h1 { 
        font-size: 2.5em; 
    }
    
    h2 { 
        font-size: 1.8em; 
    }
    
    h3 { 
        font-size: 1.5em; 
    }
    
    p, li { 
        font-size: 1.1em; 
    }
    
    .two-column { 
        flex-direction: column; 
    }
}

/* ============================================
   PRINT STYLES (if needed)
   ============================================ */
@media print {
    .slide {
        page-break-after: always;
    }
    
    .nav-hint,
    .slide-number {
        display: none;
    }
}
/* ===== Study Mode Flashcards (Reveal.js) ===== */
.study-cards{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:18px;
  margin-top:12px;
}
.flashcard{perspective:1200px;cursor:pointer;user-select:none;outline:none}
.flashcard .fc-inner{
  position:relative;width:100%;height:180px;
  transform-style:preserve-3d;transition:transform .45s ease;
  border:2px solid rgba(0,0,0,.15);border-radius:12px;
  box-shadow:0 8px 26px rgba(0,0,0,.08);background:#fffdf6;
}
.flashcard.flipped .fc-inner{transform:rotateY(180deg)}
.flashcard .fc-face{
  position:absolute;inset:0;backface-visibility:hidden;
  display:grid;place-items:center;padding:18px;text-align:center;border-radius:10px;
}
.flashcard .fc-front{font-weight:700;font-size:1.15em}
.flashcard .fc-back{transform:rotateY(180deg);font-size:.95em;line-height:1.45}
.flashcard .term{margin:0}
.flashcard .period{font-size:.85em;opacity:.75;margin-top:6px}
.fc-controls{display:flex;gap:10px;flex-wrap:wrap;margin:10px 0 6px}
.fc-controls button{
  padding:8px 12px;border:1px solid #cc9a00;background:#fff7de;
  border-radius:8px;cursor:pointer;font:inherit
}
.fc-controls button:hover{filter:brightness(.95)}
.fc-controls .hint{margin-left:auto;font-size:.9em;opacity:.85}

/* ============================================
   IMAGE SIZE STANDARDIZATION FOR PRESENTATIONS
   ============================================ */
.slide-img {
  display: block;
  max-width: 75%;
  height: auto;
  margin: 0 auto 1em auto;
  border-radius: 6px;
}

@media (max-width: 768px) {
  .slide-img {
    max-width: 100%;
  }
}
