/* ============================================
   ГЛАВНАЯ СТРАНИЦА — дополнительные стили
   Подключается вместе с базовым css/style.css
   ============================================ */

/* ===== СЛАЙДЕР ПОРТФОЛИО ===== */
.pf-slider {
    max-width: 1300px;
    margin: 0 auto;
    padding: 10px 4% 0;
}

.pf-stage {
    position: relative;
    height: 600px; /* запас, JS уточнит высоту */
    perspective: 1600px;
}

.pf-stage .portfolio-item {
    position: absolute;
    top: 0;
    left: 50%;
    width: min(620px, 80%);
    cursor: pointer;
    will-change: transform, opacity;
    transition:
        transform .65s cubic-bezier(.22, .61, .36, 1),
        opacity .65s ease,
        filter .65s ease;
}

/* Управление слайдером */
.pf-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-top: 35px;
}
.pf-arrow {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .15);
    background: rgba(255, 255, 255, .04);
    color: #fff;
    font-size: 1.3rem;
    cursor: pointer;
    transition: .3s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pf-arrow:hover {
    border-color: #00f0ff;
    color: #00f0ff;
    box-shadow: 0 0 25px rgba(0, 240, 255, .25);
    transform: scale(1.08);
}
.pf-dots { display: flex; gap: 12px; }
.pf-dot {
    width: 11px;
    height: 11px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, .2);
    cursor: pointer;
    transition: .3s;
}
.pf-dot:hover { background: rgba(0, 240, 255, .5); }
.pf-dot.active {
    background: #00f0ff;
    box-shadow: 0 0 12px rgba(0, 240, 255, .8);
    transform: scale(1.25);
}

@media (max-width: 640px) {
    .pf-stage .portfolio-item { width: 88%; }
    .pf-controls { gap: 16px; margin-top: 25px; }
    .pf-arrow { width: 44px; height: 44px; }
}