/* ========================================================================== */
/* CSS Reset Defaults */
/* ========================================================================== */

/* CSS Reset taken from [https://www.joshwcomeau.com/css/custom-css-reset/] */

/* 1. Use a more-intuitive box-sizing model */
*,
*::before,
*::after {
	box-sizing: border-box;
}

/* 2. Remove default margin */
*:not(dialog) {
	margin: 0;
}

/* 3. Enable keyword animations */
@media (prefers-reduced-motion: no-preference) {
	html {
		interpolate-size: allow-keywords;
	}
}

body {
	/* 4. Increase line-height */
	line-height: 1.5;
	/* 5. Improve text rendering */
	-webkit-font-smoothing: antialiased;

	font-family:
		Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
		"Segoe UI", Roboto, Arial, Helvetica, sans-serif;

	background-color: var(--clr-bg);
}

/* 6. Improve media defaults */
img,
picture,
video,
canvas,
svg {
	display: block;
	max-width: 100%;
}

/* 7. Inherit fonts for form controls */
input,
button,
textarea,
select {
	font: inherit;
}

/* 8. Avoid text overflows */
p,
h1,
h2,
h3,
h4,
h5,
h6 {
	overflow-wrap: break-word;
}

/* 9. Improve line wrapping */
p {
	text-wrap: pretty;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	text-wrap: balance;
}

/* 10. Create a root stacking context */
#root,
#__next {
	isolation: isolate;
}

/* ========================================================================== */
/* Root */
/* ========================================================================== */

:root {
	color-scheme: light dark;

	/* Used as the body background color. See above body tag section. */
	/* Show black background while hero section background images are loading. */
	--clr-bg: black;

	--clr-theme-brand: hsl(35.1 33% 58.4%);
	--clr-theme-line: hsl(35.1 33% 58.4%);
	--clr-theme-text: hsl(40 31.6% 92.5%);
	--clr-theme-text-hover: hsl(35.1 33% 58.4%);
	--clr-theme-text-hover-darker: hsl(35.1 43% 43.4%);
	--clr-theme-primary-text: hsl(36.8 44.3% 72.5%);

	--clr-brand-text: var(--clr-theme-brand);

	--clr-hero-title-text: var(--clr-theme-primary-text);

	--clr-footer-icon: var(--clr-theme-brand);
	--clr-footer-divider: var(--clr-theme-brand);
}

/* ========================================================================== */
/* Utility Classes */
/* ========================================================================== */

._no_wrap {
	white-space: nowrap;
}

/* ========================================================================== */
/* Main CSS */
/* ========================================================================== */

/* ========================================================================== */
/* [Hero] */

.hero {
	display: grid;
	grid-template-areas: "hero_stack";

	/* biome-ignore-start lint/suspicious/noDuplicateProperties: fallback */
	min-height: 100vh;
	min-width: 100vw;
	/* -- */
	min-height: 100dvh;
	min-width: 100dvw;
	/* biome-ignore-end lint/suspicious/noDuplicateProperties: fallback */

	overflow: hidden;
}

/* -------------------------------------------------------------------------- */
/* [Hero Background] */

/* Hero background dark overlay. */
.hero::before {
	grid-area: hero_stack;
	z-index: -10;

	/* Basic dark overlay across the whole hero. */
	background-color: hsl(0 0 0 / 70%);

	/* Extra darkness fading in from the top and bottomk. */
	background-image:
		linear-gradient(to bottom, hsla(0 0 0 / 80%) 0%, transparent 35%),
		linear-gradient(to top, hsla(0 0 0 / 80%) 0%, transparent 35%);

	content: "";
}

.hero-bg_wrapper {
	grid-area: hero_stack;
	z-index: -100;

	display: grid;
	grid-template-areas: "hero_bg_stack";
}

