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

:root {
	--accent-color: var(--color-red);
}

/****************************
    NAVBAR (navbar.htm)
****************************/
.footer-section h3::after {
	background: var(--color-red);
}

.burger-menu li.active {
	background-color: var(--color-red);
	transition: background-color 0.22s ease;
}

.burger-menu li.active a {
	transition: color 0.2s ease;
}

.burger-menu li img {
	transition: filter 0.22s ease, opacity 0.22s ease;
}

.burger-menu li.active img {
	filter: brightness(0) saturate(100%);
}

/****************************
    SECTION TRAINERS
****************************/
#section-trainers {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-bottom: 150px;
}

.trainer-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 40px;
	width: 90%;
	max-width: 1800px;
}

.trainer-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;
	max-width: 400px;
	width: 100%;
}

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

.trainer-card-inner {
	display: flex;
	flex-direction: column;
	height: 100%;
	width: 100%;
	text-decoration: none;
	color: inherit;
}

.trainer-image {
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #000;
}

.trainer-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.trainer-card:hover .trainer-image img {
	transform: scale(1.05);
}

.trainer-info {
	background: #111;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	padding: 1rem 1.5rem;
}

.trainer-name {
	margin: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	line-height: 1.1;
	font-size: 1.25rem;
	font-weight: 600;
	color: #fff;
	text-transform: none;
	white-space: nowrap;
}

.trainer-name .fname {
	display: block;
	margin-bottom: 6px;
}

.trainer-name .lname {
	display: block;
	margin-left: 3px;
}

.trainer-btn {
	background: #fff;
	color: #000;
	padding: 0.5rem 1rem;
	border-radius: 10px;
	text-decoration: none;
	font-weight: 500;
	font-size: 0.95rem;
	transition: all 0.25s ease;
}

.trainer-card:hover .trainer-btn {
	background: var(--color-red);
	color: #fff;
}

.section-divider {
	position: relative;
	width: 90%;
	height: 40px;
	background: #000;
	margin: -30px auto 0 auto;
	border-top-left-radius: 40px;
	border-top-right-radius: 40px;
	z-index: 2;
}

.section-divider-reverse {
	position: relative;
	width: 90%;
	height: 40px;
	background: #000;
	margin: -50px auto 0 auto;
	border-bottom-left-radius: 40px;
	border-bottom-right-radius: 40px;
	z-index: 2;
}

/****************************
    PARALLAX
****************************/
.parallax-block {
	height: 400px;
	background-image: url("/shared/images/gym/bgDark3.png");
	background-attachment: fixed;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	position: relative;
}

.paralex-overlay-top {
	width: 0;
	height: 0;
	border-width: 50px 150px 0 0;
	border-color: #000 transparent transparent transparent;
	border-style: solid;
	display: inline-block;
	position: absolute;
	top: 0;
	left: 0;
}

.paralex-overlay-bottom {
	width: 0;
	height: 0;
	border-width: 0 0 50px 150px;
	border-color: transparent transparent rgb(21, 21, 21) transparent;
	border-style: solid;
	display: inline-block;
	position: absolute;
	bottom: 0;
	right: 0;
}


@media (max-width: 600px) {
	.parallax-block {
		height: 400px;
		background-image: url("/shared/images/gym/bgDark3.png");
		background-repeat: no-repeat;
		background-attachment: fixed;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		background-size: cover;
		-webkit-background-size: cover;
		object-fit: cover;
		background-attachment: scroll;
		-webkit-background-size: cover;
		-moz-background-size: cover;
		-o-background-size: cover;
		background-size: cover;
	}
}

/****************************
    INFO BAR
****************************/
#section-info {
	position: relative;
	width: 100%;
	height: auto;
	padding: 50px 0;
	display: flex;
	flex-direction: column;
}

.info-bg {
	background: rgb(21, 21, 21);
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	z-index: 1;
}

.info-row-my {
	display: flex;
	flex-direction: column;
	white-space: nowrap;
	width: max-content;
	font-size: 70px;
	font-weight: 900;
	padding: 30px 0;
	text-transform: uppercase;
	position: relative;
	height: 80px;
}

/* Row colors */
.row-1-my {
	color: white;
}

.row-2-my {
	color: var(--color-red);
}

