/*
Theme Name: Sai Hotels
Theme URI:
Author: Sai Group of Hotels
Author URI:
Description: Custom WordPress block theme for Sai Hotels, hospitality, experiences, tours and fleet services.
Requires at least: 6.8
Tested up to: 7.1
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sai-hotels
Tags: full-site-editing, block-patterns, custom-colors, custom-logo, custom-menu, featured-images, wide-blocks
*/

/* =========================================================
   SAI HOTELS — HEADER
   ========================================================= */

.sai-header {
	background: #ffffff;
	position: relative;
	z-index: 100;
}

.sai-header__inner {
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
	padding-top: 18px;
	padding-bottom: 18px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
}

/* Logo */
.sai-header__logo {
	flex-shrink: 0;
}

.sai-header__logo img {
	display: block;
	width: 100px;
	height: auto;
}

/* Navigation + CTA */
.sai-header__actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 28px;
	margin-left: auto;
}

/* Navigation */
.sai-primary-nav {
	font-family: "Manrope", Arial, sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.2;
}

.sai-primary-nav .wp-block-navigation__container {
	display: flex;
	align-items: center;
	gap: 24px;
}

.sai-primary-nav .wp-block-navigation-item__content {
	color: #252321;
	text-decoration: none;
	transition: color 0.2s ease;
}

.sai-primary-nav .wp-block-navigation-item__content:hover,
.sai-primary-nav .wp-block-navigation-item__content:focus {
	color: #945862;
}

/* Book Now */
.sai-header__cta {
	margin: 0;
	flex-shrink: 0;
}

.sai-book-now .wp-block-button__link {
	background: #945862;
	color: #ffffff;
	border: 0;
	border-radius: 6px;
	padding: 12px 24px;
	font-family: "Manrope", Arial, sans-serif;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 1px;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	transition:
		background-color 0.2s ease,
		transform 0.2s ease;
}

.sai-book-now .wp-block-button__link:hover,
.sai-book-now .wp-block-button__link:focus {
	background: #7f4a53;
	color: #ffffff;
	transform: translateY(-1px);
}

/* Tablet */
@media (max-width: 1100px) {
	.sai-header__inner {
		gap: 20px;
	}

	.sai-header__actions {
		gap: 18px;
	}

	.sai-primary-nav .wp-block-navigation__container {
		gap: 16px;
	}

	.sai-primary-nav {
		font-size: 13px;
	}

	.sai-book-now .wp-block-button__link {
		padding: 11px 18px;
	}
}

/* Mobile */
@media (max-width: 781px) {
	.sai-header__inner {
		padding-top: 14px;
		padding-bottom: 14px;
	}

	.sai-header__logo img {
		width: 90px;
	}

	.sai-header__actions {
		gap: 12px;
	}

	.sai-primary-nav {
		order: 2;
	}

	.sai-header__cta {
		display: none;
	}

	.sai-primary-nav .wp-block-navigation__responsive-container-open {
		color: #252321;
	}

	.sai-primary-nav .wp-block-navigation__responsive-container {
		background: #f7f4f0;
		color: #252321;
	}

	.sai-primary-nav .wp-block-navigation__responsive-container-content {
		padding: 80px 28px 32px;
	}

	.sai-primary-nav
		.wp-block-navigation__responsive-container
		.wp-block-navigation__container {
		align-items: flex-start;
		gap: 22px;
		font-size: 20px;
	}
}


/* =========================================================
   SAI HOTELS — HOMEPAGE HERO
   ========================================================= */

.sai-home-main {
	margin: 0;
	padding: 0;
}

.sai-hero {
	position: relative;
	width: 100%;
	min-height: calc(100svh - 88px);
	overflow: hidden;
	background: #252321;
}

/* Background image */
.sai-hero__media {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0 !important;
	z-index: 0;
}

.sai-hero__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

/* Dark overlay for readability */
.sai-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background:
		linear-gradient(
			90deg,
			rgba(20, 18, 17, 0.55) 0%,
			rgba(20, 18, 17, 0.24) 58%,
			rgba(20, 18, 17, 0.10) 100%
		),
		linear-gradient(
			0deg,
			rgba(20, 18, 17, 0.48) 0%,
			rgba(20, 18, 17, 0) 58%
		);
}

/* Content wrapper */
.sai-hero__content {
	position: relative;
	z-index: 2;

	width: 100%;
	max-width: 1440px;
	min-height: calc(100svh - 88px);

	box-sizing: border-box;
	margin: 0 auto;

	padding:
		clamp(50px, 7vw, 96px)
		clamp(24px, 5vw, 72px)
		clamp(65px, 9vh, 110px);

	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: flex-start;
}

/* SAI TANGALLE */
.sai-hero__eyebrow {
	margin: 0 0 18px;

	color: #ffffff !important;

	font-family: "Manrope", Arial, sans-serif;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.2;

	letter-spacing: 2.5px;
	text-transform: uppercase;
}

