/* ==================================================================================
   GLOBAL RESET A KOŘENOVÉ PROMĚNNÉ
   ================================================================================== */

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--text-black: #000000;
	--dark-blue: #15324c;
	--header-right-top: #ec531c;
	--header-right-text: #ffffff;
	--orange: #ec531c;
	--white-text: #e6e6e6;
	--h1-text-white: #fbf9f9;
	--background-right-header: #cecece;
	--about-us-background: #ffffff;
	--promo-background: #d7d7d7;
	--shadow: rgba(0, 0, 0, 0.3);
	--contact-background: #ffffff;
	--contact-text-background: #eeeded;
	--circle-background: #000000;
	--circle-text: #000000;
	--promo-text: rgb(255, 255, 255);
	--form-red: #db0000;
	--form-green: #008000;
	--footer-bottom-background: #17212b;
	--clear-white-button: #ffffff;
}

body {
	font-family: "Roboto", sans-serif;
}

h1 {
	text-align: center;
	color: var(--orange);
	padding: 20px 0;
}

li {
	list-style: none;
}

a {
	text-decoration: none;
	color: var(--orange);
	font-size: 16px;
}

a:hover {
	color: var(--promo-background);
}

header {
	position: relative;
}

/* ==================================================================================
   HEADER / HERO
   ================================================================================== */

.header-image {
	position: relative;
	background-image: url("/frontend/images/photos/heroherohero1.png");
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-size: cover;
	min-height: 70vh;
	padding-bottom: 170px;
	overflow: visible;
}

/* ==================================================================================
   NAVIGACE
   ================================================================================== */

.nav {
	position: absolute;
	top: 20px;
	left: 50%;
	transform: translateX(-50%);
	width: 70%;

	padding: 15px 30px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.15);

	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;

	z-index: 200;
}

.nav__logo {
	flex-shrink: 0;
}

.nav__logo img {
	height: 45px;
	display: block;
}

.nav__links {
	display: flex;
	align-items: center;
	gap: 40px;
}

.nav__links a {
	color: #ffffff;
	font-size: 17px;
	font-weight: 500;
	position: relative;
	transition: color 0.25s ease;
	white-space: nowrap;
}

.nav__links a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -6px;
	height: 2px;
	width: 0;
	background: var(--orange);
	transition: width 0.25s ease;
}

.nav__links a:hover::after {
	width: 100%;
}

.nav__links a:hover {
	color: var(--orange);
}

/* ==================================================================================
   NOVÉ MOBILNÍ MENU
   ================================================================================== */

.mobile-nav-toggle {
	display: none;
	width: 48px;
	height: 48px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	color: #ffffff;
	font-size: 22px;
	cursor: pointer;

	align-items: center;
	justify-content: center;
	flex-shrink: 0;

	position: relative;
	z-index: 1201;

	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
}

.mobile-nav-toggle i {
	pointer-events: none;
}

.mobile-menu-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	z-index: 1198;
}

.mobile-menu-panel {
	position: fixed;
	top: 0;
	right: 0;
	width: min(88vw, 360px);
	height: 100dvh;
	background: rgba(21, 50, 76, 0.98);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-left: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow: -20px 0 40px rgba(0, 0, 0, 0.35);

	display: flex;
	flex-direction: column;
	padding: 18px 16px 24px;
	overflow-y: auto;

	z-index: 1199;
}

.mobile-menu-panel__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 24px;
}

.mobile-menu-panel__logo {
	display: inline-flex;
	align-items: center;
	max-width: 170px;
}

.mobile-menu-panel__logo img {
	display: block;
	width: 100%;
	max-width: 170px;
	height: auto;
}

.mobile-menu-close {
	width: 42px;
	height: 42px;
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.08);
	color: #ffffff;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;

	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.mobile-menu-nav {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.mobile-menu-nav a {
	display: block;
	width: 100%;
	padding: 15px 14px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.08);
	color: #ffffff;
	font-size: 18px;
	font-weight: 500;
	text-align: left;
	transition:
		border-color 0.25s ease,
		color 0.25s ease,
		background 0.25s ease;
}