/* ANIMATION */
.row-1-my .text {
	animation: scrollLeft 20s linear infinite;
	position: absolute;
	top: 10px;
}

.row-1-my .clone {
	animation: scrollLeft 20s linear infinite;
	animation-delay: -10s;
	position: absolute;
	top: 10px;
}

.row-2-my .text {
	animation: scrollRight 22s linear infinite;
	position: absolute;
	bottom: 10px;
}

.row-2-my .clone {
	animation: scrollRight 22s linear infinite;
	animation-delay: -11s;
	position: absolute;
	bottom: 10px;
}

/* NONSTOP PLYNULÝ SCROLL – žádné skoky */
@keyframes scrollLeft {
	0% {
		transform: translateX(100%);
	}

	100% {
		transform: translateX(-100%);
	}
}

@keyframes scrollRight {
	0% {
		transform: translateX(-100%);
	}

	100% {
		transform: translateX(100%);
	}
}

@media (max-width: 1024px) {
	#section-info {
		padding: 10px 0;
	}

	.info-row-my {
		height: 60px;
	}

	.info-row-my {
		font-size: 60px;
		margin: 20px 0;
	}
}

@media (max-width: 768px) {
	#section-info {
		height: auto;
		padding: 0px 0;
	}

	.info-row-my {
		height: 40px;
	}
}

@media (max-width: 500px) {
	#section-info {
		height: auto;
		padding: 20px 0;
	}

	.info-row-my {
		font-size: 28px;
		height: 16px;
		margin: 0;
	}
}

/****************************
    SECTION HOME
****************************/

#section-home {
	position: relative;
	height: calc(100svh - 70px);
	width: 100%;
	overflow: hidden;
	background: black;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* ─────────────────────────────── */
/*   BACKGROUND IMAGE               */
/* ─────────────────────────────── */

.hero-image-wrapper {
	position: absolute;
	inset: 0;
	z-index: 1;
	overflow: hidden;

	display: flex;
	align-items: flex-end;
}

.hero-image {
	width: auto;
	height: 90%;
	object-fit: contain;
	object-position: left 100%;
}

.hero-image-wrapper::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	background: linear-gradient(to right,
			rgba(0, 0, 0, 0.1) 0%,
			rgba(0, 0, 0, 0.15) 25%,
			rgba(0, 0, 0, 0.3) 45%,
			rgba(0, 0, 0, 0.55) 70%,
			rgba(0, 0, 0, 0.8) 100%);
}

/* ─────────────────────────────── */
/*   BLOBS (ANIMATED)               */
/* ─────────────────────────────── */

.red-blob {
	position: absolute;
	right: -200px;
	top: 20%;
	width: 600px;
	height: 600px;
	background: radial-gradient(circle,
			rgba(230, 57, 70, 0.5) 0%,
			rgba(230, 57, 70, 0.25) 40%,
			rgba(0, 0, 0, 0) 75%);
	filter: blur(80px);
	z-index: 2;
	animation: blobMove1 12s ease-in-out infinite alternate;
}

.red-blob-left {
	position: absolute;
	left: -250px;
	top: -120px;
	width: 500px;
	height: 500px;
	background: radial-gradient(circle,
			rgba(255, 0, 0, 0.35) 0%,
			rgba(255, 0, 0, 0.15) 40%,
			rgba(0, 0, 0, 0) 75%);
	filter: blur(90px);
	z-index: 2;
	animation: blobMove2 16s ease-in-out infinite alternate;
}

@keyframes blobMove1 {
	0% {
		transform: translate(0px, 0px) scale(1);
	}

	100% {
		transform: translate(35px, -25px) scale(1.15);
	}
}

@keyframes blobMove2 {
	0% {
		transform: translate(0px, 0px) scale(1);
	}

	100% {
		transform: translate(-25px, 40px) scale(1.2);
	}
}

/* ─────────────────────────────── */
/*   TEXT CONTENT RIGHT SIDE         */
/* ─────────────────────────────── */

.hero-content {
	position: relative;
	z-index: 100;
	max-width: 600px;
	text-align: left;
	color: white;
	margin-left: auto;
	padding-right: 9vw;
	display: flex;
	flex-direction: column;
	justify-content: center;
	height: 100%;
	z-index: 1;
}

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

