/* ═══════════════════════════════════════════════════════════════════════════
   YGC — Main Desktop Stylesheet
   ═══════════════════════════════════════════════════════════════════════════ */

/* Variables */
@import url('./variables.css');

/* Base */
@import url('./base/reset.css');
@import url('./base/typography.css');
@import url('./base/utilities.css');

/* Layout */
@import url('./layout/header.css');
@import url('./layout/hero.css');
@import url('./layout/sections.css');
@import url('./layout/footer.css');
@import url('./layout/navigation.css');
@import url('./layout/mobile-nav.css');

/* Components */
@import url('./components/icons.css');
@import url('./components/buttons.css');
@import url('./components/badges.css');
@import url('./components/cards.css');
@import url('./components/modal.css');
@import url('./components/toast.css');
@import url('./components/forms.css');
@import url('./components/hero-button.css');
@import url('./components/social.css');

/* Effects */
@import url('./effects/holes.css');

.projects-category {
    margin-top: 3rem;
    margin-bottom: 3.5rem;
}

.projects-category:first-child {
    margin-top: 0;
}

.projects-category__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.25rem;
    margin-bottom: 1.5rem;
}

.projects-category__head {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    flex-shrink: 0;
    min-width: 0;
}

.projects-category__accent {
    width: 10px;
    height: 30px;
    flex-shrink: 0;
    border-radius: 999px;
    background: linear-gradient(180deg, #1bd96a 0%, #14b85a 100%);
    box-shadow: 0 0 16px rgba(27, 217, 106, 0.28);
}

.projects-category__title {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.35rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0.01em;
    color: #ffffff;
    white-space: nowrap;
}

.projects-category__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    min-width: 40px;
    padding: 0 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(27, 217, 106, 0.16);
    background: rgba(27, 217, 106, 0.08);
    color: #cbffda;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    flex-shrink: 0;
}

.projects-category__line {
    position: relative;
    flex: 1;
    min-width: 60px;
    height: 1px;
    margin-left: 0.25rem;
    border-radius: 999px;
    overflow: visible;
    background: linear-gradient(
            90deg,
            rgba(27, 217, 106, 0.28) 0%,
            rgba(27, 217, 106, 0.20) 24%,
            rgba(255, 255, 255, 0.12) 58%,
            rgba(255, 255, 255, 0.08) 76%,
            rgba(255, 255, 255, 0.05) 88%,
            rgba(255, 255, 255, 0.03) 94%,
            rgba(255, 255, 255, 0.015) 97%,
            rgba(255, 255, 255, 0) 100%
    );
    opacity: 0.96;
}

.projects-category__line::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -2px;
    transform: translateY(-50%);
    width: 92px;
    height: 14px;
    border-radius: 999px;
    pointer-events: none;
    background: linear-gradient(
            90deg,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0.10) 40%,
            rgba(0, 0, 0, 0.24) 62%,
            rgba(0, 0, 0, 0.45) 78%,
            rgba(0, 0, 0, 0.75) 92%,
            rgba(0, 0, 0, 0.98) 100%
    );
    filter: blur(7px);
    opacity: 0.9;
}

@media (max-width: 768px) {
    .projects-category {
        margin-top: 2.25rem;
        margin-bottom: 2.75rem;
    }

    .projects-category__header {
        gap: 0.75rem;
        margin-top: 1rem;
        margin-bottom: 1.1rem;
    }

    .projects-category__head {
        gap: 0.7rem;
    }

    .projects-category__accent {
        width: 8px;
        height: 24px;
    }

    .projects-category__title {
        font-size: 1rem;
    }

    .projects-category__count {
        height: 28px;
        min-width: 34px;
        padding: 0 0.65rem;
        font-size: 0.8rem;
    }

    .projects-category__line {
        min-width: 32px;
    }

    .projects-category__line::after {
        width: 58px;
        height: 12px;
        filter: blur(5px);
    }
}

