/*
Theme Name: StayNexus Demo
Theme URI: https://pluginpros.co
Author: StayNexus Demo
Description: Child theme for the StayNexus Hotel Manager demo — daily data reset and limited admin access to the plugin only.
Template: twentytwentyfive
Requires at least: 6.7
Tested up to: 7.1
Requires PHP: 7.2
Version: 1.0.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: staynexus-demo
Tags: full-site-editing, block-themes
*/

/* ------------------------------------------------------------------
   Shared demo type scale (match header / creds / footer)
------------------------------------------------------------------- */
body.home,
body.home p,
body.home .wp-block-paragraph {
	font-family: "Manrope", system-ui, -apple-system, sans-serif !important;
	font-weight: 400;
	letter-spacing: normal;
}

body.home {
	font-size: 16px !important;
	line-height: 1.5 !important;
}

body.home .staynexus-demo-header .wp-block-site-title,
body.home .staynexus-demo-header .wp-block-site-title a {
	font-size: 1.35rem !important;
	line-height: 1.25 !important;
	font-weight: 700 !important;
}

body.home .staynexus-demo-header__tagline {
	font-size: 0.75rem !important;
	line-height: 1.4 !important;
	font-weight: 500 !important;
}

body.home .staynexus-demo-header .wp-block-navigation,
body.home .staynexus-demo-header .wp-block-navigation a,
body.home .staynexus-demo-header .wp-block-navigation-item__content {
	font-size: 0.95rem !important;
	font-weight: 500 !important;
}

body.home .staynexus-demo-creds,
body.home .staynexus-demo-creds p,
body.home .staynexus-demo-creds__text {
	font-size: 0.95rem !important;
	line-height: 1.45 !important;
	font-weight: 400 !important;
	color: #f7fafc !important;
}

body.home .staynexus-demo-creds__text strong {
	font-size: inherit !important;
	font-weight: 700 !important;
	color: #ffffff !important;
}

body.home .staynexus-demo-creds__text a {
	font-size: inherit !important;
	font-weight: 500 !important;
	color: #d7eef8 !important;
}

body.home .staynexus-demo-footer h3 {
	font-size: 1.25rem !important;
	font-weight: 700 !important;
	line-height: 1.3 !important;
}

body.home .staynexus-demo-footer h4 {
	font-size: 0.75rem !important;
	font-weight: 600 !important;
	letter-spacing: 0.08em !important;
}

body.home .staynexus-demo-footer p {
	font-size: 0.95rem !important;
	line-height: 1.65 !important;
	font-weight: 400 !important;
	color: #c5d8e2 !important;
}

/* ------------------------------------------------------------------
   Home atmosphere — keep side gutters transparent so the photo shows
------------------------------------------------------------------- */
html:has(body.home),
body.home {
	background-color: transparent !important;
}

body.home {
	background-image:
		linear-gradient(
			180deg,
			rgba(8, 28, 42, 0.42) 0%,
			rgba(12, 42, 58, 0.55) 40%,
			rgba(8, 28, 42, 0.78) 100%
		),
		url("https://images.unsplash.com/photo-1582719508461-905c673771fd?auto=format&fit=crop&w=2000&q=80") !important;
	background-position: center center !important;
	background-size: cover !important;
	background-repeat: no-repeat !important;
	background-attachment: fixed !important;
}

body.home .wp-site-blocks,
body.home .wp-site-blocks > *,
body.home main.staynexus-demo-main,
body.home main.wp-block-group,
body.home .entry-content,
body.home .wp-block-post-content,
body.home .wp-block-group:not(.staynexus-demo-header):not(.staynexus-demo-footer):not(.staynexus-demo-creds) {
	background: transparent !important;
	background-color: transparent !important;
}

body.home #shmpp-frontend-root,
body.home .shmpp-frontend-app {
	background: transparent !important;
	padding: 0 !important;
	max-width: 1100px;
	margin-inline: auto;
}

/* "Available rooms" section title + intro on photo background */
body.home #shmpp-frontend-root h2.font-display.text-2xl.font-bold.text-brand-950 {
	color: #ffffff !important;
}

body.home #shmpp-frontend-root h2.font-display.text-2xl.font-bold.text-brand-950 + p.text-sm.text-brand-600 {
	color: rgba(255, 255, 255, 0.92) !important;
}

body.home main.staynexus-demo-main {
	min-height: 65vh;
}

/* ------------------------------------------------------------------
   Demo credentials bar
------------------------------------------------------------------- */
.staynexus-demo-creds {
	background: rgba(255, 255, 255, 0.14) !important;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.16);
	width: 100%;
	max-width: none !important;
}

.staynexus-demo-creds__text {
	margin: 0 !important;
	color: #f7fafc !important;
	font-size: 0.95rem !important;
	line-height: 1.45 !important;
	font-weight: 400 !important;
}

.staynexus-demo-creds__text strong {
	color: #ffffff;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.staynexus-demo-creds__text a {
	color: #d7eef8 !important;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.staynexus-demo-creds__text a:hover {
	color: #ffffff !important;
}

/* ------------------------------------------------------------------
   Header
------------------------------------------------------------------- */
body.home .staynexus-demo-header,
.staynexus-demo-header {
	background: rgba(8, 28, 42, 0.82) !important;
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	width: 100%;
	max-width: none !important;
}

.staynexus-demo-header .wp-block-site-title,
.staynexus-demo-header .wp-block-site-title a {
	color: #f7fafc !important;
	text-decoration: none !important;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.staynexus-demo-header .wp-block-navigation,
.staynexus-demo-header .wp-block-navigation a,
.staynexus-demo-header .wp-block-navigation-item__content {
	color: #e8f1f5 !important;
}

.staynexus-demo-header .wp-block-navigation a:hover,
.staynexus-demo-header .wp-block-navigation-item__content:hover {
	color: #ffffff !important;
}

.staynexus-demo-header__tagline {
	margin: 0 !important;
}

/* ------------------------------------------------------------------
   Footer
------------------------------------------------------------------- */
body.home .staynexus-demo-footer,
.staynexus-demo-footer {
	background: rgba(6, 22, 34, 0.92) !important;
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	width: 100%;
	max-width: none !important;
	color: #e8f1f5;
}

.staynexus-demo-footer__rule {
	border: 0;
	height: 1px;
	opacity: 1;
}

.staynexus-demo-footer a {
	color: #c5d8e2;
}

@media (max-width: 781px) {
	body.home {
		background-attachment: scroll !important;
	}

	body.home #shmpp-frontend-root,
	body.home .shmpp-frontend-app {
		padding: 0 !important;
	}

	.staynexus-demo-header__tagline {
		display: none;
	}
}
