@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Rubik+Mono+One&family=Sono:wght@200;300&display=swap");

:root {
	--color-red: #ef3a2e;
	--color-purple: #7136ff;
	--color-black: rgb(31, 32, 33);
}

* {
	padding: 0;
	margin: 0;
}

body {
	font-family: "Poppins", sans-serif;
	background-color: rgb(21, 21, 21);
}

/****************************
    NAVBAR (navbar.htm)
****************************/

nav {
	position: sticky;
	display: flex;
	justify-content: center;
	top: 0;
	box-shadow: 0 2px 4px 0 rgb(30 30 30 / 20%);
	background-color: #0a0a0a;
	z-index: 100;
	width: 100%;
	height: 70px;
}

nav .nav-container {
	max-width: 2000px;
	width: 100%;
	display: grid;
	align-items: center;
	justify-content: space-between;
	padding: 0 40px;
	position: relative;
	justify-items: center;
	align-content: center;
	grid-template-columns: repeat(3, 1fr);
}

nav .nav-container .shape {
	position: absolute;
	bottom: -70px;
	width: 80px;
	height: 45px;
	left: calc(50% - 125px);
	border-bottom: 110px solid #0a0a0a;
	border-left: 85px solid transparent;
	border-right: 85px solid transparent;
	transform: rotate(180deg);
	z-index: 99;
}

nav .nav-container {
	justify-content: center;
}

nav .logo a img {
	height: 50px;
	width: 50px;
	position: relative;
	z-index: 100;
	margin-top: 25px;
}

.nav-left,
.nav-right {
	height: 30px;
	width: 100%;
	display: flex;
	color: white;
	z-index: 999;
}

.nav-left {
	align-items: flex-end;
}

.nav-right {
	justify-content: flex-end;
}

.nav-left a.go-back img {
	height: 20px;
	width: auto;
}

.nav-left h2 {
	margin-left: 40px;
	line-height: 30px;
	text-transform: uppercase;
}

.nav-right {
	float: right;
}

.nav-right .burger {
	display: flex;
	flex-direction: column;
}

.burger {
	cursor: pointer;
}

.burger div {
	transition: all 0.3s ease-in-out;
}

.burger.open div:nth-child(1) {
	transform: rotate(45deg) translate(6px, 7px);
}

.burger.open div:nth-child(2) {
	opacity: 0;
}

.burger.open div:nth-child(3) {
	transform: rotate(-45deg) translate(6px, -7px);
}

nav .nav-right .burger .line {
	height: 3px;
	width: 25px;
	background: white;
	margin: 3px 0;
}

.burger-menu {
	position: fixed;
	z-index: 90;
	height: calc(100% - 150px);
	width: calc(100% - 80px);
	top: 70px;
	background-color: rgb(21, 21, 21);
	list-style: none;
	right: -100%;
	padding: 40px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	overflow-y: auto;
}

.top-nav-part {
	text-align: center;
}

.bottom-nav-part {
	display: flex;
	flex-direction: row;
}

.burger-menu li {
	font-size: 24px;
	margin: 9px 0;
	padding: 8px 20px;
	transition: all 0.3s ease-in-out;
	border-radius: 10px;
	display: flex;
	justify-content: center;
}

.burger-menu li.nav-red {
	border: 1px solid var(--color-red);
	border-radius: 10px;
}
.burger-menu li.nav-purple {
	border: 1px solid var(--color-purple);
	border-radius: 10px;
}

.burger-menu li.nav-white {
	border: 1px solid white;
	border-radius: 10px;
}

.img-icon {
	width: 40px;
	height: auto;
}

.burger-menu li:hover {
	background-color: var(--color-red);
}

.burger-menu.open {
	right: 0;
}

.burger-menu li a {
	text-decoration: none;
	color: white;
}

.bottom-nav-part a {
	width: 40px;
	height: 40px;
}

@media screen and (max-height: 800px) {
	.burger-menu li {
		font-size: 18px;
		margin: 8px 0;
		padding: 8px 10px;
	}
	.bottom-nav-part a {
		width: 30px;
		height: 30px;
	}
	.img-icon {
		width: 30px;
		height: auto;
	}
}

@media screen and (max-height: 700px) {
	.burger-menu li {
		font-size: 16px;
		margin: 6px 0;
		padding: 8px 10px;
	}
	.bottom-nav-part a {
		width: 26px;
		height: 26px;
	}
	.img-icon {
		width: 26px;
		height: auto;
	}
}

@media screen and (max-width: 800px) {
	.nav-gym-name {
		display: none;
	}
	.burger-menu li {
		font-size: 18px;
		margin: 8px 0;
		padding: 5px 10px;
	}
	.bottom-nav-part a {
		width: 30px;
		height: 30px;
	}
	.img-icon {
		width: 30px;
		height: auto;
	}
}

@media (max-width: 600px) {
	.shape {
		display: none;
	}
	nav .logo a img {
		height: 45px;
		width: 45px;
		margin-top: 15px;
	}
}

/****************************
    FOOTER
****************************/

footer {
	height: auto;
	display: flex;
	flex-direction: column;
	background: rgb(31, 32, 33);
	color: white;
	border-radius: 20px 20px 0 0;
	padding: 70px 20px 0;
	display: flex;
	justify-content: center;
}

