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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.presentation {
    width: 100%;
    min-height: 100vh;
    position: relative;
}

.slide {
    width: 100%;
    min-height: 100vh;
    display: none;
    padding: 20px;
    position: relative;
    animation: fadeIn 0.5s ease-in-out;
}

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

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

/* Hashtag en todas las slides */
.hashtag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    color: #667eea;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 100;
}

/* Contenido de las slides */
.slide-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    border-radius: 20px;
    padding: 30px 20px;
    margin-top: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
}

/* Foto mini en todas las slides */
.foto-mini-container {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #667eea;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    z-index: 50;
}

.foto-mini {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Portada */
.portada {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    text-align: center;
}

.foto-container {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.foto-regidor {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.titulo-principal {
    font-size: 32px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.subtitulo {
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 600;
}

.descripcion {
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.4;
    max-width: 90%;
}

.periodo {
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 10px;
}

/* Slide de introducción */
.intro-box {
    width: 100%;
    text-align: left;
}

.intro-text {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #333;
}

.cargo-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cargo-box p {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.5;
}

.cargo-box p:last-child {
    margin-bottom: 0;
}

/* Títulos de slides */
.slide-title {
    font-size: 24px;
    color: #667eea;
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.3;
}

/* Número de iniciativa */
.iniciativa-numero {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

/* Explicación de iniciativas */
.explicacion {
    width: 100%;
    text-align: left;
}

.explicacion-facil {
    font-size: 18px;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 10px;
}

.explicacion-facil.centrado {
    text-align: center;
}

.explicacion p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #333;
}

.explicacion strong {
    color: #f5576c;
}

/* Conclusión */
.conclusion {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.conclusion-box {
    width: 100%;
    text-align: left;
}

.conclusion-box p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #333;
}

.conclusion-box ul {
    list-style: none;
    margin: 20px 0;
}

.conclusion-box li {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 12px;
    color: #333;
    padding-left: 10px;
}

.final {
    font-size: 18px;
    font-weight: bold;
    color: #667eea;
    margin-top: 20px;
}

/* Cierre */
.cierre {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.foto-container-final {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.foto-regidor-final {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.titulo-cierre {
    font-size: 28px;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.subtitulo-cierre {
    font-size: 22px;
    margin-bottom: 10px;
}

.cargo-cierre {
    font-size: 16px;
    margin-bottom: 5px;
}

.periodo-cierre {
    font-size: 16px;
    margin-bottom: 20px;
}

.hashtag-final {
    background: rgba(255, 255, 255, 0.2);
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: bold;
    margin-top: 20px;
}

/* Navegación */
.navigation {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 1000;
}

.nav-btn {
    width: 50px;
    height: 50px;
    border: none;
    background: white;
    color: #667eea;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:active {
    transform: scale(0.95);
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.slide-indicator {
    background: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
    color: #667eea;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
    font-size: 14px;
    min-width: 80px;
    white-space: nowrap;
    text-align: center;
}

/* Hint de deslizar */
.swipe-hint {
    position: fixed;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    color: #667eea;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
    animation: bounce 2s infinite;
    z-index: 999;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

.swipe-hint.hidden {
    display: none;
}

/* Responsive para tablets y pantallas más grandes */
@media (min-width: 768px) {
    .slide-content {
        max-width: 600px;
        margin: 50px auto 0;
    }

    .titulo-principal {
        font-size: 38px;
    }

    .slide-title {
        font-size: 28px;
    }

    .foto-container {
        width: 180px;
        height: 180px;
    }

    .foto-mini-container {
        width: 70px;
        height: 70px;
    }
}

/* Soporte para gestos táctiles */
.slide {
    touch-action: pan-y;
}

/* Gradientes sutiles para las iniciativas */
.slide[data-slide="2"] .slide-content {
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
}

.slide[data-slide="3"] .slide-content {
    background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%);
    background-opacity: 0.3;
}

.slide[data-slide="4"] .slide-content {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    background-opacity: 0.3;
}

.slide[data-slide="5"] .slide-content {
    background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%);
    background-opacity: 0.3;
}

.slide[data-slide="6"] .slide-content {
    background: linear-gradient(135deg, #d4fc79 0%, #96e6a1 100%);
    background-opacity: 0.3;
}

.slide[data-slide="7"] .slide-content {
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
    background-opacity: 0.3;
}

.slide[data-slide="8"] .slide-content {
    background: linear-gradient(135deg, #e3ffe7 0%, #d9e7ff 100%);
    background-opacity: 0.3;
}

.slide[data-slide="9"] .slide-content {
    background: linear-gradient(135deg, #fbc2eb 0%, #a6c1ee 100%);
    background-opacity: 0.3;
}

.slide[data-slide="10"] .slide-content {
    background: linear-gradient(135deg, #fddb92 0%, #d1fdff 100%);
    background-opacity: 0.3;
}

.slide[data-slide="11"] .slide-content {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    background-opacity: 0.3;
}

.slide[data-slide="12"] .slide-content {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    background-opacity: 0.3;
}

/* Colores alternos para las iniciativas */
.slide[data-slide="3"] .iniciativa-numero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.slide[data-slide="4"] .iniciativa-numero {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.slide[data-slide="5"] .iniciativa-numero {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.slide[data-slide="6"] .iniciativa-numero {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.slide[data-slide="7"] .iniciativa-numero {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.slide[data-slide="8"] .iniciativa-numero {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

.slide[data-slide="9"] .iniciativa-numero {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.slide[data-slide="10"] .iniciativa-numero {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
}

.slide[data-slide="11"] .iniciativa-numero {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

.slide[data-slide="12"] .iniciativa-numero {
    background: linear-gradient(135deg, #ff6e7f 0%, #bfe9ff 100%);
}
