/*
 * Home page — native PHP layout.
 *
 * Sections (top → bottom):
 *   1. Hero image carousel (full-width)
 *   2. Intro: heading + text + counters (left) + hotel exterior (right)
 *   3. Service icons row (light bg, 6 cells)
 *   4. Izby a Apartmány promo (dark bg, text left, two room tiles right)
 *   5. Reštaurácia Mestská Pivnica (light, image left + text right)
 *   6. Konferenčné priestory (dark, text left + image right)
 *   7. Svadba v historickom centre (light, image left + text right)
 *   8. FAQ (dark, accordion)
 *   9. Contact + map (light, address+contacts left, Google Map right)
 *
 * `.teledom-home__split` is the shared 2-column primitive used by 4
 * sections; `--reverse` flips it. `.teledom-home__btn` is the shared
 * CTA button; `--ghost` is the inverted variant for dark backgrounds.
 */

.teledom-home {
	font-family: "Raleway", sans-serif;
	color: #2b2b2b;
	line-height: 1.6;
}

.teledom-home__wrap {
	max-width: 1340px;
	margin: 0 auto;
	padding: 0 20px;
}

/* ---------- shared primitives ---------- */

.teledom-home__split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
}

.teledom-home__split--reverse > .teledom-home__split-image {
	order: 2;
}

.teledom-home__split-image img {
	width: 100%;
	height: auto;
	display: block;
}

.teledom-home__split-title {
	margin: 0 0 24px;
	font-size: clamp(1.4rem, 2.4vw, 2rem);
	font-weight: 700;
	letter-spacing: 0.5px;
	color: inherit;
}

.teledom-home__split-title a {
	color: inherit;
	text-decoration: none;
}

.teledom-home__split-subtitle {
	margin: 28px 0 12px;
	font-size: 1.05rem;
	font-weight: 700;
}

.teledom-home__split-text p {
	margin: 0 0 14px;
	font-size: 0.95rem;
	color: #555;
}

.teledom-home__feature--dark .teledom-home__split-text p,
.teledom-home__rooms-promo .teledom-home__split-text p {
	color: #d0d0d0;
}

.teledom-home__feature-meta {
	font-size: 0.88rem !important;
	color: #777 !important;
	margin-bottom: 26px !important;
}

.teledom-home__btn {
	display: inline-block;
	padding: 12px 26px;
	border: 1px solid #2b2b2b;
	color: #2b2b2b;
	background: transparent;
	font-size: 0.78rem;
	letter-spacing: 1px;
	font-weight: 500;
	text-decoration: none;
	text-transform: uppercase;
	margin-top: 18px;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.teledom-home__btn:hover {
	background: #2b2b2b;
	color: #fff;
}

.teledom-home__btn--ghost {
	border-color: #fff;
	color: #fff;
}

.teledom-home__btn--ghost:hover {
	background: #fff;
	color: #2b2b2b;
}

/* ---------- 1. Hero carousel ---------- */
.teledom-home__hero {
	position: relative;
	overflow: hidden;
	background: #1c1d1e;
}

.teledom-home__hero-track {
	position: relative;
	height: 57vh;
	min-height: 380px;
	max-height: 640px;
}

.teledom-home__hero-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 0.6s ease-in-out;
}

.teledom-home__hero-slide.is-active {
	opacity: 1;
	z-index: 1;
}

.teledom-home__hero-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.teledom-home__hero-dots {
	position: absolute;
	bottom: 22px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 10px;
	z-index: 5;
}

.teledom-home__hero-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: 0;
	cursor: pointer;
	background: rgba(255, 255, 255, 0.45);
	transition: background 0.2s;
}

.teledom-home__hero-dot.is-active {
	background: var(--teledom-color-primary, #12894a);
}

/* ---------- 2. Intro ---------- */
.teledom-home__intro {
	padding: 60px 0 30px;
}

.teledom-home__intro-title {
	font-size: clamp(1.4rem, 2.2vw, 1.8rem);
	font-weight: 700;
	margin: 0 0 36px;
}

.teledom-home__intro-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
}

.teledom-home__intro-left p {
	margin: 0 0 14px;
	font-size: 0.92rem;
	color: #555;
}

.teledom-home__intro-image img {
	width: 100%;
	height: auto;
	display: block;
}

.teledom-home__counters {
	display: flex;
	gap: 60px;
	margin-top: 30px;
}

.teledom-home__counter-num {
	display: block;
	font-size: 2.4rem;
	font-weight: 300;
	line-height: 1;
}

.teledom-home__counter-label {
	display: block;
	margin-top: 6px;
	font-size: 0.82rem;
	color: #777;
}

/* ---------- 3. Services icons ---------- */
.teledom-home__services {
	padding: 30px 0 60px;
}

.teledom-home__services-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 24px;
}

.teledom-home__service {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	text-align: center;
}

.teledom-home__service-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	color: var(--teledom-color-primary, #12894a);
}

.teledom-home__service-icon svg {
	width: 100%;
	height: 100%;
}

