/* Color Scheme */
:root {
	--color-accent: #f2c1d1;
	--color-primary: #356859;
	--color-secondary: #fcf7e9;
	--color-muted: #6e7f80;
	--error-red: #ff5656;
	--error-red-light: #ff939362;
	--font-base: 'Poppins', sans-serif;
}

* {
	box-sizing: border-box;
}

body, body::backdrop {
	margin: 0;
	font-family: var(--font-base);
	color: var(--color-muted);
	background: var(--color-secondary);
	line-height: 1.6;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	max-width: 100%;
	display: block;
}

hr {
	border: none;
	border-top: 1px solid var(--color-primary);
}

*:has(> deselect) {
	position: relative;
}
deselect {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	cursor: pointer;
}

/* Header & Nav */
header {
	position: fixed;
	width: 100%;
	top: 0;
	z-index: 100;
	background: var(--color-secondary);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

.nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 4rem;
}

.logo {
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--color-primary);
	display: flex;
}
.logo img {
	width: 2.25rem;
	height: 2.25rem;
	margin-right: 10px;
	display: inline-block;
}

.menu {
	display: flex;
	gap: 1rem;
	align-items: center;
}

.menu-item {
	position: relative;
	cursor: pointer;
	padding: 0.5rem 0;
}

.menu-item>a {
	font-weight: 500;
}

img.avatar {
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 50%;
	object-fit: cover;
}

#errorBox {
	color: var(--error-red);
	background: var(--error-red-light);
	padding: 0.5rem;
	border: 2px solid var(--error-red);
	border-radius: 7px;
	margin-bottom: 0.5rem;
}

/* Mobile Hamburger */
.hamburger {
	display: none;
	flex-direction: column;
	gap: 4px;
	cursor: pointer;
}

.hamburger div {
	width: 25px;
	height: 3px;
	background: var(--color-primary);
	transition: 0.3s;
}

@media (max-width:768px) {
	.menu {
		max-height: 0;
		overflow: hidden;
		flex-direction: column;
		position: fixed;
		top: 4rem;
		left: 0;
		right: 0;
		background: var(--color-secondary);
		padding: 0;
		transition: all 0.3s ease;
	}

	.menu.open {
		padding: 1rem;
		max-height: 100vh;
	}

	.hamburger {
		display: flex;
	}
}

/* Hero */
.hero {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	height: 85vh;
	color: var(--color-secondary);
	padding: 0 1rem;
}
.heroBackground {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 85vh;
	background: linear-gradient(rgba(53, 104, 89, 0.6), rgba(53, 104, 89, 0.6)), url('/assets/images/hero.jpg') center/cover no-repeat;
	background-attachment: fixed;
}
.settingsHeroBackground {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 85vh;
	background: linear-gradient(rgba(53, 104, 89, 0.6), rgba(53, 104, 89, 0.6)), url('/assets/images/settings.jpg') center/cover no-repeat;
	background-attachment: fixed;
}

.hero h1 {
	font-size: 3rem;
	margin-bottom: 1rem;
}

.hero p {
	font-size: 1.2rem;
	margin-bottom: 2rem;
}

button, .btn {
	background: var(--color-accent) !important;
	border: none;
	color: var(--color-primary);
	padding: 0.5rem 1.25rem;
	border-radius: 50px;
	font-weight: 500;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
	transition: opacity 0.2s ease;
	opacity: 0.9;
	cursor: pointer;
	font-size: 14px;
	margin: 5px 5px;
}
button:hover, .btn:hover {
	opacity: 1;
}
button.secondary, .btn.secondary {
	border: 2px solid var(--color-primary) !important;
	background: var(--color-secondary) !important;
	color: var(--color-primary);
}
button.square, .btn.square {
	border-radius: 5px;
}

*:has(> .float-bottom) {
	position: relative;
	padding-bottom: 60px !important;
}
.float-bottom {
	position: absolute;
	bottom: 1rem;
	transform: translateX(-50%);
	left: 50%;
}

/* Services */
section {
	padding: 4rem 0;
}

.section-title {
	text-align: center;
	font-size: 2.25rem;
	margin-bottom: 2rem;
}
#services {
	color: var(--color-primary);
}

.cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 2rem;
}

.card {
	background: var(--color-secondary);
	border-radius: 12px;
	padding: 2rem;
	text-align: center;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.card-icon {
	font-size: 2.5rem;
	margin-bottom: 1rem;
	color: var(--color-primary);
}

.card h3 {
	margin-bottom: 0.75rem;
	font-weight: 500;
}

.card p {
	font-size: 0.95rem;
	color: var(--color-muted);
}

/* About */
section.about {
	display: flex;
	justify-content: center;
	align-items: center;
	background: var(--color-primary);
	color: var(--color-secondary);
}
section.about .container {
	margin: 10px;
	max-width: 500px;
}
section.about img {
	border-radius: 50%;
	width: 200px;
	height: 200px;
	object-fit: cover;
	margin: 10px;
}

section.about p {
	max-width: 700px;
	margin: 1rem auto 0;
}

/* Footer */
footer {
	text-align: center;
	padding: 2rem 0;
	font-size: 0.9rem;
	color: var(--color-muted);
}

/* Smooth Scroll */
html {
	scroll-behavior: smooth;
}