/* ==========================================================================
   Rooms  [oh_rooms]
   ========================================================================== */

.oh-rooms {
	background-color: #fff;
}

/* Header: eyebrow + τίτλος + κείμενο αριστερά, "View All Apartments →" δεξιά */
.oh-rooms__header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px 48px;
	margin-bottom: clamp(32px, 4vw, 48px);
}

.oh-rooms__intro {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.oh-rooms .oh-rooms__eyebrow {
	font-weight: 600;
	letter-spacing: 0.2em;
	color: var(--oh-color-dark);
}

.oh-rooms .oh-rooms__intro > .oh-eyebrow + .oh-heading {
	margin-top: 10px;
}

.oh-rooms .oh-rooms__intro > .oh-lead {
	max-width: 46ch;
	margin-top: 12px;
	font-size: 0.9375rem;
	line-height: 1.6;
	color: var(--oh-color-muted);
}

/* "View All Apartments →": υπογράμμιση σε accent χρώμα */
.oh-rooms .oh-rooms__all.oh-link-underline {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
	margin-bottom: 6px;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--oh-color-accent);
	font-size: 0.875rem;
	letter-spacing: 0.02em;
	text-transform: none;
}

.oh-rooms .oh-rooms__all .oh-icon {
	transition: transform 0.25s ease;
}

.oh-rooms .oh-rooms__all:hover .oh-icon {
	transform: translateX(3px);
}

/* Grid: 2 ίσες κάρτες */
.oh-rooms .oh-rooms__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(20px, 3vw, 36px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.oh-rooms .oh-rooms__item {
	display: flex;
	margin: 0;
}

.oh-rooms__empty {
	padding: 24px;
	border: 1px dashed rgba(31, 42, 38, 0.25);
	color: var(--oh-color-muted);
}

/* --------------------------------------------------------------------------
   Card
   ----------------------------------------------------------------------- */

.oh-room-card {
	display: flex;
	flex: 1;
	flex-direction: column;
	overflow: hidden;
	background-color: #fff;
	border: 1px solid rgba(31, 42, 38, 0.1);
	box-shadow: 0 14px 34px -26px rgba(31, 42, 38, 0.35);
	transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.oh-room-card:hover {
	box-shadow: 0 22px 44px -26px rgba(31, 42, 38, 0.45);
	transform: translateY(-2px);
}

.oh-room-card__media {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background-color: var(--oh-color-sage);
}

.oh-room-card .oh-room-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.oh-room-card:hover .oh-room-card__media img {
	transform: scale(1.03);
}

.oh-room-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	padding: clamp(20px, 2.4vw, 28px);
}

.oh-room-card__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
}

.oh-rooms .oh-room-card__title {
	margin: 0;
	padding: 0;
	font-family: var(--oh-font-heading);
	font-size: clamp(1.375rem, 2vw, 1.625rem);
	font-weight: 400;
	line-height: 1.25;
}

.oh-rooms .oh-room-card__title a,
.oh-rooms .oh-room-card__title a:visited {
	color: var(--oh-color-dark);
	text-decoration: none;
	transition: color 0.2s ease;
}

.oh-rooms .oh-room-card__title a:hover {
	color: var(--oh-color-primary);
}

.oh-rooms .oh-room-card__price {
	flex-shrink: 0;
	margin: 0;
	font-family: var(--oh-font-heading);
	font-size: 1.125rem;
	line-height: 1;
	color: var(--oh-color-accent);
	white-space: nowrap;
}

.oh-room-card__price span {
	font-size: 0.75rem;
	font-style: italic;
	opacity: 0.85;
}

/* Χαρακτηριστικά με icons */
.oh-rooms .oh-room-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 24px;
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
	font-size: 0.875rem;
	color: var(--oh-color-text);
}

.oh-room-card__meta li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
}

.oh-room-card__meta .oh-icon {
	flex-shrink: 0;
	color: var(--oh-color-muted);
}

/* Κουμπί: πάντα στο κάτω μέρος (ίδια θέση και στις δύο κάρτες), με κενό 24px από ό,τι είναι πάνω του */
.oh-rooms .oh-room-card__btn {
	margin-top: auto;
	padding: 12px 22px;
}

.oh-room-card__body > :not(.oh-room-card__btn):nth-last-child(2) {
	margin-bottom: 24px;
}

/* Mobile */
@media (max-width: 767px) {
	.oh-rooms__header {
		flex-direction: column;
		align-items: flex-start;
	}

	.oh-rooms .oh-rooms__grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}
}