.hero-title {
	font-size: 54px;
	font-weight: 800;
	line-height: 1.15;
	color: white;
	margin-bottom: 25px;
	display: flex;
	flex-direction: column;
	pointer-events: none;
}

.title-line {
	display: block;
}

.second-line {
	margin-top: 8px;
}

/* Red highlight for JIHLAVĚ */
.highlight-city {
	background: var(--color-red);
	padding: 16px 18px 6px;
	border-radius: 4px;
	color: white;
	display: inline-block;
	margin-left: 6px;
	font-size: 62px;
	font-weight: 900;
	letter-spacing: 1px;
}

.hero-content p {
	font-size: 18px;
	line-height: 1.6;
	margin-bottom: 35px;
	color: rgba(255, 255, 255, 0.8);
	pointer-events: none;
}

/* TEXT BUTTON */

.link-in-row {
	display: flex;
	height: 40px;
	align-items: center;
	justify-content: flex-start;
}

.btn-discovery {
	display: flex;
	height: 40px;
	padding: 0 15px;
	background: white;
	width: min-content;
	text-wrap: nowrap;
	margin-right: 20px;
	color: black;
	font-weight: 600;
	text-decoration: none;
	border-radius: 8px;
	letter-spacing: 1px;
	transition: 0.2s;
	align-items: center;
	justify-content: center;
}

.btn-ig,
.btn-ig img {
	height: 40px;
	width: auto;
	cursor: pointer;
}

.btn-discovery:hover {
	background: var(--color-red);
	transform: scale(1.05);
	color: white;
}

/* ─────────────────────────────── */
/*   VIDEO PREVIEW PLAYER           */
/* ─────────────────────────────── */

.video-thumb-container {
	margin-top: 40px;
	width: 340px;
	height: 190px;
	background: black;
	border-radius: 14px;
	overflow: hidden;
	cursor: pointer;
	position: relative;
	box-shadow: 0 0 25px rgba(0, 0, 0, 0.55);
	transition: 0.25s;
}

.video-thumb-container:hover {
	transform: scale(1.03);
}

.video-thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* PLAY ICON */
.play-button {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 52px;
	color: white;
	opacity: 0.9;
	pointer-events: none;
	text-shadow: 0 0 12px rgba(0, 0, 0, 1);
	transition: 0.3s;
}

/* Hide icon when playing */
.playing {
	opacity: 0;
}

@media (max-width: 2000px) {
	.hero-content {
		padding-right: 3vw;
	}
}

@media (max-width: 2000px) {
	.hero-image {
		height: 80%;
		width: auto;
	}
}

/* ============================================
   PERFECT MOBILE HERO (FINAL VERSION)
============================================ */
@media (max-width: 1250px) {
	.hero-title {
		font-size: 48px;
		margin-bottom: 20px;
	}

	.highlight-city {
		font-size: 54px;
	}

	.hero-content p {
		margin-bottom: 20px;
	}

	.video-thumb-container {
		width: 320px;
		height: 170px;
	}
}

@media (max-width: 1100px) {
	#section-home {
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		align-items: center;
	}

	.hero-content {
		padding-right: 0;
	}

	.hero-content {
		order: 1;
		height: calc(50svh - 90px);
		text-align: center;
		align-items: flex-start;
		z-index: 10;
		margin-left: 0;
	}

	.red-blob {
		right: -100px;
	}

	.hero-title {
		font-size: 45px;
		margin-top: 35px;
		line-height: 1.1;
		margin-bottom: 15px;
		text-align: left;
	}

	.highlight-city {
		font-size: 0.9em;
		padding: 6px 10px;
		margin-left: 3px;
	}

	.hero-content p {
		font-size: 16px;
		line-height: 1.35;
		margin: 10px 0 20px 0;
		text-align: left;
	}

	.link-in-row {
		gap: 10px;
	}

	.btn-discovery {
		font-size: 12px;
		margin-right: 5px;
	}

	.video-thumb-container {
		display: none !important;
	}

	.hero-image-wrapper {
		order: 2;
		position: absolute;
		bottom: 0;
		left: 0;
		right: 0;
		height: 50svh;
		display: flex;
		justify-content: center;
		align-items: flex-end;
		z-index: 2;
	}

	.hero-image {
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center bottom;
		opacity: 0.9;
	}

	.red-blob-left {
		left: 0;
		top: 0;
	}

	.red-blob,
	.red-blob-left {
		width: 250px;
		height: 250px;
		filter: blur(70px);
		z-index: 3;
	}

	.hero-image-wrapper {
		inset: auto;
		bottom: 0;
	}

	.hero-image-wrapper::after {
		background: none;
	}
}

