/* Dark Academic Color Scheme: Deep Red, Black, Cream White */
:root {
    --deep-red: #8B0000;
    --dark-red: #5C0000;
    --black: #0a0a0a;
    --charcoal: #1a1a1a;
    --cream: #F5F5DC;
    --cream-light: #FAF9F6;
    --gold: #C9A87C;
    --text-dark: #1a1a1a;
    --text-light: #F5F5DC;
}

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

html, body {
    height: 100%;
    overflow: hidden;
    font-family: 'Cormorant Garamond', serif;
    background-color: var(--black);
    color: var(--cream);
}

.presentation {
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Slide Layout */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    grid-template-columns: 55% 45%;
    background: linear-gradient(135deg, var(--charcoal) 0%, var(--black) 100%);
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.slide.active {
    display: grid;
    opacity: 1;
}

/* Slide Content Area */
.slide-content {
    padding: 4rem 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

/* Typography */
.main-title {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    font-weight: 900;
    color: var(--cream);
    line-height: 1;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.subtitle-line {
    width: 120px;
    height: 4px;
    background: var(--deep-red);
    margin: 1.5rem 0;
}

.subtitle {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.1em;
}

.slide-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--cream);
    margin-bottom: 2rem;
    border-left: 6px solid var(--deep-red);
    padding-left: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Introduction Slide Specific */
.title-section {
    margin-bottom: 3rem;
}

.intro-text {
    max-width: 90%;
}

.project-description {
    font-size: 1.4rem;
    line-height: 1.8;
    color: var(--cream);
    margin-bottom: 3rem;
    font-style: italic;
}

.presenters {
    border-top: 2px solid var(--deep-red);
    padding-top: 1.5rem;
}

.presented-by {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.names {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--cream);
    font-weight: 600;
}

/* Content Columns */
.content-columns {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.text-column {
    max-width: 95%;
}

.lead-text {
    font-size: 1.3rem;
    line-height: 1.7;
    color: var(--cream);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.body-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--cream);
    margin-bottom: 1rem;
}

.body-text.highlight {
    color: var(--gold);
    font-weight: 600;
    font-size: 1.2rem;
    border-left: 3px solid var(--deep-red);
    padding-left: 1rem;
    margin-top: 1.5rem;
}

/* Lists */
.content-list {
    list-style: none;
    padding: 0;
}

.content-list li {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--cream);
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.content-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 8px;
    height: 8px;
    background: var(--deep-red);
    border-radius: 50%;
}

.content-list li strong {
    color: var(--gold);
    font-weight: 600;
}

.dark-list li {
    background: rgba(139, 0, 0, 0.1);
    padding: 1rem 1.5rem 1rem 2.5rem;
    border-left: 3px solid var(--deep-red);
}

.dark-list li::before {
    left: 1rem;
    top: 1.3rem;
}

/* Timeline Items */
.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(139, 0, 0, 0.3);
}

.timeline-item:last-child {
    border-bottom: none;
}

.timeline-item .year {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--deep-red);
    min-width: 80px;
}

.timeline-item p {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--cream);
    margin: 0;
}

.timeline-item strong {
    color: var(--gold);
}

/* Resistance Figures */
.resistance-figure {
    background: rgba(139, 0, 0, 0.15);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--deep-red);
}

.resistance-figure h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 0.75rem;
}

.resistance-figure p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--cream);
    margin: 0;
}

/* Conclusion */
.conclusion {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--gold);
    font-style: italic;
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(139, 0, 0, 0.1);
    border-left: 4px solid var(--deep-red);
}

/* Image Area */
.slide-image {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem;
    background: linear-gradient(180deg, rgba(139, 0, 0, 0.05) 0%, transparent 100%);
}

.slide-image img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border: 8px solid var(--charcoal);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.image-caption {
    font-size: 0.9rem;
    color: var(--gold);
    margin-top: 1.5rem;
    text-align: center;
    font-style: italic;
    max-width: 90%;
    opacity: 0.8;
}

/* Slide Number */
.slide-number {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    font-family: 'Playfair Display', serif;
    font-size: 6rem;
    font-weight: 900;
    color: rgba(139, 0, 0, 0.2);
    line-height: 1;
    z-index: 1;
}

/* Navigation */
.navigation {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    z-index: 100;
    background: rgba(10, 10, 10, 0.9);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    border: 1px solid var(--deep-red);
}

.nav-btn {
    background: transparent;
    border: 2px solid var(--deep-red);
    color: var(--cream);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background: var(--deep-red);
    color: var(--cream);
    transform: scale(1.1);
}

.slide-indicator {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--cream);
    min-width: 60px;
    text-align: center;
}

/* Progress Bar */
.progress-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--charcoal);
    z-index: 100;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, var(--deep-red), var(--gold));
    transition: width 0.3s ease;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .slide {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
    }
    
    .slide-image {
        order: -1;
        padding: 2rem;
    }
    
    .slide-image img {
        max-height: 40vh;
    }
    
    .slide-content {
        padding: 2rem 3rem;
    }
    
    .main-title {
        font-size: 3.5rem;
    }
    
    .subtitle {
        font-size: 2.5rem;
    }
    
    .slide-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .slide-content {
        padding: 1.5rem;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.8rem;
    }
    
    .slide-title {
        font-size: 2rem;
    }
    
    .project-description {
        font-size: 1.1rem;
    }
    
    .timeline-item {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .timeline-item .year {
        font-size: 1.5rem;
    }
    
    .navigation {
        bottom: 1rem;
        right: 1rem;
        padding: 0.75rem 1rem;
    }
    
    .nav-btn {
        width: 40px;
        height: 40px;
    }
}