/* Escape Club Blocks — shared styles for the custom Elementor widgets. */

.ec-hero, .ec-rooms, .ec-bookbar, .ec-skin, .ec-skin__layer {
	--ec-ink: #141416;
	--ec-surface: #1E1F23;
	--ec-surface-2: #2A2B30;
	--ec-line: #2E2F35;
	--ec-text: #F5F5F4;
	--ec-muted: #B4B4BB;
	--ec-accent: #F1C40F;
	--ec-paper: #FAFAF7;
	--ec-night: #0D1A2B;
	--ec-gold: #E8B460;
	--ec-frost: #DCE8F5;
	font-family: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
	box-sizing: border-box;
}
.ec-hero *, .ec-rooms *, .ec-bookbar *, .ec-skin *, .ec-skin__layer * { box-sizing: border-box; }

/* ---------- Buttons ---------- */
.ec-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 28px;
	border-radius: 999px;
	border: 1.5px solid transparent;
	font-family: 'Figtree', system-ui, sans-serif;
	font-weight: 800;
	font-size: 17px;
	line-height: 1.1;
	text-align: center;
	text-decoration: none !important;
	cursor: pointer;
	transition: transform .15s ease, filter .15s ease, background-color .15s ease;
}
.ec-btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.ec-btn:focus-visible { outline: 3px solid var(--ec-frost); outline-offset: 3px; }
.ec-btn--primary, .ec-btn--primary:hover, .ec-btn--primary:focus { background: var(--ec-accent); color: var(--ec-ink) !important; }
.ec-btn--secondary, .ec-btn--secondary:hover, .ec-btn--secondary:focus { background: transparent; border-color: currentColor; color: var(--ec-text) !important; }

