/* edra Salon — public pages: venue profiles (/mekan/…), the directory (/mekanlar) and "Salonlar için edra"
   (/salonlar-icin). Built on assets/site/site.css (tokens, buttons, inputs). Class prefix: sw-.
   --vc is the venue's brand colour on its own page (small accents only). */

.sw main { overflow-x: clip; }
.sw { --vc: var(--gul); }
.sw-h2 { font-family: var(--display); font-weight: 800; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.1; letter-spacing: -.025em; }
.sw-note { color: var(--mute); font-size: 14.5px; line-height: 1.55; }
.sw-sec { padding: 34px 0; border-top: 1px solid var(--line); }
.sw-sec > .sw-h2 { margin-bottom: 16px; }
.sw-sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px 20px; margin-bottom: 8px; }

/* ── preview banner (venue members, showcase off) ──────────────────────── */
.sw-preview { background: #FFF6E5; border-bottom: 1px solid #F5DDAE; color: #7A4B00; font-size: 14px; }
.sw-preview .wrap { display: flex; gap: 10px; align-items: center; padding: 12px 0; }
.sw-preview svg { width: 20px; height: 20px; flex: none; }
.sw-preview a { color: inherit; font-weight: 700; }

/* ═════════════ PROFILE ═══════════════════════════════════════════════════ */
.sw-hero { padding: clamp(18px, 3vw, 32px) 0 0; }
.sw-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; font-weight: 600; color: var(--mute); }
.sw-crumbs a { color: inherit; text-decoration: none; }
.sw-crumbs a:hover { color: var(--ink); }
.sw-hero-head { margin-top: 18px; }
.sw-logo { width: 56px; height: 56px; object-fit: contain; border-radius: 16px; border: 1px solid var(--line); background: #fff; padding: 6px; margin-bottom: 14px; }
.sw-title { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 5.6vw, 64px); line-height: 1; letter-spacing: -.04em; max-width: 16em; }
.sw-sub { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; color: var(--mute); font-weight: 600; font-size: 15px; }
.sw-sub span { display: inline-flex; align-items: center; gap: 6px; }
.sw-sub span:first-child { color: var(--vc); }
.sw-sub svg { width: 17px; height: 17px; }
.sw-tagline { margin-top: 12px; max-width: 40em; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.55; color: var(--ink); }

/* gallery: swipe row on phones, a 1 + 4 mosaic from tablet up */
.sw-gallery-wrap { position: relative; width: min(100% - 2 * var(--pad), var(--wrap)); margin: 24px auto 0; }
.sw-gallery { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--r-md); margin-inline: calc(-1 * var(--pad)); padding-inline: var(--pad); scroll-padding-inline: var(--pad); }
.sw-gallery::-webkit-scrollbar { display: none; }
.sw-shot { flex: 0 0 86%; aspect-ratio: 4 / 3; scroll-snap-align: start; border-radius: var(--r-md); overflow: hidden; background: var(--soft); }
.sw-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.sw-shot:hover img { transform: scale(1.03); }
.sw-gallery.is-single .sw-shot { flex-basis: 100%; }
.sw-gallery-count { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(17, 16, 20, .72); color: #fff; font-size: 13px; font-weight: 700; backdrop-filter: blur(6px); pointer-events: none; }
.sw-gallery-count svg { width: 16px; height: 16px; }
@media (min-width: 760px) {
  .sw-gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); height: clamp(340px, 42vw, 520px); overflow: hidden; margin-inline: 0; padding-inline: 0; }
  .sw-shot { aspect-ratio: auto; border-radius: 0; }
  .sw-shot:first-child { grid-row: 1 / 3; }
  .sw-shot:nth-child(n + 6) { display: none; }
  .sw-gallery:has(.sw-shot:nth-child(2):last-child) { grid-template-columns: 1fr 1fr; }
  .sw-gallery:has(.sw-shot:nth-child(2):last-child) .sw-shot { grid-row: 1 / 3; }
  .sw-gallery:has(.sw-shot:nth-child(3):last-child) { grid-template-columns: 2fr 1fr; }
  .sw-gallery:has(.sw-shot:nth-child(4):last-child) .sw-shot:nth-child(4) { grid-column: 2 / 4; }
  .sw-gallery.is-single { grid-template-columns: 1fr; }
}