.mobile-menu-nav a:hover,
.mobile-menu-nav a:focus {
	color: var(--orange);
	border-color: var(--orange);
	background: rgba(255, 255, 255, 0.1);
	outline: none;
}

body.mobile-menu-open {
	overflow: hidden;
}

.mobile-menu-overlay[hidden],
.mobile-menu-panel[hidden] {
	display: none !important;
}

/* ==================================================================================
   HERO CTA
   ================================================================================== */

.hero-cta-nav {
	position: absolute;
	bottom: 7vh;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 20px;
	justify-content: flex-end;
	align-items: center;
	z-index: 150;
}

.hero-btn {
	padding: 12px 26px;
	font-size: 17px;
	font-weight: 600;
	border-radius: 12px;
	text-decoration: none;

	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);

	transition:
		background 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease,
		transform 0.2s ease;
}

/* Odeslat poptávku */
.hero-btn.primary {
	color: #ffffff;
	background: rgba(236, 83, 28, 0.9);
	border: 1px solid rgba(236, 83, 28, 0.95);

	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

/* Zavolat mechanikovi */
.hero-btn.secondary {
	color: #ffffff;
	background: var(--dark-blue);
	border: 1px solid var(--orange);

	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
}

/* Jemný hover */
.hero-btn.primary:hover {
	color: #ffffff;
	background: var(--orange);
	border-color: var(--orange);
	transform: translateY(-1px);
}

.hero-btn.secondary:hover {
	color: #ffffff;
	background: var(--dark-blue);
	border-color: var(--orange);
	transform: translateY(-1px);
}
/* ==================================================================================
   HEADER-MAIN
   ================================================================================== */

.header-between {
	position: absolute;
	top: 64vh;
	left: 50%;
	transform: translateX(-50%);
	z-index: 5;
	display: flex;
	gap: 20px;
}

/* ==================================================================================
   RESPONSIVE
   ================================================================================== */

@media (max-width: 1340px) {
	.nav {
		width: 85%;
	}

	.header-between {
		flex-direction: column;
	}

	.between-second {
		display: none !important;
	}

	.section-about-us {
		margin-top: 0;
	}
}

@media (max-width: 900px) {
	.nav {
		width: calc(100% - 24px);
		top: 12px;
		padding: 12px 16px;
	}

	.nav__logo img {
		height: 38px;
	}

	.nav__links {
		display: none;
	}

	.mobile-nav-toggle {
		display: inline-flex;
	}

	.footer-container {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
}

@media (max-width: 600px) {
	.header-between {
		display: none;
	}

	.hero-cta-nav {
		flex-direction: column;
		align-items: stretch;
		width: calc(100% - 24px);
		bottom: 4vh;
	}

	.hero-btn {
		width: 100%;
		text-align: center;
	}

	.footer-column {
		margin-bottom: 30px;
	}
}

@media (min-width: 901px) {
	.mobile-menu-overlay,
	.mobile-menu-panel {
		display: none !important;
	}
}

/* ==================================================================================
   HEADER INFO BLOCKS
   ================================================================================== */

.header-between {
	position: absolute;
	left: 50%;
	bottom: -72px;
	transform: translateX(-50%);
	z-index: 20;

	display: flex;
	gap: 20px;
	width: min(100% - 32px, 1300px);
	align-items: stretch;
}

.between-first,
.between-second {
	flex: 1;
	border-radius: 14px;
	display: flex;
	gap: 12px;
	padding: 20px 20px 0;
	transition: all 0.25s ease;
	min-height: 170px;
}

.between-first {
	background-color: var(--dark-blue);
	border: 1px solid rgba(255, 255, 255, 0.15);
}

.between-second {
	background-color: #ffffff;
	border: 1px solid rgba(0, 0, 0, 0.08);
}

.between-first:hover,
.between-second:hover {
	border-color: var(--orange);
	transform: translateY(-2px);
}

.between-first img,
.between-second img {
	height: 42px;
	flex-shrink: 0;
}

.text-container-b {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
	gap: 6px;
}

.text-content {
	flex-grow: 1;
}

.text-main,
.text-main-black {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	font-size: 16px;
	font-weight: 600;
}

.text-main {
	color: var(--orange);
}

.text-main-black {
	color: var(--dark-blue);
}

.text-sub {
	color: #ffffff;
	font-size: 12px;
	line-height: 1.45;
}

.text-sub-black {
	color: var(--dark-blue);
	font-size: 12px;
	line-height: 1.45;
}

.b-f-button {
	padding: 8px 20px;
	margin: 7px 0 7px;
	display: inline-block;
	width: fit-content;

	border-radius: 12px;
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;

	background: rgba(255, 255, 255, 0.12);
	border: 1px solid var(--orange);
	color: var(--orange);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);

	transition: all 0.25s ease;
}

.b-f-button:hover {
	background: rgba(255, 255, 255, 0.18);
	transform: translateY(-2px);
	color: var(--orange);
}

/* ==================================================================================
   MONTHLY PROMO
   ================================================================================== */

.monthly-promo {
	padding-top: 130px;
}

.monthly-promo-h1 {
	margin-bottom: 40px;
	font-size: 34px;
	color: var(--orange);
}

.monthly-promo-wrapper {
	margin: 0 auto;
	display: flex;
	gap: 40px;
	padding: 40px 0;

	background: var(--dark-blue);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border-radius: 22px;

	border: 1px solid rgba(255, 255, 255, 0.18);
	box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

.monthly-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 0 30px;
	gap: 24px;
	color: var(--white-text);
}

.discount-container {
	display: flex;
	align-items: center;
	gap: 16px;
	justify-content: center;
}

.arrow-down {
	width: 52px;
	height: 52px;
}

.discount-container span {
	font-size: 64px;
	font-weight: 700;
	color: var(--orange);
	letter-spacing: -1px;
}

.monthly-content p {
	color: var(--white-text);
	font-size: 17px;
	line-height: 1.6;
	max-width: 520px;
}

.cta-button {
	padding: 12px 26px;
	font-size: 17px;
	font-weight: 500;
	border-radius: 14px;
	text-decoration: none;

	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.15);
	color: #ffffff;

	transition: all 0.25s ease;
}

