html, body {
	height: 100%;
}

body {
	font-family: 'Manrope', sans-serif;
	background-color: #f9fafa;
	color: #212529;
	padding-top: 66px;
	display: flex;
	flex-direction: column;
}

main {
  flex: 1 0 auto;
}

footer {
  flex-shrink: 0;
}

:root {
	--brand-primary: #4CAFAD;  /* Teal */
	--brand-secondary: #495057; /* Charcoal */
	--brand-accent: #78D6C6;   /* Soft Mint */
	--brand-warning: #F4B942;  /* Warm yellow */
	--brand-light: #f9fafa;
	--brand-dark: #1e2a32;
}

a, a:visited {
	color: #4CAFAD;
	text-decoration: none;
}

a:hover, a:active {
	color: #212529;
	text-decoration: underline;
}

.btn, .btn:hover {
	text-decoration: none;
}

.bg-primary,
.btn-primary,
.text-primary,
.border-primary,
.list-group-item.active {
	background-color: var(--brand-primary) !important;
	color: #fff !important;
	border-color: var(--brand-primary) !important;
}

.btn-outline-primary {
	color: var(--brand-primary) !important;
	border-color: var(--brand-primary) !important;
}

.btn-outline-primary:hover, .btn-outline-primary:active, .btn-outline-primary:focus {
	background-color: var(--brand-primary) !important;
	color: white !important;
}

.text-secondary,
.btn-secondary {
	color: var(--brand-secondary) !important;
}

a.btn-outline-secondary {
	color: #6c757d;
}

.bg-light {
	background-color: var(--brand-light) !important;
}

.bg-dark,
.navbar-dark {
	background-color: var(--brand-dark) !important;
}

/* Navbar override */
.navbar-light .navbar-brand,
.navbar-light .nav-link,
.navbar-light .navbar-text {
	color: var(--brand-primary) !important;
}

.navbar-custom {
	background-color: #4CAFAD !important;
	border-bottom: none;
}

.navbar-custom .nav-link,
.navbar-custom .navbar-brand,
.navbar-custom .navbar-text {
	color: #ffffff !important;
}

.navbar-custom .nav-link:hover {
	color: #e1f5f4 !important;
}

.navbar-custom .navbar-toggler {
	border-color: rgba(255, 255, 255, 0.5);
}

.navbar-custom .navbar-toggler-icon {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-fixed {
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 1030;
}

.search-feature {
	background-color: #e6f4f3;
	padding: 2rem 1rem;
	text-align: center;
	width: 100%;
	z-index: 1029;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.search-feature h2 {
	color: #4CAFAD;
	font-weight: 600;
	margin-bottom: 1rem;
}

.search-feature form {
	max-width: 600px;
	margin: 0 auto;
}

.search-feature input.form-control {
	height: 3.5rem;
	font-size: 1.25rem;
}

#suggestions {
	top: 100%;
	left: 0;
	z-index: 1000;
	display: none;
	box-sizing: border-box;
	white-space: nowrap;
	border-radius: 0px;
}

@media (max-width: 576px) {
	.search-feature {
		padding: 1rem;
	}
	.search-feature input.form-control {
		height: 2.75rem;
		font-size: 1rem;
	}
	.search-feature h2 {
		font-size: 1.25rem;
	}
}
@media (min-width: 993px) {
	.search-inline.onhome {
		display: none !important;
	}
}

.rating {
	color: var(--brand-primary);
}

/* Footer */
footer {
	background-color: #e9ecef;
	padding: 2rem 0;
}

.footer-logo {
	height: 32px;
	width: 32px;
	object-fit: contain;
	margin-right: 0.5rem;
}

.footer-links a {
	color: #4CAFAD;
	text-decoration: none;
	margin-right: 1rem;
}

.footer-links a:hover {
	text-decoration: underline;
}

.rating {
	color: #4CAFAD;
}

.place-card img {
	max-height: 180px;
	object-fit: cover;
}

.hero-section {
	background-size: cover;
	background-position: center;
	color: white;
	padding: 5rem 1rem;
	text-align: center;
	position: relative;
}

.hero-overlay {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(0, 0, 0, 0.5);
}

.hero-content {
	position: relative;
	z-index: 1;
}

.hero-heading {
	font-size: 3rem;
	font-weight: bold;
}

.hero-place {
	font-size: 2rem;
}

.error-section {
	padding: 6rem 1rem;
	text-align: center;
}

.error-code {
	font-size: 6rem;
	font-weight: bold;
	color: #6c757d;
}

.review-card {
	border-left: 4px solid #4CAFAD;
}

.star-rating {
	width: 168px !important;
	min-width: 168px !important;
}

.star-rating .star {
	color: #4CAFAD;
	transition: all 0.2s;
	padding: 0 2px;
}

.bar-label {
	font-weight: 500;
	margin-bottom: 0.25rem;
}

.bar-wrapper {
	background-color: #e9ecef;
	border-radius: 0.25rem;
	overflow: hidden;
	margin-bottom: 1rem;
}

.bar {
	background-color: #4CAFAD;
	color: white;
	padding: 0.4rem 0.75rem;
	font-size: 0.9rem;
}

.stat-section {
	margin-bottom: 2rem;
}

.place-entry {
	border-bottom: 1px solid #dee2e6;
	padding: 1rem 0;
}

.place-entry h5 {
	margin-bottom: 0.25rem;
}

.place-entry p {
	margin-bottom: 0.25rem;
}

.pagination .page-link {
	color: #4CAFAD;
	border: 1px solid #4CAFAD;
}

.pagination .page-item.active .page-link {
	color: #ffffff !important;
}

.pagination .page-link:hover {
	background-color: #4CAFAD;
	color: #fff;
}

.pagination .active .page-link {
	background-color: #4CAFAD;
	border-color: #4CAFAD;
	color: white;
}

.pagination .disabled .page-link {
	color: #adb5bd;
	border-color: #dee2e6;
}

.feature-item {
  border-bottom: 1px solid #dee2e6;
}
.feature-item:last-child {
  border-bottom: none;
}
.feature-title a {
  text-decoration: none;
  color: #4CAFAD;
  font-size: 1.25rem;
  font-weight: 600;
}
.feature-title a:hover {
  text-decoration: underline;
}
.feature-description {
  color: #6c757d;
}