
/* General Body Styles */
body {
	width: 100%;
	background-color: #0f172a; /* Equivalent to bg-gray-900 */
	color: #d1d5db; /* Equivalent to text-gray-200 */
	min-height: 100vh;
	font-family: sans-serif; /* Equivalent to font-sans */
	-webkit-font-smoothing: antialiased; /* Equivalent to antialiased */
	-moz-osx-font-smoothing: grayscale;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-content: center;
	overflow-x: hidden;
}

body * {
	box-sizing: border-box;
}

/* Gradient Text */
.gradient-text {
	background: linear-gradient(90deg, #38bdf8 0%, #0ea5e9 50%, #0284c7 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* Glow Effect */
.glow-effect {
	box-shadow: 0 0 15px rgba(56, 189, 248, 0.5);
}

/* Map Container */
.map-container {
	position: relative;
	overflow: hidden;
	border-radius: 1rem;
}

.map-container::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(15, 23, 42, 0.2) 100%);
	z-index: 1;
}

/* Pulse Animation */
.pulse {
	animation: pulse 2s infinite;
}

@keyframes pulse {
	0% {
		transform: scale(1);
		opacity: 1;
	}
	50% {
		transform: scale(1.05);
		opacity: 0.8;
	}
	100% {
		transform: scale(1);
		opacity: 1;
	}
}

/* Map Styles */
#map {
	width: 100%;
	min-height: 50dvh;
	position: relative;
	top: 0;
	right: 0;
	z-index: 99;
}

/* Navigation */
nav {
	background-color: rgba(31, 41, 55, 0.8); /* bg-gray-800/80 */
	backdrop-filter: blur(10px); /* backdrop-blur-md */
	position: fixed;
	width: 100%;
	z-index: 50;
	display: none;
}

nav .max-w-7xl {
	max-width: 80rem; /* max-w-7xl */
	margin-left: auto;
	margin-right: auto;
	padding-left: 1rem; /* px-4 */
	padding-right: 1rem; /* px-4 */
}

@media (min-width: 640px) {
	nav .max-w-7xl {
		padding-left: 1.5rem; /* sm:px-6 */
		padding-right: 1.5rem; /* sm:px-6 */
	}
}

@media (min-width: 1024px) {
	nav .max-w-7xl {
		padding-left: 2rem; /* lg:px-8 */
		padding-right: 2rem; /* lg:px-8 */
	}
}

nav .flex-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 4rem; /* h-16 */
}

nav .flex-shrink-0 .gradient-text {
	font-size: 1.5rem; /* text-2xl */
	font-weight: 700; /* font-bold */
}

nav .mobile-menu-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.5rem; /* p-2 */
	border-radius: 0.375rem; /* rounded-md */
	color: #9ca3af; /* text-gray-400 */
}

nav .mobile-menu-button:hover {
	color: #ffffff; /* hover:text-white */
	background-color: #374151; /* hover:bg-gray-700 */
}

nav .mobile-menu-button:focus {
	outline: none;
}

nav .sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border-width: 0;
}

nav .mobile-menu {
	display: none; /* hidden */
}

@media (min-width: 768px) {
	nav .mobile-menu {
		display: none; /* md:hidden */
	}
}

nav .mobile-menu .menu-items {
	padding: 0.5rem 0.75rem 0.75rem; /* px-2 pt-2 pb-3 space-y-1 sm:px-3 */
}

nav .mobile-menu button {
	display: block;
	width: 100%;
	text-align: left;
	padding: 0.5rem 0.75rem;
	border-radius: 0.375rem;
	font-size: 1rem; /* text-base */
	font-weight: 500; /* font-medium */
	background-color: #0284c7; /* bg-primary-600 */
	color: #ffffff; /* text-white */
	transition: background-color 0.2s; /* transition-colors */
}

nav .mobile-menu button:hover {
	background-color: #0369a1; /* hover:bg-primary-700 */
}

/* Hero Section */
.hero-section {
	padding-top: 8rem; /* pt-32 */
	padding-bottom: 5rem; /* pb-20 */
	padding-top: 0;
	padding-bottom: 0;
	padding-left: 1rem; /* px-4 */
	padding-right: 1rem; /* px-4 */
	position: relative;
}