@media (max-width: 900px) {
	.hero-title {
		font-size: 40px;
		margin-top: 20px;
	}
}

@media (max-width: 600px) {
	.hero-content {
		padding: 0 40px;
	}

	.title-line {
		font-size: 30px;
	}

	.highlight-city {
		font-size: 36px;
	}
}

@media (max-width: 420px) {
	.hero-content {
		padding: 0 40px;
	}

	.title-line {
		font-size: 24px;
	}

	.highlight-city {
		font-size: 28px;
	}

	.btn-discovery,
	.link-in-row {
		height: 35px;
	}
}

@media (max-width: 350px) {
	.hero-content {
		padding: 0 20px;
	}
}

@media (max-width: 320px) {
	.title-line {
		font-size: 20px;
	}

	.highlight-city {
		font-size: 24px;
	}

	.btn-discovery,
	.link-in-row,
	.btn-ig,
	.btn-ig img {
		height: 30px !important;
	}
}

@supports (-webkit-touch-callout: none) {
	.hero-image {
		height: 100%;
		object-fit: contain;
		object-position: center bottom;
	}
}


/****************************
    SECTION FIND-US
****************************/
#section-findus {
	display: flex;
	height: 700px;
	padding: 50px 0;
	flex-direction: column;
	align-items: center;
}

.map-container {
	margin-top: 125px;
	width: 100%;
	max-width: 1500px;
	border-radius: 18px;
	overflow: hidden;
	padding: 0 40px;
	display: flex;
	justify-content: space-between;
}

.adress-container {
	color: white;
	max-width: 600px;
}

.iframe-container,
.iframe-container div {
	display: flex !important;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: #ccc;
}

.iframe-container p {
	margin-top: 10px;
}

.map-container iframe {
	height: 450px;
	width: 650px;
	border: none;
	border-radius: 20px;
}

@media (max-width: 1750px) {
	#section-findus {
		padding: 50px 100px;
	}

	.map-container {
		justify-content: center;
		gap: 40px;
	}
}

@media (max-width: 1650px) {
	.map-container iframe {
		aspect-ratio: 550 / 400;
	}
}

@media (max-width: 1300px) {
	.map-container {
		flex-direction: column;
		align-items: center;
		gap: 0;
		margin-top: 0;
		padding-bottom: 50px;
	}

	#section-findus {
		height: auto;
	}
}

@media (max-width: 750px) {
	.map-container iframe {
		width: 100%;
		height: auto;
	}

	.iframe-container {
		width: 100%;
	}

	.map-container {
		padding: 0 20px 40px;
	}

	#section-findus {
		padding: 50px 50px;
	}
}

/****************************
    SECTION PRICING
****************************/
#section-pricing {
	position: relative;
	width: 100%;
	height: calc(100svh - 70px);
	/* přesně podle požadavku */
	overflow: hidden;
	padding: 20px 0;
}

/* BACKGROUND MOVING ROWS */
.pricing-bg {
	position: absolute;
	inset: 0;
	overflow: hidden;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 80px 0;
	/* padding top/bottom */
}

/* Každý řádek 1 ze 4 */
.pricing-row {
	font-weight: 900;
	white-space: nowrap;
	line-height: 1;
	opacity: 0.15;
	text-transform: uppercase;
	font-size: var(--pricing-font-size, 7vw);
	/* dynamické */
}

.row-1 {
	color: #ffffff20;
	animation: moveLeft 15s linear infinite;
	animation-delay: -5s;
}

.row-2 {
	color: #88888825;
	animation: moveRight 18s linear infinite;
	animation-delay: -9s;
}

.row-3 {
	color: #0000008f;
	animation: moveLeft 20s linear infinite;
	animation-delay: -1s;
}

