/* Teknenin kendi fotoğrafları ile izinli misafir kareleri ayrı tutulur. */
.gallery-hero{min-height:650px;padding:150px 0 95px;background:radial-gradient(circle at 58% 38%,rgba(116,222,212,.12),transparent 34%),#072832}
.gallery-hero-inner{align-items:center;gap:clamp(38px,5vw,90px)}
.boat-gallery-hero-copy{flex:1 1 55%;min-width:0}
.gallery-hero .boat-gallery-hero-copy h1{font-size:clamp(65px,7.5vw,124px);max-width:850px;margin:35px 0 27px}
.gallery-hero .boat-gallery-hero-copy p:not(.eyebrow){max-width:530px}
.boat-gallery-hero-image{position:relative;flex:0 1 43%;width:43%;margin:0;padding:13px 13px 0;border:1px solid rgba(189,231,226,.37);transform:rotate(2.4deg);box-shadow:22px 26px 0 rgba(2,15,19,.3);animation:boat-photo-enter 1s .2s both}
.boat-gallery-hero-image img{width:100%;height:430px;object-fit:cover;object-position:50% 55%}
.boat-gallery-hero-image figcaption{display:flex;justify-content:space-between;gap:15px;padding:13px 3px 12px;color:#c5dfdf;font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
.boat-gallery-hero-image figcaption span{color:var(--teal)}
.boat-gallery-section{background:#f4f5ef}
.boat-gallery-heading{align-items:end;margin-bottom:42px}
.boat-gallery-heading h2 em{font-weight:400}
.boat-gallery-heading>p{max-width:310px;margin:0 0 7px;color:#50686b;font-size:16px;line-height:1.55}
.boat-photo-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));grid-template-rows:clamp(390px,39vw,530px) clamp(310px,31vw,405px) clamp(330px,34vw,450px);gap:18px}
.boat-photo{display:grid;grid-template-rows:minmax(0,1fr) auto;min-height:0;min-width:0;margin:0}
.boat-photo-1{grid-area:1/1/2/8}.boat-photo-2{grid-area:1/8/2/13}
.boat-photo-3{grid-area:2/1/3/5}.boat-photo-4{grid-area:2/5/3/9}.boat-photo-5{grid-area:2/9/3/13}
.boat-photo-6{grid-area:3/1/4/6}.boat-photo-7{grid-area:3/6/4/10}.boat-photo-8{grid-area:3/10/4/13}
.boat-photo .gallery-open{height:100%;min-height:0;background:#d5e1dd;isolation:isolate}
.boat-photo .gallery-open::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 68%,rgba(2,24,31,.22));pointer-events:none}
.boat-photo .gallery-open img{width:100%;height:100%;aspect-ratio:auto;object-fit:cover;transition:transform .6s cubic-bezier(.2,.8,.2,1),filter .6s}
.boat-photo .gallery-open:hover img{transform:scale(1.055);filter:saturate(1.08)}
.boat-photo .gallery-open:focus-visible{outline:3px solid var(--teal-deep);outline-offset:3px}
.boat-photo-expand{position:absolute;z-index:1;right:18px;bottom:18px;width:37px;height:37px;display:grid;place-items:center;background:rgba(245,250,247,.94);color:var(--deep);font-size:20px;line-height:1;transition:transform .25s,background .25s}
.boat-photo .gallery-open:hover .boat-photo-expand{transform:translate(3px,-3px);background:#fff}
.boat-photo figcaption{display:flex;justify-content:space-between;align-items:baseline;gap:13px;margin:0;padding:12px 0 0;color:#163b45;font-size:14px;font-weight:600;line-height:1.4}
.boat-photo figcaption span{font-size:10px;font-weight:800;letter-spacing:.15em;color:var(--teal-deep);white-space:nowrap}
.boat-photo-1 img{object-position:center 58%}.boat-photo-3 img{object-position:center 59%}.boat-photo-4 img{object-position:center 62%}.boat-photo-6 img{object-position:center 55%}.boat-photo-7 img{object-position:38% center}.boat-photo-8 img{object-position:center 55%}
.guest-gallery-section{background:#eaf1ee}
.guest-gallery-section .gallery-heading{align-items:end}
.guest-gallery-intro{max-width:570px;margin:15px 0 0;color:#52696d;font-size:16px;line-height:1.6}
.guest-gallery-section .gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(18px,2vw,28px)}
.guest-gallery-section .gallery-open{aspect-ratio:1}
.guest-gallery-section .gallery-open img{display:block;width:100%;height:100%;aspect-ratio:auto;object-fit:cover;object-position:center 75%}
.guest-gallery-section .gallery-item[data-full^="/assets/guests/"] img{object-position:center bottom}
.guest-gallery-section .gallery-item[data-full$="misafir-3435.jpg"] img,.guest-gallery-section .gallery-item[data-full$="misafir-3496.jpg"] img,.guest-gallery-section .gallery-item[data-full$="misafir-5868.jpg"] img{object-position:center 50%}
.guest-gallery-section .guest-landscape{grid-column:span 2}
.guest-gallery-section .guest-landscape .gallery-open{aspect-ratio:8/5}
.guest-gallery-section .guest-landscape .gallery-open img{object-position:center 45%}
.guest-gallery-section .gallery-empty{background:#f1f5f2}
.guest-gallery-section [hidden],.gallery-viewer button[hidden]{display:none}
.gallery-viewer figure{min-height:0}
@keyframes boat-photo-enter{from{opacity:0;transform:translateY(28px) rotate(4deg)}to{opacity:1;transform:translateY(0) rotate(2.4deg)}}
@media(max-width:1100px){
  .gallery-hero .boat-gallery-hero-copy h1{font-size:clamp(59px,7.5vw,90px)}
  .boat-gallery-hero-image img{height:350px}
  .boat-photo-grid{grid-template-rows:430px 350px 370px}
  .boat-photo figcaption{flex-direction:column;gap:3px}
}
@media(max-width:900px){
  .gallery-hero{min-height:0;padding:145px 0 80px}
  .gallery-hero-inner{align-items:start;flex-direction:column;gap:45px}
  .boat-gallery-hero-copy{width:100%}
  .gallery-hero .boat-gallery-hero-copy h1{font-size:clamp(62px,10vw,95px);max-width:720px}
  .boat-gallery-hero-image{flex:none;width:min(83%,650px);align-self:flex-end}
  .boat-gallery-hero-image img{height:390px}
  .boat-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:390px repeat(3,350px) 390px;gap:24px 18px}
  .boat-photo-1{grid-area:1/1/2/3}.boat-photo-2{grid-area:2/1/3/2}.boat-photo-3{grid-area:2/2/3/3}.boat-photo-4{grid-area:3/1/4/2}.boat-photo-5{grid-area:3/2/4/3}.boat-photo-6{grid-area:4/1/5/2}.boat-photo-7{grid-area:4/2/5/3}.boat-photo-8{grid-area:5/1/6/3}
  .boat-photo-8 img{object-position:center 65%}
  .guest-gallery-section .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
  .gallery-hero{padding:130px 0 64px}
  .gallery-hero .boat-gallery-hero-copy h1{font-size:clamp(58px,14vw,84px)}
  .boat-gallery-hero-image{width:94%;padding:8px 8px 0;box-shadow:12px 14px 0 rgba(2,15,19,.28)}
  .boat-gallery-hero-image img{height:245px}
  .boat-gallery-hero-image figcaption{font-size:9px;letter-spacing:.08em}
  .boat-gallery-heading{align-items:start;gap:15px}
  .boat-gallery-heading>p{max-width:440px;margin:0}
  .boat-photo-grid{grid-template-columns:1fr;grid-template-rows:none;gap:32px}
  .boat-photo-1,.boat-photo-2,.boat-photo-3,.boat-photo-4,.boat-photo-5,.boat-photo-6,.boat-photo-7,.boat-photo-8{grid-area:auto}
  .boat-photo .gallery-open{height:auto;aspect-ratio:4/3}
  .boat-photo-2 .gallery-open,.boat-photo-3 .gallery-open,.boat-photo-4 .gallery-open,.boat-photo-6 .gallery-open,.boat-photo-8 .gallery-open{aspect-ratio:4/4.4}
  .boat-photo figcaption{flex-direction:row;gap:10px}
  .boat-photo-expand{right:12px;bottom:12px}
  .guest-gallery-section .gallery-heading{align-items:start}
  .guest-gallery-section .gallery-grid{grid-template-columns:1fr;max-width:540px;margin-inline:auto}
  .guest-gallery-section .guest-landscape{grid-column:auto}
  .guest-gallery-section .guest-landscape .gallery-open{aspect-ratio:4/3}
}
@media(prefers-reduced-motion:reduce){.boat-gallery-hero-image{animation:none}.boat-photo .gallery-open img,.boat-photo-expand{transition:none}}