.cta-button a {
	color: var(--orange);
	text-decoration: none;
}

.cta-button:hover {
	border-color: var(--orange);
	color: var(--orange);
	transform: translateY(-2px);
}

.monthly-contact {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 10px;
}

.monthly-contact p {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--white-text);
	font-size: 15px;
}

.monthly-img {
	width: 20px;
	height: 20px;
}

.custom-phone-link {
	color: var(--white-text);
	font-weight: 500;
}

.custom-phone-link:hover {
	color: var(--orange);
	transform: translateY(-2px);
}

.monthly-promo-images {
	flex: 1;
	display: flex;
	justify-content: right;
	align-items: center;
}

.monthly-promo-images img {
	width: 100%;
	max-width: 420px;
	transition: transform 0.25s ease;
}

.monthly-promo-images img:hover {
	transform: scale(1.02);
}

/* ==================================================================================
   FOOTER
   ================================================================================== */

.footer-image {
	background-color: #15324c;
	background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23606970' fill-opacity='0.4' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E");
}

.footer-container {
	padding: 70px 20px 50px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 40px;
	max-width: 1300px;
	margin: 0 auto;
}

.footer-column {
	text-align: center;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.footer-column h2 {
	font-size: 16px;
	letter-spacing: 0.06em;
	color: var(--orange);
	margin-bottom: 10px;
	text-transform: uppercase;
}

.footer-column h3 {
	font-size: 14px;
	color: #ffffff;
	margin-top: 14px;
}

.footer-column p,
.footer-column a {
	color: #e5e7eb;
	font-size: 14px;
	text-decoration: none;
	transition: color 0.2s ease;
}

.footer-column a:hover {
	color: var(--orange);
}

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

.footer-column ul li {
	margin-bottom: 8px;
}

.social-icons {
	display: flex;
	justify-content: center;
	gap: 16px;
	margin-top: 20px;
}

.social-icons a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.06);
	transition: background 0.2s ease;
}

.social-icons img {
	width: 18px;
	height: 18px;
	display: block;
	transition:
		filter 0.25s ease,
		transform 0.25s ease;
	filter: brightness(0) invert(1);
}

.social-icons a:hover {
	background: rgba(236, 83, 28, 0.2);
}