.row-4 {
	color: #272727;
	animation: moveRight 17s linear infinite;
	animation-delay: -7s;
}

/* ANIMACE */
@keyframes moveRight {
	0% {
		transform: translateX(-100%);
	}

	100% {
		transform: translateX(100%);
	}
}

@keyframes moveLeft {
	0% {
		transform: translateX(100%);
	}

	100% {
		transform: translateX(-100%);
	}
}

/* CENTER CONTENT – obrázek */
.pricing-content {
	position: relative;
	z-index: 5;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.pricing-image {
	max-height: 85%;
	width: auto;
	object-fit: contain;

	border-radius: 16px;
	background: #111;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

/* RESPONSIVE */
@media (max-width: 768px) {
	.pricing-image {
		max-height: 75%;
		max-width: 99%;
	}
}

.pricing-modal {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.85);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;

	opacity: 0;
	transition: opacity 0.25s ease;
}

.pricing-modal.visible {
	opacity: 1;
}

.pricing-modal img {
	max-width: 90%;
	max-height: 90%;
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

/* --- Tarif Jihlava + Pelhřimov block --- */
.pricing-tarif-container {
	width: calc(100% - 80px);
	padding: 0 40px;
}

.pricing-tarif {
	background: #0e0e0e;
	padding: 50px;
	border-radius: 18px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
	width: calc(100% - 100px);
}

.pricing-tarif h3 {
	font-size: 1.6rem;
	font-weight: 800;
	margin-bottom: 20px;
	color: #fff;
}

/* Text paragraphs */
.tarif-text {
	color: #ccc;
	font-size: 0.95rem;
	line-height: 1.7;
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin-bottom: 25px;
}

.tarif-text strong {
	color: #fff;
}

/* Table rows */
.tarif-table {
	display: grid;
	gap: 10px;
}

.tarif-table .row {
	display: flex;
	justify-content: space-between;
	background: #1a1a1a;
	padding: 14px 20px;
	border-radius: 10px;
	font-weight: 600;
	color: #fff;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tarif-table .row:hover {
	transform: translateY(-6px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.tarif-table .price {
	color: var(--color-red);
	/* pokud máš tu proměnnou, jinak #e53935 */
}

@media (max-width: 768px) {
	.pricing-tarif {
		padding: 20px;
		width: calc(100% - 40px);
	}
}

/****************************
    SECTION GALLERY
****************************/
/* black rectangle background behind images */
/* .bottom-galery-container {
	height: 780px;
	width: 100%;
	position: absolute;
	display: flex;
	bottom: 0;
	align-items: flex-end;
}
*/
/* .rectangle-shape {
	width: 100%;
	background: black;
	position: absolute;
	height: 270px;
	bottom: 0;
	border-radius: ;
} */

#section-gallery {
	width: 100%;
	padding: 80px 0;
	position: relative;
	user-select: none;
	/* zakáže označování */
	-webkit-user-select: none;
	-webkit-user-drag: none;
	/* zakáže drag obrázku */
	pointer-events: auto;
	/* pořád jde kliknout */
}

#section-gallery p {
	margin: 0 0 30px 200px;
	font-size: 32px;
	color: #fff;
	font-weight: 700;
}

/* Wrapper for clipping */
.gallery-wrapper {
	overflow: hidden;
	position: relative;
	padding-left: 200px;
	z-index: 20;
}

/* TRACK */
.gallery-track {
	display: flex;
	gap: 20px;
	white-space: nowrap;
	transition: transform 0.35s ease;
}

.gallery-track img {
	height: 400px;
	width: auto;
	border-radius: 12px;
	flex-shrink: 0;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	cursor: pointer;
}

/* ARROWS */
.gallery-arrows {
	display: flex;
	gap: 12px;
	z-index: 50;
	position: relative;
	z-index: 20;
	justify-content: flex-end;
	padding: 40px 40px 0 0;
}

.arrow {
	height: 50px;
	width: 60px;
	background: var(--color-red);
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 8px;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.2s ease;
}

.arrow:hover {
	background: var(--color-red);
	transform: scale(1.05);
}

.arrow img {
	width: 22px;
}

.arrow-r img {
	rotate: 180deg;
}

.img-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.92);
	display: flex;
	justify-content: center;
	align-items: center;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.25s ease;
	z-index: 99999;
}