/* Hero title */
.sai-hero__title {
	max-width: 780px;
	margin: 0;

	color: #ffffff !important;

	font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(3.6rem, 5.4vw, 5.7rem);
	font-weight: 400;
	line-height: 0.98;
	letter-spacing: -0.02em;
}

/* Description */
.sai-hero__description {
	max-width: 650px;

	margin: clamp(22px, 3vw, 30px) 0 0;

	color: rgba(255, 255, 255, 0.92) !important;

	font-family: "Manrope", Arial, sans-serif;
	font-size: clamp(15px, 1.2vw, 18px);
	font-weight: 400;
	line-height: 1.7;
}

/* CTA */
.sai-hero__buttons {
	margin-top: 30px;
}

.sai-hero__button .wp-block-button__link {
	background: #945862;
	color: #ffffff;

	border: 0;
	border-radius: 6px;

	padding: 14px 26px;

	font-family: "Manrope", Arial, sans-serif;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.2;

	letter-spacing: 1.2px;
	text-transform: uppercase;
	text-decoration: none;

	transition:
		background-color 0.2s ease,
		transform 0.2s ease;
}

.sai-hero__button .wp-block-button__link:hover,
.sai-hero__button .wp-block-button__link:focus {
	background: #7f4a53;
	color: #ffffff;
	transform: translateY(-2px);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {

	.sai-hero,
	.sai-hero__content {
		min-height: calc(100svh - 80px);
	}

	.sai-hero__title {
		max-width: 720px;
	}
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 781px) {

	.sai-hero,
	.sai-hero__content {
		min-height: calc(100svh - 70px);
	}

	.sai-hero__content {
		padding: 40px 22px 56px;
	}

	.sai-hero::after {
		background:
			linear-gradient(
				0deg,
				rgba(20, 18, 17, 0.72) 0%,
				rgba(20, 18, 17, 0.18) 72%
			);
	}

	.sai-hero__eyebrow {
		margin-bottom: 14px;
		font-size: 11px;
		letter-spacing: 2px;
	}

	.sai-hero__title {
		max-width: 100%;
		font-size: clamp(3rem, 14vw, 4.3rem);
		line-height: 0.98;
	}

	.sai-hero__description {
		max-width: 100%;
		margin-top: 20px;
		font-size: 15px;
		line-height: 1.6;
	}

	.sai-hero__buttons {
		margin-top: 26px;
	}

	.sai-hero__button .wp-block-button__link {
		padding: 13px 22px;
	}
}


/* =========================================================
   SAI HOTELS — BRAND INTRODUCTION
   ========================================================= */

.sai-intro {
	background: #f7f4f0;
	margin: 0;
	padding:
		clamp(100px, 11vw, 180px)
		clamp(24px, 5vw, 72px);
}

.sai-intro__inner {
	max-width: 1040px;
	margin: 0 auto;
	text-align: center;
}

/* Small label */
.sai-intro__eyebrow {
	margin: 0 0 28px;

	color: #945862;

	font-family: "Manrope", Arial, sans-serif;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.2;

	letter-spacing: 2.5px;
	text-transform: uppercase;
}

/* Main statement */
.sai-intro__title {
	max-width: 900px;
	margin: 0 auto;

	color: #252321;

	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: clamp(3rem, 5vw, 5.2rem);
	font-weight: 400;
	line-height: 1.02;
	letter-spacing: -0.02em;
}

/* Supporting text */
.sai-intro__text {
	max-width: 690px;
	margin:
		clamp(30px, 4vw, 44px)
		auto
		0;

	color: #68635f;

	font-family: "Manrope", Arial, sans-serif;
	font-size: clamp(15px, 1.15vw, 17px);
	font-weight: 400;
	line-height: 1.8;
}

/* Editorial link */
.sai-intro__link {
	margin: 34px 0 0;
}

.sai-intro__link a {
	display: inline-flex;
	align-items: center;
	gap: 10px;

	color: #252321;

	font-family: "Manrope", Arial, sans-serif;
	font-size: 12px;
	font-weight: 500;

	letter-spacing: 1.2px;
	text-transform: uppercase;
	text-decoration: none;

	padding-bottom: 7px;
	border-bottom: 1px solid rgba(37, 35, 33, 0.45);

	transition:
		color 0.2s ease,
		border-color 0.2s ease,
		gap 0.2s ease;
}

.sai-intro__link a:hover,
.sai-intro__link a:focus {
	color: #945862;
	border-color: #945862;
	gap: 14px;
}


/* =========================================================
   INTRO — MOBILE
   ========================================================= */

@media (max-width: 781px) {

	.sai-intro {
		padding:
			90px
			22px;
	}

	.sai-intro__eyebrow {
		margin-bottom: 22px;
	}

	.sai-intro__title {
		font-size: clamp(2.7rem, 12vw, 4rem);
		line-height: 1.02;
	}

	.sai-intro__text {
		margin-top: 26px;
		font-size: 15px;
		line-height: 1.7;
	}

	.sai-intro__link {
		margin-top: 28px;
	}
}