/*
Theme Name: Jan Melich Theme
Author: Jan Melich
Version: 1.2
*/

/* =====================================================
   RESET
   ===================================================== */

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

html {
	scroll-behavior: smooth;
}

body {
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: #222222;
	background: #ffffff;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
	transition: all 0.25s ease;
}

ul {
	list-style: none;
}

button {
	border: none;
	background: none;
	cursor: pointer;
	font: inherit;
}

/* =====================================================
   GLOBAL CONTAINER
   ===================================================== */

.jm-container {
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
	padding: 0 20px;
}

/* =====================================================
   TOPBAR
   ===================================================== */

.jm-topbar {
	background: #090909;
	color: rgba(255, 255, 255, 0.88);
	font-size: 13px;
	position: relative;
	z-index: 10002;
}

.jm-topbar .jm-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 44px;
	padding-top: 8px;
	padding-bottom: 8px;
}

.jm-topbar-left,
.jm-topbar-right {
	display: flex;
	align-items: center;
}

.jm-topbar-left {
	flex: 1 1 auto;
	min-width: 0;
	gap: 10px;
}

.jm-topbar-left > i {
	flex: 0 0 auto;
	font-size: 12px;
	color: #ff1010;
}

.jm-topbar-info {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0;
	row-gap: 6px;
	min-width: 0;
}

.jm-topbar-item {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	white-space: nowrap;
	color: rgba(255, 255, 255, 0.88);
}

.jm-topbar-item strong {
	color: #ffffff;
	font-weight: 700;
}

.jm-topbar-dot {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.28);
	margin: 0 10px;
	flex: 0 0 auto;
}

.jm-topbar-season {
	color: rgba(255, 255, 255, 0.78);
}

.jm-topbar-right {
	flex: 0 0 auto;
	gap: 22px;
	white-space: nowrap;
}

.jm-topbar-right a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: rgba(255, 255, 255, 0.92) !important;
	text-decoration: none !important;
	font-weight: 500;
	line-height: 1;
}

.jm-topbar-right a:hover,
.jm-topbar-right a:focus {
	color: #ffffff !important;
	text-decoration: none !important;
}

.jm-topbar-right a::before,
.jm-topbar-right a::after {
	display: none !important;
	content: none !important;
}

.jm-topbar-right i {
	font-size: 12px;
	color: #ff1010;
}

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

.jm-header {
	position: sticky;
	top: 0;
	z-index: 10001;
}

.jm-header-top {
	background: linear-gradient(90deg, #2a0000 0%, #530000 45%, #7c0000 100%);
	padding: 18px 0 14px;
}

.jm-header-top-inner {
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.jm-logo img {
	max-height: 48px;
	width: auto;
}

.jm-menubar {
	background: #4a0000;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.jm-menubar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 78px;
}

/* =====================================================
   RESERVATION BUTTON
   ===================================================== */

.jm-btn-reservation {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 44px;
	padding: 0 20px;
	position: relative;
	overflow: hidden;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.18);
	color: #ffffff !important;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	border: 1px solid rgba(255, 255, 255, 0.25);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	box-shadow:
		0 4px 12px rgba(0, 0, 0, 0.25),
		inset 0 1px 0 rgba(255, 255, 255, 0.25);
	transition: all 0.3s ease;
}

.jm-btn-reservation::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 999px;
	background: linear-gradient(
		120deg,
		rgba(255, 255, 255, 0.35) 0%,
		rgba(255, 255, 255, 0.05) 40%,
		rgba(255, 255, 255, 0.25) 100%
	);
	opacity: 0.25;
	pointer-events: none;
}

.jm-btn-reservation i {
	font-size: 13px;
	color: #ffffff;
	opacity: 0.9;
	position: relative;
	z-index: 1;
}

.jm-btn-reservation span {
	position: relative;
	z-index: 1;
	top: 1px;
}

