@import "/shared/css/root.css";

/****************************
    NAVBAR (navbar.htm)
****************************/
nav.nav-main .nav-container {
	grid-template-columns: repeat(3, 1fr);
}

.burger-menu li:hover {
	background-color: white;
}

.burger-menu li:hover a {
	color: black;
}

.burger-menu li:hover img {
	filter: brightness(0) invert(0);
}

.gym-selector {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: flex-start;
	min-height: calc(100vh - 70px);
	align-items: center;
}

.gym-grid {
	display: grid;
	width: 100%;
	max-width: 2000px;
	margin: 0 auto;
	padding: 0 4vw;
	gap: 20px;
	grid-template-columns: repeat(2, 1fr);
	justify-items: center;
	max-width: 1150px;
}

.gym-card {
	display: flex;
	flex-direction: column;
	background: #111;
	border-radius: 16px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
	text-align: center;
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	color: #eee;
	text-decoration: none;
	cursor: pointer;
	aspect-ratio: 1.5 / 1;
	max-width: 500px;
}

.gym-card-inner {
	display: flex;
	flex-direction: column;
	height: 100%;
	width: 100%;
}

.gym-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.gym-image {
	flex: 1 1 auto;
	overflow: hidden;
	padding: 40px;
}

.gym-image img {
	width: 100%;
	height: 100%;
	object-fit: scale-down;
	display: block;
}

.gym-info {
	flex: 0 0 80px;
	display: flex;
	align-items: center;
	background: #0e0e0e;
	padding: 0 1.5rem;
}

.gym-info-inner {
	display: flex;
	align-items: center;
	gap: 1rem;
	width: 100%;
}

.gym-logo {
	width: 30px;
	height: auto;
	flex-shrink: 0;
}

.gym-text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	line-height: 1.3;
	min-width: 0;
}

.gym-text h3 {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 600;
	color: #fff;
	text-align: left;
}

.gym-text p {
	margin: 0;
	font-size: 0.95rem;
	color: #cfcfcf;
	text-align: left;
}

@media (max-width: 1250px) {
	.gym-grid {
		grid-template-columns: 1fr;
		max-width: 900px;
		padding: 6rem 10vw;
		gap: 4rem;
	}
}

@media (max-width: 900px) {
	/* .shape,
	.logo {
		display: none;
	} */
	.nav-left h2 {
		margin-left: 0;
		font-size: 20px;
	}
}

@media (max-width: 650px) {
	.gym-image {
		padding: 15px;
	}
	.gym-text h3 {
		font-size: 18px;
	}
	.gym-text p {
		font-size: 15px;
	}
}

@media (max-width: 450px) {
	.gym-image {
		padding: 5px;
	}
	.gym-text h3 {
		font-size: 16px;
	}
	.gym-text p {
		font-size: 12px;
	}
}
