/* Presentation Mode CSS - Full Screen PowerPoint Style */

.presentation-mode {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    color: white;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow: hidden;
    z-index: 9999;
    display: flex;
    flex-direction: column;
}

.presentation-header {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.presentation-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffd700;
}

.presentation-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.presentation-progress {
    font-size: 0.9rem;
    color: #a0aec0;
}

.presentation-exit {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.presentation-exit:hover {
    background: rgba(255, 255, 255, 0.2);
}

.presentation-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    position: relative;
}

.presentation-slide {
    max-width: 1000px;
    width: 100%;
    text-align: left;
    animation: slideIn 0.3s ease-out;
}

.slide-section-title {
    font-size: 3rem;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 2rem;
    text-align: center;
    border-bottom: 3px solid #667eea;
    padding-bottom: 1rem;
}

.slide-subsection-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #81e6d9;
    margin-bottom: 1.5rem;
    text-align: center;
}

.slide-heading {
    font-size: 2rem;
    font-weight: 600;
    color: #90cdf4;
    margin-bottom: 1rem;
}

.slide-paragraph {
    font-size: 1.4rem;
    line-height: 1.8;
    color: #f7fafc;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.slide-list {
    font-size: 1.3rem;
    line-height: 1.7;
    color: #f7fafc;
    margin: 1.5rem 0;
}

.slide-list ul, .slide-list ol {
    padding-left: 2rem;
}

.slide-list li {
    margin-bottom: 0.8rem;
    position: relative;
}

.slide-list ul li:before {
    content: "▶";
    color: #667eea;
    position: absolute;
    left: -1.5rem;
}

.slide-highlight {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3), rgba(118, 75, 162, 0.3));
    border-left: 4px solid #667eea;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
    font-size: 1.3rem;
    line-height: 1.7;
}

.slide-example {
    background: linear-gradient(135deg, rgba(245, 101, 101, 0.3), rgba(245, 101, 101, 0.1));
    border-left: 4px solid #f56565;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
    font-size: 1.3rem;
    line-height: 1.7;
}

.slide-strong {
    color: #ffd700;
    font-weight: 600;
}

.presentation-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.presentation-navigation:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.presentation-nav-left {
    left: 2rem;
}

.presentation-nav-right {
    right: 2rem;
}

.presentation-navigation i {
    font-size: 1.5rem;
    color: white;
}

.presentation-footer {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.presentation-help {
    font-size: 0.9rem;
    color: #a0aec0;
    text-align: center;
}

.presentation-help kbd {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 0.2rem 0.5rem;
    margin: 0 0.2rem;
    font-family: monospace;
    font-size: 0.8rem;
}

/* Slide transition animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-30px);
    }
}

.slide-transition-out {
    animation: slideOut 0.2s ease-in;
}

/* Section transition slide */
.section-transition-slide {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.section-transition-slide .slide-section-title {
    font-size: 4rem;
    margin-bottom: 3rem;
    border: none;
    padding: 0;
}

.section-transition-slide .section-subtitle {
    font-size: 1.8rem;
    color: #a0aec0;
    font-weight: 400;
    margin-bottom: 3rem;
}

.section-overview {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.overview-item {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    color: #90cdf4;
    backdrop-filter: blur(10px);
}

/* Hidden elements */
.presentation-hidden {
    display: none !important;
}

/* Loading screen */
.presentation-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 2rem;
}

.loading-text {
    font-size: 1.2rem;
    color: #a0aec0;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .slide-section-title {
        font-size: 2.5rem;
    }
    
    .slide-subsection-title {
        font-size: 2rem;
    }
    
    .slide-heading {
        font-size: 1.7rem;
    }
    
    .slide-paragraph {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .presentation-content {
        padding: 2rem 1rem;
    }
    
    .slide-section-title {
        font-size: 2rem;
    }
    
    .slide-subsection-title {
        font-size: 1.5rem;
    }
    
    .slide-heading {
        font-size: 1.4rem;
    }
    
    .slide-paragraph {
        font-size: 1.1rem;
    }
    
    .presentation-navigation {
        width: 50px;
        height: 50px;
    }
    
    .presentation-nav-left {
        left: 1rem;
    }
    
    .presentation-nav-right {
        right: 1rem;
    }
}

/* Print styles - hide presentation mode */
@media print {
    .presentation-mode {
        display: none !important;
    }
}