/*
 * Sai Lux Sunrise Living — site footer
 *
 * Navy ground, gold accents, cream text: the logo's own palette. The Entox
 * demo footer is hidden here rather than deleted, so the theme's template is
 * untouched and the change is fully reversible.
 */

/* --- Hide the inherited demo footer --------------------------------------- */
/* Entox wraps its footer Elementor template (id 128 on this install) in
   `.wrap_footer`. Hiding that wrapper leaves the theme files and the template
   itself completely untouched, so this is reversible by deleting one rule. */
.wrap_footer,
.entox_footer,
footer.footer,
.site-footer,
.elementor-location-footer {
	display: none !important;
}

/* --- Our footer ----------------------------------------------------------- */
.sls-ft {
	--ft-text:  rgba(255, 255, 255, .74);
	--ft-head:  #fff;

	position: relative;
	box-sizing: border-box;
	font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
	color: var(--ft-text);
	background:
		radial-gradient(58% 90% at 8% 0%, rgba(var(--b-gold-rgb), .18), transparent 62%),
		radial-gradient(48% 80% at 96% 100%, rgba(var(--b-gold-rgb), .12), transparent 60%),
		var(--b-navy-d);
	-webkit-font-smoothing: antialiased;
}

.sls-ft *, .sls-ft *::before, .sls-ft *::after { box-sizing: border-box; }

:where(.sls-ft) :where(ul, li) { list-style: none; margin: 0; padding: 0; }
:where(.sls-ft) :where(p) { margin: 0; }
:where(.sls-ft) :where(h2) { margin: 0; }
:where(.sls-ft) :where(address) { margin: 0; font-style: normal; }
.sls-ft ul, .sls-ft li { list-style: none !important; }

/* A thin gold rule across the very top — the sunrise line from the logo. */
.sls-ft::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 3px;
	background: linear-gradient(90deg, transparent, var(--b-gold) 22%, var(--b-gold-l) 50%, var(--b-gold) 78%, transparent);
}

.sls-ft__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.35fr);
	gap: 48px;
	max-width: 1240px;
	margin: 0 auto;
	padding: 68px 24px 52px;
}

/* --- Brand column --------------------------------------------------------- */
.sls-ft__logo {
	display: block;
	width: 132px;
	height: 132px;
	border-radius: 50%;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .38);
}

.sls-ft__tagline {
	margin-top: 22px;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.42;
	letter-spacing: -.015em;
	color: var(--b-gold-l);
}

.sls-ft__blurb {
	margin-top: 14px;
	max-width: 330px;
	font-size: 14.5px;
	line-height: 1.72;
	color: var(--ft-text);
}

/* --- Link columns --------------------------------------------------------- */
.sls-ft__col h2 {
	position: relative;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--ft-head);
	padding-bottom: 14px;
	margin-bottom: 18px;
}

.sls-ft__col h2::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 30px;
	height: 2px;
	border-radius: 2px;
	background: var(--b-gold);
}

.sls-ft__col ul { display: grid; gap: 11px; }

.sls-ft__col a {
	position: relative;
	display: inline-block;
	font-size: 14.5px;
	line-height: 1.5;
	color: var(--ft-text) !important;
	text-decoration: none !important;
	transition: color .2s ease, padding-left .2s ease;
}

.sls-ft__col a::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 0;
	height: 1.5px;
	border-radius: 2px;
	background: var(--b-gold-l);
	transform: translateY(-50%);
	transition: width .22s ease;
}

.sls-ft__col a:hover {
	color: #fff !important;
	padding-left: 15px;
}

.sls-ft__col a:hover::before { width: 9px; }

.sls-ft__col a:focus-visible {
	outline: 2px solid var(--b-gold-l);
	outline-offset: 3px;
	border-radius: 3px;
}

/* --- Contact column ------------------------------------------------------- */
.sls-ft__addr,
.sls-ft__row {
	display: flex;
	align-items: flex-start;
	gap: 11px;
	font-size: 14.5px;
	line-height: 1.68;
}

