/* === PORTFOLIO – rozszerzenie stylu głównego === */

/* Sekcja nagłówka strony */
.page-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 140px;
    padding-bottom: 40px;
}
.page-hero .hero-content { max-width: 800px; }
.page-hero h1 {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 20px;
    text-shadow: 2px 2px 0px var(--neon-purple);
}
.page-hero h1 span { color: var(--neon-cyan); }

/* Przycisk powrotu */
.back-link {
    display: inline-flex; align-items: center; gap: 10px;
    color: var(--text-mute); font-size: 0.85rem; text-transform: uppercase;
    letter-spacing: 2px; margin-bottom: 25px; transition: 0.3s;
}
.back-link:hover { color: var(--neon-cyan); text-shadow: 0 0 8px var(--neon-cyan); }

/* === O MNIE + UMIEJĘTNOŚCI === */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: start;
}
.skills-panel h3 {
    font-size: 0.9rem; text-transform: uppercase; letter-spacing: 2px;
    color: var(--text-mute); margin-bottom: 25px;
}
.skill {
    margin-bottom: 22px;
}
.skill-head {
    display: flex; justify-content: space-between;
    margin-bottom: 8px; font-size: 0.9rem;
}
.skill-head span:last-child { color: var(--neon-cyan); font-weight: 700; }
.skill-track {
    height: 6px; background: rgba(255,255,255,0.06); border-radius: 3px; overflow: hidden;
}
.skill-fill {
    height: 100%; width: 0;
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-cyan));
    box-shadow: 0 0 10px var(--neon-cyan);
    border-radius: 3px;
    transition: width 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* === GALERIA REALIZACJI === */
.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.work-card {
    background: rgba(10, 15, 25, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex; flex-direction: column;
}
.work-card:hover {
    transform: translateY(-8px);
    border-color: var(--neon-cyan);
    box-shadow: 0 15px 40px -12px rgba(0, 243, 255, 0.35);
}
.work-thumb {
    height: 200px;
    background: linear-gradient(135deg, #0f1219 0%, #001a33 100%);
    display: flex; align-items: center; justify-content: center;
    font-size: 3.5rem; color: var(--neon-cyan);
    position: relative; overflow: hidden;
    border-bottom: 1px solid rgba(0, 243, 255, 0.15);
}
.work-thumb::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background:
        repeating-linear-gradient(0deg, rgba(0,0,0,0.10) 0px, rgba(0,0,0,0.10) 1px, transparent 1px, transparent 3px),
        radial-gradient(circle at 30% 20%, rgba(0,243,255,0.14), transparent 60%);
    mix-blend-mode: screen; transition: opacity 0.5s ease;
}
.work-card:hover .work-thumb::after { opacity: 0.4; }
.work-body { padding: 25px; flex: 1; display: flex; flex-direction: column; }
.work-body h3 { font-size: 1.3rem; margin-bottom: 10px; }
.work-body p { color: #ccc; font-size: 0.92rem; line-height: 1.6; margin-bottom: 18px; flex: 1; }
.work-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.work-tags span {
    font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px;
    color: var(--neon-cyan); border: 1px solid var(--glass-border);
    padding: 4px 10px; border-radius: 20px;
}

/* === CENNIK / PAKIETY === */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    align-items: stretch;
}
.price-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: 0.4s;
    display: flex; flex-direction: column;
    position: relative;
}
.price-card:hover { transform: translateY(-8px); border-color: var(--neon-cyan); }
.price-card.featured {
    border-color: var(--neon-purple);
    background: linear-gradient(180deg, rgba(188,19,254,0.06), rgba(0,243,255,0.03));
}
.price-card.featured::before {
    content: 'NAJCZĘŚCIEJ WYBIERANE';
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--neon-purple); color: white;
    font-size: 0.65rem; font-weight: 700; letter-spacing: 1px;
    padding: 5px 14px; border-radius: 20px; white-space: nowrap;
    box-shadow: 0 0 15px rgba(188,19,254,0.5);
}
.price-card h3 { font-size: 1.4rem; margin-bottom: 8px; }
.price-tag {
    font-size: 2.6rem; font-weight: 900; color: var(--neon-cyan);
    margin: 15px 0 5px; text-shadow: 0 0 15px rgba(0,243,255,0.3);
}
.price-tag small { font-size: 0.9rem; color: var(--text-mute); font-weight: 400; }
.price-sub { color: var(--text-mute); font-size: 0.85rem; margin-bottom: 25px; }
.price-features { list-style: none; text-align: left; margin-bottom: 30px; flex: 1; }
.price-features li {
    padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 0.92rem; color: #ddd; display: flex; gap: 10px; align-items: center;
}
.price-features li i { color: var(--neon-cyan); font-size: 0.85rem; }
.price-features li.off { color: #666; }
.price-features li.off i { color: #444; }

/* === MOBILE === */
@media (max-width: 992px) {
    .about-grid { grid-template-columns: 1fr; gap: 30px; }
    .page-hero { min-height: 50vh; padding-top: 120px; text-align: left; }
}

/* --- LINK REALIZACJI (galeria) --- */
.work-link {
    display: inline-flex; align-items: center; gap: 8px;
    margin-top: 18px; align-self: flex-start;
    color: var(--neon-cyan); font-size: 0.85rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px;
    border-bottom: 1px solid transparent; transition: 0.3s;
}
.work-link:hover { border-bottom-color: var(--neon-cyan); text-shadow: 0 0 8px var(--neon-cyan); gap: 12px; }
.work-link i { font-size: 0.8rem; }

/* --- ZDJECIE W MINIATURCE KARTY --- */
.work-thumb img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: top center; display: block;
    /* Cyberpunk duotone: lekkie przyciemnienie + cyjanowy nalot + kontrast */
    filter: brightness(0.82) contrast(1.12) saturate(0.9) sepia(0.18) hue-rotate(150deg);
    transition: transform 0.5s ease, filter 0.5s ease;
}
.work-card:hover .work-thumb img { transform: scale(1.06); filter: brightness(1) contrast(1) saturate(1) sepia(0) hue-rotate(0deg); }
