/*
Theme Name: Executive Inn
Author: Amasstek LLC
Author URI: https://amasstek.net/
Version: 1.0
Text Domain: executiveinn
*/

@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap");

:root {
	--bg-color: #06341a;
	--bg-lighter: #0a4325;
	--primary-color: #e3d9bf;
	--primary-lighter: #f5efde;
	--secondary-color: #d4af37;
	--secondary-lighter: #f7cc42;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	color: var(--primary-color);
	font-family: "Montserrat", sans-serif;
}

section {
	padding: 3.5rem 0;
}

hgroup > h2 {
	font-size: 2.2rem;
	color: var(--bg-color);
	font-weight: 500;
	position: relative;
	text-align: center;
	margin-bottom: 3.5rem;
}

hgroup > h2:after {
	content: "";
	position: absolute;
	bottom: -14px;
	left: 50%;
	transform: translateX(-50%);
	width: 60px;
	height: 2px;
	background-color: var(--secondary-color);
}

hgroup.hero {
    background-color: var(--bg-color);
	font-family: 'Cormorant Garamond', Georgia, serif;
    color: var(--primary-lighter);
    padding: 10rem 2rem 5rem;
    text-align: center;
}

hgroup.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

hgroup.hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}


a[role="button"] {
	background-color: var(--secondary-color);
    color: var(--bg-color);
    border: none;
    padding: 0.9rem 2.2rem;
    font-size: 1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 10px 15px rgba(197, 177, 20, 0.2);
    text-decoration: none;
    font-family: "Montserrat", sans-serif;
    display: inline-block;
}

a[role="button"]:hover{
	background-color: var(--secondary-lighter);
	transform: translateY(-5px);
	box-shadow: 0 15px 20px rgba(197, 177, 20, 0.3);
}

.wrapper {
	max-width: 92%;
	min-width: 350px;
	margin: 0 auto;
	padding: 0 15px;
}

/* Navbar */

nav {
	display: flex;
	align-items: center;
	padding: 1rem 5%;
	position: fixed;
	width: 100vw;
	top: 0;
	left: 0;
	z-index: 1000;
	backdrop-filter: blur(10px);
	transition: 0.4s ease-out;
}

nav .nav-links {
	display: flex;
	list-style: none;
	flex: 1;
	color: var(--primary-color);
}

nav .nav-left {
	justify-content: flex-end;
}

nav .nav-right {
	justify-content: flex-start;
}

nav .nav-links li {
	margin: 0 1.5rem;
	position: relative;
}

nav .nav-mobile {
	display: none;
}

nav .nav-links a {
	text-decoration: none;
	font-size: 0.95rem;
	letter-spacing: 1px;
	text-transform: uppercase;
	font-weight: 500;
	transition: all 0.3s;
	padding: 0.5rem 0;
	color: inherit;
}

nav .nav-links a:hover {
	color: var(--secondary-color);
}

nav .nav-links a::after {
	content: "";
	position: absolute;
	width: 0;
	height: 2px;
	bottom: -6px;
	left: 0;
	background-color: var(--secondary-color);
	transition: width 0.3s ease;
}

nav .nav-links a:hover::after {
	width: 100%;
}

nav .logo {
	flex: 0 0 auto;
	height: 90px;
	display: flex;
	align-items: center;
	justify-content: center;
	transform: scale(1.1);
	transition: transform 0.3s ease, 0.4s ease-in-out;
}

nav .logo:hover {
	transform: scale(1.15);
}

nav .logo a {
	display: contents;
}

nav .logo img {
	height: 100%;
}

nav .toggler {
	display: none;
	background: none;
	border: none;
	color: var(--primary-color);
	font-size: 1.5rem;
	cursor: pointer;
}

@media (max-width: 992px) {
	nav {
		padding: 1rem 2%;
	}

	nav .nav-links li {
		margin: 0 1rem;
	}
}

@media (max-width: 768px) {
	hgroup.hero h1 {
		font-size: 2.5rem;
	}

	hgroup.hero p {
		font-size: 1.1rem;
	}

	nav .toggler {
		display: block;
	}

	nav {
		padding: 1rem 5%;
		justify-content: space-between;
	}

	nav .nav-links {
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		background: var(--bg-color);
		flex-direction: column;
		align-items: center;
		padding: 2rem 0;
		clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
		transition: clip-path 0.4s ease-in-out;
		box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
	}

	nav .nav-left,
	nav .nav-right {
		display: none;
	}

	nav .nav-mobile {
		display: flex;
		background-color: var(--bg-lighter);
		padding: 0.8rem 0;
	}

	nav .nav-links.active {
		clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
	}

	nav .nav-links li {
		margin: 1rem 0;
	}

	nav .logo {
		height: 70px;
		margin: 0 auto;
	}

	h2 {
		font-size: 2rem;
	}
}

/* Footer */

footer {
	background-color: #0a3415;
	color: #fff;
	padding: 70px 0 0;
	position: relative;
}

footer .wrapper {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 50px;
}

footer #footer-logo-img {
	max-width: 4rem;
	margin-bottom: 18px;
}

footer .tagline {
	font-family: "Playfair Display", serif;
	font-style: italic;
	color: var(--secondary-color);
	margin: 30px 0 0 0;
	letter-spacing: 0.5px;
}

footer .footer-section h3 {
	font-family: "Playfair Display", serif;
	font-size: 22px;
	font-weight: 500;
	margin-bottom: 25px;
	color: var(--secondary-color);
	letter-spacing: 0.5px;
}

footer .footer-section ul {
	list-style: none;
	column-count: 2;
	column-gap: 30px;
}

footer .footer-section ul li {
	margin-bottom: 14px;
	break-inside: avoid;
}

footer .footer-section a {
	color: #f5f5f5;
	text-decoration: none;
	transition: all 0.3s ease;
	font-size: 0.95rem;
}

footer .footer-section a:hover {
	color: var(--secondary-color);
}

footer .contact-info {
	display: flex;
	align-items: center;
	margin-bottom: 20px;
}

footer .contact-info svg {
	color: var(--secondary-color);
}

footer .contact-info p {
	margin-left: 15px;
	font-size: 0.95rem;
}

footer .social-media {
	display: flex;
	align-items: center;
}

footer .social-media a {
	width: 38px;
	height: 38px;
	background-color: rgba(212, 175, 55, 0.1);
	border-radius: 50%;
	transition: all 0.3s ease;
	border: 1px solid rgba(212, 175, 55, 0.3);
	position: relative;
	margin-left: 15px;
}

footer .social-media a:hover {
	background-color: var(--secondary-color);
	color: #0a3415;
	transform: translateY(-2px);
}

footer .social-media a svg {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

footer .sister-properties {
	display: flex;
	align-items: center;
	margin: 25px 0;
	padding: 20px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

footer .sister-properties span {
	font-weight: 500;
	margin-right: 15px;
}

footer .sister-properties .logo img {
	height: 85px;
}

footer .bottom-bar {
	background-color: rgba(0, 0, 0, 0.2);
	padding: 20px 0;
	text-align: center;
	color: rgba(255, 255, 255, 0.7);
	font-size: 14px;
	margin-top: 50px;
	letter-spacing: 0.3px;
}

@media (max-width: 768px) {
	footer .wrapper {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	footer .footer-section ul {
		column-count: 1;
	}
}
