/* ===== SLIDER WRAPPER ===== */
.projects-slider {
    overflow: hidden;
    position: relative;
}

/* TRACK */
.projects-track {
    display: flex;
    transition: transform 0.6s ease;
}

/* ===== SLIDE ===== */
.project-slide {
    min-width: 100%;
    opacity: 0.3;
    transform: scale(0.95);
    transition: all 0.6s ease;
}

.project-slide.active {
    opacity: 1;
    transform: scale(1);
}

/* ===== LAYOUT ===== */
.project-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
}

/* ✨ вертикальная линия */
.project-layout::before {
    content: "";
    position: absolute;
    left: 55%;
    top: 10%;
    bottom: 10%;
    width: 1px;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(90,15,200,0.3),
        transparent
    );
}

/* ===== IMAGE ===== */
.project-image {
    position: relative;
}

/* glow behind image */
.project-image::before {
    content: "";
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(181,23,255,0.25), transparent 60%);
    filter: blur(40px);
    z-index: 0;
}

.project-image img {
    width: 100%;
    border-radius: 24px;
    position: relative;
    z-index: 2;
    transition: 0.6s;
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

/* subtle zoom */
.project-slide.active .project-image img {
    transform: scale(1.03);
}

/* ===== RIGHT CONTENT ===== */
.project-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    padding: 40px;
    border-radius: 24px;

    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(20px);

    box-shadow: 0 20px 50px rgba(90,15,200,0.1);
}

/* ===== LOGO ===== */
.project-logo {
    display: block;
    width: 60px;
    padding: 10px;
    border-radius: 16px;

    background: rgba(90,15,200,0.1);
    box-shadow: 0 10px 20px rgba(90,15,200,0.2);

    margin-bottom: 14px;
}

/* ===== TITLE ===== */
.project-info h3 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 15px;

    background: linear-gradient(90deg, #0A0F8F, #5A0FC8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===== TEXT ===== */
.project-info p {
    color: #6b7280;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* ===== META ===== */
.project-meta {
    display: flex;
    align-items: flex-end;
    gap: 40px;
}

.project-meta > div {
    flex: 1 1 0;
    min-width: 0;
}

.project-meta strong {
    display: block;
    line-height: 1.45;
    word-break: break-word;
}

.project-link {
    margin-left: auto;
    flex: 0 0 50px;
    width: 50px;
    min-width: 50px;
    height: 50px;
    min-height: 50px;
    border-radius: 50%;

    background: linear-gradient(90deg, #5A0FC8, #B517FF);
    color: white;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;
    transition: all 0.3s ease;

    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.project-meta span {
    display: block;
    font-size: 12px;
    color: #9ca3af;
}

.project-meta strong {
    font-size: 14px;
    color: #111827;
}

/* ===== LINK BUTTON ===== */
.project-link {
    margin-left: auto;
    width: 50px;
    height: 50px;
    border-radius: 50%;

    background: linear-gradient(90deg, #5A0FC8, #B517FF);
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;
    transition: all 0.3s ease;

    position: relative;
    overflow: hidden;
}

/* glow hover */
.project-link::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #B517FF, #5A0FC8);
    opacity: 0;
    transition: 0.3s;
}

.project-link:hover::before {
    opacity: 1;
}

.project-link:hover {
    transform: scale(1.15);
}

/* ===== SLIDER BUTTONS ===== */
.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;

    background: rgba(90,15,200,0.1);
    color: #5A0FC8;

    cursor: pointer;
    transition: 0.3s;
}

.slider-btn:hover {
    background: linear-gradient(90deg, #5A0FC8, #B517FF);
    color: white;
    transform: scale(1.1);
}

.project-team-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(90, 15, 200, 0.1);
    color: #5A0FC8;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    border: 1px solid rgba(90, 15, 200, 0.18);
}

.project-team-badge i {
    font-size: 14px;
}