/* Kontener główny */
#project-details-section {
    max-width: 1200px;
    margin: 20px auto;
    padding: 5px 40px;
    color: var(--color-text-light);
}

/* Przycisk powrotu i ścieżka */
.project-top-nav {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.minimal-back-btn {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(140, 122, 230, 0.3);
    border-radius: 8px;
    color: var(--color-primary);
    text-decoration: none;
    font-size: 0.85em;
    font-weight: 600;
    transition: 0.3s ease;
}

.minimal-back-btn:hover {
    background: rgba(140, 122, 230, 0.1);
    transform: translateX(-3px);
}

.breadcrumb {
    color: var(--color-text-muted);
    font-size: 0.8em;
    font-family: Arial, sans-serif;
}

/* Nagłówek i Tytuł */
.title-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.project-header-main h1 {
    font-size: 2.2em;
    font-weight: 900;
    margin: 5px 0;
    color: #fff;
    letter-spacing: -1px;
    /* Fioletowa obramówka tekstu */
    text-shadow: 
        -1px -1px 0 rgba(140, 122, 230, 0.4),  
         1px -1px 0 rgba(140, 122, 230, 0.4),
        -1px  1px 0 rgba(140, 122, 230, 0.4),
         1px  1px 0 rgba(140, 122, 230, 0.4);
}

.github-top-btn {
    flex: 0 0 auto;
    width: auto;
    padding: 8px 20px;
}

/* Dłuższa, gradientowa linia */
.header-line {
    width: 160px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), transparent);
    opacity: 0.5;
    margin-bottom: 25px;
    border-radius: 2px;
}

/* Układ Grid */
.details-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 30px;
    margin-bottom: 30px;
    align-items: start;
}

/* Panele szklane */
.glass-panel {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.description-box p {
    color: var(--color-text-muted);
    line-height: 1.6;
    font-size: 0.95em;
    font-weight: 400;
    font-family: Arial, sans-serif;
    text-align: justify;
}

/* Key Features */
.features-panel h3 {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #fff;
}

#key-features-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

#key-features-list li {
    font-size: 0.85em;
    color: var(--color-text-muted);
    position: relative;
    padding-left: 20px;
    font-family: Arial, sans-serif;
}

#key-features-list li::before {
    content: "☆";
    color: var(--color-primary);
    position: absolute;
    left: 0;
}

/* Okno zdjęcia */
.project-image-window {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(140, 122, 230, 0.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.project-image-window img {
    width: 100%;
    display: block;
}

/* Przyciski */
.action-btns-row {
    margin-top: 10px;
}

.project-btn.primary {
    background: linear-gradient(to right, var(--gradient-fiolet), var(--gradient-granat));
    color: white;
    padding: 10px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: transform 0.3s;
}

.project-btn.primary:hover {
    transform: translateY(-2px);
}

/* Technologie */
.tech-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tags-container span {
    background: rgba(140, 122, 230, 0.1);
    border: 1px solid rgba(140, 122, 230, 0.2);
    color: var(--color-primary);
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.75em;
    font-weight: 600;
}

/* Animacje */
.animated-item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.animated-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 992px) {
    .details-grid { grid-template-columns: 1fr; }
    .title-wrapper { flex-direction: column; align-items: flex-start; }
}