/* =====================================================
   BIYOGAZ AKADEMISI - Wireframe Utility Classes
   .wf-* prefix - design-files/theme.css'den port
   ===================================================== */

/* === IMAGE PLACEHOLDER (gercek foto eklenmedikce) === */
.wf-img {
    background:
        repeating-linear-gradient(
            135deg,
            var(--wire-fill) 0 8px,
            var(--wire-fill-2) 8px 16px
        );
    border: 1px solid var(--wire-stroke);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--ink-400);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    overflow: hidden;
}
.wf-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom right,
            transparent calc(50% - 0.5px),
            var(--wire-stroke) calc(50% - 0.5px) calc(50% + 0.5px),
            transparent calc(50% + 0.5px)),
        linear-gradient(to bottom left,
            transparent calc(50% - 0.5px),
            var(--wire-stroke) calc(50% - 0.5px) calc(50% + 0.5px),
            transparent calc(50% + 0.5px));
    pointer-events: none;
    opacity: 0.55;
}
.wf-img > span {
    position: relative;
    z-index: 1;
    background: var(--paper);
    padding: 2px 6px;
    border: 1px solid var(--wire-stroke);
}

/* === LINES === */
.wf-line {
    height: 1px;
    background: var(--rule);
    border: 0;
    margin: 0;
}
.wf-line-strong {
    background: var(--ink-900);
    height: 2px;
}

/* === META / EYEBROW / TAG / PILL === */
.wf-tag {
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-500);
}

.wf-meta {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--ink-500);
    letter-spacing: 0.04em;
}

.wf-eyebrow {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--navy-700);
}

.wf-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border: 1px solid var(--rule);
    border-radius: 999px;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-700);
    background: var(--paper);
}
.wf-pill.solid {
    background: var(--ink-900);
    color: var(--paper);
    border-color: var(--ink-900);
}
.wf-pill.accent {
    background: var(--sky-100);
    color: var(--navy-800);
    border-color: var(--sky-300);
}
.wf-pill.success {
    background: var(--status-green);
    color: var(--status-green-ink);
    border-color: var(--status-green);
}
.wf-pill.danger {
    background: var(--status-red);
    color: var(--status-red-ink);
    border-color: var(--status-red);
}

/* === BUTTONS === */
.wf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    border: 1px solid var(--ink-900);
    background: var(--ink-900);
    color: var(--paper);
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.15s ease, transform 0.05s ease;
    white-space: nowrap;
}
.wf-btn:hover { opacity: 0.9; }
.wf-btn:active { transform: translateY(1px); }
.wf-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.wf-btn.ghost {
    background: transparent;
    color: var(--ink-900);
}
.wf-btn.ghost:hover {
    background: var(--ink-900);
    color: var(--paper);
    opacity: 1;
}
.wf-btn.primary {
    background: var(--navy-800);
    border-color: var(--navy-800);
    color: #fff;
}
.wf-btn.accent {
    background: var(--sky-500);
    border-color: var(--sky-500);
    color: #fff;
}

.wf-btn.xs { padding: 5px 10px; font-size: 11px; }
.wf-btn.sm { padding: 7px 13px; font-size: 12px; }
.wf-btn.lg { padding: 14px 24px; font-size: 14px; }

/* === TYPE === */
.wf-h1 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: var(--h1);
    line-height: 0.98;
    letter-spacing: -0.02em;
    margin: 0;
    color: var(--ink-900);
}
.wf-h1-hero {
    font-family: var(--serif);
    font-weight: 400;
    font-size: var(--h1-hero);
    line-height: 0.95;
    letter-spacing: -0.03em;
    margin: 0;
}
.wf-h1-page {
    font-family: var(--serif);
    font-weight: 400;
    font-size: var(--h1-page);
    line-height: 1;
    letter-spacing: -0.02em;
    margin: 0;
}
.wf-h2 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: var(--h2);
    line-height: 1.05;
    letter-spacing: -0.01em;
    margin: 0;
    color: var(--ink-900);
}
.wf-h2-large {
    font-family: var(--serif);
    font-weight: 400;
    font-size: var(--h2-large);
    line-height: 1.05;
    margin: 0;
}
.wf-h3 {
    font-family: var(--serif);
    font-weight: 500;
    font-size: var(--h3);
    line-height: 1.2;
    margin: 0;
    color: var(--ink-900);
}

.wf-body {
    font-family: var(--sans);
    font-size: var(--body);
    line-height: 1.55;
    color: var(--ink-700);
}
.wf-body-read {
    font-family: var(--serif);
    font-size: var(--body-read);
    line-height: 1.7;
    color: var(--ink-700);
}

.wf-italic-accent {
    font-style: italic;
    color: var(--navy-800);
}

/* === ANNOTATION === */
.wf-anno {
    position: absolute;
    font-family: var(--mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--navy-800);
    background: var(--sky-100);
    border: 1px dashed var(--navy-700);
    padding: 2px 6px;
    pointer-events: none;
}

/* === FORM ELEMENTS === */
.wf-input {
    font-family: var(--sans);
    font-size: 14px;
    padding: 10px 14px;
    border: 1px solid var(--rule);
    background: var(--paper);
    color: var(--ink-900);
    width: 100%;
    border-radius: 0;
    transition: border-color 0.15s ease;
}
.wf-input:focus {
    outline: none;
    border-color: var(--ink-900);
}
.wf-input::placeholder { color: var(--ink-400); }

.wf-label {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-700);
    display: block;
    margin-bottom: 6px;
}

.wf-textarea {
    font-family: var(--sans);
    font-size: 14px;
    padding: 10px 14px;
    border: 1px solid var(--rule);
    background: var(--paper);
    width: 100%;
    min-height: 120px;
    resize: vertical;
    border-radius: 0;
}
.wf-textarea:focus {
    outline: none;
    border-color: var(--ink-900);
}

/* === DOT / NOTIFICATION === */
.wf-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ink-300);
}
.wf-dot.unread   { background: var(--sky-300); }
.wf-dot.comment  { background: var(--status-orange); }
.wf-dot.success  { background: var(--status-green); }
.wf-dot.danger   { background: var(--status-red); }