.hero-bg {
	grid-area: hero_bg_stack;

	width: 100%;
	height: 100%;

	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.hero-bg_1 {
	background-image: url("/images/backwaters-and-resort--1x1--2432x2432.webp");
}

/* -------------------------------------------------------------------------- */
/* [Hero Background: Media Queries] */

/* Media Query (aspect-ratio:   0 to 3/4) Tall mobile screens */
/* This is the DEFAULT Media Query */

/* Media Query (aspect-ratio: 3/4 to 1/1) Portrait or nearly square */
@media (aspect-ratio > 3 / 4) {
	.hero-bg_1 {
		background-image: url("/images/backwaters-and-resort--1x1--2432x2432.webp");
	}
}

/* Media Query (aspect-ratio: 1/1 to 3/2) Tablets and standard screens */
@media (aspect-ratio > 1 / 1) {
	.hero-bg_1 {
		background-image: url("/images/backwaters-and-resort--3x2--3333x2222.webp");
	}
}

/* Media Query (aspect-ratio: 3/2 to 2/1 and above) Desktop and landscape */
@media (aspect-ratio > 3 / 2) {
	.hero-bg_1 {
		background-image: url("/images/backwaters-and-resort--2x1--4352x2176.webp");
	}
}

/* -------------------------------------------------------------------------- */
/* [Hero Content] */

.hero-content {
	grid-area: hero_stack;
	z-index: 0;

	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: max-content 1fr max-content;
	grid-template-areas:
		"header"
		"main"
		"footer";
}

/* ========================================================================== */
/* [Header] */

.header {
	grid-area: header;

	display: flex;
	flex-direction: row;
	justify-content: start;

	padding: 1.5rem 6rem;
}

@media (width < 1440px) {
	.header {
		padding: 1.5rem 1.5rem;
	}
}

@media (width < 720px) {
	.header {
		justify-content: center;
	}
}

/* -------------------------------------------------------------------------- */
/* [Brand] */

.brand {
	display: flex;
	flex-direction: row;
	gap: 1em;

	text-decoration: none;

	/* Change this to scale the size of both brand_logo and brand_text */
	font-size: 1rem;
}

.brand_logo {
	height: 4em;
	width: auto;
	aspect-ratio: 1 / 1;
}

.brand_text {
	position: relative;

	display: flex;
	flex-direction: column;
	justify-content: center;

	font-size: 1em;
	white-space: nowrap;
}

.brand_text-name {
	display: block;
	color: var(--clr-brand-text);
	font-family: "SangBleu OG Sans Trial", Arial, Helvetica, sans-serif;
	font-size: 2em;
	font-weight: 400;
	line-height: 1;
	letter-spacing: 8.75%;
	white-space: nowrap;

	padding-top: 0.05em;
}

.brand_text-divider {
	display: block;
	width: 18.8em;
	height: 0.0625em;
	margin-top: 0.4em;
	margin-bottom: 0.2em;
	background: var(--clr-brand-text);
}

.brand_text-tagline {
	display: block;
	color: var(--clr-brand-text);
	font-family: "SangBleu OG Sans Trial", Arial, Helvetica, sans-serif;
	font-size: 0.905em;
	font-weight: 300;
	line-height: 2;
	letter-spacing: 46%;
	white-space: nowrap;
}

@media (width < 1280px) {
	.brand {
		font-size: 0.7rem;
	}
}

@media (width < 720px) {
	.brand {
		/* biome-ignore-start lint/suspicious/noDuplicateProperties: fallback */
		font-size: clamp(0.5rem, 1.5vw, 0.7rem);
		font-size: clamp(0.5rem, 1.5dvw, 0.7rem);
		/* biome-ignore-end lint/suspicious/noDuplicateProperties: fallback */
	}
}

@media (width < 300px) {
	.brand_text {
		display: none;
	}
}

/* ========================================================================== */
/* [Main] */

.main {
	grid-area: main;

	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;

	transform: translate(0, -15%);
}

@media (aspect-ratio < 3 / 4) {
	.main {
		transform: translate(0, -25%);
	}
}

/* -------------------------------------------------------------------------- */
/* [Title] */

.title {
	font-size: 2.5rem;

	margin-inline: 1rem;
	max-width: max-content;
}

.title-text {
	margin-left: -0.08em;

	max-width: max-content;

	color: var(--clr-hero-title-text);
	font-family: "SangBleu OG Sans Trial", Arial, Helvetica, sans-serif;
	font-size: 1em;
	font-style: normal;
	font-weight: 400;
	line-height: 0.88;
	text-wrap: nowrap;
}

.title-text-top {
	font-size: 1em;
	text-align: center;

	margin-bottom: 0.7em;
}

.title-text-bottom {
	font-size: 2em;
	text-align: center;
}

@media (width < 1440px) {
	.title {
		/* biome-ignore-start lint/suspicious/noDuplicateProperties: fallback */
		font-size: clamp(0.5rem, 3vw, 2rem);
		font-size: clamp(0.5rem, 3dvw, 2rem);
		/* biome-ignore-end lint/suspicious/noDuplicateProperties: fallback */
	}
}

@media (width < 720px) {
	.title {
		/* biome-ignore-start lint/suspicious/noDuplicateProperties: fallback */
		font-size: clamp(0.5rem, 4vw, 2rem);
		font-size: clamp(0.5rem, 4dvw, 2rem);
		/* biome-ignore-end lint/suspicious/noDuplicateProperties: fallback */
	}
}

@media (width < 350px) {
	.title {
		margin-inline: 0;
	}
}

/* ========================================================================== */
/* [Footer] */

.footer {
	grid-area: footer;

	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	gap: 5rem;

	padding: 1.5rem 6rem;
}

.footer-divider {
	display: block;
	height: 4rem;
	width: 0.0625rem;
	margin-top: 0.4rem;
	margin-bottom: 0.2rem;
	background: var(--clr-footer-divider);
}

.phone,
.email,
.insta {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 1rem;
}

.phone-icon,
.email-icon,
.insta-icon {
	color: var(--clr-footer-icon);
}

.phone-number_container,
.email-id_container,
.insta-id_container {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.phone-number,
.email-id,
.insta-id {
	color: var(--clr-footer-icon);

	font-family: "Liberation Sans", Arial, Helvetica, sans-serif;
	font-size: 1.5rem;
	font-weight: 400;
	letter-spacing: 10%;
	white-space: nowrap;

	text-decoration-line: underline;
	text-decoration-color: transparent;
	text-decoration-style: solid;
	text-decoration-thickness: 1px;
	text-underline-offset: 8px;

	transition: text-decoration-color 0.3s ease;
}

.phone-number:hover,
.email-id:hover,
.insta-id:hover {
	text-decoration-color: currentColor;
}

@media (width < 1440px) {
	.footer {
		padding: 1.5rem 1.5rem 1.5rem 1.5rem;
		gap: 1rem;
	}

	.phone-number,
	.email-id,
	.insta-id {
		font-size: 1rem;
	}
}

@media (width < 1200px) {
	.footer {
		flex-direction: column;
	}

	.footer-divider {
		display: none;
	}
}

/* ========================================================================== */
/* Fonts */
/* ========================================================================== */

@font-face {
	font-family: "SangBleu OG Sans Trial";
	font-display: swap;
	font-style: normal;
	font-weight: 400;
	src: url("/fonts/sang-bleu-og-sans-trial--regular--400.woff2") format("woff2");
}

@font-face {
	font-family: "SangBleu OG Sans Trial";
	font-display: swap;
	font-style: normal;
	font-weight: 300;
	src: url("/fonts/sang-bleu-og-sans-trial--light--300.woff2") format("woff2");
}

@font-face {
	font-family: "Liberation Sans";
	font-display: swap;
	font-style: normal;
	font-weight: 400;
	src:
		local("Liberation Sans"),
		local("LiberationSans"),
		url("/fonts/liberation-sans--regular--400.woff2") format("woff2");
}

/* ========================================================================== */
