/* --- Minimalist Variables --- */
:root {
	--accent-red: #ED1C24;
	--accent-green: #009B4D;
	--text-main: #111111;
	--text-muted: #666666;
	--bg-main: #ffffff;
	--bg-offwhite: #fafafa;
}

/* --- Reset & Clean Typography --- */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--text-main);
	background-color: var(--bg-main);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
	font-weight: 600;
	letter-spacing: -0.5px;
	text-transform: none;
	text-align: left;
}

/* --- Airy Navigation --- */
header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 40px 8%;
	background-color: var(--bg-main);
}

.logo img {
	height: 70px;
	width: auto;
}
nav
{
	margin-left: 5px;
}
nav ul {
	list-style: none;
	display: flex;
	gap: 40px;
}
nav ul li:first-child
{
	margin-left: auto;
}
nav ul li a {
	text-decoration: none;
	color: var(--text-main);
	font-size: 0.95rem;
	font-weight: 500;
	position: relative;
	padding-bottom: 5px;
	transition: color 0.3s ease;
}
#menu-mobile-toggle {
	display: none;
}
#mobile_nav
{
	display: none;
}
.cookie-policy-link
{
	float: right;
	margin: 10px;
}
/* Clean underline hover effect */
nav ul li a::after {
	content: '';
	position: absolute;
	width: 0;
	height: 2px;
	bottom: 0;
	left: 0;
	background-color: var(--accent-red);
	transition: width 0.3s ease;
}

nav ul li a:hover::after {
	width: 100%;
}

nav ul li:nth-child(even) a::after {
	background-color: var(--accent-green);
}

.center
{
	text-align: center;
}

/* --- Minimalist Style --- */
SECTION
{
	text-align: center;
}
SECTION P
{
	text-align: left;
}
.hero {
	padding: 10vh 8%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	background-color: var(--bg-main);
}

.hero h1 {
	font-size: 4rem;
	line-height: 1.1;
	margin-bottom: 24px;
}

.hero p {
	font-size: 1.25rem;
	color: var(--text-muted);
	max-width: 600px;
	margin-bottom: 40px;
	font-weight: 300;
}

.btn {
	display: inline-block;
	padding: 16px 32px;
	background-color: var(--text-main);
	color: var(--bg-main);
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 500;
	letter-spacing: 1px;
	border-radius: 50px; /* Pill shape for a modern feel */
	transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
	background-color: var(--accent-red);
}

/* --- Layout & Sections --- */
section {
	padding: 100px 8%;
}

.section-header {
	margin-bottom: 60px;
}

.section-header h2 {
	font-size: 2rem;
	margin-bottom: 15px;
}

.section-header p {
	color: var(--text-muted);
	font-size: 1.1rem;
}

/* --- About Grid --- */
.about-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	align-items: start;
}

.about-text p {
	font-size: 1.1rem;
	color: var(--text-muted);
	margin-bottom: 20px;
	font-weight: 300;
}

/* --- Cards (Disciplines) --- */
#disciplines {
  opacity: 1;
  visibility: visible;
  transition: opacity 1s ease, visibility 1s ease; /* Adjust duration here (1s = 1 second) */
}

/* Hidden state for fading out */
#disciplines.hidden {
  opacity: 0;
  visibility: hidden;
}

/* Optional styling to make the menu readable */
#disciplines ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0 0;
}

#disciplines li {
  padding: 8px 0;
}

.bg-light {
	background-color: var(--bg-offwhite);
}

.cards-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 40px;
}

.card {
	background-color: var(--bg-main);
	padding: 50px 40px;
	border-radius: 12px;
	/* Ultra-soft shadow instead of borders */
	box-shadow: 0 10px 40px rgba(0,0,0,0.03);
	transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 50px rgba(0,0,0,0.06);
}

.card-icon {
	font-size: 2rem;
	margin-bottom: 25px;
	display: inline-block;
}

.card h3 {
	font-size: 1.25rem;
	margin-bottom: 15px;
}

.card p {
	color: var(--text-muted);
	font-size: 0.95rem;
	font-weight: 300;
}

/* --- Simple Footer --- */
footer {
	padding: 60px 8% 0px 8%;
	background-color: var(--bg-main);
	border-top: 1px solid #eaeaea;
	display: flex;
	justify-content: space-between;
	align-items: center;
	color: var(--text-muted);
	font-size: 0.9rem;
}

footer .footer-logo img {
	height: 120px;
	opacity: 0.5; /* Subdued logo in footer */
	filter: grayscale(100%);
	transition: opacity 0.3s ease, filter 0.3s ease;
}

footer .footer-logo img:hover {
	opacity: 1;
	filter: grayscale(0%);
}

/* Facilities */
.facilities-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.facilities-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.facilities-header h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.facilities-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.facilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}

.facility-card {
  background: var(--surface-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.facility-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.card-media {
  position: relative;
  width: 100%;
  height: 180px;
  background-color: var(--bg-light);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
  color: var(--text-muted);
}

.image-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.6;
}

.badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-free {
  background-color: #dcfce7;
  color: #15803d;
}

.badge-paid {
  background-color: #fef3c7;
  color: #b45309;
}

.card-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.facility-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0 0 0.25rem 0;
}

.facility-subtitle {
  font-size: 0.875rem;
  color: var(--accent-color);
  margin: 0 0 0.75rem 0;
  font-weight: 500;
}

.facility-type {
  font-size: 0.925rem;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.facility-meta {
  display: flex;
  gap: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.meta-item svg {
  width: 16px;
  height: 16px;
}

.filter-controls {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--accent-green);
  background: var(--bg-main);
  color: var(--text-main);
  border-radius: 20px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.filter-btn:hover {
}
.filter-btn.active {
  background-color: var(--accent-green);
  color: #ffffff;
  border-color: var(--bg-main);
}
.facility-card.is-hidden {
  display: none !important;
}

/* Ensure the image wrapper positions elements absolutely over the image */
article > div:first-child {
  position: relative;
  overflow: hidden;
}

/* Position the ratings bar at the bottom of the image */
.image-rating-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0); /* Semi-transparent background */
  backdrop-filter: blur(0px);
  color: #fff;
}

.rating-wrenches, .rating-stars {
  display: flex;
  gap: 3px;
  font-size: 14px;
}

/* Filled/Active rating styles */
.rating-wrenches span.active {
  color: #ff9800; /* Orange wrench */
}
.rating-wrenches span {
  color: #666; /* Dim inactive wrench */
}

.rating-stars span.active {
  color: #ffc107; /* Gold star */
}
.rating-stars span {
  color: #666; /* Dim inactive star */
}
.btn-add-place-link {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--accent-green);
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  transition: opacity 0.2s;
}

.btn-add-place-link:active {
  transform: translateY(0);
}
.btn-add-place-link:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}





.grid
{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.75rem;
}

.grid article
{
    display: flex;
    flex-direction: column;	
	text-align: left;
}