/* body: content + sticky form */
.sw-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 28px 0 56px; }
.sw-main, .sw-side { min-width: 0; }
@media (min-width: 1000px) {
  .sw-body { grid-template-columns: minmax(0, 1fr) 400px; gap: 56px; align-items: start; }
  .sw-side { position: sticky; top: 88px; }
}

.sw-facts { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-bottom: 8px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.sw-facts li { display: grid; gap: 2px; padding: 16px 18px; background: #fff; }
.sw-facts span { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.sw-facts b { font-family: var(--display); font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.sw-facts em { font-style: normal; font-size: 13.5px; color: var(--mute); }
@media (min-width: 700px) { .sw-facts { grid-template-columns: repeat(4, 1fr); } }

.sw-about { max-width: 42em; font-size: 16.5px; line-height: 1.7; color: #2c2a30; }
.sw-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.sw-chips li { padding: 9px 16px; border-radius: 999px; background: color-mix(in srgb, var(--vc) 9%, #fff); color: color-mix(in srgb, var(--vc) 70%, var(--ink)); font-weight: 700; font-size: 14.5px; }

.sw-halls { display: grid; gap: 14px; }
.sw-hall { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-md); }
.sw-hall-media { aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: color-mix(in srgb, var(--hc) 14%, #fff); display: grid; place-items: center; }
.sw-hall-media img { width: 100%; height: 100%; object-fit: cover; }
.sw-hall-media span { font-family: var(--display); font-weight: 800; font-size: 40px; color: var(--hc); }
.sw-hall-body { padding: 4px 4px 4px 0; }
.sw-hall h3 { font-family: var(--display); font-size: 20px; font-weight: 800; letter-spacing: -.015em; }
.sw-hall dl { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 6px; }
.sw-hall dl div { display: flex; gap: 6px; font-size: 14px; }
.sw-hall dt { color: var(--mute); }
.sw-hall dd { font-weight: 700; }
.sw-hall p { margin-top: 8px; color: var(--mute); font-size: 14.5px; line-height: 1.55; }
@media (min-width: 700px) { .sw-hall { grid-template-columns: 180px minmax(0, 1fr); } }

/* availability teaser */
.sw-legend { list-style: none; display: flex; gap: 14px; font-size: 13px; font-weight: 600; color: var(--mute); }
.sw-legend li { display: inline-flex; align-items: center; gap: 6px; }
.sw-legend i { width: 12px; height: 12px; border-radius: 4px; }
.sw-legend .is-free, .sw-day.is-free { background: #E3F4E8; }
.sw-legend .is-partial, .sw-day.is-partial { background: #FDF0D5; }
.sw-legend .is-full, .sw-day.is-full { background: #F3E1E4; }
.sw-months { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 12px; margin: 18px calc(-1 * var(--pad)) 0; padding: 0 var(--pad) 6px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); scrollbar-width: thin; }
@media (min-width: 1000px) { .sw-months { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); margin-inline: 0; padding-inline: 0; overflow: visible; } }
.sw-month { scroll-snap-align: start; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-md); }
.sw-month-head { display: grid; gap: 2px; margin-bottom: 12px; }
.sw-month h3 { font-size: 16px; font-weight: 800; }
.sw-month-head span { font-size: 12.5px; font-weight: 600; color: #217a3d; }
.sw-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; }
.sw-cal-wd { font-size: 10.5px; font-weight: 700; color: var(--mute); padding-bottom: 2px; }
.sw-day { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: 8px; font-size: 12.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.sw-day.is-weekend { font-weight: 800; }
.sw-day.is-full { color: #9b5562; text-decoration: line-through; text-decoration-thickness: 1px; }
.sw-day.is-past, .sw-day.is-unknown { color: #c9c5ce; }
.sw-day.is-today { box-shadow: inset 0 0 0 1.5px var(--ink); }

/* couples' invitations at this venue */
.sw-invites { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(170px, 210px); gap: 12px; margin: 16px calc(-1 * var(--pad)) 0; padding: 0 var(--pad) 6px; overflow-x: auto; scroll-snap-type: x mandatory; }
.sw-invite { scroll-snap-align: start; display: grid; text-decoration: none; color: inherit; }
.sw-invite img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 20px; background: var(--soft); transition: transform .3s var(--ease); }
.sw-invite:hover img { transform: translateY(-3px); }
.sw-invite-body { display: grid; padding: 10px 4px 0; }
.sw-invite b { font-size: 15px; font-weight: 800; line-height: 1.3; }
.sw-invite em { font-style: normal; font-size: 13px; color: var(--mute); }

/* contact */
.sw-contact { display: grid; gap: 10px; }
.sw-contact-row { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: var(--soft); }
.sw-contact-row > svg { width: 22px; height: 22px; color: var(--vc); }
.sw-contact-row b { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.sw-contact-row span { display: block; font-weight: 600; overflow-wrap: anywhere; }
.sw-links { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 6px 4px 0; }
.sw-links a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14.5px; text-decoration: none; }
.sw-links svg { width: 18px; height: 18px; }

/* lead form card */
.sw-form-card { padding: clamp(20px, 3vw, 28px); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow); scroll-margin-top: 90px; }
.sw-side { scroll-margin-top: 90px; }
.sw-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; font-size: 14.5px; color: var(--mute); font-weight: 600; }
.sw-price b { font-family: var(--display); font-size: 30px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.sw-price b + span { margin-left: -6px; }
.sw-price-note { font-size: 12.5px; color: var(--mute); margin-top: 2px; }
.sw-form-title { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: -.02em; margin: 18px 0 14px; }
.sw-price + .sw-price-note + .sw-form-title { padding-top: 18px; border-top: 1px solid var(--line); }
.sw-form { display: grid; gap: 14px; }
.sw-form .form-row { grid-template-columns: 1fr 1fr; gap: 10px; }
.sw-form .input { height: 46px; padding: 0 16px; }
.sw-form select.input { padding-right: 36px; background-position: right 14px center; }
.sw-form textarea.input { min-height: 84px; height: auto; padding: 12px 16px; }
.sw-form .check { font-size: 13px; line-height: 1.5; }
.sw-form .check a { color: var(--ink); }
.sw-submit { width: 100%; }
.sw-form-foot { text-align: center; font-size: 12.5px; color: var(--mute); }
.sw-form-error { margin-bottom: 12px; padding: 12px 14px; border-radius: 14px; background: #FDECEC; color: #a1262c; font-size: 14px; font-weight: 600; }
.sw-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sw-sent { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 16px; border-radius: 18px; background: #E3F4E8; }
.sw-sent > svg { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: #22a04b; color: #fff; }
.sw-sent b { display: block; font-weight: 800; }
.sw-sent p { font-size: 14px; color: #2f5c3c; margin-top: 2px; }
@media (max-width: 380px) { .sw-form .form-row { grid-template-columns: 1fr; } }

.sw-made { padding: 0 0 40px; text-align: center; font-size: 13.5px; color: var(--mute); }
.sw-made a { color: var(--ink); }

/* phone dock: call · WhatsApp · teklif iste */
.sw-dock { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; display: flex; gap: 8px; padding: 8px; border-radius: 999px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 16px 40px -18px rgba(17, 16, 20, .45), 0 0 0 1px var(--line); }
.sw-dock .btn { flex: 1; height: 46px; }
.sw-dock-icon { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--soft); color: var(--ink); }
.sw-dock-icon svg { width: 22px; height: 22px; }
.sw-profile .site-footer { padding-bottom: 90px; }
@media (min-width: 1000px) { .sw-dock { display: none; } .sw-profile .site-footer { padding-bottom: 0; } }

/* ═════════════ DIRECTORY ═════════════════════════════════════════════════ */
.sw-dir-head { padding: clamp(32px, 6vw, 72px) 0 clamp(18px, 3vw, 28px); }
.sw-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.sw-kicker i { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); }
.sw-dir-title { margin-top: 14px; font-family: var(--display); font-weight: 800; font-size: clamp(36px, 6vw, 76px); line-height: .98; letter-spacing: -.045em; max-width: 12em; }
.sw-dir-title span { font-weight: 400; }
.sw-dir-lead { margin-top: 16px; max-width: 36em; color: var(--mute); font-size: clamp(15.5px, 1.5vw, 18px); }

.sw-filter { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; border-radius: 28px; background: var(--soft); }
.sw-filter .field label { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); padding-left: 14px; }
.sw-filter .field { gap: 4px; padding: 8px 6px 4px; }
.sw-filter .input { height: 46px; border-color: transparent; }
.sw-filter-il { grid-column: 1 / -1; }
.sw-filter .btn { grid-column: 1 / -1; height: 50px; }
@media (min-width: 800px) {
  .sw-filter { grid-template-columns: 1.4fr 1fr 1fr auto; align-items: end; border-radius: 999px; padding: 6px 6px 6px 10px; }
  .sw-filter-il { grid-column: auto; }
  .sw-filter .btn { grid-column: auto; height: 56px; padding: 0 30px; }
  .sw-filter .field { padding: 6px 0 6px; }
}
.sw-results { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; margin: 28px 0 16px; }
.sw-results p { font-weight: 700; }
.sw-results a { font-size: 14px; font-weight: 600; color: var(--mute); }

.sw-grid { display: grid; gap: 22px 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.sw-card { display: grid; align-content: start; color: inherit; text-decoration: none; }
.sw-card-media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-md); overflow: hidden; background: color-mix(in srgb, var(--vc) 12%, var(--soft)); }
.sw-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.sw-card:hover .sw-card-media img { transform: scale(1.04); }
.sw-card-media .sw-card-initial { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-size: 64px; font-weight: 800; color: var(--vc); }
.sw-card-kind { position: absolute; left: 12px; top: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: 12px; font-weight: 700; }
.sw-card-body { padding: 14px 4px 0; display: grid; gap: 4px; }
.sw-card h2 { font-family: var(--display); font-size: 20px; font-weight: 800; letter-spacing: -.015em; line-height: 1.2; }
.sw-card-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; color: var(--mute); }
.sw-card-meta span { display: inline-flex; align-items: center; gap: 5px; }
.sw-card-meta svg { width: 15px; height: 15px; }
.sw-card-price { font-size: 14.5px; }
.sw-card-price b { font-weight: 800; }

.sw-empty { display: grid; justify-items: center; gap: 12px; padding: 48px 24px; border-radius: var(--r-lg); background: var(--soft); text-align: center; color: var(--mute); }
.sw-empty b { color: var(--ink); font-size: 18px; }
.sw-pager { display: flex; justify-content: center; gap: 8px; margin-top: 36px; }
.sw-provinces { padding: 48px 0 8px; }
.sw-provinces h2 { margin-bottom: 14px; }
.sw-provinces ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.sw-provinces a { display: inline-flex; gap: 6px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-weight: 700; font-size: 14.5px; }
.sw-provinces a:hover { border-color: var(--ink); }
.sw-provinces a span { color: var(--mute); font-weight: 600; }
.sw-provinces a[aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }
.sw-provinces a[aria-current] span { color: #cfcbd4; }

.sw-owner { margin: 56px 0 72px; display: grid; gap: 18px; align-items: center; padding: clamp(24px, 4vw, 40px); border-radius: var(--r-lg); background: var(--ink); color: #fff; }
.sw-owner h2 { font-family: var(--display); font-weight: 800; font-size: clamp(24px, 3vw, 34px); letter-spacing: -.03em; line-height: 1.1; }
.sw-owner p { color: #bdb8c3; margin-top: 6px; max-width: 34em; }
@media (min-width: 800px) { .sw-owner { grid-template-columns: 1fr auto; } }

/* ═════════════ EVENT-TYPE CROSS-LINKS ════════════════════════════════════ */
.sw-xlink { padding: clamp(40px, 6vw, 72px) 0; }
.sw-xlink-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 20px; }
.sw-xlink .sw-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
