/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/* Vlastní font Kro – načtení z uploads */
@font-face {
	font-family: "Kro";
	src: url("/wp-content/uploads/2026/02/Kro-Semibold.woff2") format("woff2");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Kro";
	src: url("/wp-content/uploads/2026/02/Kro-Bold.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

/* Grid dlaždic podniků */
.kro-podniky-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
	width: 100%;
}

@media (max-width: 1024px) {
	.kro-podniky-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.kro-podniky-grid {
		grid-template-columns: 1fr;
		margin-bottom: 48px;
	}
}

.kro-podnik-card {
	position: relative;
	aspect-ratio: 4 / 5;
	border-radius: 24px;
	overflow: hidden;
	background-color: #fdf4e8;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kro-podnik-card:hover {
	transform: scale(1.03);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.kro-podnik-card__media {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.kro-podnik-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.kro-podnik-card__content {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 24px;
	padding-right: 150px; /* prostor pro tlačítko Rezervace */
	pointer-events: none;
}

.kro-podnik-card__title {
	margin: 4px 0 0;
	z-index: 2;
	font-family: "Kro", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.kro-podnik-card__title a {
	pointer-events: auto;
}

.kro-podnik-card__reservation {
	position: absolute;
	top: 24px;
	right: 24px;
	z-index: 3;
	pointer-events: auto;
	display: inline-block;
	background-color: #F26722;
	color: #FFFFFF !important;
	padding: 0.35em 1.25em;
	border-radius: 50px;
	font-weight: 700;
	font-size: 15px;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	font-family: "Kro", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	line-height: 1.2;
	text-decoration: none;
}

.kro-podnik-card__reservation .elementor-button-text {
	padding: 0;
	color: #FFFFFF !important;
}

.kro-podnik-card__reservation:hover,
.kro-podnik-card__reservation:hover .elementor-button-text {
	color: #4c4c4c;
}

.kro-podnik-card__link {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: auto;
	text-indent: -9999px;
}

/* Obrázky s oblými rohy – třídu dej na widget Obrázek (Advanced → CSS Classes) */
.img-rounded img,
.img-rounded {
	border-radius: 12px;
	overflow: hidden;
}

/* Badge na položkách menu – třídu dej na celý widget menu (Advanced → CSS Classes) */
.menu-items-badge .elementor-nav-menu a,
.menu-items-badge .elementor-nav-menu .elementor-item {
	display: inline-block;
	background-color: #F26722;
	color: #FFFFFF;
	padding: 0.35em 1.25em;
	border-radius: 50px;
	font-weight: 700;
	font-size: 0.85em;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	font-family: inherit;
	line-height: 1.2;
	text-decoration: none;
}
.menu-items-badge .elementor-nav-menu li {
	display: inline-block;
}
.menu-items-badge .elementor-nav-menu a:hover,
.menu-items-badge .elementor-nav-menu .elementor-item:hover {
	color: #FFFFFF;
	opacity: 0.9;
}

/* Bílý text na úvodní stránce, černý na ostatních – přidej třídu na nadpisy/odstavce i ikonu burger menu */
.text-home-white,
.text-home-white a,
.text-home-white .elementor-heading-title,
.text-home-white .elementor-heading-title a,
.text-home-white .elementor-icon,
.text-home-white .elementor-icon svg {
	color: #333333;
	text-decoration: none;
	fill: #333333;
}
.text-home-white a:hover,
.text-home-white .elementor-heading-title a:hover {
	color: #333333;
	opacity: 0.85;
}
.text-home-white .elementor-icon:hover,
.text-home-white .elementor-icon:hover svg {
	color: #333333;
	fill: #333333;
	opacity: 0.85;
}
body.home .text-home-white,
body.home .text-home-white a,
body.home .text-home-white .elementor-heading-title,
body.home .text-home-white .elementor-heading-title a,
body.home .text-home-white .elementor-icon,
body.home .text-home-white .elementor-icon svg {
	color: #FFFFFF !important;
	fill: #FFFFFF !important;
}
body.home .text-home-white a:hover,
body.home .text-home-white .elementor-heading-title a:hover {
	color: #FFFFFF !important;
	opacity: 0.9;
}
body.home .text-home-white .elementor-icon:hover,
body.home .text-home-white .elementor-icon:hover svg {
	color: #FFFFFF !important;
	fill: #FFFFFF !important;
	opacity: 0.9;
}

/* Badge – bílé pozadí (standardní třída pro libovolný element) */
.badge-white {
	display: inline-block;
	background-color: #FFFFFF;
	color: #4C4C4C;
	padding: 0.35em 1.25em;
	border-radius: 50px;
	font-weight: 700;
	font-size: 0.85em;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	font-family: inherit;
	line-height: 1.2;
}

/* Přepínač jazyka (shortcode: kro_lang_badge) */
.kro-lang-badge {
	display: inline-block;
	background-color: #4C4C4C;
	color: #FFFFFF !important;
	padding: 0.35em 1.25em;
	border-radius: 50px;
	font-weight: 700;
	font-size: 0.85em;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	font-family: "Kro", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	line-height: 1.2;
	text-decoration: none;
}

/* Harmonika volných pozic */
.kro-harmonika {
	width: 100%;
	display: grid;
	gap: 14px;
}

.kro-harmonika__item {
	background-color: #FFFFFF;
	border: 1px solid #E9E1D7;
	border-radius: 20px;
	overflow: hidden;
}

.kro-harmonika__summary {
	list-style: none;
	display: block;
	width: 100%;
	box-sizing: border-box;
	cursor: pointer;
	position: relative;
	padding: 18px 56px 18px 20px;
	font-family: "Kro", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 15px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	color: #4C4C4C;
	line-height: 1.3;
}

.kro-harmonika__title {
	display: inline;
}

.kro-harmonika__podnik-badge {
	display: inline-block;
	margin-right: 10px;
	background-color: #F26722;
	color: #FFFFFF;
	padding: 0.35em 1.25em;
	border-radius: 50px;
	font-weight: 700;
	font-size: 0.85em;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	font-family: "Kro", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	line-height: 1.2;
	vertical-align: middle;
}

.kro-harmonika__summary::-webkit-details-marker {
	display: none;
}

.kro-harmonika__summary::before,
.kro-harmonika__summary::after {
	content: "";
	position: absolute;
	right: 22px;
	top: 50%;
	width: 14px;
	height: 2px;
	background: #F26722;
	transform: translateY(-50%);
	transition: transform 0.2s ease;
}

.kro-harmonika__summary::after {
	transform: translateY(-50%) rotate(90deg);
}

.kro-harmonika__item[open] .kro-harmonika__summary::after {
	transform: translateY(-50%) rotate(0deg);
}

.kro-harmonika__content {
	padding: 0 20px;
	color: #4C4C4C;
	font-family: "Kro", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	overflow: hidden;
	max-height: 0;
	opacity: 0;
	transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.35s ease;
}

.kro-harmonika__item[open] .kro-harmonika__content {
	padding: 0 20px 20px;
	opacity: 1;
}

.kro-harmonika__content > *:first-child {
	margin-top: 0;
}

.kro-harmonika__content > *:last-child {
	margin-bottom: 0;
}