/* Po otevření */
.img-modal.active {
	opacity: 1;
	pointer-events: all;
}

/* OBRÁZEK V MODALU */
.img-modal img {
	max-width: 95vw;
	max-height: 95vh;
	object-fit: contain;
	touch-action: pinch-zoom;
}

@media (max-width: 768px) {
	/* .gallery-track img {
		height: auto;
		width: 85vw;
		max-height: 55vh;
		object-fit: cover;
	} */

	.gallery-track img[src*="cage.png"] {
		display: none !important;
	}

	.gallery-track img {
		width: 100%;
		height: auto;

		max-width: calc(100vw - 40px);
		/* obrázek nikdy nepřesáhne šířku */
		max-height: calc(100vh - 180px);
		/* prostor mínus header a spacing */

		object-fit: contain;
		/* ZOBRAZ OBRÁZEK CELÝ */
		display: block;
		box-shadow: none;
	}

	#section-gallery p {
		margin: 0 0 20px 20px;
		font-size: 22px;
	}

	.gallery-wrapper {
		padding-left: 0px;
		/* menší odsazení */
	}

	.gallery-arrows {
		bottom: 10px;
		right: 25px;
		transform: translateX(0%);
	}

	.arrow {
		width: 48px;
		height: 48px;
		border-radius: 10px;
	}

	.arrow img {
		width: 20px;
	}
}

@media (max-width: 500px) {
	#section-gallery p {
		margin: 0 0 12px 20px;
		font-size: 18px;
	}
}

/****************************
    SECTION OPENTIME
****************************/
#section-opentime {
	background: black;
	padding: 250px 0 50px 0;
	width: 100%;
	text-align: center;
	color: white;
}

.status-row {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 35px;
}

/* Text "AKTUÁLNĚ JE" */
.status-text {
	font-size: 80px;
	margin-top: 10px;
	font-weight: 700;
	color: white;
	white-space: nowrap;
}

/* Hřebík */
.nail {
	width: 22px;
	height: 22px;
	background: #555;
	border-radius: 50%;
	position: absolute;
	top: -85px;
	z-index: 99;
	left: 50%;
	transform: translateX(-50%);
	z-index: 10;
}

/* Pivot */
.pivot {
	display: inline-block;
	position: relative;
	transform-origin: 50% -100px;
	animation: swing 7s ease-in-out infinite;
}

/* Animace */
@keyframes swing {
	0% {
		transform: rotate(6deg);
	}

	25% {
		transform: rotate(-4deg);
	}

	50% {
		transform: rotate(3deg);
	}

	75% {
		transform: rotate(-5deg);
	}

	100% {
		transform: rotate(6deg);
	}
}

/* Šňůrky */
.rope {
	position: absolute;
	width: 300px;
	height: 140px;
	top: -80px;
	left: 50%;
	transform: translateX(-50%);
}

.rope line {
	stroke: #ffffffcc;
	stroke-width: 3;
	stroke-linecap: round;
}

/* Cedule */
.sign-wrapper {
	position: relative;
}

.sign {
	margin-top: 35px;
	background: #26ff3c;
	padding: 35px 70px;
	font-size: 72px;
	font-weight: 900;
	border-radius: 16px;
	color: black;
	position: relative;
	z-index: 50;
	box-shadow: 0 20px 30px rgba(0, 0, 0, 0.3);
	font-family: Arial, sans-serif;
}

.sign.closed {
	background: var(--color-red) !important;
	color: white !important;
}

/* text pod cedulí */
#countdown {
	margin-bottom: 25px;
	font-size: 25px;
	color: white;
}

/* WRAPPER kolem tabulky */
.open-table-wrapper {
	width: 60%;
	padding: 40px;
	max-width: 950px;
	margin: 0 auto;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	box-sizing: border-box;
}

/* TABULKA */
.open-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 30px;
	margin-bottom: 50px;
}

/* buňky */
.open-table th,
.open-table td {
	padding: 15px;
	text-align: center;
	font-size: 22px;
	width: 33.33%;
	/* 🔥 TADY JE TA MAGIE – STEJNÉ SLoupce */
	color: white;
}

