/* Additions on top of style.css and main.css for the Razor Pages version. */

.about-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.about-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 50px;
    border: 2px solid rgba(245, 180, 0, 0.55);
    background: rgba(245, 180, 0, 0.1);
    color: inherit;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.about-rating-badge:hover {
    color: inherit;
    border-color: #f5b400;
    transform: translateY(-2px);
}

.about-rating-badge .fa-star {
    color: #f5b400;
}

.skill-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.skill-chips li {
    padding: 6px 14px;
    border-radius: 50px;
    border: 1px solid rgba(53, 184, 235, 0.35);
    background: rgba(53, 184, 235, 0.08);
    color: var(--color-w-primary);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
}

body.dark .skill-chips li {
    background: rgba(53, 184, 235, 0.14);
}

.modal-stack {
    margin-top: 16px;
}

.portfolio-card-image {
    position: relative;
    aspect-ratio: 16 / 9;
}

.portfolio-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-card-play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(53, 184, 235, 0.92);
    color: #fff;
    font-size: 18px;
    transform: translate(-50%, -50%);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.portfolio-card-play i {
    margin-left: 3px;
}

.modern-portfolio-card:hover .portfolio-card-play {
    opacity: 0;
}

.portfolio-empty {
    padding: 48px 0;
    opacity: 0.75;
}

.field-error {
    display: block;
    min-height: 0;
    margin-top: 6px;
    color: #e5484d;
    font-size: 13px;
}

.field-error:empty {
    display: none;
}

.modern-contact-form .input-validation-error {
    border-color: #e5484d !important;
}

.modern-submit-btn:disabled {
    opacity: 0.65;
    cursor: progress;
}

.form-hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.error-page {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 24px;
    text-align: center;
}

.error-page .eyebrow {
    color: var(--color-w-primary);
    font-weight: 600;
    letter-spacing: 2px;
}

.error-page h1 {
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 700;
}

.error-page .muted {
    max-width: 480px;
    opacity: 0.75;
}

.error-page .btn-primary {
    padding: 12px 28px;
    border: 0;
    border-radius: 50px;
    background: var(--color-w-primary);
}

body.dark.error-body,
body.dark .error-page {
    color: var(--color-dark-text);
}
