/* ===== VARIABLES ===== */
:root {
    --argentina-blue: #74ACDF;
    --argentina-light-blue: #A8D5FF;
    --argentina-white: #FFFFFF;
    --dark-bg: #1a1a2e;
    --darker-bg: #0f0f1e;
    --text-primary: #ffffff;
    --text-secondary: #b8b8d1;
    --accent-gold: #FFD700;
    --shadow: rgba(0, 0, 0, 0.3);
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    color: var(--text-primary);
    overflow: hidden;
    height: 100vh;
}

/* ===== PROGRESS BAR ===== */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1000;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--argentina-blue), var(--argentina-light-blue));
    width: 10%;
    transition: width 0.3s ease;
}

/* ===== SLIDE COUNTER ===== */
.slide-counter {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.current-slide {
    color: var(--argentina-light-blue);
    font-size: 20px;
}

/* ===== AUTHORS NAMES ===== */
.authors-names {
    position: fixed;
    top: 20px;
    right: 120px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-secondary);
}

/* ===== FULLSCREEN BUTTON ===== */
.fullscreen-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    padding: 12px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fullscreen-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ===== SLIDES CONTAINER ===== */
.slides-container {
    width: 100%;
    height: 100vh;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px 50px 100px 50px;
    overflow-y: auto;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-content {
    width: 100%;
    max-width: 1400px;
    height: auto;
}

/* ===== TITLE SLIDE ===== */
.title-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.title-slide h1 {
    font-size: 96px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--argentina-blue), var(--argentina-light-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.title-slide h2 {
    font-size: 48px;
    font-weight: 300;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.title-slide .subtitle {
    font-size: 24px;
    color: var(--text-secondary);
    font-weight: 300;
    margin-top: 20px;
}

.flag-decoration {
    font-size: 120px;
    margin-top: 40px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* ===== SOMMAIRE SLIDE ===== */
.sommaire-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 100%;
    max-width: 900px;
}

.sommaire-item {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 15px;
    border-left: 4px solid var(--argentina-blue);
}

.sommaire-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.sommaire-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--argentina-blue);
    flex-shrink: 0;
    width: 50px;
    text-align: center;
}

.sommaire-text h3 {
    font-size: 22px;
    color: var(--argentina-light-blue);
    margin-bottom: 8px;
}

.sommaire-text p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ===== SPLIT LAYOUT ===== */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    height: 100%;
    align-items: center;
}

.split-layout.reverse {
    grid-template-columns: 1fr 1fr;
}

.split-layout.reverse .text-section {
    order: 2;
}

.split-layout.reverse .image-section {
    order: 1;
}

.text-section h2 {
    font-size: 36px;
    color: var(--argentina-light-blue);
    margin-bottom: 25px;
    font-weight: 700;
}

.image-section {
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-section img {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 20px 60px var(--shadow);
}

/* ===== KEY POINTS ===== */
.key-points {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.key-points.small {
    gap: 12px;
}

.point {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 14px 18px;
    border-radius: 12px;
    border-left: 4px solid var(--argentina-blue);
}

.point:hover {
    background: rgba(255, 255, 255, 0.1);
}

.point .icon {
    font-size: 22px;
    flex-shrink: 0;
}

.point span:last-child {
    font-size: 15px;
    line-height: 1.4;
}

/* ===== TIMELINE ===== */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 15px;
    padding: 14px;
    background: rgba(116, 172, 223, 0.1);
    border-radius: 12px;
    border-left: 4px solid var(--argentina-blue);
}

.timeline-item.dark {
    background: rgba(255, 0, 0, 0.1);
    border-left-color: #ff4444;
}

.timeline-item .year {
    font-size: 18px;
    font-weight: 700;
    color: var(--argentina-light-blue);
}

.timeline-item .event {
    font-size: 15px;
    line-height: 1.5;
}

/* ===== CENTERED LAYOUT ===== */
.centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.centered h2 {
    font-size: 38px;
    color: var(--argentina-light-blue);
    margin-bottom: 30px;
    text-align: center;
}

.three-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    width: 100%;
    margin-bottom: 20px;
}

.column {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px 18px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid transparent;
}

.column:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--argentina-blue);
}

.icon-large {
    font-size: 45px;
    margin-bottom: 12px;
}

.column h3 {
    font-size: 18px;
    color: var(--argentina-light-blue);
    margin-bottom: 8px;
}

.column p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.image-bottom {
    width: 100%;
    max-width: 650px;
    margin-top: 15px;
}

.image-bottom img {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 20px 60px var(--shadow);
}

/* ===== ACTORS LIST ===== */
.actors-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.actor {
    display: flex;
    gap: 18px;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 18px;
    border-radius: 12px;
}

.actor:hover {
    background: rgba(255, 255, 255, 0.1);
}

.actor-icon {
    font-size: 38px;
    flex-shrink: 0;
}

.actor-info h3 {
    font-size: 19px;
    color: var(--argentina-light-blue);
    margin-bottom: 6px;
}