.footer-container {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	max-width: 1200px;
	margin: 0 auto;
	justify-items: stretch;
	width: 100%;
}

.footer-section h3 {
	margin-bottom: 15px;
	font-size: 1.4rem;
	color: white;
	font-weight: bold;
	position: relative;
}

.footer-section h3::after {
	content: "";
	display: block;
	width: 35px;
	height: 3px;
	background: white;
	margin-top: 5px;
	border-radius: 2px;
}

.footer-section ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-section ul li {
	margin-bottom: 5px;
	font-size: 0.9rem;
	color: #a5a5a5;
}

.footer-section ul li a {
	color: #a5a5a5;
	text-decoration: none;
}

.footer-section ul li a:hover {
	color: white;
	text-decoration: underline;
}

.footer-bottom {
	width: calc(100% - 40px);
	padding: 20px 20px;
	border-top: 1px solid #313131;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: #a5a5a5;
	font-size: 0.9rem;
	background: rgb(31, 32, 33);
	text-align: center;
	gap: 10px;
	margin-top: 20px;
}

.footer-top-section {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	gap: 5px;
}

.footer-left,
.footer-right {
	white-space: normal;
}

.footer-bottom a {
	color: #a5a5a5;
	text-decoration: underline 1px;
	text-underline-offset: 4px;
}

.footer-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

.footer-links a {
	text-decoration: none;
	color: #8b8b8b;
}

@media screen and (max-width: 1024px) {
	.footer-container {
		grid-template-columns: repeat(2, 1fr);
		padding: 0 10px;
		justify-content: center;
	}
}

@media screen and (max-width: 600px) {
	.footer-container {
		grid-template-columns: 1fr;
		padding: 0 10px;
		justify-content: center;
	}
	.footer-top-section {
		flex-direction: column;
	}
}

/****************************
    GENERAL
****************************/

section {
	min-height: 100px;
	overflow-x: hidden;
}

.red {
	color: var(--color-red);
	text-decoration: none;
	text-decoration-color: var(--color-red);
	text-underline-offset: 5px;
}

.purple {
	color: var(--color-purple);
	text-decoration: none;
	text-decoration-color: var(--color-purple);
	text-underline-offset: 5px;
}

#section-contacts {
	background-color: black;
}

.headline {
	font-size: 80px;
	text-transform: uppercase;
	padding-top: 80px;
	text-align: center;
	color: white;
	margin-bottom: 50px;
}

.sub-headline {
	font-size: 40px;
	margin-top: -10px;
	text-transform: uppercase;
	margin-bottom: 20px;
	text-align: center;
	color: white;
	font-weight: bold;
}

@media screen and (max-width: 800px) {
	.headline {
		font-size: 40px;
	}
}

@media screen and (max-width: 450px) {
	.headline {
		font-size: 35px;
	}
}

/****************************
    POPUP
****************************/

._akce_popup {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.65);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
	padding: 20px;
}

._akce_popup.hidden {
	display: none;
}

._akce_popup-content {
	position: relative;
	background: #000;
	color: #fff;
	border-radius: 16px;
	max-width: 480px;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	padding: 22px;
	text-align: center;
	box-shadow: 0 -4px 0px 0px white;
	animation: _akce_fadeIn 0.25s ease;
}

._akce_popup-close {
	position: absolute;
	right: 12px;
	top: 12px;
	font-size: 26px;
	color: white;
	background: none;
	border: none;
	cursor: pointer;
}

._akce_popup-text h2 {
	margin: 0 0 10px;
	font-size: 1.45rem;
	font-weight: 700;
}

._akce_popup-btn {
	display: inline-block;
	background: white;
	color: black;
	padding: 10px 18px;
	border-radius: 8px;
	text-decoration: none;
	font-size: 1rem;
	margin: 10px 0;
	font-weight: 600;
}

._akce_popup-img {
	margin-top: 18px;
	display: flex;
	gap: 8px;
	justify-content: center;
	align-items: center;
}

._akce_popup-img img {
	width: 48%;
	max-height: 220px;
	object-fit: contain; 
	border-radius: 10px;
}

/****************************
    COOKIES BAR
****************************/

.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: calc(100% - 40px);
  padding: 12px 20px;
  background: rgb(31, 32, 33);;
  color: #fff;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
}

.map-fallback {
	text-align: center;
	padding: 40px 20px;
	background: rgb(31, 32, 33);;
	border-radius: 8px;
	color: #ccc;
	font-size: 18px;
}

.map-fallback .warning {
	font-size: 20px;
	color: #e0e0e0;
	margin-bottom: 15px;
}

.map-fallback p {
	margin: 0;
	color: #bdbdbd;
}

.cookie-bar a {
  color: var(--color-red);
}

.cookie-buttons button {
  margin-left: 10px;
  padding: 6px 12px;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}

#cookieAccept {
  background: #04b516;
  color: white;
}

#cookieDecline {
  background: var(--color-red);
  color: white;
}

.hidden {
  display: none;
}

.cookie-settings-link {
    display: inline-block;
    margin-top: 6px;
    color: var(--accent-color);
    font-weight: bold;
    text-decoration: underline;
}

.cookie-settings-link:hover {
    opacity: 0.8;
}
.cookie-settings-link:hover {
    opacity: 0.8;
}