.social-icons a:hover img {
	filter: brightness(0) invert(46%) sepia(95%) saturate(2500%)
		hue-rotate(355deg) brightness(95%);
	transform: scale(1.15);
}

.footer-bottom {
	text-align: center;
	padding: 18px 10px;
	background: rgba(0, 0, 0, 0.2);
}

.footer-bottom p {
	margin: 0;
	font-size: 13px;
	color: var(--orange);
	letter-spacing: 0.03em;
}

.top-circle {
	height: 44px;
	width: 44px;
	border-radius: 50%;
	background-color: #ec531c;
	color: #ffffff;
	font-size: 18px;
	position: fixed;
	bottom: 18px;
	right: 18px;
	display: none;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease;
	z-index: 10;
}

.top-circle:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
}

/* ==================================================================================
   RESPONSIVE
   ================================================================================== */

@media (max-width: 1340px) {
	.nav {
		width: calc(100% - 32px);
	}

	.header-between {
		width: calc(100% - 32px);
		gap: 16px;
	}

	.nav__links {
		gap: 28px;
	}
}

@media (max-width: 1100px) {
	.header-image {
		padding-bottom: 140px;
	}

	.header-between {
		bottom: -62px;
	}

	.between-first,
	.between-second {
		padding: 18px 16px 0;
		min-height: 160px;
	}

	.nav__links {
		gap: 22px;
	}

	.nav__links a {
		font-size: 16px;
	}
}

@media (max-width: 900px) {
	.nav__links {
		display: none;
	}

	.mobile-nav-toggle {
		display: inline-flex;
	}

	.header-image {
		min-height: 70vh;
		padding-bottom: 120px;
	}

	.hero-cta-nav {
		bottom: 140px;
		gap: 14px;
	}

	.header-between {
		display: none;
	}

	.monthly-promo {
		padding-top: 60px;
	}

	.monthly-promo-images {
		display: none;
	}

	.cta-button {
		align-self: center;
	}

	.footer-container {
		padding: 50px 16px;
		gap: 30px;
	}

	.footer-column {
		text-align: center;
	}
}

@media (max-width: 700px) {
	.nav {
		top: 14px;
		padding: 12px 16px;
		width: calc(100% - 20px);
		border-radius: 12px;
	}

	.nav__logo img {
		height: 38px;
	}

	.header-image {
		min-height: 62vh;
		padding-bottom: 110px;
		background-position: center center;
	}

	.hero-cta-nav {
		bottom: 20px;
		width: calc(100% - 24px);
		gap: 12px;
	}

	.hero-btn {
		padding: 11px 18px;
		font-size: 15px;
		border-radius: 12px;
	}

	.monthly-promo-wrapper {
		flex-direction: column;
		gap: 24px;
		padding: 28px 0;
	}

	.monthly-content {
		padding: 0 20px;
		gap: 18px;
	}

	.discount-container span {
		font-size: 48px;
	}

	.monthly-content p {
		font-size: 15px;
	}
}

@media (max-width: 600px) {
	.hero-cta-nav {
		flex-direction: column;
		align-items: stretch;
	}

	.hero-btn {
		text-align: center;
		width: 100%;
	}

	.monthly-promo {
		padding: 30px 0;
	}

	.monthly-promo-h1 {
		font-size: 28px;
		margin-bottom: 26px;
	}

	.footer-column {
		margin-bottom: 30px;
	}
}

@media (max-width: 420px) {
	.nav {
		padding: 10px 14px;
	}

	.nav__logo img {
		height: 34px;
	}

	.mobile-nav-toggle {
		width: 46px;
		height: 46px;
	}

	.mobile-menu-panel {
		width: min(92vw, 340px);
		padding: 16px 14px 24px;
	}

	.mobile-menu-nav a {
		font-size: 17px;
		padding: 14px 12px;
	}

	.header-image {
		min-height: 58vh;
		padding-bottom: 100px;
	}

	.hero-cta-nav {
		bottom: 20px;
	}

	.hero-btn {
		font-size: 14px;
		padding: 10px 14px;
	}
}

@media (min-width: 901px) {
	.mobile-menu-overlay,
	.mobile-menu-panel {
		display: none !important;
	}
}
