/**
 * PPS Navigation Styles v2.0
 * Navigation controls and buttons
 */

/* ========================================
   MAIN NAVIGATION CONTAINER
   ======================================== */

.pps-navigation {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    z-index: var(--pps-z-navigation);
}

/* ========================================
   NAVIGATION ARROWS
   ======================================== */

.pps-nav-arrow {
    width: 32px !important;
    height: 32px !important;
    border: 1px solid rgba(0, 102, 204, 0.3);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 50% !important;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: var(--pps-transition);
    color: var(--pps-accent-color);
    font-size: 0.9rem;
    opacity: 0.7;
    padding: 0 !important;
}

.pps-nav-arrow:hover {
    background: var(--pps-accent-color);
    color: white;
    opacity: 1;
    transform: scale(1.08);
    box-shadow: 0 3px 10px rgba(0, 102, 204, 0.25);
    border-color: var(--pps-accent-color);
}

.pps-nav-arrow svg {
    width: 16px !important;
    height: 16px !important;
    display: block !important;
    flex-shrink: 0;
}

.pps-nav-arrow svg path {
    stroke: currentColor !important;
    stroke-width: 2 !important;
    fill: none !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

/* ========================================
   NAVIGATION BUTTONS WITH NUMBERS
   ======================================== */

.pps-nav-buttons-container {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.pps-nav-btn {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(0, 102, 204, 0.25);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--pps-transition);
    color: var(--pps-text-primary) !important;
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.6;
    transform: scale(0.85);
    position: relative;
}

.pps-nav-btn:hover {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.2);
    border-color: var(--pps-accent-color);
    /* Důležité: zachovat barvu textu při hoveru */
    color: var(--pps-text-primary);
}

.pps-nav-btn.pps-active {
    background: var(--pps-accent-color);
    color: white;
    opacity: 1;
    transform: scale(1.05);
    width: 42px;
    height: 42px;
    font-size: 1rem;
    border-color: var(--pps-accent-color);
    font-weight: 600;
}

.pps-nav-btn.pps-distant {
    opacity: 0.3;
    transform: scale(0.75);
}

/* ========================================
   NAVIGATION INDICATOR (TOOLTIP)
   ======================================== */

.pps-nav-indicator {
    position: absolute;
    right: 50px;
    background: var(--pps-card-bg);
    backdrop-filter: blur(10px);
    padding: 6px 12px;
    border-radius: 16px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    font-size: 12px;
    color: var(--pps-text-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.pps-nav-btn:hover .pps-nav-indicator {
    opacity: 1;
}

/* ========================================
   PROGRESS INDICATOR
   ======================================== */

.pps-nav-progress {
    margin-top: 0.8rem;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    font-size: 11px;
    color: var(--pps-text-secondary);
    font-weight: 500;
    border: 1px solid rgba(0, 102, 204, 0.1);
}

.pps-nav-progress #ppsCurrentSlide {
    color: var(--pps-accent-color);
    font-size: 12px;
    font-weight: 600;
}

.pps-nav-separator {
    margin: 0 3px;
}

/* ========================================
   CORPORATE THEME OVERRIDES
   ======================================== */

.pps-theme-corporate .pps-nav-btn {
    background: white;
    border: 1px solid rgba(222, 226, 230, 0.8);
    color: #495057;
}

.pps-theme-corporate .pps-nav-btn:hover {
    background: white;
    border-color: var(--pps-accent-color);
    /* OPRAVA: Text musí zůstat viditelný! */
    color: #495057;
    box-shadow: 0 3px 10px rgba(0, 102, 204, 0.15);
}

.pps-theme-corporate .pps-nav-btn.pps-active {
    background: var(--pps-accent-color);
    color: white;
    border-color: var(--pps-accent-color);
}

.pps-theme-corporate .pps-nav-arrow {
    background: white;
    border: 1px solid rgba(222, 226, 230, 0.8);
}

.pps-theme-corporate .pps-nav-arrow:hover {
    background: var(--pps-accent-color);
    color: white;
    border-color: var(--pps-accent-color);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .pps-navigation {
        right: 12px;
    }
    
    .pps-nav-btn {
        width: 35px;
        height: 35px;
    }
    
    .pps-nav-btn.pps-active {
        width: 38px;
        height: 38px;
    }
    
    .pps-nav-arrow {
        width: 30px !important;
        height: 30px !important;
    }
    
    .pps-nav-arrow svg {
        width: 14px !important;
        height: 14px !important;
    }
}

@media (max-width: 480px) {
    .pps-navigation {
        right: 8px;
    }
    
    .pps-nav-indicator {
        display: none;
    }
    
    .pps-nav-btn {
        width: 32px;
        height: 32px;
    }
    
    .pps-nav-btn.pps-active {
        width: 35px;
        height: 35px;
    }
    
    .pps-nav-arrow {
        width: 28px !important;
        height: 28px !important;
    }
    
    .pps-nav-arrow svg {
        width: 12px !important;
        height: 12px !important;
    }
}

/* ========================================
   FORCOVANÉ ZOBRAZENÍ PRO DEBUGOVÁNÍ
   ======================================== */

/* Zajistíme vysoké z-index pro celou navigaci */
.pps-navigation {
    z-index: 10000 !important;
}

/* Zajistíme, že šipky jsou vždy viditelné */
.pps-nav-arrow {
    visibility: visible !important;
    overflow: visible !important;
}

.pps-nav-arrow * {
    visibility: visible !important;
    pointer-events: none;
}
}