.teledom-home__service-label {
	font-size: 0.82rem;
	color: var(--teledom-color-primary, #12894a);
	font-weight: 500;
}

/* ---------- 4. Izby a Apartmány promo ---------- */
.teledom-home__rooms-promo {
	padding: 70px 0;
	background: #2b2b2b;
	color: #fff;
}

.teledom-home__rooms-promo .teledom-home__split-title,
.teledom-home__rooms-promo a {
	color: #fff;
}

.teledom-home__split-tiles {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	position: relative;
}

.teledom-home__tile {
	display: block;
	position: relative;
	overflow: hidden;
	aspect-ratio: 4/5;
	text-decoration: none;
}

.teledom-home__tile img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.teledom-home__tile:hover img {
	transform: scale(1.04);
}

.teledom-home__tile-label {
	position: absolute;
	left: 18px;
	bottom: 18px;
	color: #fff;
	font-size: 0.92rem;
	font-weight: 500;
	letter-spacing: 1px;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.teledom-home__tile-dots {
	grid-column: 1 / -1;
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 16px;
}

.teledom-home__tile-dots span {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.35);
}

.teledom-home__tile-dots .is-active {
	background: var(--teledom-color-primary, #12894a);
}

/* ---------- 5,6,7. Feature sections ---------- */
.teledom-home__feature {
	padding: 70px 0;
}

.teledom-home__feature--light {
	background: #fafafa;
	color: #2b2b2b;
}

.teledom-home__feature--dark {
	background: #2b2b2b;
	color: #fff;
}

.teledom-home__feature--dark .teledom-home__split-title {
	color: #fff;
}

/* ---------- 8. FAQ ---------- */
.teledom-home__faq {
	padding: 70px 0;
	background: #2b2b2b;
	color: #fff;
}

.teledom-home__faq-title {
	font-size: clamp(1.6rem, 2.4vw, 2.2rem);
	margin: 0 0 36px;
	font-weight: 300;
	text-align: left;
	color: #fff;
}

.teledom-home__faq-list {
	max-width: 1100px;
}

.teledom-home__faq-item {
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.teledom-home__faq-q {
	cursor: pointer;
	padding: 16px 0;
	font-weight: 500;
	font-size: 0.95rem;
	list-style: none;
	display: flex;
	align-items: center;
	gap: 14px;
	color: var(--teledom-color-primary, #12894a);
}

.teledom-home__faq-q::-webkit-details-marker { display: none; }

.teledom-home__faq-q::before {
	content: "+";
	color: var(--teledom-color-primary, #12894a);
	font-size: 1.4rem;
	font-weight: 300;
	line-height: 1;
	flex-shrink: 0;
}

.teledom-home__faq-item[open] .teledom-home__faq-q::before {
	content: "−";
}

.teledom-home__faq-a {
	padding: 0 0 18px 30px;
	color: #d0d0d0;
	font-size: 0.9rem;
	line-height: 1.7;
}

/* ---------- 9. Contact + map ---------- */
.teledom-home__contact {
	padding: 70px 0;
}

.teledom-home__contact-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: start;
}

.teledom-home__contact-heading {
	margin: 0 0 16px;
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.5px;
}

.teledom-home__contact-address {
	font-style: normal;
	font-size: 0.92rem;
	line-height: 1.7;
	margin: 0 0 30px;
	color: #555;
}

.teledom-home__contact-group {
	border-bottom: 1px solid #ddd;
}

.teledom-home__contact-group summary {
	cursor: pointer;
	padding: 14px 0;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.5px;
	color: var(--teledom-color-primary, #12894a);
	list-style: none;
	display: flex;
	align-items: center;
	gap: 12px;
}

.teledom-home__contact-group summary::-webkit-details-marker { display: none; }

.teledom-home__contact-group summary::before {
	content: "▾";
	color: var(--teledom-color-primary, #12894a);
	font-size: 0.85rem;
	transition: transform 0.2s;
	flex-shrink: 0;
}

.teledom-home__contact-group[open] summary::before {
	transform: rotate(180deg);
}

.teledom-home__contact-rows {
	padding: 0 0 14px 22px;
}

.teledom-home__contact-rows p {
	margin: 0 0 6px;
	font-size: 0.92rem;
	color: #555;
}

.teledom-home__contact-rows a {
	color: #2b2b2b;
	text-decoration: none;
}

.teledom-home__contact-rows a:hover {
	color: var(--teledom-color-primary, #12894a);
}

.teledom-home__contact-map iframe {
	display: block;
	width: 100%;
	height: 500px;
	border: 0;
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
	.teledom-home__split,
	.teledom-home__intro-grid,
	.teledom-home__contact-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.teledom-home__split--reverse > .teledom-home__split-image {
		order: 0;
	}

	.teledom-home__services-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 20px;
	}

	.teledom-home__split-tiles {
		grid-template-columns: 1fr;
	}

	.teledom-home__counters {
		gap: 32px;
	}

	.teledom-home__hero-track {
		height: 50vh;
		min-height: 320px;
	}
}

@media (max-width: 540px) {
	.teledom-home__services-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