@media (min-width: 640px) {
	.hero-section {
		padding-left: 1.5rem; /* sm:px-6 */
		padding-right: 1.5rem; /* sm:px-6 */
	}
}

@media (min-width: 1024px) {
	.hero-section {
		padding-left: 2rem; /* lg:px-8 */
		padding-right: 2rem; /* lg:px-8 */
	}
}

.hero-section .max-w-7xl {
	max-width: 80rem; /* max-w-7xl */
	margin-left: auto;
	margin-right: auto;
}

.hero-section .grid-container {
	display: grid;
}

@media (min-width: 1024px) {
	.hero-section .grid-container {
		grid-template-columns: repeat(12, minmax(0, 1fr)); /* lg:grid-cols-12 */
		gap: 2rem; /* lg:gap-8 */
	}
}

.hero-section .text-container {
	text-align: center; /* sm:text-center */
}

@media (min-width: 640px) {
	.hero-section .text-container {
		max-width: 42rem; /* md:max-w-2xl */
		margin-left: auto;
		margin-right: auto;
	}
}

@media (min-width: 1024px) {
	.hero-section .text-container {
		grid-column: span 6 / span 6; /* lg:col-span-6 */
		text-align: left; /* lg:text-left */
	}
}

.hero-section h1 {
	font-size: 2.25rem; /* text-4xl */
	letter-spacing: -0.025em; /* tracking-tight */
	font-weight: 800; /* font-extrabold */
}

@media (min-width: 640px) {
	.hero-section h1 {
		font-size: 3rem; /* sm:text-5xl */
	}
}

@media (min-width: 768px) {
	.hero-section h1 {
		font-size: 3.75rem; /* md:text-6xl */
	}
}

.hero-section h1 .block {
	display: block;
}

.hero-section p {
	margin-top: 0.75rem; /* mt-3 */
	font-size: 1rem; /* text-base */
	color: #9ca3af; /* text-gray-400 */
}

@media (min-width: 640px) {
	.hero-section p {
		margin-top: 1.25rem; /* sm:mt-5 */
		font-size: 1.125rem; /* sm:text-lg */
		max-width: 36rem; /* sm:max-w-xl */
		margin-left: auto;
		margin-right: auto;
	}
}

@media (min-width: 768px) {
	.hero-section p {
		margin-top: 1.25rem; /* md:mt-5 */
		font-size: 1.25rem; /* md:text-xl */
	}
}

@media (min-width: 1024px) {
	.hero-section p {
		margin-left: 0; /* lg:mx-0 */
		margin-right: 0; /* lg:mx-0 */
	}
}

.hero-section .button-container {
	margin-top: 2rem; /* mt-8 */
	display: none;
}

@media (min-width: 640px) {
	.hero-section .button-container {
		max-width: 36rem; /* sm:max-w-lg */
		margin-left: auto;
		margin-right: auto;
		text-align: center; /* sm:text-center */
	}
}

@media (min-width: 1024px) {
	.hero-section .button-container {
		text-align: left; /* lg:text-left */
		margin-left: 0; /* lg:mx-0 */
		margin-right: 0; /* lg:mx-0 */
	}
}

.hero-section .button-flex-container {
	display: flex;
	flex-direction: column;
	gap: 0.75rem; /* gap-3 */
}

@media (min-width: 640px) {
	.hero-section .button-flex-container {
		flex-direction: row; /* sm:flex-row */
	}
}

.hero-section .button-primary {
	padding: 0.75rem 1.5rem; /* px-6 py-3 */
	background-color: #0284c7; /* bg-primary-600 */
	color: #ffffff; /* text-white */
	border-radius: 0.375rem; /* rounded-md */
	font-weight: 500; /* font-medium */
	transition: background-color 0.2s; /* transition-colors */
}

.hero-section .button-primary:hover {
	background-color: #0369a1; /* hover:bg-primary-700 */
}

