/* (c) 2026 The Lowry Group at Coldwell Banker Realty. All rights reserved. Proprietary — unauthorized copying, reuse, or redistribution prohibited. */
/* ==========================================================================
   THE LOWRY GROUP — INTERACTIVE FLOOR PLAN (styles)
   Paired with js/floorplan.js. Dark/gold theme, consistent with the site.
   ========================================================================== */

#floorplanSection[hidden] { display: none; }

.fp-toggle {
  display: inline-flex; margin: var(--space-md) 0 0;
  border: 1px solid var(--gold-dim); border-radius: 30px; overflow: hidden;
}
.fp-toggle[hidden] { display: none; }
.fp-toggle button {
  background: transparent; color: var(--text-on-black-muted); border: 0;
  padding: 9px 22px; font-family: var(--font-body), sans-serif; font-size: 0.82rem;
  letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.fp-toggle button.active { background: var(--gold); color: #141310; font-weight: 500; }

.fp-layout {
  display: grid; grid-template-columns: 1.55fr 0.95fr; gap: 26px;
  align-items: start; margin-top: var(--space-lg);
}
@media (max-width: 860px) { .fp-layout { grid-template-columns: 1fr; } }

.fp-stage {
  position: relative; background: #fff; border: 1px solid rgba(201,164,92,0.28);
  border-radius: 8px; padding: 10px; box-shadow: 0 30px 70px rgba(0,0,0,0.5);
}
.fp-stage[hidden] { display: none; }
.fp-planbox { position: relative; line-height: 0; }
.fp-planbox img { width: 100%; height: auto; display: block; border-radius: 3px; }
svg.fp-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.fp-hs {
  fill: rgba(201,164,92,0); stroke: rgba(201,164,92,0); stroke-width: 2.5;
  cursor: pointer; transition: fill 0.18s ease, stroke 0.18s ease;
}
.fp-hs:hover { fill: rgba(201,164,92,0.28); stroke: var(--gold); }
.fp-hs.active { fill: rgba(231,197,106,0.34); stroke: #e7c56a; stroke-width: 3.5; }

.fp-tip {
  position: fixed; z-index: 4000; pointer-events: none; opacity: 0;
  transform: translateY(4px); transition: opacity 0.15s ease, transform 0.15s ease;
  background: rgba(14,13,11,0.96); border: 1px solid var(--gold-dim);
  border-radius: 7px; padding: 7px 11px; max-width: 230px;
}
.fp-tip.show { opacity: 1; transform: none; }
.fp-tip b { font-family: var(--font-display), Georgia, serif; color: var(--ivory); font-weight: 500; font-size: 0.98rem; display: block; }
.fp-tip span { color: var(--gold); font-size: 0.8rem; letter-spacing: 0.04em; }

.fp-rail { position: sticky; top: 20px; }
.fp-detail {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(201,164,92,0.28);
  border-radius: 8px; padding: 18px; margin-bottom: 16px; min-height: 130px;
}
.fp-eye { color: var(--gold); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.66rem; margin: 0 0 6px; }
.fp-detail h3 { font-family: var(--font-display), Georgia, serif; font-weight: 500; font-size: 1.45rem; margin: 0 0 2px; color: var(--ivory); }
.fp-dim { color: #e7c56a; font-family: var(--font-display), Georgia, serif; font-size: 1.05rem; margin: 0 0 10px; }
.fp-dim-na { opacity: 0.5; font-size: 0.8rem; }
.fp-note { color: var(--text-on-black-muted); font-size: 0.9rem; margin: 0; }
.fp-hint { color: var(--text-on-black-muted); font-size: 0.9rem; margin: 0; }

.fp-roomlist { background: rgba(255,255,255,0.03); border: 1px solid rgba(201,164,92,0.28); border-radius: 8px; overflow: hidden; }
.fp-roomlist .fp-rl-head { padding: 11px 16px; border-bottom: 1px solid rgba(201,164,92,0.28); color: var(--gold); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.66rem; }
ul.fp-rlist { list-style: none; margin: 0; padding: 6px; }
ul.fp-rlist[hidden] { display: none; }
li.fp-rl { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding: 8px 10px; border-radius: 6px; cursor: pointer; transition: background 0.15s ease; }
li.fp-rl:hover, li.fp-rl.active { background: rgba(201,164,92,0.12); }
li.fp-rl.active .fp-rl-name { color: #e7c56a; }
.fp-rl-name { font-size: 0.92rem; color: var(--ivory); }
.fp-rl-dim { font-size: 0.78rem; color: var(--text-on-black-muted); white-space: nowrap; }

.fp-disclaimer { margin-top: 20px; color: var(--text-on-black-muted); font-size: 0.76rem; line-height: 1.55; border-top: 1px solid rgba(201,164,92,0.18); padding-top: 14px; max-width: 900px; }

/* ---- Immersive room photos (rooms flagged with a gold diamond) ---------- */
.fp-photos { margin-top: 14px; display: grid; gap: 10px; }
.fp-photo { width: 100%; display: block; border-radius: 8px; border: 1px solid rgba(201,164,92,0.30); box-shadow: 0 16px 34px rgba(0,0,0,0.5); }
.fp-cam { color: var(--gold); font-size: 0.6em; vertical-align: middle; }
li.fp-rl.active .fp-cam { color: #e7c56a; }
/* photo-rooms get a subtle dashed gold outline so visitors know to click them */
.fp-hs.has-photo { fill: rgba(201,164,92,0.10); stroke: rgba(201,164,92,0.55); stroke-width: 2.5; stroke-dasharray: 7 5; }
.fp-hs.has-photo:hover { fill: rgba(201,164,92,0.30); stroke: var(--gold); stroke-dasharray: none; }
.fp-hs.has-photo.active { fill: rgba(231,197,106,0.34); stroke: #e7c56a; stroke-width: 3.5; stroke-dasharray: none; }
