/**
 * Restaurant page — /nha-hang/
 * Scoped styles only; does not affect other pages.
 */

.mph-restaurant-page {
	--mph-rest-green: #022b20;
	--mph-rest-green-mid: #0a4a35;
	--mph-rest-gold: #c9a84c;
	--mph-rest-gold-light: #e8c97a;
	--mph-rest-cream: #f7f3eb;
	--mph-rest-text: #1a241f;
	--mph-rest-muted: #5c675f;
	--mph-rest-radius: 12px;
	--mph-rest-container: 1320px;
	--mph-rest-shadow: 0 8px 28px rgba(16, 35, 29, 0.08);
}

/* ============================================================
   HERO
   ============================================================ */
.mph-restaurant-hero {
	position: relative;
	isolation: isolate;
	min-height: 530px;
	display: flex;
	align-items: flex-end;
	color: #fff;
	overflow: hidden;
	background: var(--mph-rest-green);
}

.mph-restaurant-hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-size: cover;
	background-position: center right;
	background-repeat: no-repeat;
}

.mph-restaurant-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(
		90deg,
		rgba(2, 43, 32, 0.97) 0%,
		rgba(2, 43, 32, 0.85) 34%,
		rgba(2, 43, 32, 0.42) 64%,
		rgba(2, 43, 32, 0.12) 100%
	);
	pointer-events: none;
}

.mph-restaurant-hero__inner {
	position: relative;
	z-index: 2;
	width: min(var(--mph-rest-container), calc(100% - 64px));
	margin: 0 auto;
	padding: calc(var(--mph-header-height, 92px) + 64px) 0 88px;
}

.mph-restaurant-hero-content {
	max-width: 36rem;
}

.mph-restaurant-hero__breadcrumb {
	margin-bottom: 1.25rem;
}

.mph-restaurant-hero .mph-breadcrumbs,
.mph-restaurant-hero .mph-breadcrumbs a,
.mph-restaurant-hero .mph-breadcrumbs__item,
.mph-restaurant-hero .rank-math-breadcrumb,
.mph-restaurant-hero .rank-math-breadcrumb a,
.mph-restaurant-hero .mph-breadcrumbs--yoast,
.mph-restaurant-hero .mph-breadcrumbs--yoast a {
	color: var(--mph-rest-gold-light) !important;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.mph-restaurant-hero .mph-breadcrumbs__item:not(:last-child)::after,
.mph-restaurant-hero .rank-math-breadcrumb .separator {
	color: rgba(232, 201, 122, 0.7) !important;
}

.mph-restaurant-hero .mph-breadcrumbs__item[aria-current="page"],
.mph-restaurant-hero .rank-math-breadcrumb .last {
	color: #fff !important;
}

.mph-restaurant-hero__title {
	margin: 0 0 0.75rem;
	font-family: var(--mph-font-heading, "Playfair Display", Georgia, serif);
	font-size: clamp(2.5rem, 4.5vw, 3.9rem);
	font-weight: 600;
	line-height: 1.15;
}

.mph-restaurant-hero__title-plain {
	display: block;
	color: #fff;
}

.mph-restaurant-hero__title-accent {
	display: block;
	color: var(--mph-rest-gold-light);
}

.mph-restaurant-hero__rule {
	display: block;
	width: 56px;
	height: 2px;
	background: var(--mph-rest-gold);
	margin: 0 0 1.15rem;
}

.mph-restaurant-hero__subtitle {
	margin: 0;
	max-width: 32rem;
	font-size: 1.05rem;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.9);
}

/* ============================================================
   BOOKING BAR
   ============================================================ */
.mph-restaurant-booking {
	position: relative;
	z-index: 5;
	margin-top: -52px;
	margin-bottom: 0;
	padding: 0 0 8px;
	background: transparent;
}

.mph-restaurant-booking .mph-booking-bar {
	margin-top: 0;
}

.mph-restaurant-booking .mph-booking-bar .mph-container {
	width: min(var(--mph-rest-container), calc(100% - 64px));
}

.mph-restaurant-booking .mph-booking-bar__panel {
	border-radius: 14px;
	box-shadow: 0 14px 40px rgba(16, 35, 29, 0.12);
}

/* ============================================================
   INTRODUCTION
   ============================================================ */
.mph-restaurant-intro {
	background: var(--mph-rest-cream);
	padding: 100px 0 90px;
}

.mph-restaurant-intro__inner {
	width: min(var(--mph-rest-container), calc(100% - 64px));
	margin: 0 auto;
	display: grid;
	grid-template-columns: 0.95fr 1.55fr;
	gap: 48px;
	align-items: center;
}

