/*
 * supplement.css — layout/visibility fixes for archived Grandeur site.
 */

/* ---- Hide off-canvas panels that were showing as page content ---- */
.xs-sidebar-group,
.info-sidebar,
.xs-sidebar-widget {
  display: none !important;
}
.xs-sidebar-group.is-visible,
.xs-sidebar-group.active {
  display: block !important;
}

.mobile-menu {
  display: none !important;
  visibility: hidden;
}
.mobile-menu.mobile-menu-visible {
  display: block !important;
  visibility: visible;
}

.sticky-header {
  display: none !important;
}

/* Popup close SVG was rendering as a giant "X" without plugin CSS */
.paoc-popup,
.paoc-cb-popup-body,
.paoc-wrap.paoc-popup {
  display: none !important;
}
.paoc-popup-close,
.paoc-close-popup {
  display: none !important;
}
.paoc-popup-close svg,
.paoc-close-popup svg {
  width: 24px !important;
  height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
}

/* ---- Header: proper horizontal layout ---- */
.main-header {
  position: relative;
  z-index: 99;
  background: #fff;
  box-shadow: 0 1px 10px rgba(0,0,0,.07);
}

.main-header .header-top {
  background: #c49b6c;
  color: #fff;
  font-size: 13px;
  padding: 8px 0;
}
.main-header .header-top .outer-container,
.main-header .header-top .top-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.main-header .header-top .info-list,
.main-header .header-top .social-links {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.main-header .header-top .info-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.main-header .header-top .info-list p {
  margin: 0;
  display: flex;
  gap: 6px;
  color: #fff;
}
.main-header .header-top a {
  color: #fff;
  font-size: 14px;
}

.main-header .header-lower {
  padding: 14px 0;
  background: #fff;
}
.main-header .header-lower .outer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.main-header .header-lower .outer-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.main-header .header-lower .main-box {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1 1 auto;
  min-width: 0;
}
.main-header .nav-btn,
.main-header .mobile-nav-toggler {
  display: none;
}
.main-header .logo-box .brand-wordmark {
  font-family: "Playfair Display", "Cardo", Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  color: #1f1f1f;
  letter-spacing: .02em;
  white-space: nowrap;
}
.main-header .menu-area {
  flex: 1 1 auto;
}
.main-header .main-menu .navigation {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.main-header .main-menu .navigation > li > a {
  display: block;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #2b2b2b;
  white-space: nowrap;
}
.main-header .main-menu .navigation > li > a:hover {
  color: #c49b6c;
}
.main-header .menu-right-content {
  flex: 0 0 auto;
}
.main-header .theme-btn.btn-one {
  background: transparent;
  color: #c49b6c !important;
  border: 2px solid #c49b6c;
  padding: 10px 22px;
  white-space: nowrap;
}
.main-header .theme-btn.btn-one:hover {
  background: #c49b6c;
  color: #fff !important;
}

/* Collapse bootstrap "collapse" always shown in dump */
.main-header .navbar-collapse {
  display: flex !important;
}

@media (max-width: 991px) {
  .main-header .header-lower .outer-box {
    flex-direction: column;
    align-items: flex-start;
  }
  .main-header .main-menu .navigation > li > a {
    padding: 8px 10px;
    font-size: 12px;
  }
}

/* ---- Banner when images missing: atmospheric fallback ---- */
.banner-section {
  position: relative;
  min-height: 78vh;
  background:
    linear-gradient(160deg, rgba(28,26,23,.72), rgba(61,48,36,.55)),
    radial-gradient(ellipse at 30% 20%, #8a6a4a 0%, #2b2622 55%, #151311 100%);
}
.banner-section .image-layer {
  background-color: transparent;
}
.banner-section .image-layer:not([style*="url(/"]):not([style*='url(/']) {
  /* keep gradient parent */
}
.banner-section .content-box {
  padding-top: 120px;
}

/* Sections that used missing background photos */
.experience-section .bg-layer,
.contact-section .bg-layer,
.pricing-section {
  background-color: #2b2622 !important;
  background-size: cover;
  background-position: center;
}
.experience-section,
.contact-section {
  position: relative;
  color: #fff;
}
.experience-section .bg-layer,
.contact-section .bg-layer {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, #3a322a, #1c1a17);
  z-index: 0;
}
.experience-section .auto-container,
.contact-section .auto-container,
.pricing-section .auto-container {
  position: relative;
  z-index: 1;
}

/* Hide broken <img> icons (empty src / 404) until JS fallback runs */
img[src=""],
img:not([src]),
.footer-logo a:empty,
.payment-list li a:empty {
  display: none !important;
}
.footer-logo {
  min-height: 0;
}
.footer-logo a::after {
  content: "Old Time Residence";
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  color: #fff;
  font-weight: 700;
}

/* Hotspot map without image: compact card list instead of empty giant box */
.cq-hotspots-wrapper {
  min-height: 0 !important;
  background: #f7f3ee;
  padding: 24px;
  border-radius: 4px;
}
.cq-hotspots {
  position: relative !important;
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  min-height: 0 !important;
  height: auto !important;
}
.cq-hotspots .hotspot-item {
  position: static !important;
  left: auto !important;
  top: auto !important;
  transform: none !important;
  background: #fff;
  border: 1px solid #e8e0d6;
  padding: 14px 16px;
  border-radius: 4px;
}
.cq-hotspots .hotspot-item .cq-tooltip-content {
  display: block !important;
  position: static !important;
  opacity: 1 !important;
  visibility: visible !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
  margin-top: 6px;
  color: #2b2b2b;
  font-size: 14px;
}
.cq-hotspots .cq-tooltip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #c49b6c !important;
  color: #fff;
}

/* Scroll-top arrow: don't let flaticon missing font explode */
.scroll-top {
  width: auto !important;
  max-width: 160px;
  height: auto !important;
  padding: 10px 14px;
  font-size: 12px;
}
.scroll-top .text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