.hero-section .button-secondary {
	padding: 0.75rem 1.5rem; /* px-6 py-3 */
	border: 1px solid #4b5563; /* border border-gray-700 */
	color: #ffffff; /* text-white */
	border-radius: 0.375rem; /* rounded-md */
	font-weight: 500; /* font-medium */
	transition: border-color 0.2s; /* transition-colors */
}

.hero-section .button-secondary:hover {
	border-color: #38bdf8; /* hover:border-primary-500 */
}

/* Map Section */
.map-section {
	padding-top: 0; /* pt-8 */
	position: relative;
}

/* Footer */
footer {
	background-color: #0f172a; /* bg-gray-900 */
	padding-top: 4rem; /* pt-16 */
	padding-bottom: 3rem; /* pb-12 */
	padding-top: 0;
}

footer .max-w-7xl {
	max-width: 80rem; /* max-w-7xl */
	margin-left: auto;
	margin-right: auto;
	padding-left: 1rem; /* px-4 */
	padding-right: 1rem; /* px-4 */
}

@media (min-width: 640px) {
	footer .max-w-7xl {
		padding-left: 1.5rem; /* sm:px-6 */
		padding-right: 1.5rem; /* sm:px-6 */
	}
}

@media (min-width: 1024px) {
	footer .max-w-7xl {
		padding-left: 2rem; /* lg:px-8 */
		padding-right: 2rem; /* lg:px-8 */
	}
}

footer .grid-container {
	display: grid;
}

@media (min-width: 1280px) {
	footer .grid-container {
		grid-template-columns: repeat(1, minmax(0, 1fr)); /* xl:grid-cols-1 */
		gap: 2rem; /* xl:gap-8 */
	}
}

footer .legal-container {
	margin-top: 3rem; /* mt-12 */
	display: grid;
	grid-template-columns: repeat(1, minmax(0, 1fr)); /* grid-cols-1 */
	gap: 2rem; /* gap-8 */
}

@media (min-width: 1280px) {
	footer .legal-container {
		margin-top: 0; /* xl:mt-0 */
		grid-column: span 2 / span 2; /* xl:col-span-2 */
	}
}

@media (min-width: 768px) {
	footer .legal-container .md-grid {
		display: grid;
		grid-template-columns: repeat(1, minmax(0, 1fr)); /* md:grid-cols-1 */
		gap: 2rem; /* md:gap-8 */
	}
}

footer h3 {
	font-size: 0.875rem; /* text-sm */
	font-weight: 600; /* font-semibold */
	color: #d1d5db; /* text-gray-300 */
	letter-spacing: 0.05em; /* tracking-wider */
	text-transform: uppercase; /* uppercase */
}

footer ul {
	margin-top: 1rem; /* mt-4 */
	display: flex;
	flex-direction: column;
	gap: 0.75rem; /* gap-3 */
	margin:0;
	padding-left: 0;
	list-style: none;
}

@media (min-width: 640px) {
	footer ul {
		flex-direction: row; /* sm:flex-row */
	}
}

footer ul li a {
	font-size: .75rem; /* text-base */
	color: #9ca3af; /* text-gray-400 */
	transition: color 0.2s; /* transition-colors */
	text-decoration: none;
	text-transform: uppercase;
}

footer ul li a:hover {
	color: #ffffff; /* hover:text-white */
}


#map {
	height: 400px;
	width: 100%;
	border-radius: 0.5rem;
	z-index: 0;
	border: 2px solid #fff;
	transition: box-shadow 0.3s;
	box-shadow: 0 10px 32px 0 rgba(0, 0, 0, 0.17);
}

#map:hover {
	box-shadow: 0 20px 40px 0 rgba(0, 0, 0, 0.20);
}

.leaflet-control-attribution {
	font-size: 9px;
}

.search-container {
	position: relative;
	z-index: 1000;
	display: none !important;
}

.search-results {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: #0f172a;
	border-radius: 0 0 0.5rem 0.5rem;
	max-height: 200px;
	overflow-y: auto;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
	display: none;
}

.search-results.show {
	display: block;
}

.font-medium {
	font-weight: 600;
}

