/* ============================================================
   portfolio.dloizides.com/v2 — small additions on top of v1's
   colorlib style.css. Scoped to the new "Work With Me" section
   so nothing else in the page is affected.
   ============================================================ */

.colorlib-work {
    padding: 5em 0;
    background: #f7f7f7;
}

.work-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.8em;
    margin-top: 1.5em;
}

.work-card {
    flex: 1 1 360px;
    background: #fff;
    border-radius: 6px;
    padding: 2em 1.8em;
    box-shadow: 0 6px 24px rgba(31, 32, 38, 0.06);
    border: 1px solid rgba(31, 32, 38, 0.06);
    display: flex;
    flex-direction: column;
}

.work-card h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.45em;
    margin-bottom: 0.3em;
    color: #1abc9c;
    line-height: 1.2;
}

.work-card .work-tag {
    display: inline-block;
    font-size: 0.7em;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 700;
    color: #fff;
    background: #1abc9c;
    padding: 0.25em 0.7em;
    border-radius: 99px;
    margin-bottom: 0.9em;
    align-self: flex-start;
}

.work-card .work-tag.tag-referral {
    background: #f39c12;
}

.work-card .work-tag.tag-referral + h3 {
    color: #f39c12;
}

.work-card .work-intro {
    color: #555;
    font-size: 0.95em;
    line-height: 1.55;
    margin-bottom: 1em;
}

.work-card .work-perks {
    list-style: none;
    padding: 0;
    margin: 0 0 1.3em;
}

.work-card .work-perks li {
    position: relative;
    padding-left: 1.3em;
    margin-bottom: 0.4em;
    font-size: 0.9em;
    color: #444;
    line-height: 1.5;
}

.work-card .work-perks li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #1abc9c;
    font-weight: 700;
}

.work-card.referral .work-perks li::before { color: #f39c12; }

.work-form .form-row {
    margin-bottom: 0.85em;
}

.work-form label {
    display: block;
    font-size: 0.75em;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    font-weight: 700;
    color: #777;
    margin-bottom: 0.3em;
}

.work-form input,
.work-form select,
.work-form textarea {
    width: 100%;
    padding: 0.7em 0.85em;
    font-family: inherit;
    font-size: 0.95em;
    color: #333;
    background: #fafafa;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    transition: border-color 0.18s ease, background 0.18s ease;
    box-sizing: border-box;
}

.work-form textarea {
    resize: vertical;
    min-height: 96px;
}

.work-form input:focus,
.work-form select:focus,
.work-form textarea:focus {
    outline: none;
    border-color: #1abc9c;
    background: #fff;
}

.work-card.referral .work-form input:focus,
.work-card.referral .work-form select:focus,
.work-card.referral .work-form textarea:focus {
    border-color: #f39c12;
}

.work-actions {
    display: flex;
    gap: 0.6em;
    flex-wrap: wrap;
    margin-top: 0.6em;
}

.work-btn {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0.9em 1.2em;
    border: none;
    border-radius: 99px;
    font-family: inherit;
    font-size: 0.78em;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #fff;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.work-btn:hover {
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 8px 18px rgba(31, 32, 38, 0.15);
}

.work-btn-email {
    background: #1abc9c;
}

.work-card.referral .work-btn-email {
    background: #f39c12;
}

.work-btn-wa {
    background: #25d366;
}

.work-commission {
    margin-top: 1em;
    font-size: 0.78em;
    color: #888;
    line-height: 1.55;
    border-top: 1px dashed #e1e1e1;
    padding-top: 0.9em;
}

.work-commission strong {
    color: #f39c12;
}

@media (max-width: 768px) {
    .work-grid { gap: 1.2em; }
    .work-card { padding: 1.6em 1.4em; }
}
