/*
Theme Name: Hotelison Child
Description: Дочерняя тема для будущей вёрстки сайта «Отель и Сон».
Template: generatepress
Text Domain: hotelison-child
Version: 0.1.0
*/

/* Переменные и стили первого экрана тестового сайта. */
:root {
	--hotelison-gold: #B99A77;
	--hotelison-cream: #FFFDF5;
	--hotelison-deep-green: #003F3A;
}

.hotelison-home,
.hotelison-home #page,
.hotelison-home #content,
.hotelison-home .site {
	margin: 0;
	background: #111;
}

.hotelison-home .site-header,
.hotelison-home .site-footer,
.hotelison-home #wpadminbar + .site-header {
	display: none;
}

.hotelison-main {
	width: 100%;
	margin: 0;
}

.hotelison-hero {
	position: relative;
	width: 100%;
	min-height: 100vh;
	min-height: 100svh;
	overflow: hidden;
	background: #172723;
	color: var(--hotelison-cream);
}

.hotelison-hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	background: #172723;
}

.hotelison-header {
	position: absolute;
	z-index: 2;
	top: 0;
	left: 0;
	width: 100%;
	padding: 24px 24px 0;
}

.hotelison-nav {
	display: flex;
	justify-content: center;
	gap: clamp(18px, 2vw, 30px);
}

.hotelison-nav a {
	color: var(--hotelison-cream);
	font: 400 14px/1.2 Arial, sans-serif;
	text-decoration: none;
	text-shadow: 0 1px 10px rgba(0, 0, 0, .36);
	transition: color .2s ease;
}

.hotelison-nav a:hover,
.hotelison-nav a:focus-visible {
	color: var(--hotelison-gold);
}

.hotelison-hero__content {
	position: relative;
	z-index: 1;
	display: flex;
	min-height: 100vh;
	min-height: 100svh;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	padding: clamp(155px, 24vh, 285px) 24px 60px;
	text-align: center;
}

.hotelison-hero h1 {
	margin: 0;
	color: var(--hotelison-gold);
	font: 400 clamp(52px, 6.5vw, 124px)/.98 Rosalinda, Georgia, serif;
	letter-spacing: .035em;
	text-shadow: 0 1px 12px rgba(0, 0, 0, .24);
	white-space: nowrap;
}

.hotelison-hero__content > p {
	margin: 18px 0 0;
	color: var(--hotelison-gold);
	font: 500 clamp(16px, 1.45vw, 22px)/1.3 Arial, sans-serif;
	letter-spacing: .015em;
	text-shadow: 0 1px 10px rgba(0, 0, 0, .28);
}

.hotelison-hero__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 18px 26px;
	margin-top: 38px;
}

