/* LIGHTBOX (Kép nagyító modal) */
.lightbox-overlay {
	display: none;
	position: fixed;
	z-index: 99999;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.9);
	align-items: center;
	justify-content: center;
}

.lightbox-content {
	position: relative;
	max-width: 90%;
	max-height: 85vh;
	text-align: center;
}

.lightbox-content img {
	max-width: 100%;
	max-height: 75vh;
	border-radius: 4px;
	box-shadow: 0 4px 25px rgba(0,0,0,0.5);
	object-fit: contain;
}

.lightbox-caption {
	color: #fff;
	margin-top: 15px;
	font-size: 1.1rem;
	font-weight: 500;
	letter-spacing: 0.05em;
}

.lightbox-close-btn {
	position: absolute;
	top: -45px;
	right: 0;
	background: none;
	border: none;
	color: #fff;
	font-size: 40px;
	cursor: pointer;
	line-height: 1;
	transition: color 0.2s;
}

.lightbox-close-btn:hover {
	color: var(--primary);
}

#apartment {
	padding: 60px 0;
}

.room-container {
	margin-bottom: 200px;
}

.room-container:last-child {
	margin-bottom: 0;
}

/* Felváltva elrendezett szoba blokk */
.room-split-row {
	display: flex;
	flex-direction: column;
	gap: 40px;
	align-items: flex-start;
	margin-bottom: 30px;
}

@media (min-width: 900px) {
	.room-split-row {
		display: flex;
		flex-direction: row;
		align-items: flex-start;
		gap: 50px;
	}
	/* Minden második kártyánál megcseréljük a sorrendet */
	.room-split-row.reverse {
		flex-direction: row-reverse;
	}
}

/* Kép oldal */
.room-img-side {
	flex: 1;
	width: 100%;
}
.room-img-side img {
	width: 100%;
	max-height: 420px;
	object-fit: cover;
	border-radius: 16px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.06);
	cursor: zoom-in;
	transition: transform 0.3s ease;
	display: block;
}

.room-img-side img:hover {
	transform: scale(1.02);
}

/* Szöveges oldal */
.room-text-side {
	flex: 1;
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 15px;
}
.room-cat-tag {
	font-size: 0.85rem;
	font-weight: bold;
	color: var(--primary);
	text-transform: uppercase;
	letter-spacing: 0.12em;
}
.room-main-title {
	font-size: 2.2rem;
	color: #1a1a1a;
	font-weight: 700;
	line-height: 1.25;
	margin: 0;
}

.room-main-desc {
	font-size: 0.98rem;
	color: #555;
	line-height: 1.6;
	margin: 0;
}

/* Felszereltség lista */
.room-amenities-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

/* ÚJ: Dinamikus kétoszlopos elrendezés Grid segítségével */
.room-amenities-list.two-cols {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px 20px; /* Sorok közötti rés | Oszlopok közötti rés */
}

.room-amenities-list li {
	font-size: 0.95rem;
	color: #333;
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 500;
}

.room-amenities-list li::before {
	content: "+";
	color: #000;
	font-weight: bold;
	font-size: 1.2rem;
}

/* LAPOZHATÓ GALÉRIA SLIDER SZEKCIÓ */
.room-gallery-wrapper {
	position: relative;
	display: flex;
	align-items: center;
	margin-top: 30px;
	padding: 0 10px;
}

.room-gallery-track {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	scroll-behavior: smooth;
	scrollbar-width: none; /* Firefox scrollbar eltávolítás */
	width: 100%;
	padding: 5px 0;
}

.room-gallery-track::-webkit-scrollbar {
	display: none; /* Chrome/Safari scrollbar eltávolítás */
}

/* Egyszerre pontosan 5 kép fér el nagyképernyőn */
.room-gallery-item {
	flex: 0 0 calc(20% - 13px);
	aspect-ratio: 1/1;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 3px 10px rgba(0,0,0,0.04);
	cursor: zoom-in;
}

@media (max-width: 1024px) {
	.room-gallery-item {
		flex: 0 0 calc(33.333% - 11px); /* Tableten 3 kép */
	}
}

@media (max-width: 600px) {
	.room-gallery-item {
		flex: 0 0 calc(50% - 8px); /* Mobilon 2 kép */
	}
	
	.room-amenities-list.two-cols {
		grid-template-columns: 1fr;
		gap: 10px;
	}
}

.room-gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s;
	display: block;
}

.room-gallery-item:hover img {
	transform: scale(1.05);
}

/* Navigációs gombok a csúszkához */
.gallery-nav-btn {
	background: rgba(255, 255, 255, 0.95);
	border: 1px solid #ddd;
	color: #333;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 3px 8px rgba(0,0,0,0.1);
	transition: all 0.2s;
	user-select: none;
	position: absolute;
	z-index: 10;
	font-size: 16px;
	font-weight: bold;
}

.gallery-nav-btn:hover {
	background: var(--primary);
	color: white;
	border-color: var(--primary);
}

.gallery-nav-btn.prev {
	left: -15px;
}

.gallery-nav-btn.next {
	right: -15px;
}


.expect-section {
	padding: 80px 0;
}

.expect-row {
	display: flex;
	flex-direction: column;
	gap: 40px;
	align-items: center;
}

@media (min-width: 900px) {
	.expect-row {
		flex-direction: row;
		gap: 60px;
	}
}

/* Bal oldali szöveges rész */
.expect-text-side {
	flex: 1.1;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.expect-desc {
	font-size: 0.95rem;
	color: #666;
	line-height: 1.6;
	margin: 0;
}

/* Jobb oldali kiemelt kép */
.expect-img-side {
	flex: 0.9;
	width: 100%;
}

.expect-img-side img {
	width: 100%;
	max-height: 450px;
	object-fit: cover;
	border-radius: 16px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.06);
	display: block;
}

.features-circle-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 10px 0;
}

.feature-circle-item {
	width: 48px;
	height: 48px;
	background: #f2f0eb;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #333;
	transition: transform 0.2s, background 0.2s;
}

.feature-circle-item:hover {
	transform: translateY(-3px);
	background: var(--primary);
	color: #ffffff;
}

.feature-circle-item svg {
	width: 22px;
	height: 22px;
	fill: currentColor;
}

.checkmark-list {
	list-style: none;
	padding: 0;
	margin: 15px 0 0 0;
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.checkmark-list li {
	font-size: 1rem;
	font-weight: 600;
	color: #555;
	letter-spacing: 0.05em;
	display: flex;
	align-items: center;
	gap: 12px;
}

.checkmark-list li::before {
	content: "✓";
	color: var(--primary);
	font-weight: 900;
	font-size: 1.3rem;
}