.sls-ft__row { align-items: center; margin-top: 14px; }

.sls-ft__addr svg,
.sls-ft__row svg {
	width: 18px;
	height: 18px;
	flex: none;
	margin-top: 3px;
	color: var(--b-gold-l);
}

.sls-ft__row svg { margin-top: 0; }

.sls-ft__row a {
	color: var(--ft-text) !important;
	text-decoration: none !important;
	word-break: break-word;
	transition: color .2s ease;
}

.sls-ft__row a:hover { color: var(--b-gold-l) !important; }

.sls-ft__travel-label {
	margin-top: 26px;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .5);
}

/* One column so both company buttons are exactly the same width, however
   different the two names are in length. */
.sls-ft__travel {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 9px;
	margin-top: 11px;
	max-width: 260px;
}

.sls-ft__travel a {
	display: block;
	text-align: center;
	font-size: 13px;
	font-weight: 600;
	color: var(--b-gold-l) !important;
	text-decoration: none !important;
	padding: 9px 13px;
	border-radius: 999px;
	border: 1px solid rgba(var(--b-gold-rgb), .42);
	background: rgba(var(--b-gold-rgb), .10);
	transition: background .2s ease, border-color .2s ease;
}

.sls-ft__travel a:hover {
	background: rgba(var(--b-gold-rgb), .22);
	border-color: var(--b-gold-l);
}

/* --- Bottom bar ----------------------------------------------------------- */
.sls-ft__bar {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 14px 24px;
	max-width: 1240px;
	margin: 0 auto;
	padding: 22px 24px 26px;
	border-top: 1px solid rgba(255, 255, 255, .10);
	font-size: 13.5px;
	color: rgba(255, 255, 255, .58);
}

.sls-ft__bar > p { margin: 0; }
.sls-ft__bar > p:first-child { justify-self: start; }

/* --- NiXel credit --------------------------------------------------------- */
.sls-ft__credit {
	justify-self: center;
	text-align: center;
	font-size: 13px;
	color: rgba(255, 255, 255, .50);
	white-space: nowrap;
}

.sls-ft__credit a {
	color: rgba(255, 255, 255, .74) !important;
	font-weight: 600;
	text-decoration: none !important;
	border-bottom: 1px solid rgba(var(--b-gold-rgb), .34);
	transition: color .2s ease, border-color .2s ease;
}

.sls-ft__credit a:hover {
	color: var(--b-gold-l) !important;
	border-bottom-color: var(--b-gold-l);
}

.sls-ft__bar-links { display: flex; flex-wrap: wrap; gap: 20px; justify-self: end; }

.sls-ft__bar-links a {
	color: rgba(255, 255, 255, .58) !important;
	text-decoration: none !important;
	transition: color .2s ease;
}

.sls-ft__bar-links a:hover { color: var(--b-gold-l) !important; }

/* --- Responsive ----------------------------------------------------------- */
@media (max-width: 1024px) {
	.sls-ft__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
}

@media (max-width: 600px) {
	.sls-ft__inner { grid-template-columns: 1fr; gap: 34px; padding: 48px 20px 36px; }
	.sls-ft__logo { width: 108px; height: 108px; }
	.sls-ft__bar { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 20px; }
	.sls-ft__bar > p:first-child,
	.sls-ft__bar-links { justify-self: center; }
	.sls-ft__credit { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
	.sls-ft__col a, .sls-ft__col a::before, .sls-ft__travel a { transition: none !important; }
}

@media print {
	.sls-ft { background: none; color: #000; }
	.sls-ft::before { display: none; }
	.sls-ft__col a, .sls-ft__row a, .sls-ft__bar-links a { color: #000 !important; }
	.sls-ft__tagline { color: #000; }
}

/* --- Book Now ------------------------------------------------------------- */
/* The footer is the other place people look for the booking link, so give the
   button room of its own rather than folding it into the contact rows. */
.sls-ft__book { margin: 18px 0 0; }
.sls-ft__book .sls-book-btn { padding: 12px 26px; font-size: 14px; }
