/* Oz Fulya v26 - gallery */
.gallery-page{background:#fff}
.gallery-hero{padding:72px 0 38px;border-bottom:1px solid #ececec;background:linear-gradient(180deg,#fff 0%,#fafafa 100%)}
.gallery-breadcrumb{display:flex;gap:10px;align-items:center;margin-bottom:22px;font-size:13px;color:#757575}
.gallery-breadcrumb a{font-weight:700;color:#d20100}
.gallery-hero .eyebrow{color:#d20100;margin-bottom:12px}
.gallery-hero h1{max-width:920px;margin:0 0 18px;font-size:clamp(42px,4.2vw,68px);line-height:.98}
.gallery-hero h1 span{color:#d20100}
.gallery-hero p:last-child{max-width:760px;margin:0;color:#5c5c5c;font-size:17px;line-height:1.65}
.gallery-section{padding:54px 0 88px}
.gallery-toolbar{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:28px}
.gallery-toolbar h2{font-size:clamp(28px,2.4vw,40px);margin:0}
.gallery-toolbar p{margin:0;color:#707070;font-size:14px}
.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.gallery-item{position:relative;display:block;padding:0;border:0;background:#111;overflow:hidden;cursor:zoom-in;min-height:260px;aspect-ratio:4/3;box-shadow:0 10px 28px rgba(0,0,0,.08)}
.gallery-item:nth-child(4),.gallery-item:nth-child(10){aspect-ratio:4/5}
.gallery-item img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .28s ease,filter .28s ease}
.gallery-item::after{content:"Görüntüle";position:absolute;left:16px;bottom:16px;padding:8px 11px;background:rgba(0,0,0,.72);color:#fff;font:800 11px Archivo,sans-serif;letter-spacing:.06em;text-transform:uppercase;opacity:0;transform:translateY(5px);transition:.22s ease}
.gallery-item:hover img{transform:scale(1.025);filter:brightness(.92)}
.gallery-item:hover::after,.gallery-item:focus-visible::after{opacity:1;transform:none}
.gallery-item:focus-visible{outline:3px solid #d20100;outline-offset:4px}
.gallery-caption{position:absolute;inset:auto 0 0;padding:52px 16px 14px;background:linear-gradient(transparent,rgba(0,0,0,.64));color:#fff;text-align:left;font:700 14px Archivo,sans-serif;pointer-events:none}

.gallery-lightbox{width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:rgba(4,6,7,.94);color:#fff}
.gallery-lightbox::backdrop{background:rgba(4,6,7,.94)}
.gallery-lightbox[open]{display:grid;grid-template-rows:auto 1fr auto}
.gallery-lightbox__top{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 24px;border-bottom:1px solid rgba(255,255,255,.12)}
.gallery-lightbox__count{font:700 13px Archivo,sans-serif;color:#d7d7d7;letter-spacing:.06em}
.gallery-lightbox__close,.gallery-lightbox__nav{display:grid;place-items:center;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.08);color:#fff;cursor:pointer;transition:.2s ease}
.gallery-lightbox__close{width:44px;height:44px;font-size:27px;line-height:1}
.gallery-lightbox__close:hover,.gallery-lightbox__nav:hover{background:#d20100;border-color:#d20100}
.gallery-lightbox__stage{position:relative;display:grid;place-items:center;min-height:0;padding:22px 88px}
.gallery-lightbox__image{max-width:min(1320px,calc(100vw - 190px));max-height:calc(100dvh - 150px);width:auto;height:auto;object-fit:contain;box-shadow:0 18px 60px rgba(0,0,0,.36)}
.gallery-lightbox__nav{position:absolute;top:50%;transform:translateY(-50%);width:54px;height:72px;font-size:34px}
.gallery-lightbox__nav--prev{left:22px}.gallery-lightbox__nav--next{right:22px}
.gallery-lightbox__bottom{display:flex;align-items:center;justify-content:center;min-height:54px;padding:10px 24px 16px;color:#e6e6e6;font-size:14px;text-align:center}
.gallery-lightbox button:focus-visible{outline:3px solid #fff;outline-offset:3px}
body.gallery-dialog-open{overflow:hidden}
.desktop a[aria-current="page"]{color:#d20100}

@media(max-width:1000px){
  .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .gallery-lightbox__stage{padding:18px 70px}
  .gallery-lightbox__image{max-width:calc(100vw - 150px)}
}
@media(max-width:700px){
  .gallery-hero{padding:46px 0 28px}
  .gallery-section{padding:32px 0 64px}
  .gallery-toolbar{align-items:flex-start;flex-direction:column;gap:8px}
  .gallery-grid{grid-template-columns:1fr;gap:14px}
  .gallery-item,.gallery-item:nth-child(4),.gallery-item:nth-child(10){aspect-ratio:4/3;min-height:0}
  .gallery-item::after{display:none}
  .gallery-lightbox__top{padding:12px 14px}
  .gallery-lightbox__stage{padding:12px 8px 76px}
  .gallery-lightbox__image{max-width:calc(100vw - 16px);max-height:calc(100dvh - 160px)}
  .gallery-lightbox__nav{top:auto;bottom:12px;transform:none;width:48px;height:48px;border-radius:50%}
  .gallery-lightbox__nav--prev{left:calc(50% - 60px)}
  .gallery-lightbox__nav--next{right:calc(50% - 60px)}
  .gallery-lightbox__bottom{display:none}
}
@media(prefers-reduced-motion:reduce){.gallery-item img,.gallery-item::after,.gallery-lightbox__close,.gallery-lightbox__nav{transition:none}}

/* v27 document card */
.gallery-item--document{background:#f5f5f5;aspect-ratio:4/5}
.gallery-item--document img{object-fit:contain;background:#fff}
.gallery-item--document:hover img{transform:scale(1.01);filter:brightness(.98)}
@media(max-width:700px){.gallery-item--document{aspect-ratio:4/5!important}}
