/* Photo-led room browsing, using Nupelda's existing brand tokens. */
.room-detail-page, .room-collection-page { background: var(--paper); }
.room-detail, .collection-main { padding-top: 148px; padding-bottom: 90px; }
.room-detail .breadcrumb, .collection-main .breadcrumb { margin-bottom: 26px; color: var(--muted); }
.room-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.room-heading h1, .collection-heading h1 { font: 400 clamp(40px, 4.4vw, 68px)/1.04 var(--serif); letter-spacing: -.035em; color: var(--ink); margin: 10px 0 14px; }
.room-location { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.room-location a { color: var(--emerald); text-decoration: underline; text-underline-offset: 4px; }
.room-header .btn { flex: none; }
.room-label { display: inline-flex; align-items: center; gap: 9px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--brass-deep); }
.room-label::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.room-gallery-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr; grid-template-rows: 218px 218px; gap: 8px; border-radius: 20px; overflow: hidden; }
.room-gallery-tile { position: relative; padding: 0; border: 0; overflow: hidden; background: var(--stone); }
.room-gallery-tile:first-child { grid-row: span 2; }
.room-gallery-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.room-gallery-tile:hover img { transform: scale(1.035); }
.room-gallery-tile > span { position: absolute; left: 16px; right: 16px; bottom: 16px; display: block; padding: 11px 12px; border-radius: 9px; background: rgba(250,247,241,.94); color: var(--ink); font-size: 12px; font-weight: 500; }
.room-photo-caption { display: flex; justify-content: space-between; gap: 12px; margin: 12px 0 26px; color: var(--muted); font-size: 12px; }
.room-photo-caption a { color: var(--emerald); text-decoration: underline; text-underline-offset: 4px; }
.room-tabs { position: sticky; top: 108px; z-index: 9; display: flex; gap: 5px; overflow-x: auto; scrollbar-width: none; margin-bottom: 34px; padding: 7px; border: 1px solid var(--line); border-radius: 13px; background: rgba(250,247,241,.96); backdrop-filter: blur(12px); }
.room-tabs a { flex: none; padding: 10px 16px; border-radius: 8px; color: var(--muted); font-size: 13px; }
.room-tabs a:hover, .room-tabs a:focus-visible { background: var(--stone); color: var(--ink); }
.room-layout { display: grid; grid-template-columns: minmax(0,1fr) 350px; gap: clamp(30px,5vw,72px); align-items: start; }
.room-main { min-width: 0; }
.room-section { padding: 0 0 34px; margin-bottom: 34px; border-bottom: 1px solid var(--line); scroll-margin-top: 190px; }
.room-section h2 { font: 400 clamp(25px,2.4vw,34px)/1.15 var(--serif); color: var(--ink); margin-bottom: 18px; }
.room-section > p { max-width: 68ch; color: var(--muted); font-size: 15px; line-height: 1.85; }
.room-section > p + p { margin-top: 14px; }
.room-highlights { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.room-highlights span { display: inline-flex; align-items: center; gap: 7px; padding: 9px 12px; background: #e9eee7; border-radius: 8px; color: var(--emerald); font-size: 12px; }
.room-highlights span::before { content: '✓'; }
.room-feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.room-feature-block { padding: 21px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.56); }
.room-feature-block h3 { color: var(--ink); font-size: 14px; font-weight: 500; margin-bottom: 12px; }
.room-feature-block li { display: flex; gap: 8px; align-items: baseline; color: var(--muted); font-size: 13px; line-height: 1.7; margin-top: 6px; }
.room-feature-block li::before { content: '✓'; color: var(--emerald); }
.room-inside-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.room-inside-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 12px; }
.room-inside-card figcaption { margin-top: 9px; font-size: 13px; color: var(--ink); }
.room-inside-card small { display: block; font-size: 11px; color: var(--muted); margin-top: 3px; }
.room-all-photos { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 9px; margin-top: 20px; }
.room-photo-thumb { position: relative; background: var(--stone); border: 0; padding: 0; overflow: hidden; border-radius: 12px; }
.room-photo-thumb img { width: 100%; aspect-ratio: 3/4; object-fit: cover; transition: transform .5s var(--ease); }
.room-photo-thumb:hover img { transform: scale(1.04); }
.room-photo-thumb span { position: absolute; bottom: 9px; right: 9px; padding: 3px 8px; border-radius: 6px; background: rgba(13,20,17,.72); color: #fff; font-size: 10px; }
.stay-card { position: sticky; top: 132px; border: 1px solid rgba(28,68,54,.2); border-radius: 18px; background: #fffefa; padding: 26px; box-shadow: 0 12px 35px -22px rgba(18,38,32,.4); }
.stay-card-kicker { font-size: 10px; letter-spacing: .16em; color: var(--brass-deep); text-transform: uppercase; }
.stay-card h2 { font: 400 31px/1.1 var(--serif); color: var(--ink); margin: 10px 0; }
.stay-card-room { color: var(--muted); font-size: 13px; padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.stay-date-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.stay-card label { display: grid; gap: 6px; color: var(--muted); font-size: 11px; margin-bottom: 12px; }
.stay-card input, .stay-card select { min-width: 0; width: 100%; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink); font: 400 12px/1.4 var(--sans); padding: 12px 9px; min-height: 46px; }
.stay-submit { display: block; width: 100%; padding: 15px 10px; border: 0; border-radius: 10px; background: var(--emerald); color: #fff; font-size: 13px; font-weight: 400; transition: background .2s ease; }
.stay-submit:hover { background: var(--ink); }
.stay-card-note { color: var(--muted); font-size: 11px; text-align: center; line-height: 1.65; margin-top: 12px; }
.stay-contact { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12px; }
.stay-contact a { color: var(--emerald); text-decoration: underline; text-underline-offset: 4px; }
.stay-points { margin-top: 18px; display: grid; gap: 9px; font-size: 12px; color: var(--muted); }
.stay-points li::before { content: '✓'; color: var(--emerald); margin-right: 8px; }
.room-location-panel { padding: 20px; background: #e9eee7; border-radius: 12px; display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; }
.room-location-panel p { color: var(--emerald); font-size: 13px; }
.room-location-panel a { color: var(--emerald); font-size: 12px; text-decoration: underline; white-space: nowrap; }
.room-map { width: 100%; height: 250px; border: 0; border-radius: 12px; }
.room-policy-list { display: grid; gap: 0; }
.room-policy-list div { display: grid; grid-template-columns: 155px 1fr; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.room-policy-list dt { color: var(--ink); font-weight: 400; }
.room-policy-list dd { color: var(--muted); }
.room-faq details { border-bottom: 1px solid var(--line); padding: 17px 0; }
.room-faq summary { cursor: pointer; font-size: 14px; font-weight: 400; color: var(--ink); }
.room-faq details p { margin-top: 12px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.room-tour { width: 100%; max-height: 520px; border-radius: 14px; background: var(--ink); }
.room-section > p + .room-tour { margin-top: 20px; }
.room-other { padding-top: 28px; }
.room-other h2 { font: 400 38px/1.1 var(--serif); margin-bottom: 24px; }
.room-other-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.room-mini { display: block; background: #fffefa; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.room-mini img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .5s ease; }
.room-mini:hover img { transform: scale(1.03); }
.room-mini div { padding: 17px; }
.room-mini small { color: var(--brass-deep); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.room-mini h3 { color: var(--ink); font: 400 25px/1.1 var(--serif); margin-top: 6px; }
.room-mini p { color: var(--muted); font-size: 12px; margin-top: 9px; }
.room-mobile-booking { display: none; }
.collection-heading { max-width: 700px; margin-bottom: 34px; }
.collection-heading p { color: var(--muted); max-width: 60ch; font-size: 15px; }
.collection-tools { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-bottom: 26px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.collection-count { color: var(--ink); font-size: 14px; }
.collection-tools nav { display: flex; gap: 7px; overflow-x: auto; max-width: 100%; }
.collection-tools nav a { flex: none; padding: 6px 11px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); font-size: 11px; }
.collection-list { display: grid; gap: 24px; }
.stay-list-card { display: grid; grid-template-columns: .95fr 1fr; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: #fffefa; scroll-margin-top: 130px; }
.stay-list-media { display: grid; grid-template-columns: 1fr 1fr 1fr; grid-template-rows: 290px 94px; gap: 4px; min-width: 0; }
.stay-list-media > a { grid-column: span 3; position: relative; overflow: hidden; }
.stay-list-media > a::after { content: 'Odayı keşfet ↗'; position: absolute; bottom: 15px; left: 16px; border-radius: 6px; background: rgba(250,247,241,.94); padding: 7px 10px; color: var(--ink); font-size: 11px; }
.stay-list-media img { height: 100%; width: 100%; object-fit: cover; }
.stay-list-media button { border: 0; padding: 0; background: var(--stone); overflow: hidden; }
.stay-list-copy { padding: clamp(25px,3vw,42px); align-self: center; }
.stay-list-copy h2 { font: 400 clamp(30px,3vw,43px)/1.05 var(--serif); color: var(--ink); margin: 10px 0 17px; }
.stay-list-copy > p { color: var(--muted); font-size: 14px; line-height: 1.8; }
.stay-list-copy .room-highlights { margin: 20px 0 25px; }
.stay-list-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.stay-list-actions .btn { min-height: 46px; padding: 11px 17px; font-size: 10px; letter-spacing: .06em; }
.collection-footnote { margin-top: 28px; font-size: 12px; color: var(--muted); text-align: center; }
.home-room-label { position: absolute; top: 16px; left: 16px; padding: 6px 10px; border: 1px solid rgba(255,255,255,.45); border-radius: 6px; background: rgba(13,20,17,.45); color: #fff; font-size: 10px; letter-spacing: .1em; }
.residence-card:last-child:nth-child(3n+1) { grid-column: span 2; }
@media (max-width: 1050px) {
  .room-layout { grid-template-columns: minmax(0,1fr) 300px; gap: 28px; }
  .stay-card { padding: 20px; }
  .room-gallery-grid { grid-template-rows: 190px 190px; }
}
@media (max-width: 800px) {
  .room-detail, .collection-main { padding-top: 126px; padding-bottom: 60px; }
  .room-header { align-items: flex-start; }
  .room-header > .btn { display: none; }
  .room-heading h1, .collection-heading h1 { font-size: 43px; }
  .room-gallery-grid { grid-template-columns: 1.4fr 1fr; grid-template-rows: 190px 190px; }
  .room-gallery-tile:nth-child(4), .room-gallery-tile:nth-child(5) { display: none; }
  .room-layout { grid-template-columns: 1fr; }
  .stay-card { position: static; grid-row: 1; padding: 24px; }
  .room-tabs { top: 102px; margin-bottom: 24px; }
  .room-tabs a { padding: 9px 12px; font-size: 12px; }
  .stay-card h2 { font-size: 29px; }
  .room-mobile-booking { position: fixed; z-index: 30; bottom: 12px; left: 16px; right: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 13px; background: #fffefa; box-shadow: 0 4px 26px rgba(13,20,17,.15); }
  .room-mobile-booking span { color: var(--ink); font-size: 12px; line-height: 1.4; }
  .room-mobile-booking small { display: block; color: var(--muted); font-size: 10px; }
  .room-mobile-booking a { padding: 12px 15px; background: var(--emerald); color: #fff; border-radius: 8px; font-size: 12px; white-space: nowrap; }
  .room-detail-page .whatsapp-float { bottom: 96px; }
  .room-detail-page .site-footer { padding-bottom: 96px; }
  .room-detail-page.menu-lock .room-mobile-booking { display: none; }
  .stay-list-card { grid-template-columns: 1fr; }
  .stay-list-media { grid-template-rows: 330px 100px; }
  .room-other-grid { gap: 12px; }
  .room-mini h3 { font-size: 22px; }
  .residence-card:last-child:nth-child(3n+1) { grid-column: auto; }
}
@media (max-width: 540px) {
  .room-detail .breadcrumb, .collection-main .breadcrumb { font-size: 10px; gap: 7px; }
  .room-header { margin-bottom: 20px; }
  .room-heading h1, .collection-heading h1 { font-size: 38px; }
  .room-location { font-size: 12px; gap: 5px; }
  .room-gallery-grid { grid-template-rows: 140px 140px; gap: 5px; border-radius: 14px; }
  .room-photo-caption { font-size: 10px; }
  .room-tabs { top: 96px; }
  .room-feature-grid { grid-template-columns: 1fr; }
  .room-inside-grid { gap: 8px; }
  .room-inside-card figcaption { font-size: 11px; }
  .room-inside-card small { font-size: 10px; }
  .room-all-photos { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
  .room-location-panel { align-items: flex-start; flex-direction: column; padding: 17px; }
  .room-policy-list div { grid-template-columns: 1fr; gap: 6px; }
  .room-other-grid { grid-template-columns: 1fr; }
  .room-mini { display: grid; grid-template-columns: 120px 1fr; }
  .room-mini img { height: 100%; aspect-ratio: 1; }
  .room-mini div { padding: 15px; }
  .collection-tools { align-items: flex-start; }
  .collection-tools nav { width: 100%; }
  .stay-list-media { grid-template-rows: 285px 85px; }
  .stay-list-copy { padding: 24px; }
  .room-section { scroll-margin-top: 175px; }
}
@media (prefers-reduced-motion: reduce) {
  .room-gallery-tile img, .room-photo-thumb img, .room-mini img, .stay-submit { transition: none; }
}