.jm-btn-reservation:hover,
.jm-btn-reservation:focus {
	background: rgba(255, 255, 255, 0.28);
	transform: translateY(-2px);
	box-shadow:
		0 10px 24px rgba(0, 0, 0, 0.35),
		inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.jm-btn-reservation:active {
	transform: translateY(0);
	box-shadow:
		0 4px 10px rgba(0, 0, 0, 0.25),
		inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* =====================================================
   DESKTOP NAV
   ===================================================== */

.jm-nav {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	justify-content: flex-end;
}

.jm-nav ul {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 18px;
	width: 100%;
}

.jm-nav li {
	margin: 0;
}

.jm-nav a {
	position: relative;
	display: inline-block;
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	white-space: nowrap;
	padding: 6px 0;
}

.jm-nav a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -4px;
	width: 0;
	height: 2px;
	background: #ff3b3b;
	transition: width 0.25s ease;
}

.jm-nav a:hover,
.jm-nav a:focus {
	color: #f2dede;
}

.jm-nav a:hover::after,
.jm-nav a:focus::after {
	width: 100%;
}

/* =====================================================
   MOBILE TOGGLE
   ===================================================== */

.jm-mobile-toggle {
	display: none;
	flex: 0 0 auto;
	width: 42px;
	height: 42px;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 5px;
}

.jm-mobile-toggle span {
	display: block;
	width: 24px;
	height: 3px;
	border-radius: 2px;
	background: #ffffff;
	transition: 0.25s ease;
}

.jm-mobile-toggle.is-active span:nth-child(1) {
	transform: translateY(8px) rotate(45deg);
}

.jm-mobile-toggle.is-active span:nth-child(2) {
	opacity: 0;
}

.jm-mobile-toggle.is-active span:nth-child(3) {
	transform: translateY(-8px) rotate(-45deg);
}

/* =====================================================
   MOBILE MENU
   ===================================================== */

.jm-mobile-menu {
	display: none;
	background: #3e0000;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.jm-mobile-menu.is-open {
	display: block;
}

.jm-mobile-menu ul {
	padding: 10px 0;
}

.jm-mobile-menu li {
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.jm-mobile-menu li:last-child {
	border-bottom: none;
}

.jm-mobile-menu a {
	display: block;
	padding: 14px 0;
	color: #ffffff;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.jm-mobile-menu a:hover,
.jm-mobile-menu a:focus {
	color: #f2dede;
}

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

.jm-footer {
	background: linear-gradient(180deg, #120000 0%, #090909 100%);
	color: rgba(255, 255, 255, 0.88);
	padding: 42px 0 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	position: relative;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.jm-footer .jm-container {
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
	padding: 0 20px;
}

.jm-footer-grid {
	display: grid;
	grid-template-columns: 0.95fr 1fr 1.15fr 1.2fr;
	gap: 34px;
	padding-bottom: 28px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	align-items: start;
}

.jm-footer-col {
	min-width: 0;
	font-family: inherit;
}

.jm-footer-brand-col {
	padding-right: 10px;
}

.jm-footer-col h3,
.jm-footer-col h4 {
	margin: 0 0 14px;
	color: #ffffff;
	line-height: 1.3;
	font-family: inherit;
}

.jm-footer-col h3 {
	font-size: 16px;
	font-weight: 700;
}

.jm-footer-col h4 {
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	display: flex;
	align-items: center;
	gap: 8px;
}

.jm-footer-logo {
	margin-bottom: 16px;
}

.jm-footer-logo img {
	display: block;
	max-height: 34px;
	width: auto;
	filter: drop-shadow(0 0 6px rgba(255, 40, 40, 0.15));
}

.jm-footer-company p,
.jm-footer-contact p,
.jm-footer-hours p,
.jm-footer-copyright p {
	margin: 0 0 6px;
	font-size: 13px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.82);
	font-family: inherit;
}

.jm-footer-contact a,
.jm-footer a {
	color: rgba(255, 255, 255, 0.92);
	text-decoration: none;
	transition: color 0.25s ease, opacity 0.25s ease;
	font-family: inherit;
}

.jm-footer-contact a:hover,
.jm-footer-contact a:focus,
.jm-footer a:hover,
.jm-footer a:focus {
	color: #ffffff;
	text-decoration: none;
}

.jm-footer .fas,
.jm-footer .fa-solid {
	width: 16px;
	text-align: center;
	color: #ff3b3b;
	opacity: 0.9;
	flex: 0 0 16px;
}

.jm-footer-contact p,
.jm-footer-hours p {
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.jm-footer-contact p i,
.jm-footer-hours p i {
	margin-top: 3px;
}

.jm-footer-season {
	color: #ffb3b3 !important;
	font-weight: 600;
	margin-top: 10px;
}

.jm-footer-map {
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: #111111;
	width: 100%;
	max-width: 100%;
}

.jm-footer-map iframe {
	display: block;
	width: 100%;
	height: 240px;
}

.jm-footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding-top: 20px;
	font-family: inherit;
}

.jm-footer-copyright p {
	margin: 0;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.68);
	font-family: inherit;
}

.jm-footer-signature {
	opacity: 0;
	transform: translateY(20px);
	animation: jmFadeUp 0.8s ease forwards;
}

.jm-footer-signature a {
	color: #ffffff;
	font-size: 11px;
	font-weight: 300;
	text-decoration: none;
	letter-spacing: 1px;
	position: relative;
	transition: color 0.3s ease, text-shadow 0.3s ease;
	font-family: inherit;
}

.jm-footer-signature a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 0%;
	height: 1px;
	background: #95FFCC;
	transition: width 0.4s ease;
}

.jm-footer-signature a:hover,
.jm-footer-signature a:focus {
	color: #95FFCC;
	text-shadow: 0 0 8px #95FFCC;
}

.jm-footer-signature a:hover::after,
.jm-footer-signature a:focus::after {
	width: 100%;
}

@keyframes jmFadeUp {
	0% {
		opacity: 0;
		transform: translateY(20px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

/* =====================================================
   SCROLL TO TOP
   ===================================================== */

.jm-scroll-top {
	position: fixed;
	right: 24px;
	bottom: 24px;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: rgba(122, 0, 0, 0.75);
	color: #ffffff;
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: all 0.3s ease;
	z-index: 9999;
}

.jm-scroll-top.show {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.jm-scroll-top:hover,
.jm-scroll-top:focus {
	background: #e30613;
	transform: translateY(-2px) scale(1.05);
	color: #ffffff;
}

.jm-scroll-top i {
	font-size: 14px;
}

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

/* hide topbar sooner */
@media (max-width: 1180px) {
	.jm-topbar {
		display: none !important;
	}

	.jm-nav ul {
		gap: 14px;
	}

	.jm-nav a {
		font-size: 11px;
	}
}

/* tablet */
@media (max-width: 1024px) {
	.jm-nav {
		display: none;
	}

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

	.jm-logo img {
		max-height: 44px;
	}

	.jm-menubar-inner {
		min-height: 72px;
	}

	.jm-footer-grid {
		grid-template-columns: 1fr 1fr;
	}
}

/* mobile */
@media (max-width: 768px) {
	.jm-header {
		position: relative;
		top: auto;
	}

	.jm-header-top {
		padding: 14px 0 12px;
	}

	.jm-logo img {
		max-height: 40px;
	}

	.jm-menubar-inner {
		min-height: 64px;
		gap: 12px;
	}

	.jm-btn-reservation {
		min-height: 42px;
		padding: 0 14px;
		font-size: 11px;
		gap: 8px;
	}

	.jm-footer {
		padding: 34px 0 18px;
	}

	.jm-footer .jm-container {
		padding: 0 16px;
	}

	.jm-footer-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.jm-footer-bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	.jm-footer-signature a {
		font-size: 10px;
	}

	.jm-scroll-top {
		right: 16px;
		bottom: 16px;
		width: 40px;
		height: 40px;
	}
}

/* small mobile */
@media (max-width: 480px) {
	.jm-container {
		padding: 0 14px;
	}

	.jm-header-top {
		padding: 12px 0 10px;
	}

	.jm-logo img {
		max-height: 36px;
	}

	.jm-menubar-inner {
		min-height: 60px;
		gap: 10px;
	}

	.jm-btn-reservation {
		min-height: 40px;
		padding: 0 12px;
		font-size: 10px;
		gap: 6px;
	}

	.jm-btn-reservation i {
		font-size: 12px;
	}

	.jm-mobile-menu a {
		font-size: 13px;
		padding: 12px 0;
	}
}