/* Billiard salon sites: additions on top of site.css. Colors come from theme.css (one per salon). */
.salon .brand .logo { height: 40px; width: auto; border-radius: 8px; }
.hero-logo { width: min(560px, 86vw); height: auto; margin: 0 auto; }
.salon-hero { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; padding-bottom: 0;
  background: radial-gradient(900px 480px at 50% -60px, color-mix(in srgb, var(--accent) 38%, transparent), transparent 70%), var(--ink); }
.salon-hero .hero-copy { position: relative; z-index: 1; padding-bottom: 56px; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.slides img { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s ease; }
.slides img.on { opacity: .42; animation: drift 13s ease-out both; }
@keyframes drift { from { transform: scale(1.12) translate(-1.5%, 1%); } to { transform: scale(1) translate(0, 0); } }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 12, 18, .55), rgba(10, 12, 18, .2) 40%, var(--ink)); }
.salon-hero .facts { position: relative; z-index: 1; }
.hero-end { height: 24px; }
.cta-left { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.about p { font-size: 19px; color: var(--text-2); }
.about p + p { margin-top: 14px; }

.tables { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 260px)); gap: 14px; }
.tables li { display: flex; flex-direction: column; gap: 2px; padding: 24px; border-radius: var(--r); background: var(--tint); }
.tables strong { font-size: 44px; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--accent); }
.tables span { font-weight: 650; font-size: 18px; }
.tables small { font-size: 14px; color: var(--text-2); }
.prices, .hours { max-width: 560px; }
.prices { margin-top: 40px; }
.prices h3, .hours h3 { margin-bottom: 10px; }
.prices li, .hours li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.prices b, .hours b { font-weight: 650; white-space: nowrap; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery:has(> li:nth-child(2):last-child) { grid-template-columns: 1fr 1fr; }
/* Photo links (gallery, section photos, strip): crop to the box, zoom a little on hover. */
.zoom { display: block; height: 100%; border-radius: var(--r); overflow: hidden; background: var(--line); cursor: zoom-in; }
.zoom img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.zoom:hover img, .zoom:focus-visible img { transform: scale(1.05); }
.zoom:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.gallery > li { aspect-ratio: 4 / 3; }

.photo-row { display: grid; gap: 12px; margin-top: 40px; }
.photo-row > li { aspect-ratio: 4 / 3; }
.photo-row-1 { grid-template-columns: 1fr; }
.photo-row-1 > li { aspect-ratio: 21 / 9; }
.photo-row-2 { grid-template-columns: 1fr 1fr; }
.photo-row-n { grid-template-columns: repeat(3, 1fr); }
#iletisim .photo-row img { object-position: center 35%; }

/* Tournament photos drifting sideways; the copy makes the loop seamless. */
.strip { overflow: hidden; margin: 8px 0 48px; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.strip-track { display: flex; gap: 14px; width: max-content; animation: slide 60s linear infinite; }
.strip-track > li { flex: none; height: clamp(180px, 26vw, 300px); }
.strip-track .zoom { aspect-ratio: auto; }
.strip-track img { width: auto; height: 100%; }
.strip:hover .strip-track, .strip:focus-within .strip-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(calc(-50% - 7px)); } }

/* Lightbox */
.lightbox { max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; padding: 0; border: 0; background: rgba(6, 8, 12, .94); color: #fff; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(0, 0, 0, .6); }
.lightbox figure { display: grid; justify-items: center; gap: 12px; padding: 64px 72px 56px; max-height: 100vh; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 150px); width: auto; height: auto; border-radius: 10px; }
.lightbox figcaption { font-size: 15px; color: rgba(255, 255, 255, .78); text-align: center; }
.lightbox button { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font: 32px/1 inherit; cursor: pointer; }
.lightbox button:hover, .lightbox button:focus-visible { background: rgba(255, 255, 255, .26); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; top: 26px; left: 0; right: 0; text-align: center; font-size: 14px; color: rgba(255, 255, 255, .6); }

.qr-flip { grid-template-columns: 1fr 1.15fr; }
.cards-one { grid-template-columns: 1fr; }
.phones-one .phone { margin-top: 0 !important; max-width: 270px; }

.contact { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.addr { margin-top: 16px; font-size: 19px; color: var(--text-2); }
.social { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; }
.social a { color: var(--accent); font-weight: 600; }
.foot-name { font-weight: 750; font-size: 19px; color: var(--on-dark); margin-bottom: 6px; }

@media (max-width: 1080px) {
  .qr-flip { grid-template-columns: 1fr; }
  .qr-flip .phones { order: 2; }
}
@media (prefers-reduced-motion: reduce) {
  .slides img, .zoom img { transition: none; }
  .slides img.on { animation: none; }
  .strip { overflow-x: auto; mask-image: none; }
  .strip-track { animation: none; }
  .strip-copy { display: none; }
}
@media (max-width: 920px) {
  .photo-row-n { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .salon-hero { min-height: 0; }
  .gallery, .gallery:has(> li:nth-child(2):last-child) { grid-template-columns: 1fr; }
  .photo-row-2, .photo-row-n { grid-template-columns: 1fr; }
  .photo-row-1 > li { aspect-ratio: 4 / 3; }
  .lightbox figure { padding: 64px 12px 84px; }
  .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; }
  .cta-left .btn { width: 100%; }
}
