.portfolio-section {
    background-color: #F5F0E8;
    padding: 80px 20px;
    text-align: center;
}

.portfolio-focim {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    font-size: 42px;
    color: #0A4B55;
    margin-bottom: 16px;
}

.portfolio-focim span {
    color: #996C2D;
}

.portfolio-alcim {
    font-family: 'Work Sans', sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: #0A4B55;
    margin-top: 12px;
    margin-bottom: 64px;
}

/* Kártyák */
.portfolio-cards {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.portfolio-card {
    background-color: #0A4B55;
    border-radius: 24px;
    padding: 20px;
    flex: 1 1 220px;
    text-align: left;
    color: #ffffff;
}

.portfolio-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.portfolio-nev {
    font-family: 'Playfair Display', serif;
    font-weight: bold;
    font-size: 34px;
    line-height: 46px;
    color: #D7AF96;
    margin: 0;
}

.portfolio-alcim-kis {
    font-family: 'Work Sans', sans-serif;
    font-size: 14px;
    color: #ffffff;
    margin: 0;
}

.portfolio-ikon {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

/* Chart */
.portfolio-chart-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.portfolio-chart {
    width: 160px !important;
    height: 160px !important;
}

.portfolio-chart-img {
    width: 146px;
    height: 146px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* Legend */
.portfolio-legend {
    font-family: 'Work Sans', sans-serif;
    font-size: 14px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
    font-weight: 600;
}

.legend-dot {
    display: inline-block;
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

/* HR */
.portfolio-hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin: 16px 0;
}

/* Info sorok */
.portfolio-info {
    font-family: 'Work Sans', sans-serif;
    font-size: 16px;
    line-height: 34px;
    color: #ffffff;
    display: flex;
    align-items: center;
    margin: 0;
    gap: 10px;
}

.portfolio-arrow {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    position: relative;
    top: -1px;
}

/* Alsó szöveg */
.portfolio-also-szoveg {
    font-family: 'Work Sans', sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: #0A4B55;
    max-width: 800px;
    margin: 64px auto;
    text-align: center;
}

/* Cím animáció */
.portfolio-title-anim {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.34, 1.3, 0.64, 1);
}

.portfolio-title-anim.visible {
    opacity: 1;
    transform: translateY(0);
}

.portfolio-title-anim span {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease 0.25s, transform 0.7s cubic-bezier(0.34, 1.3, 0.64, 1) 0.25s;
}

.portfolio-title-anim.visible span {
    opacity: 1;
    transform: translateY(0);
}

/* Szöveg animáció (alcím, alsó szöveg) */
.portfolio-text-anim {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease var(--delay, 0s), transform 0.7s cubic-bezier(0.34, 1.3, 0.64, 1) var(--delay, 0s);
}

.portfolio-text-anim.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Kártya animáció - balról jobbra */
.portfolio-card-anim {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease var(--delay, 0s), transform 0.8s cubic-bezier(0.34, 1.3, 0.64, 1) var(--delay, 0s);
}

.portfolio-card-anim.visible {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 768px) {
    .portfolio-cards {
        flex-direction: column;
        align-items: center;
    }

    .portfolio-card {
        max-width: 100% !important;
        width: 100%;
    }
}

@media (max-width: 1200px) {
    .portfolio-card {
        flex: 1 1 calc(50% - 12px);
        max-width: calc(50% - 12px);
    }
}