/* první sloupec velkým písmem */
.open-table th:first-child,
.open-table td:first-child {
	text-transform: uppercase;
	/* font-weight: 700; */
}

/* barvy hlaviček */
.open-table th:nth-child(2) {
	background: #c8322e;
	color: white;
	font-weight: 800;
}

.open-table th:nth-child(3) {
	background: white;
	color: black;
	font-weight: 800;
}

/* OD sloupec */
.open-table td:nth-child(2) {
	background: #651d1b;
}

/* DO sloupec */
.open-table td:nth-child(3) {
	background: transparent;
}

/* Poznámka */
.open-note {
	font-size: 17px;
	color: #ccc;
}

.open-note strong {
	color: white;
}

.open-note a {
	color: #ccc;
	text-decoration: underline;
	text-decoration-color: white;
	text-underline-offset: 4px;
}

/* ============================
   RESPONSIVE – Hanging sign
============================ */

/* Tablets & small screens */
@media (max-width: 768px) {
	#section-opentime {
		padding: 180px 0 40px 0;
	}

	.sign {
		font-size: 48px;
		padding: 25px 45px;
	}

	.rope {
		width: 300px;
		height: 110px;
		top: -60px;
	}

	.nail {
		top: -65px;
		width: 16px;
		height: 16px;
	}

	.pivot {
		transform-origin: 50% -70px;
	}

	#countdown {
		font-size: 20px;
	}

	.rope line {
		stroke-width: 2.2;
	}

	.open-table-wrapper {
		width: 80%;
	}
}

/* Mobile */
@media (max-width: 480px) {
	#section-opentime {
		padding: 140px 0 30px 0;
	}

	.rope line {
		stroke-width: 1.6;
	}

	.sign {
		font-size: 32px;
		padding: 18px 30px;
		border-radius: 12px;
	}

	.rope {
		width: 300px;
		height: 90px;
		top: -50px;
	}

	.rope line {
		stroke-width: 2;
	}

	.nail {
		top: -50px;
		width: 12px;
		height: 12px;
	}

	.pivot {
		transform-origin: 50% -55px;
	}

	#countdown {
		font-size: 18px;
	}

	.open-table th,
	.open-table td {
		font-size: 16px;
		padding: 10px;
	}

	.open-note {
		font-size: 14px;
	}

	.open-table-wrapper {
		width: 100%;
		padding: 0 30px;
	}
}

/****************************
    SECTION APPLICATION
****************************/
#section-application {
	background: #000;
	color: #fff;
	padding: 50px 0;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}

.app-container {
	width: calc(100% - 120px);
	display: flex;
	flex-direction: column;
	gap: 80px;
	padding: 0 60px;
	max-width: 2000px;
}

/* --- Top part (image + info) --- */
.app-top {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 60px;
	overflow: hidden;
	flex-wrap: nowrap;
	height: 800px;
}

.app-left {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	width: 100%;
	height: 100%;
	position: relative;
}

/* Gradient overlay to smooth fade into black background */
.app-left::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 80px;
	background: linear-gradient(to bottom, #000 35%, transparent 100%);
	z-index: 2;
	pointer-events: none;
}

.app-photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* keeps full image visible */
	object-position: right center;
	/* align image slightly right */
	border-radius: 0;
	/* looks cleaner as a hero visual */
}