.actor-info p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ===== DOCUMENT SLIDE ===== */
.document-slide {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.document-slide h2 {
    font-size: 38px;
    color: var(--argentina-light-blue);
    margin-bottom: 25px;
    text-align: center;
}

.document-box {
    background: rgba(255, 255, 255, 0.08);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 25px;
    border: 2px solid rgba(116, 172, 223, 0.3);
}

.document-header {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.doc-icon {
    font-size: 40px;
}

.document-header h3 {
    font-size: 22px;
    color: var(--argentina-light-blue);
    margin-bottom: 8px;
}

.author {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.source {
    font-size: 13px;
    color: var(--text-secondary);
    font-style: italic;
}

.thesis h3 {
    font-size: 18px;
    color: var(--argentina-light-blue);
    margin-bottom: 12px;
}

.highlight {
    font-size: 17px;
    line-height: 1.5;
    background: rgba(116, 172, 223, 0.15);
    padding: 18px;
    border-radius: 12px;
    border-left: 4px solid var(--argentina-blue);
    margin-bottom: 18px;
}

/* ===== FRAGILITY LIST ===== */
.fragility-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 18px;
}

.fragility-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.05);
    padding: 18px;
    border-radius: 12px;
}

.fragility-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.fragility-item .number {
    font-size: 28px;
    font-weight: 700;
    color: var(--argentina-blue);
    flex-shrink: 0;
    width: 40px;
    text-align: center;
}

.fragility-item h3 {
    font-size: 17px;
    color: var(--argentina-light-blue);
    margin-bottom: 5px;
}

.fragility-item p {
    font-size: 14px;
    color: var(--text-secondary);
}

.conclusion-box {
    background: rgba(255, 68, 68, 0.1);
    padding: 16px 20px;
    border-radius: 12px;
    border-left: 4px solid #ff4444;
}

.conclusion-box p {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
}

/* ===== QUOTE ===== */
.quote {
    background: rgba(255, 255, 255, 0.08);
    padding: 18px 22px;
    border-radius: 12px;
    border-left: 4px solid var(--accent-gold);
    margin-top: 18px;
}

.quote p {
    font-size: 15px;
    font-style: italic;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* ===== CONCLUSION SLIDE ===== */
.conclusion-slide {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.conclusion-slide h2 {
    font-size: 38px;
    color: var(--argentina-light-blue);
    margin-bottom: 25px;
    text-align: center;
}

.conclusion-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.conclusion-section {
    background: rgba(116, 172, 223, 0.1);
    padding: 22px;
    border-radius: 15px;
    border: 2px solid var(--argentina-blue);
}

.conclusion-section.warning {
    background: rgba(255, 68, 68, 0.1);
    border-color: #ff4444;
}

.conclusion-section h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--argentina-light-blue);
}

.conclusion-section.warning h3 {
    color: #ff8888;
}

.conclusion-section ul {
    list-style: none;
}

.conclusion-section li {
    font-size: 15px;
    line-height: 1.8;
    padding-left: 26px;
    position: relative;
}

.conclusion-section li::before {
    content: "•";
    position: absolute;
    left: 10px;
    color: var(--argentina-blue);
    font-size: 18px;
}

.conclusion-section.warning li::before {
    color: #ff4444;
}

.final-message {
    background: rgba(255, 215, 0, 0.1);
    padding: 22px 28px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid var(--accent-gold);
}

.final-message p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
}

.end-mark {
    text-align: center;
    font-size: 55px;
    margin-top: 18px;
    animation: float 3s ease-in-out infinite;
}

/* ===== NAVIGATION ARROWS ===== */
.nav-arrow {
    position: fixed;
    bottom: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    padding: 20px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
}

.nav-arrow.prev {
    left: 30px;
}

.nav-arrow.next {
    right: 30px;
}

.nav-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .slide {
        padding: 60px 40px 90px 40px;
    }

    .title-slide h1 {
        font-size: 72px;
    }

    .title-slide h2 {
        font-size: 36px;
    }

    .split-layout {
        gap: 35px;
    }

    .text-section h2 {
        font-size: 32px;
    }

    .authors-names {
        right: 100px;
        font-size: 12px;
        padding: 8px 15px;
    }
}

@media (max-width: 768px) {

    .split-layout,
    .split-layout.reverse {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .split-layout.reverse .text-section,
    .split-layout.reverse .image-section {
        order: initial;
    }

    .three-columns {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .conclusion-content {
        grid-template-columns: 1fr;
    }

    .title-slide h1 {
        font-size: 48px;
    }

    .title-slide h2 {
        font-size: 28px;
    }

    .nav-arrow {
        padding: 15px;
        bottom: 20px;
    }

    .nav-arrow.prev {
        left: 15px;
    }

    .nav-arrow.next {
        right: 15px;
    }

    .authors-names {
        top: 70px;
        right: 20px;
        font-size: 11px;
        padding: 6px 12px;
    }
}