/* ---------- Hero carousel ---------- */
.ec-hero { position: relative; overflow: hidden; color: var(--ec-text); }
.ec-hero__viewport { overflow: hidden; }
.ec-hero__track { display: flex; width: 100%; transition: transform .5s ease; will-change: transform; }
.ec-slide { position: relative; flex: 0 0 100%; min-width: 0; min-height: var(--ec-hero-h, 580px); display: flex; overflow: hidden; }
.ec-slide__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; display: block; max-width: none; }
.ec-slide__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,20,22,.94) 0%, rgba(20,20,22,.72) 45%, rgba(20,20,22,.1) 100%); }
.ec-slide__inner {
	position: relative;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 48px 48px 96px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 48px;
}
.ec-slide__content { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.ec-slide__eyebrow {
	display: inline-flex; padding: 6px 12px; border-radius: 999px;
	font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
	background: var(--ec-ink); color: var(--ec-paper);
}
.ec-hero .ec-slide__title { margin: 0; padding: 0; font-family: 'Figtree', system-ui, sans-serif; font-weight: 900; font-size: 72px; line-height: 1; letter-spacing: 0; color: inherit; text-transform: none; }
.ec-hero .ec-slide__title.ec-font--cormorant { font-family: 'Cormorant', serif; font-weight: 600; font-size: 76px; letter-spacing: .16em; }
.ec-hero .ec-slide__title.ec-font--cinzel { font-family: 'Cinzel', serif; font-weight: 600; font-size: 64px; letter-spacing: .08em; }
.ec-hero .ec-slide__title--logo { line-height: 0; width: 100%; max-width: 580px; }
.ec-hero .ec-slide__title--logo img { display: block; width: 100%; height: auto; filter: drop-shadow(0 0 22px rgba(232,180,96,.35)); }
.ec-flip { display: inline-block; transform: scaleY(-1); }
.ec-hero .ec-slide__tagline { margin: 0; font-family: 'VT323', monospace; font-size: 26px; letter-spacing: .04em; color: #C40000; }
.ec-hero .ec-slide__text { margin: 0; max-width: 480px; font-size: 19px; line-height: 1.55; color: inherit; opacity: .92; }
.ec-slide__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ec-hero .ec-slide__note { margin: 0; max-width: 480px; font-size: 14px; line-height: 1.5; opacity: .8; }
.ec-slide__poster { flex: 1 1 340px; min-width: 0; max-width: 460px; height: auto; border-radius: 20px; border: 1px solid #E4E4E7; display: block; }

/* Looks */
.ec-slide--paper { background: var(--ec-paper); color: var(--ec-ink); }
.ec-slide--paper .ec-btn--primary { background: var(--ec-ink); color: var(--ec-paper) !important; }
.ec-slide--paper .ec-btn--secondary { color: var(--ec-ink) !important; }
.ec-slide--paper .ec-slide__text { color: #3F3F46; opacity: 1; }
.ec-slide--paper .ec-slide__note { color: #52525B; opacity: 1; }

.ec-slide--accent { background: var(--ec-accent); color: var(--ec-ink); }
.ec-slide--accent .ec-slide__eyebrow { background: transparent; padding: 0; font-size: 14px; font-weight: 800; letter-spacing: .1em; color: var(--ec-ink); }
.ec-slide--accent .ec-btn--primary { background: var(--ec-ink); color: var(--ec-paper) !important; }
.ec-slide--accent .ec-btn--secondary { color: var(--ec-ink) !important; }

.ec-slide--photo { background: var(--ec-ink); color: var(--ec-text); }
.ec-slide--photo .ec-slide__eyebrow { background: transparent; padding: 0; font-size: 14px; font-weight: 800; letter-spacing: .1em; color: var(--ec-accent); }

.ec-slide--night { background: var(--ec-night); color: #EEF3FA; }
.ec-slide--night .ec-slide__shade { background: linear-gradient(90deg, rgba(8,16,26,.8) 0%, rgba(8,16,26,.4) 55%, rgba(8,16,26,.1) 100%); }
.ec-slide--night .ec-slide__eyebrow { background: rgba(232,180,96,.16); border: 1px solid rgba(232,180,96,.5); color: #F6D79B; }
.ec-slide--night .ec-slide__text { text-shadow: 0 2px 14px rgba(8,16,26,.95); }
.ec-slide--night .ec-btn--primary { background: var(--ec-gold); color: var(--ec-ink) !important; box-shadow: 0 0 28px rgba(232,180,96,.4); }
.ec-slide--night .ec-btn--secondary { border-color: var(--ec-frost); background: rgba(8,16,26,.45); color: #EEF3FA !important; }

/* Controls */
.ec-hero__controls { position: absolute; left: 0; right: 0; bottom: 20px; pointer-events: none; }
.ec-hero__pill {
	max-width: 1200px; margin: 0 auto; padding: 0 24px;
	display: flex; justify-content: flex-end;
}
.ec-hero__pill { gap: 0; }
.ec-hero__pill > * { pointer-events: auto; }
.ec-hero__pill::before { content: none; }
/* !important here because the theme styles every <button> (purple background, padding, shadow). */
.ec-hero .ec-hero__arrow, .ec-hero .ec-hero__dot {
	display: inline-flex; align-items: center; justify-content: center;
	height: 44px; min-height: 0; padding: 0 !important; margin: 0; border: 0 !important; border-radius: 999px;
	background: rgba(20,20,22,.82) !important; color: var(--ec-text) !important; cursor: pointer;
	box-shadow: none !important; text-shadow: none; line-height: 1; font-size: 0;
}
.ec-hero .ec-hero__arrow { width: 50px; }
.ec-hero .ec-hero__arrow:first-child { border-radius: 999px 0 0 999px; }
.ec-hero .ec-hero__arrow:last-child { border-radius: 0 999px 999px 0; }
.ec-hero .ec-hero__dot { width: 28px; border-radius: 0; }
.ec-hero__dot span { display: block; width: 8px; height: 8px; border-radius: 999px; background: #71717A; transition: width .3s ease, background-color .3s ease; }
.ec-hero__dot[aria-current="true"] span { width: 22px; background: var(--ec-accent); }
.ec-hero__arrow:focus-visible, .ec-hero__dot:focus-visible { outline: 3px solid var(--ec-frost); outline-offset: -3px; }
.ec-hero .ec-hero__arrow:hover, .ec-hero .ec-hero__dot:hover { background: rgba(20,20,22,.95) !important; }

@media (max-width: 767px) {
	.ec-slide { min-height: 560px; }
	.ec-slide__inner { padding: 36px 20px 84px; align-items: flex-end; gap: 24px; }
	.ec-slide__content { flex-basis: 100%; gap: 14px; }
	.ec-hero .ec-slide__title { font-size: 40px; line-height: 1.05; }
	.ec-hero .ec-slide__title.ec-font--cormorant { font-size: 44px; letter-spacing: .14em; }
	.ec-hero .ec-slide__title.ec-font--cinzel { font-size: 38px; }
	.ec-hero .ec-slide__tagline { font-size: 22px; }
	.ec-hero .ec-slide__text { font-size: 16px; }
	.ec-hero .ec-slide__note { font-size: 13px; }
	.ec-slide__actions { width: 100%; flex-direction: column; gap: 10px; }
	.ec-slide__actions .ec-btn { width: 100%; }
	.ec-slide__poster { display: none; }
	.ec-slide--paper .ec-slide__inner { align-items: center; text-align: center; }
	.ec-slide--paper .ec-slide__content { align-items: center; }
	.ec-slide__shade, .ec-slide--night .ec-slide__shade { background: linear-gradient(180deg, rgba(20,20,22,.15) 0%, rgba(20,20,22,.92) 70%); }
	.ec-hero__pill { justify-content: center; }
}

/* ---------- Room cards ---------- */
.ec-rooms { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.ec-room {
	flex: 0 1 330px; min-width: 0;
	display: flex; flex-direction: column;
	background: var(--ec-surface); border: 1px solid var(--ec-line); border-radius: 16px; overflow: hidden;
	color: var(--ec-text);
}
.ec-room--night { background: var(--ec-night); border-color: rgba(232,180,96,.45); color: #EEF3FA; }
.ec-room__media { position: relative; aspect-ratio: 768 / 692; background: #0B0B0C; }
.ec-room__media img { display: block; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.ec-room__desc {
	position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
	padding: 20px; background: rgba(14,14,16,.9); color: var(--ec-text);
	opacity: 0; transition: opacity .35s ease; pointer-events: none;
}
.ec-room--night .ec-room__desc { background: rgba(8,16,26,.9); color: #EEF3FA; }
.ec-room__ribbon {
	position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
	display: flex; align-items: center; justify-content: center; gap: 7px;
	padding: 8px 12px; background: var(--ec-accent); color: var(--ec-ink);
	font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2; text-align: center;
	box-shadow: 0 -6px 18px rgba(0,0,0,.25);
}
.ec-room--night .ec-room__ribbon { background: var(--ec-gold); color: #141416; }
.ec-room__media--ribbon .ec-room__desc { padding-bottom: 50px; }
.ec-room__desc-label { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ec-accent); }
.ec-room--night .ec-room__desc-label { color: #F6D79B; }
.ec-rooms .ec-room__desc p { margin: 0; font-size: 15px; line-height: 1.55; color: inherit; }
.ec-room__body { display: flex; flex-direction: column; gap: 12px; padding: 18px; flex-grow: 1; }
.ec-room__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ec-rooms .ec-room__name { margin: 0; padding: 0; font-family: 'Figtree', system-ui, sans-serif; font-size: 21px; font-weight: 800; line-height: 1.2; color: inherit; text-transform: none; letter-spacing: 0; }
.ec-room__badge { flex: 0 0 auto; padding: 4px 10px; border-radius: 999px; background: var(--ec-surface-2); font-size: 12px; font-weight: 700; color: var(--ec-accent); }
.ec-room--night .ec-room__badge { background: rgba(232,180,96,.16); border: 1px solid rgba(232,180,96,.5); color: #F6D79B; }
.ec-rooms .ec-room__blurb { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ec-muted); }
.ec-room--night .ec-room__blurb { color: #C9D6E6; }
.ec-room__stats {
	margin: 0; padding: 12px 0;
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px;
	border-top: 1px solid var(--ec-line); border-bottom: 1px solid var(--ec-line);
}
.ec-room--night .ec-room__stats { border-color: #23344A; }
.ec-room__stats > div { display: flex; flex-direction: column-reverse; gap: 2px; min-width: 0; }
.ec-room__stats dt { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ec-muted); }
.ec-room--night .ec-room__stats dt { color: #C9D6E6; }
.ec-room__stats dd { margin: 0; font-size: 18px; font-weight: 800; color: inherit; }
.ec-rooms .ec-room__note { margin: 0; font-size: 13px; line-height: 1.45; color: var(--ec-muted); }
.ec-room__book { margin-top: auto; min-height: 48px; font-size: 16px; width: 100%; }
.ec-room--night .ec-room__book { background: var(--ec-gold); }

@media (hover: hover) and (min-width: 1025px) {
	.ec-room:hover .ec-room__desc, .ec-room:focus-within .ec-room__desc { opacity: 1; }
	.ec-room .ec-room__blurb, .ec-room .ec-room__note { display: none; }
}
@media (hover: none), (max-width: 1024px) {
	.ec-room__desc { display: none; }
}

@media (max-width: 767px) {
	.ec-rooms {
		flex-wrap: nowrap; justify-content: flex-start; gap: 12px;
		overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
		margin: 0 -16px; padding: 0 16px 12px; scroll-padding: 0 16px;
		scrollbar-width: none;
	}
	.ec-rooms::-webkit-scrollbar { display: none; }
	.ec-room { flex: 0 0 calc(100% - 44px); max-width: 340px; scroll-snap-align: start; }
	.ec-room__stats dt { font-size: 11px; letter-spacing: .04em; }
	.ec-room__stats dd { font-size: 17px; }
}
.ec-room__stats dt, .ec-room__stats dd { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Phone book bar ---------- */
.ec-bookbar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990;
	display: none; gap: 10px;
	padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
	background: var(--ec-ink); border-top: 1px solid var(--ec-line);
	box-shadow: 0 -4px 16px rgba(0,0,0,.25);
}
.ec-bookbar__call {
	flex: 0 0 52px; height: 52px; display: flex; align-items: center; justify-content: center;
	border-radius: 999px; background: var(--ec-surface-2); color: var(--ec-text) !important; text-decoration: none;
}
.ec-bookbar__book { flex: 1; }
@media (max-width: 767px) {
	.ec-bookbar { display: flex; }
	body.ec-has-bookbar { padding-bottom: 76px; }
}
.elementor-editor-active .ec-bookbar { display: flex; position: relative; z-index: 1; }
.elementor-editor-active .ec-bookbar::after {
	content: 'Phones only: pinned to the bottom of the screen';
	position: absolute; right: 16px; top: -22px; font-size: 11px; color: #71717A;
}

/* ---------- Site skin ---------- */
/* The layer itself must not create a stacking context: the art sits behind the page (z-index -1)
   while the side banners sit above it (z-index 5). */
.ec-skin__layer { position: absolute; top: 0; left: 0; right: 0; bottom: 0; pointer-events: none; z-index: auto; }
.ec-skin > .ec-skin__layer { display: none; }
.ec-skin__bg { position: absolute; top: 0; left: 0; right: 0; height: 1500px; overflow: hidden; z-index: -1; }
.ec-skin__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; max-width: none; display: block; }
.ec-skin__fade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,16,26,.25) 0%, rgba(8,16,26,.35) 55%, var(--ec-skin-base, #08101A) 100%); }
.ec-skin__snow {
	position: absolute; inset: 0;
	background-image:
		radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,.9) 50%, transparent 51%),
		radial-gradient(1.5px 1.5px at 120px 90px, rgba(255,255,255,.7) 50%, transparent 51%),
		radial-gradient(2.5px 2.5px at 70px 160px, rgba(255,255,255,.85) 50%, transparent 51%);
	background-size: 180px 200px, 160px 140px, 220px 240px;
	animation: ec-snow 14s linear infinite;
}
@keyframes ec-snow { from { background-position: 0 0, 0 0, 0 0; } to { background-position: 40px 600px, -30px 400px, 15px 300px; } }

.ec-skin__gutters { position: absolute; left: 0; right: 0; bottom: 0; top: 0; display: none; z-index: 5; }
.ec-skin__side {
	position: absolute; top: 0; bottom: 0;
	width: calc((100% - var(--ec-skin-width, 1100px)) / 2);
	overflow: clip; pointer-events: none;
	color: #EEF3FA;
}
.ec-skin__side--left { left: 0; }
.ec-skin__side--right { right: 0; }
.ec-skin__stick { position: sticky; top: 24px; display: flex; flex-direction: column; align-items: center; gap: 26px; padding: 48px 0; }
.ec-skin__word {
	writing-mode: vertical-rl;
	font-family: 'Cinzel', serif; font-weight: 600; font-size: clamp(52px, 5.6vw, 84px); line-height: 1; letter-spacing: .14em; white-space: nowrap;
	background: linear-gradient(180deg, var(--ec-skin-bottom, #DCE8F5) 0%, var(--ec-skin-accent, #E8B460) 55%, var(--ec-skin-top, #F6D79B) 100%);
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.ec-skin__word--left {
	transform: rotate(180deg);
	background: linear-gradient(180deg, var(--ec-skin-top, #F6D79B) 0%, var(--ec-skin-accent, #E8B460) 45%, var(--ec-skin-bottom, #DCE8F5) 100%);
	-webkit-background-clip: text; background-clip: text;
}
.ec-skin__flake { color: var(--ec-skin-bottom, #DCE8F5); animation: ec-glow 3s ease-in-out infinite; }
@keyframes ec-glow { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }
.ec-skin__small { writing-mode: vertical-rl; transform: rotate(180deg); font-family: 'Cinzel', serif; font-size: 18px; letter-spacing: .2em; color: var(--ec-skin-bottom, #DCE8F5); white-space: nowrap; }
.ec-skin__btn {
	display: flex; align-items: center; justify-content: center; width: 112px; height: 48px; border-radius: 999px;
	background: var(--ec-skin-accent, #E8B460); color: #141416 !important; font-weight: 800; font-size: 16px;
	box-shadow: 0 0 24px rgba(232,180,96,.45);
	pointer-events: auto; text-decoration: none !important; transition: filter .15s ease, transform .15s ease;
}
.ec-skin__btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.ec-skin__btn:focus-visible, .ec-skin__strip-btn:focus-visible { outline: 3px solid var(--ec-skin-bottom, #DCE8F5); outline-offset: 3px; }
.ec-skin__note { max-width: 120px; text-align: center; font-size: 12px; line-height: 1.45; color: #C9D6E6; }

.ec-skin__strip {
	display: none; align-items: center; justify-content: space-between; gap: 12px;
	padding: 10px 16px; background: var(--ec-skin-base, #08101A); border-bottom: 1px solid rgba(232,180,96,.35);
	color: #EEF3FA;
}
.ec-skin__strip img { height: 44px; width: auto; max-width: 45%; display: block; }
.ec-skin__strip-name { font-family: 'Cinzel', serif; font-weight: 700; font-size: 18px; letter-spacing: .08em; }
.ec-skin__strip-text { flex: 1; font-size: 13px; line-height: 1.3; color: #C9D6E6; }
.ec-skin__strip-btn {
	flex: 0 0 auto; display: flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px;
	background: var(--ec-skin-accent, #E8B460); color: #141416 !important; font-weight: 800; font-size: 14px;
	text-decoration: none !important;
}

/* Skin switched on (classes added by the script) */
html.ec-skin-on { background: var(--ec-skin-base, #08101A); }
body.ec-skin-active { position: relative; background: transparent !important; }
body.ec-skin-active .fl-page,
body.ec-skin-active .fl-page-content { background: transparent !important; }
body.ec-skin-active .ec-slide--night { background: transparent; }
body.ec-skin-active .ec-slide--night .ec-slide__bg,
body.ec-skin-active .ec-slide--night .ec-slide__shade { display: none; }

@media (min-width: 1300px) {
	.ec-skin__gutters { display: block; }
	body.ec-skin-active .fl-page-content > .elementor { max-width: var(--ec-skin-width, 1100px); margin-left: auto; margin-right: auto; }
}
@media (max-width: 1299px) {
	.ec-skin__strip { display: flex; }
}
.elementor-editor-active .ec-skin__strip { display: flex; }

@media (prefers-reduced-motion: reduce) {
	.ec-hero__track, .ec-room__desc, .ec-btn { transition: none; }
	.ec-skin__snow, .ec-skin__flake { animation: none; }
}
