/* ==========================================================
   EHL additions on top of the Renovast template.
   Colors come from the template's scheme variables (scheme-01.css).
   ========================================================== */

/* ---------- Skip link ---------- */
.ehl-skip {
  position: absolute; left: 16px; top: 16px; z-index: 10001;
  background: var(--bg-dark-1); color: #fff; padding: 8px 16px; border-radius: 4px;
}

/* ---------- Age gate ---------- */
html.age-pending { overflow: hidden; }
html.age-pending .ehl-age-gate { display: flex; }
.ehl-age-gate {
  position: fixed; inset: 0; z-index: 10000;
  align-items: center; justify-content: center; padding: 20px;
  background: rgba(var(--bg-dark-1-rgb), .96);
}
.ehl-age-gate__panel {
  background: #fff; border-radius: 8px; padding: 40px 32px; max-width: 480px; width: 100%;
  text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.ehl-age-gate__panel img { max-width: 240px; height: auto; }
.ehl-age-gate__fine { font-size: 13px; line-height: 1.6; margin: 24px 0 0; opacity: .75; }
.ehl-age-gate button { border: 0; cursor: pointer; }
.ehl-age-gate .btn-line { background: transparent; color: var(--heading-font-color); border: solid 1px rgba(0,0,0,.25); }

/* ---------- Image placeholder (swap for real photos later) ---------- */
.ehl-ph {
  position: relative; display: flex; align-items: center; justify-content: center;
  min-height: 320px; height: 100%;
  background:
    radial-gradient(circle at 30% 20%, rgba(var(--secondary-color-rgb), .35), transparent 60%),
    linear-gradient(160deg, var(--bg-dark-1), var(--bg-dark-3));
  color: rgba(255,255,255,.85);
}
.ehl-ph svg { width: 42%; max-width: 260px; height: auto; opacity: .9; }

/* ---------- Room cards ---------- */
.ehl-room-card { transition: transform .25s ease, box-shadow .25s ease; background: #fff; }
.ehl-room-card:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(0,0,0,.08); }
.ehl-room-card .ehl-room-icon {
  width: 80px; height: 80px; margin: 0 auto 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(var(--primary-color-rgb), .12); color: var(--primary-color);
}
.ehl-room-card .ehl-room-label {
  display: block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--secondary-color); margin: -6px 0 10px;
}
.ehl-room-card.is-soon { background: transparent; opacity: .75; }
.ehl-room-card.is-soon:hover { transform: none; box-shadow: none; }
.ehl-badge {
  display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 12px; border-radius: 20px;
  background: rgba(var(--primary-color-rgb), .12); color: var(--primary-color);
}
/* Whole card is the link target */
.ehl-stretch::after { content: ""; position: absolute; inset: 0; z-index: 3; }

/* ---------- Inner-page title band (no photo yet) ---------- */
.ehl-page-title {
  background:
    radial-gradient(circle at 85% 10%, rgba(var(--secondary-color-rgb), .30), transparent 55%),
    linear-gradient(160deg, var(--bg-dark-1), var(--bg-dark-3));
  color: #fff;
}
.ehl-page-title h1 { color: #fff; }
.ehl-page-title .crumb, .ehl-page-title .crumb a { color: rgba(255,255,255,.8); }
.ehl-page-title .lead { color: rgba(255,255,255,.85); max-width: 720px; }

/* ---------- Header ---------- */
/* Keep the logo in proportion (the img has width/height attributes to prevent layout shift). */
#logo img, footer .logo-footer { height: auto; }
/* Mobile logo: no house-only version yet, so cap the full lockup. */
@media only screen and (max-width: 767px) {
  header .logo-mobile { max-width: 170px; height: auto; }
}
/* Mobile submenu toggles: the template uses images/ui/arrow-*.png, which aren't shipped. Draw a chevron instead. */
header.header-mobile #mainmenu li > span,
header.header-mobile #mainmenu li > ul > li > span { background: none !important; }
header.header-mobile #mainmenu li > span::after,
header.header-mobile #mainmenu li > ul > li > span::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px;
  border-right: 2px solid var(--heading-font-color); border-bottom: 2px solid var(--heading-font-color);
  transform: translate(-50%, -70%) rotate(45deg); transition: transform .2s;
}
header.header-mobile #mainmenu li > span.active::after { transform: translate(-50%, -30%) rotate(-135deg); }
