/* GEFOK — Kalp Duvarı (kalp-duvari.html) */

.wall-hero { padding-bottom: 0; }

.wall-stage { overflow: hidden; }
.wall-heart-wrap {
    position: relative;
    width: min(100%, 760px);
    margin-inline: auto;
}
/* Kalbin arkasındaki yumuşak ışık */
.wall-heart-wrap::before {
    content: '';
    position: absolute;
    inset: -12% -16%;
    background:
        radial-gradient(40% 45% at 30% 35%, color-mix(in srgb, #7b2ff7 34%, transparent), transparent 70%),
        radial-gradient(40% 45% at 70% 35%, color-mix(in srgb, var(--accent) 38%, transparent), transparent 70%),
        radial-gradient(35% 40% at 50% 70%, color-mix(in srgb, #ff7a18 24%, transparent), transparent 70%);
    filter: blur(40px);
    opacity: 0.55;
    pointer-events: none;
}
.wall-heart {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
}

.wall-tile,
.wall-cell {
    position: absolute;
    display: block;
    padding: 0;
    border: 0;
    background: none;
}
.wall-tile::before,
.wall-cell::before {
    content: '';
    position: absolute;
    inset: 5%;
    border-radius: 3px;
}
.wall-cell::before {
    background: color-mix(in srgb, var(--accent) calc(22% - var(--d, 0) * 12%), transparent);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent);
    opacity: calc(0.85 - var(--d, 0) * 0.35);
}
.wall-tile {
    cursor: zoom-in;
    transform-origin: 0 0;
    z-index: 1;
}
.wall-tile::before { background: var(--surface-2); }
.wall-tile img {
    position: absolute;
    inset: 5%;
    width: 90%;
    height: 90%;
    object-fit: cover;
    border-radius: 3px;
    transition: transform 0.35s var(--ease), filter 0.35s var(--ease);
}
.wall-tile:hover { z-index: 2; }
.wall-tile:hover img { transform: scale(1.12); filter: saturate(1.15); }
.wall-tile:focus-visible { outline: none; z-index: 2; }
.wall-tile:focus-visible img { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--accent); }

.wall-count { text-align: center; margin-top: 28px; }

/* ---------- Form + Katkılarım ---------- */
.wall-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: clamp(32px, 6vw, 88px);
    align-items: start;
}
.wall-note { margin: 12px 0 28px; max-width: 560px; }
.wall-form { display: grid; gap: 24px; max-width: 560px; }
.wall-form .field .check + .check { margin-top: 4px; }

.wall-drop {
    position: relative;
    display: grid;
    place-items: center;
    gap: 12px;
    min-height: 180px;
    padding: 20px;
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius);
    background: color-mix(in srgb, var(--surface) 70%, transparent);
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}
.wall-drop:hover,
.wall-drop.is-over { border-color: var(--accent); background: var(--accent-soft); }
.wall-drop:focus-within { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
.wall-drop.is-invalid { border-color: var(--err); }
.wall-drop img { max-width: 100%; max-height: 260px; border-radius: 3px; object-fit: contain; }
.wall-drop__text { color: var(--text-soft); }

.wall-mine__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.wall-mine__item {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.wall-mine__thumb {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 3px;
    overflow: hidden;
    background: var(--surface-2);
}
.wall-mine__thumb img { width: 100%; height: 100%; object-fit: cover; }
.wall-mine__ph { color: var(--accent); font-size: 1.4rem; }
.wall-mine__meta { display: grid; gap: 2px; }
.wall-status--pending { color: var(--badge-etkinlik); }
.wall-status--approved { color: var(--ok); }
.wall-status--rejected { color: var(--err); }

/* ---------- Lightbox ---------- */
.wall-lightbox {
    width: 100vw;
    height: 100dvh;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 56px 64px;
    border: 0;
    background: color-mix(in srgb, #000 92%, transparent);
    color: var(--text);
}
.wall-lightbox[open] { display: grid; place-items: center; }
.wall-lightbox::backdrop { background: rgba(0, 0, 0, 0.6); }
.wall-lightbox figure { margin: 0; display: grid; gap: 12px; justify-items: center; max-width: 100%; max-height: 100%; }
.wall-lightbox img {
    max-width: min(100%, 900px);
    max-height: calc(100dvh - 160px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 3px;
}
.wall-lightbox figcaption { font-size: 0.9rem; color: var(--text-soft); text-align: center; }
.wall-lightbox__close { position: absolute; top: 16px; right: 16px; }
.wall-lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); font-size: 1.6rem; }
.wall-lightbox__nav--prev { left: 12px; }
.wall-lightbox__nav--next { right: 12px; }

@media (max-width: 900px) {
    .wall-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .wall-lightbox { padding: 56px 12px 72px; }
    .wall-lightbox__nav { top: auto; bottom: 16px; transform: none; }
    .wall-tile:hover img { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    .wall-tile img, .wall-drop { transition: none; }
    .wall-tile:hover img { transform: none; }
}