.hotelison-button {
	display: inline-flex;
	min-height: 58px;
	align-items: center;
	justify-content: space-between;
	gap: 26px;
	padding: 15px 22px;
	border: 1px solid rgba(255, 253, 245, .75);
	border-radius: 999px;
	background: rgba(0, 63, 58, .18);
	color: var(--hotelison-cream);
	font: 700 13px/1 Arial, sans-serif;
	letter-spacing: .02em;
	text-decoration: none;
	text-shadow: 0 1px 10px rgba(0, 0, 0, .32);
	transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.hotelison-button:hover,
.hotelison-button:focus-visible {
	border-color: var(--hotelison-cream);
	background: rgba(0, 63, 58, .38);
	color: var(--hotelison-cream);
	transform: translateY(-2px);
}

.hotelison-button span {
	font-size: 17px;
}

.hotelison-splash {
	position: fixed;
	z-index: 99999;
	inset: 0;
	display: grid;
	place-items: center;
	background: #fdfcf9;
	color: #1a1a1a;
	opacity: 1;
	visibility: visible;
	transition: opacity .65s ease, visibility 0s linear .65s;
}

.hotelison-splash.is-hidden {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.hotelison-splash__inner {
	display: flex;
	max-width: 900px;
	flex-direction: column;
	align-items: center;
	padding: 40px 20px;
	text-align: center;
	transform: translateY(-2vh);
}

.hotelison-splash__line {
	opacity: 0;
	transform: translateY(15px);
	transition: opacity .7s ease, transform .7s ease;
}

.hotelison-splash__line.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.hotelison-splash__sub {
	margin: 20px 0 16px;
	color: #2a2a2a;
	font: 400 14px/1.2 Arial, sans-serif;
	letter-spacing: .15em;
	text-transform: uppercase;
}

.hotelison-splash__sub .splash-letter {
	display: inline-block;
	opacity: 0;
	transform: translateY(7px);
}

.hotelison-splash__sub.is-visible .splash-letter {
	animation: hotelison-letter-in .32s ease forwards;
	animation-delay: var(--letter-delay);
}

@keyframes hotelison-letter-in {
	to { opacity: 1; transform: translateY(0); }
}

.hotelison-splash__brand {
	margin: 0 0 30px;
	color: var(--hotelison-gold);
	font: 400 clamp(48px, 10vw, 128px)/1.1 Rosalinda, Georgia, serif;
	letter-spacing: .04em;
}

.hotelison-splash__brand span { color: var(--hotelison-gold); }

.hotelison-splash__caption {
	margin: 0;
	color: #1a1a1a;
	font: 400 clamp(16px, 2vw, 20px)/1.25 Arial, sans-serif;
}

.hotelison-splash__stars {
	display: flex;
	min-height: 50px;
	justify-content: center;
	gap: 12px;
	margin: 0 0 20px;
	opacity: 0;
	transition: opacity .5s ease;
}

.hotelison-splash__stars.is-visible { opacity: 1; }

.hotelison-splash__stars span {
	color: var(--hotelison-gold);
	font: 400 30px/1 Arial, sans-serif;
	opacity: 0;
	transform: scale(.3) rotate(-30deg) translateY(-30px);
	transition: all .6s cubic-bezier(.34, 1.56, .64, 1);
}

.hotelison-splash__stars span.is-visible {
	opacity: 1;
	transform: scale(1) rotate(0) translateY(0);
}

.hotelison-splash__stars span:nth-child(2) { transition-delay: .15s; }
.hotelison-splash__stars span:nth-child(3) { transition-delay: .3s; }
.hotelison-splash__stars span:nth-child(4) { transition-delay: .45s; }
.hotelison-splash__stars span:nth-child(5) { transition-delay: .6s; }

@media (max-width: 700px) {
	.hotelison-header { padding-top: 17px; }
	.hotelison-nav { gap: 12px; }
	.hotelison-nav a { font-size: 11px; }
	.hotelison-nav a:nth-child(3),
	.hotelison-nav a:nth-child(4) { display: none; }
	.hotelison-hero__content { padding-top: 22vh; }
	.hotelison-hero h1 { font-size: clamp(36px, 10vw, 56px); }
	.hotelison-hero__content > p { max-width: 310px; font-size: 17px; }
	.hotelison-hero__actions { width: min(100%, 320px); flex-direction: column; gap: 13px; margin-top: 30px; }
	.hotelison-button { width: 100%; }
	.hotelison-splash__sub { margin: 20px 0 16px; font-size: 12px; letter-spacing: .1em; }
	.hotelison-splash__brand { margin: 0 0 20px; }
	.hotelison-splash__stars { gap: 8px; min-height: 40px; }
	.hotelison-splash__stars span { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
	.hotelison-splash,
	.hotelison-splash__line,
	.hotelison-splash__stars,
	.hotelison-splash__stars span,
	.hotelison-button { transition: none; }
	.hotelison-splash__line,
	.hotelison-splash__sub .splash-letter,
	.hotelison-splash__stars,
	.hotelison-splash__stars span { opacity: 1; transform: none; animation: none; }
	.hotelison-hero__video { display: none; }
}