.mph-restaurant-intro__eyebrow {
	margin: 0 0 0.75rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--mph-rest-gold);
}

.mph-restaurant-intro__title {
	margin: 0 0 1.5rem;
	font-family: var(--mph-font-heading, "Playfair Display", Georgia, serif);
	font-size: clamp(2rem, 3vw, 2.75rem);
	font-weight: 600;
	line-height: 1.2;
	color: var(--mph-rest-green);
}

.mph-restaurant-intro__title-plain {
	display: block;
}

.mph-restaurant-intro__title-accent {
	display: block;
	font-style: italic;
	font-weight: 500;
	color: var(--mph-rest-green-mid);
}

.mph-restaurant-details {
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.mph-restaurant-details__item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: 0.95rem;
	line-height: 1.45;
	color: var(--mph-rest-text);
}

.mph-restaurant-details__icon {
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--mph-rest-gold);
	background: rgba(201, 168, 76, 0.12);
}

.mph-restaurant-details__text {
	padding-top: 7px;
}

.mph-restaurant-intro__text {
	margin: 0;
	font-size: 0.98rem;
	line-height: 1.75;
	color: var(--mph-rest-muted);
}

.mph-restaurant-intro-gallery {
	display: grid;
	grid-template-columns: 0.9fr 1.35fr;
	grid-template-rows: 1fr 1fr;
	gap: 16px;
	min-height: 520px;
}

.mph-restaurant-intro-gallery__item {
	margin: 0;
	border-radius: var(--mph-rest-radius);
	overflow: hidden;
	box-shadow: var(--mph-rest-shadow);
	background: #ddd;
}

.mph-restaurant-intro-gallery__item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.45s ease;
}

.mph-restaurant-intro-gallery__item:hover img {
	transform: scale(1.04);
}

.mph-restaurant-intro-gallery__item--top {
	grid-column: 1;
	grid-row: 1;
}

.mph-restaurant-intro-gallery__item--bottom {
	grid-column: 1;
	grid-row: 2;
}

.mph-restaurant-intro-gallery__item--large {
	grid-column: 2;
	grid-row: 1 / span 2;
}

.mph-restaurant-intro-gallery__item--top img,
.mph-restaurant-intro-gallery__item--bottom img {
	object-position: center center;
	min-height: 240px;
}

.mph-restaurant-intro-gallery__item--large img {
	object-position: center 40%;
	min-height: 520px;
}

/* ============================================================
   HIGHLIGHTS
   ============================================================ */
.mph-restaurant-highlight {
	background: var(--mph-rest-green);
	padding: 84px 0;
	color: #fff;
}

.mph-restaurant-highlight__inner {
	width: min(var(--mph-rest-container), calc(100% - 64px));
	margin: 0 auto;
	text-align: center;
}

.mph-restaurant-highlight__eyebrow {
	margin: 0 0 0.65rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--mph-rest-gold);
}

.mph-restaurant-highlight__title {
	margin: 0 0 3rem;
	font-family: var(--mph-font-heading, "Playfair Display", Georgia, serif);
	font-size: clamp(1.85rem, 3vw, 2.6rem);
	font-weight: 600;
	color: #fff;
}

.mph-restaurant-highlight-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
}

.mph-restaurant-highlight-grid__item {
	position: relative;
	padding: 8px 28px;
	text-align: center;
}

.mph-restaurant-highlight-grid__item:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 12%;
	right: 0;
	width: 1px;
	height: 76%;
	background: rgba(255, 255, 255, 0.12);
}

.mph-restaurant-highlight-grid__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	margin: 0 auto 1.1rem;
	border-radius: 50%;
	border: 1px solid rgba(201, 168, 76, 0.45);
	color: var(--mph-rest-gold);
	background: rgba(201, 168, 76, 0.08);
}

.mph-restaurant-highlight-grid__heading {
	margin: 0 0 0.7rem;
	font-family: var(--mph-font-heading, "Playfair Display", Georgia, serif);
	font-size: 1.15rem;
	font-weight: 600;
	color: var(--mph-rest-gold-light);
	line-height: 1.35;
}

.mph-restaurant-highlight-grid__text {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.65;
	color: rgba(247, 243, 235, 0.82);
}

/* ============================================================
   GALLERY
   ============================================================ */
.mph-restaurant-gallery {
	background: var(--mph-rest-cream);
	padding: 96px 0 100px;
}

.mph-restaurant-gallery__inner {
	width: min(var(--mph-rest-container), calc(100% - 64px));
	margin: 0 auto;
	text-align: center;
}

