﻿.portfolio-section {
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
    background: transparent;
    color: var(--text-color);
    max-width: 1000px;
    margin: 0 auto;
}

    .portfolio-section h2 {
        font-size: 3rem;
        margin-bottom: 3rem;
        color: var(--accent);
        text-shadow: 0 0 14px var(--accent);
        animation: pulseLoop 4s ease-in-out infinite;
    }

/* Tier Nav Buttons */
.portfolio-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

    .portfolio-nav button {
        padding: 10px 24px;
        font-weight: bold;
        border: 2px solid var(--accent);
        background: transparent;
        color: var(--text-color);
        cursor: pointer;
        border-radius: 6px;
        font-size: 0.95rem;
        transition: all 0.3s ease;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

        .portfolio-nav button.active {
            background-color: var(--accent);
            color: #fff;
            box-shadow: 0 0 10px var(--accent);
        }

/* Carousel Groups */
.portfolio-carousel {
    display: none;
    animation: fadeInUp 0.8s ease forwards;
}

    .portfolio-carousel.active {
        display: block;
    }

/* Portfolio Cards */
.portfolio-card {
    display: none;
    padding: 2.5rem;
    border: 1px solid var(--accent);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.08);
    max-width: 800px;
    margin: 0 auto;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    transform: scale(0.97);
    position: relative;
}

    .portfolio-card.active {
        display: block;
        transform: scale(1);
        animation: cardReveal 0.6s ease;
    }

    .portfolio-card:hover {
        transform: scale(1.02);
        box-shadow: 0 0 35px var(--accent), 0 0 55px var(--accent-2);
    }

    .portfolio-card h3 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
        color: var(--accent);
    }

    .portfolio-card p {
        font-size: 1rem;
        opacity: 0.85;
        line-height: 1.5;
        font-family: "Courier New", monospace;
    }

/* Tags */
.portfolio-tag {
    display: inline-block;
    margin: 8px 6px 0;
    padding: 6px 14px;
    font-size: 0.8rem;
    border-radius: 20px;
    color: #fff;
    background-color: var(--accent);
    box-shadow: 0 0 6px var(--accent-2);
    animation: tagPulse 3s ease-in-out infinite;
}

/* Tiers Glow Style */
.portfolio-card.standard {
    border-color: #cd7f32;
    box-shadow: 0 0 18px #cd7f32;
}

.portfolio-card.pro {
    border-color: #C0C0C0;
    box-shadow: 0 0 18px #C0C0C0;
}

.portfolio-card.elite {
    border-color: #FFD700;
    box-shadow: 0 0 18px #FFD700;
}

/* === Animations === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cardReveal {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes tagPulse {
    0%, 100% {
        box-shadow: 0 0 6px var(--accent-2);
    }

    50% {
        box-shadow: 0 0 12px var(--accent);
    }
}

@keyframes pulseLoop {
    0%, 100% {
        transform: scale(1);
        text-shadow: 0 0 14px var(--accent);
    }

    50% {
        transform: scale(1.05);
        text-shadow: 0 0 24px var(--accent);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .portfolio-section h2 {
        font-size: 2.2rem;
    }

    .portfolio-card {
        padding: 2rem;
    }

    .portfolio-nav {
        flex-direction: column;
        gap: 1rem;
    }
}