.search-result-item {
	padding: 0.75rem;
	cursor: pointer;
	border-bottom: 1px solid #e5e7eb;
}

.search-result-item:hover {
	background-color: #f3f4f6;
}

.pulse {
	animation: pulse 1.5s infinite;
}

@keyframes pulse {
	0% {
		transform: scale(1);
	}

	50% {
		transform: scale(1.05);
	}

	100% {
		transform: scale(1);
	}
}

/* Utility replacements */
.container-root {
	width: 100%;
	max-width: 48rem;
	max-width: 100%;
	margin:0 auto;
}

.custom-card {
	width: 100%;
	margin:0 auto;
	border-radius: 0;
	
	overflow: hidden;
	transition: box-shadow 0.3s;
	background: #0597db17;
}

.custom-card:hover {
	
}

.p-6 {
	padding: 1.5rem;
}

.mb-4 {
	margin-bottom: 1rem;
}

.search-container {
	margin-bottom: 1rem;
}

.relative {
	position: relative;
}

.absolute {
	position: absolute;
}

.left-4 {
	left: 1rem;
}

.right-4 {
	right: 1rem;
}

.top-50 {
	top: 50%;
}

.transform-translate-center {
	transform: translateY(-50%);
}

.rounded-lg {
	border-radius: 0.75rem;
}

.rounded-xl {
	border-radius: 1rem;
}

.rounded-full {
	border-radius: 9999px;
}

#locationInput {
	width: 100%;
	padding: 1rem 4rem 1rem 3rem;
	border-radius: 0.75rem;
	border: 1px solid #d1d5db;        /* gray-300 */
	outline: none;
	box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05);
	font-size: 1rem;
	transition: border-color 0.2s, box-shadow 0.2s; 
}

#searchButton {
	position: absolute;
	right: 1rem;
	top: 50%;
	transform: translateY(-50%);
	background: #2563eb; /* blue-600 */
	color: #fff;
	padding: 0.5rem 1rem;
	border-radius: 0.75rem;
	border: none;
	font-size: 1rem;
	transition: background 0.2s;
}

/* Button disables text selection */
button {
	user-select: none;
	cursor: pointer;
}
button#clearMarkers {
	padding: 0.25rem 0.75rem;
	background: #e5e7eb; /* gray-200 */
	border-radius: 0.75rem;
	color: #374151; /* gray-700 */
	font-size: 0.875rem;
	border: none;
	transition: background 0.15s;
}
button#locateMe {
	padding: 0.25rem 0.75rem;
	background: #dbeafe; /* blue-100 */
	border-radius: 0.75rem;
	color: #1d4ed8; /* blue-700 */
	font-size: 0.875rem;
	border: none;
	display: flex;
	align-items: center;
	gap: .25rem;
	transition: background 0.15s;
}

#map-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	margin-top: 2rem;
}

#map-footer > div:nth-of-type(1) {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.875rem;
	color: #FFFFFF;
	margin-bottom: 1em;
}

#map-footer > div:nth-of-type(2) {
	display: flex;
	gap: 0.5rem;
	margin-bottom: 1em;
}

.animate-pulse {
	width: 0.75rem;
	height: 0.75rem;
	border-radius: 9999px;
	background: #22c55e; /* green-500 */
	margin-right: 0.25rem;
	animation: pulse 1s infinite;
}

#coordinates {
	font-size: 0.875rem;
	color: #4b5563;
}

.leaflet-control-container > .leaflet-top {
	width: 100%;
	display: flex;
	align-content: center;
	align-items: center;
	justify-content: space-between;
}

.leaflet-control-container > .leaflet-top .leaflet-pelias-control.leaflet-pelias-expanded {
	width:100%;
	min-height: 58px;
	display: flex;
	align-content: center;
	align-items: center;
	margin-right:10px;
}

.leaflet-control-container .leaflet-pelias-results .leaflet-pelias-result:hover {
	background-color: #0369a1;
	border-color: #b2e3e7;
	color: #00cbff;
}

.leaflet-control-container .leaflet-pelias-results .leaflet-pelias-result {
	color: #0369a1;
}