.mph-restaurant-gallery__eyebrow {
	margin: 0 0 0.65rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--mph-rest-gold);
}

.mph-restaurant-gallery__title {
	margin: 0 0 0.9rem;
	font-family: var(--mph-font-heading, "Playfair Display", Georgia, serif);
	font-size: clamp(1.85rem, 3vw, 2.55rem);
	font-weight: 600;
	color: var(--mph-rest-green);
}

.mph-restaurant-gallery__text {
	margin: 0 auto 2.5rem;
	max-width: 42rem;
	font-size: 0.98rem;
	line-height: 1.7;
	color: var(--mph-rest-muted);
}

.mph-restaurant-gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}

.mph-restaurant-gallery-grid__item {
	margin: 0;
	border-radius: var(--mph-rest-radius);
	overflow: hidden;
	box-shadow: var(--mph-rest-shadow);
	aspect-ratio: 4 / 3;
	background: #ddd;
}

.mph-restaurant-gallery-grid__item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.45s ease;
}

.mph-restaurant-gallery-grid__item:hover img {
	transform: scale(1.04);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
	.mph-restaurant-intro__inner {
		grid-template-columns: 0.9fr 1.2fr;
		gap: 36px;
	}

	.mph-restaurant-highlight-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 28px 16px;
	}

	.mph-restaurant-highlight-grid__item:not(:last-child)::after {
		display: none;
	}

	.mph-restaurant-intro-gallery {
		min-height: 440px;
	}
}

@media (max-width: 900px) {
	.mph-restaurant-hero {
		min-height: 460px;
	}

	.mph-restaurant-hero__inner {
		width: calc(100% - 40px);
		padding-bottom: 72px;
	}

	.mph-restaurant-hero__overlay {
		background: linear-gradient(
			90deg,
			rgba(2, 43, 32, 0.96) 0%,
			rgba(2, 43, 32, 0.78) 48%,
			rgba(2, 43, 32, 0.35) 100%
		);
	}

	.mph-restaurant-intro {
		padding: 72px 0 64px;
	}

	.mph-restaurant-intro__inner {
		width: calc(100% - 40px);
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.mph-restaurant-intro-gallery {
		min-height: 420px;
	}

	.mph-restaurant-highlight,
	.mph-restaurant-gallery {
		padding: 64px 0;
	}

	.mph-restaurant-highlight__inner,
	.mph-restaurant-gallery__inner {
		width: calc(100% - 40px);
	}

	.mph-restaurant-gallery-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.mph-restaurant-gallery-grid__item:last-child {
		grid-column: 1 / -1;
		max-width: 70%;
		margin-inline: auto;
	}
}

@media (max-width: 640px) {
	.mph-restaurant-hero {
		min-height: 420px;
	}

	.mph-restaurant-hero__inner {
		width: calc(100% - 32px);
		padding: calc(var(--mph-header-height, 80px) + 48px) 0 72px;
	}

	.mph-restaurant-hero__title {
		font-size: clamp(2.4rem, 9vw, 2.85rem);
	}

	.mph-restaurant-hero__subtitle {
		font-size: 0.95rem;
	}

	.mph-restaurant-booking {
		margin-top: -36px;
	}

	.mph-restaurant-booking .mph-booking-bar .mph-container {
		width: calc(100% - 24px);
	}

	.mph-restaurant-intro {
		padding: 56px 0 48px;
	}

	.mph-restaurant-intro__inner,
	.mph-restaurant-highlight__inner,
	.mph-restaurant-gallery__inner {
		width: calc(100% - 32px);
	}

	.mph-restaurant-intro-gallery {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: auto auto;
		min-height: 0;
		gap: 12px;
	}

	.mph-restaurant-intro-gallery__item--top {
		grid-column: 1;
		grid-row: 1;
	}

	.mph-restaurant-intro-gallery__item--bottom {
		grid-column: 2;
		grid-row: 1;
	}

	.mph-restaurant-intro-gallery__item--large {
		grid-column: 1 / -1;
		grid-row: 2;
	}

	.mph-restaurant-intro-gallery__item--top img,
	.mph-restaurant-intro-gallery__item--bottom img {
		min-height: 140px;
		aspect-ratio: 4 / 3;
	}

	.mph-restaurant-intro-gallery__item--large img {
		min-height: 220px;
		aspect-ratio: 16 / 10;
	}

	.mph-restaurant-highlight-grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.mph-restaurant-highlight-grid__item {
		padding: 0;
	}

	.mph-restaurant-gallery-grid {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.mph-restaurant-gallery-grid__item:last-child {
		max-width: none;
	}
}