.app-right {
	flex: 0 0 50%;
	max-width: 700px;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.app-right .headline {
	font-weight: 800;
	text-transform: uppercase;
	margin-bottom: 15px;
	margin-top: -50px;
}

.app-description {
	color: #ccc;
	font-size: 1rem;
	margin-bottom: 40px;
	line-height: 1.6;
}

.app-description a {
	color: #ccc;
	text-decoration: underline;
	text-decoration-color: white;
	text-underline-offset: 4px;
}

/* --- QR codes --- */
.app-downloads {
	display: flex;
	gap: 40px;
	margin-bottom: 40px;
}

.app-downloads .qr {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.app-downloads img {
	width: 120px;
	height: 120px;
	background: #111;
	padding: 8px;
	border-radius: 10px;
}

.app-downloads a {
	text-decoration: none;
	margin-top: 10px;
	font-size: 0.9rem;
	color: #aaa;
}

/* --- Feature list --- */
.app-features {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px 60px;
	align-items: start;
	margin-top: 30px;
	max-width: 600px;
}

.app-features ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: contents;
}

.app-features li {
	position: relative;
	padding-left: 28px;
	color: #ddd;
	font-size: 0.95rem;
	line-height: 1.5;
	display: flex;
	align-items: flex-start;
}

.app-features li::before {
	content: "✔";
	position: absolute;
	left: 0;
	top: 0;
	color: var(--color-red);
	font-weight: bold;
}

@media (max-width: 768px) {
	.app-features {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.app-container {
		width: calc(100% - 75px);
		padding: 0 40px;
	}
}

@media (max-width: 600px) {
	.app-container {
		width: calc(100% - 40px);
		padding: 0 20px;
	}
}

/* --- Bottom part (screens + deposit) --- */
.app-bottom {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 60px;
}

/* --- App Screenshots --- */
.app-screens {
	display: flex;
	justify-content: center;
	gap: 30px;
	flex-wrap: wrap;
}

.app-screens img {
	width: 220px;
	border-radius: 16px;
	background: #111;
	object-fit: cover;
	cursor: pointer;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

/* --- Deposit block --- */
.app-deposit {
	background: #0e0e0e;
	padding: 50px;
	border-radius: 18px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
	width: 100%;
	max-width: 900px;
}

.app-deposit h3 {
	font-size: 1.6rem;
	font-weight: 800;
	margin-bottom: 20px;
}

/* Replaced ul -> clean text paragraphs */
.app-deposit-text {
	color: #ccc;
	font-size: 0.95rem;
	line-height: 1.7;
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin-bottom: 25px;
}

.app-deposit-text p {
	margin: 0;
}

.app-deposit strong {
	color: #fff;
}

.discount-table {
	display: grid;
	gap: 10px;
}

.discount-table .row {
	display: flex;
	justify-content: space-between;
	background: #1a1a1a;
	padding: 14px 20px;
	border-radius: 10px;
	font-weight: 600;
	color: #fff;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.discount-table .row:hover {
	transform: translateY(-6px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.discount {
	color: var(--color-red);
}

/* --- Modal for enlarged screenshots --- */
.app-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.85);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease;
	z-index: 9999;
	cursor: zoom-out;
	/* visual hint for closing */
}

.app-modal.visible {
	opacity: 1;
	visibility: visible;
}

.app-modal-content {
	position: relative;
	max-width: 90vw;
	max-height: 90vh;
	display: flex;
	align-items: center;
	justify-content: center;
	animation: modalIn 0.25s ease;
	cursor: default;
	/* keep normal cursor on image */
}

.app-modal-content img {
	max-width: 100%;
	max-height: 90vh;
	border-radius: 18px;
	object-fit: contain;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

@keyframes modalIn {
	from {
		transform: scale(0.94);
		opacity: 0;
	}

	to {
		transform: scale(1);
		opacity: 1;
	}
}

/* Smaller screens (under ~1000px): hide image for compact layout */
@media (max-width: 1215px) {
	.app-left {
		display: none;
	}

	.app-right {
		max-width: 100%;
	}

	.app-top {
		height: auto;
		flex-wrap: wrap;
		gap: 40px;
	}

	.app-left {
		flex: 1 1 100%;
		max-width: 100%;
		padding: 0 40px;
	}

	.app-right {
		flex: 1 1 100%;
		max-width: 100%;
	}

	.app-deposit {
		padding: 40px;
	}
}

@media (max-width: 900px) {
	.app-deposit {
		padding: 30px;
	}
}

@media (max-width: 650px) {
	.app-deposit {
		padding: 20px;
	}
}

/****************************
    RESPONSIVNES
****************************/
@media (max-width: 600px) {
	.trainer-info {
		flex-direction: column;
		gap: 0.5rem;
		align-items: center;
		text-align: center;
	}

	.trainer-name {
		align-items: center;
		white-space: normal;
	}

	.trainer-name .lname {
		margin-left: 0;
	}
}

._akce_popup-content {
	box-shadow: 0 -4px 0px 0px var(--color-red);
}

._akce_popup-btn {
	background: var(--color-red);
	color: white;
}