/* Clean subpages of jaipur.no (Menu, Buffets, Lunch/Dinner buffet, Gallery,
   Our story, Contact). Same look as the homepage (assets/home2.css); header and
   footer come from assets/site-header.css. No WordPress theme files. */
:root {
	--night: #0c1315;
	--panel: #111a1d;
	--gold: #c6a270;
	--gold-soft: #d6b588;
	--line: rgba(198, 162, 112, .38);
	--line-faint: rgba(198, 162, 112, .18);
	--ivory: #efe8dc;
	--muted: #a9a196;
	--display: "Marcellus", "Iowan Old Style", Georgia, serif;
	--text: "Josefin Sans", "Helvetica Neue", Arial, sans-serif;
	--arch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 125' preserveAspectRatio='none'%3E%3Cpath d='M0 125V43C0 27 12 16 26 11C38 7 46 4 50 0C54 4 62 7 74 11C88 16 100 27 100 43V125Z'/%3E%3C/svg%3E");
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-padding-top: 90px; }
body { margin: 0; background: var(--night); color: var(--ivory); font: 400 17px/1.65 var(--text); overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; color: var(--ivory); }
:focus-visible { outline: 2px solid var(--ivory); outline-offset: 3px; }
.muted { color: var(--muted); }

/* ------------------------------------------------ buttons & links */
.btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 52px; padding: 0 28px; border: 1px solid var(--gold);
	font: 600 13px/1 var(--text); letter-spacing: .16em; text-transform: uppercase;
	transition: background-color .2s ease, color .2s ease;
}
.btn-solid { background: var(--gold); color: var(--night); }
.btn-solid:hover { background: var(--gold-soft); color: var(--night); }
.btn-ghost { background: transparent; color: var(--gold); }
.btn-ghost:hover { background: rgba(198, 162, 112, .12); }
.link {
	font: 600 13px/1 var(--text); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
	color: var(--gold); padding-bottom: 6px; border-bottom: 1px solid var(--line);
}
.link:hover { color: var(--gold-soft); border-color: var(--gold); }

/* ------------------------------------------------ layout */
main { max-width: 1180px; margin: 0 auto; padding: 0 38px; }
.page-title { padding: 46px 0 0; text-align: center; }
.page-title h1 {
	font-size: clamp(32px, 4vw, 48px); line-height: 1.15; letter-spacing: .1em;
	text-transform: uppercase; color: var(--gold);
}
.page-title h1::after { content: ""; display: block; width: 36px; height: 1px; margin: 18px auto 0; background: var(--gold); }
.page-title p { max-width: 36em; margin: 18px auto 0; color: var(--muted); }
.block + .block { margin-top: 90px; }
.block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 30px; }
.block-head h2, .block > h2 { font-size: clamp(28px, 3.2vw, 38px); line-height: 1.15; }

/* arch frame */
.arch { position: relative; isolation: isolate; aspect-ratio: 4 / 5; }
.arch img { width: 100%; height: 100%; object-fit: cover; -webkit-mask: var(--arch) center / 100% 100% no-repeat; mask: var(--arch) center / 100% 100% no-repeat; }
.arch::before, .arch::after { content: ""; position: absolute; z-index: -1; -webkit-mask: var(--arch) center / 100% 100% no-repeat; mask: var(--arch) center / 100% 100% no-repeat; }
.arch::before { inset: -11px -11px 0; background: var(--gold); opacity: .9; }
.arch::after { inset: -10px -10px 0; background: var(--night); }

/* ------------------------------------------------ menu */
.menu-banner { margin: 34px 0 0; }
.menu-banner img { width: 100%; aspect-ratio: 1180 / 300; object-fit: cover; }
.menu-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin: 34px auto 0; padding-bottom: 26px; border-bottom: 1px solid var(--line); max-width: 900px; }
.menu-cats a { color: var(--ivory); font-size: 15px; border-bottom: 1px solid transparent; }
.menu-cats a:hover { color: var(--gold); border-bottom-color: var(--gold); }
.note { max-width: 760px; margin: 34px auto 0; padding: 26px 32px; border: 1px solid var(--line); text-align: center; color: #c9c9c9; font-size: 15px; line-height: 1.7; }
.note h2 { margin-bottom: 12px; font-size: 13px; letter-spacing: .25em; text-transform: uppercase; color: var(--gold); }
.note p { margin: 0 0 8px; }
.note p:last-child { margin-bottom: 0; }
.note strong { color: var(--ivory); font-weight: 600; }
.menu-section { margin-top: 80px; }
.menu-section > h2 {
	margin-bottom: 34px; text-align: center; font-size: clamp(24px, 2.6vw, 30px);
	letter-spacing: .1em; text-transform: uppercase; color: var(--gold);
}
.menu-section > h2::after { content: ""; display: block; width: 36px; height: 1px; margin: 16px auto 0; background: var(--gold); }
.dish-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 26px 60px; }
.dish-row { display: flex; align-items: baseline; gap: 12px; }
.dish-row h3 { flex: 0 1 auto; font-size: 16px; line-height: 1.35; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.dish-row::after { content: ""; order: 1; flex: 1 1 24px; min-width: 24px; border-bottom: 1px dotted var(--line); transform: translateY(-4px); }
.dish-row .price { order: 2; flex: 0 0 auto; font: 400 18px/1 var(--display); color: var(--gold); white-space: nowrap; }
.dish-list p { margin: 6px 0 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.dish-list .dish-note { grid-column: 1 / -1; text-align: center; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.menu-strip { margin: 80px 0 0; }
.menu-strip img { width: 100%; aspect-ratio: 1180 / 320; object-fit: cover; }

/* ------------------------------------------------ gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 34px; }
.gallery a { display: block; overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .5s ease; }
.gallery a:hover img { transform: scale(1.04); }

/* ------------------------------------------------ story */
.story { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 80px; align-items: center; margin-top: 50px; }
.story .arch { margin-top: 11px; }
.story h2 { font-size: clamp(28px, 3.2vw, 38px); }
.story p { max-width: 34em; margin: 18px 0 0; font-size: 18px; line-height: 1.75; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { margin: 0; padding: 30px 30px 26px; border: 1px solid var(--line-faint); }
.review p { margin: 0 0 18px; font: 400 20px/1.5 var(--display); color: var(--ivory); }
.review footer { font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.review-note { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.review-note:empty { display: none; }
.rating { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; color: var(--ivory); }
.rating-score { font: 400 34px/1 var(--display); color: var(--gold); }
.rating-stars { color: var(--gold); letter-spacing: .1em; }
.rating-text { font-size: 14px; color: var(--muted); border-bottom: 1px solid var(--line-faint); }

/* ------------------------------------------------ contact */
.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 760px; margin: 40px auto 0; }
.contact-card { display: flex; flex-direction: column; gap: 10px; padding: 30px 24px; border: 1px solid var(--line); text-align: center; transition: border-color .2s, background-color .2s; }
.contact-card:hover { border-color: var(--gold); background: rgba(198, 162, 112, .08); }
.contact-card span { font-size: 13px; letter-spacing: .25em; text-transform: uppercase; color: var(--gold); }
.contact-card strong { font: 400 22px/1.4 var(--text); color: var(--ivory); }
.contact-info { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 760px; margin: 60px auto 0; }
.contact-info h2 { margin-bottom: 16px; font-size: 22px; }
.hours { margin: 0; }
.hours > div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line-faint); }
.hours dd { margin: 0; white-space: nowrap; }
.map { margin-top: 60px; }
.map iframe { display: block; width: 100%; height: 380px; border: 0; filter: grayscale(1) invert(.92) contrast(.9); }

/* ------------------------------------------------ buffets */
.buffet-hero { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 70px; align-items: start; max-width: 1040px; margin: 40px auto 0; }
.buffet-hero .arch { margin-top: 11px; }
.buffet-hero h2 { font-size: 32px; line-height: 1.2; }
.buffet-price { margin: 18px 0; color: var(--muted); }
.buffet-price strong { font: 400 64px/1 var(--display); color: var(--gold); margin-right: 8px; }
.buffet-hero > div > p { margin: 0; font-size: 17px; line-height: 1.65; }
.facts { margin: 24px 0 28px; padding: 0; list-style: none; border-top: 1px solid var(--line-faint); }
.facts li { display: flex; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--line-faint); }
.facts li span { flex: 0 0 110px; font-size: 13px; letter-spacing: .2em; line-height: 1.9; text-transform: uppercase; color: var(--gold); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.buffet-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.buffet-card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line-faint); background: var(--panel); transition: border-color .2s ease; }
/* the whole card opens the buffet's page; "Book a table" stays its own link on top */
.buffet-card .card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.buffet-card .btn { position: relative; z-index: 2; }
.buffet-card:hover { border-color: var(--gold); }
.buffet-card img { transition: transform .6s ease; }
.buffet-card:hover img { transform: scale(1.02); }
.buffet-card { overflow: hidden; }
.buffet-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.buffet-card-body { display: flex; flex-direction: column; gap: 14px; padding: 26px 28px 30px; flex: 1; }
.buffet-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.buffet-card h2 { font-size: 28px; }
.buffet-card .price { font: 400 42px/1 var(--display); color: var(--gold); white-space: nowrap; }
.buffet-card p { margin: 0; color: var(--ivory); }
.buffet-card .meta { color: var(--muted); font-size: 15px; }
.buffet-card .actions { margin-top: auto; padding-top: 8px; }

/* ------------------------------------------------ booking bar (markup shared with every page, see site.js) */
.jp-actionbar {
	position: fixed; right: 24px; bottom: 24px; z-index: 90; display: flex; gap: 8px; padding: 8px;
	background: rgba(12, 19, 21, .94); border: 1px solid var(--line); box-shadow: 0 12px 34px rgba(0, 0, 0, .45);
	transform: translateY(calc(100% + 40px)); transition: transform .28s ease;
}
.jp-actionbar.is-shown { transform: none; }
.jp-actionbar .btn { min-height: 46px; padding: 0 20px; font-size: 12px; }

/* Gallery photo viewer (assets/lightbox.js) */
.jp-lightbox-open, .jp-lightbox-open body { overflow: hidden; }
.jp-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 60px 70px;
	background: rgba(8, 12, 13, .94);
}
.jp-lightbox[hidden] { display: none; }
.jp-lightbox-figure {
	margin: 0;
	max-width: 100%;
	max-height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}
.jp-lightbox-figure img {
	max-width: 100%;
	max-height: calc(100% - 40px);
	object-fit: contain;
	box-shadow: 0 10px 40px rgba(0, 0, 0, .5);
}
.jp-lightbox-figure figcaption {
	margin-top: 14px;
	color: #c9c9c9;
	font-size: 14px;
	letter-spacing: .05em;
	text-align: center;
}
.jp-lightbox button {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid rgba(198, 162, 112, .6);
	border-radius: 50%;
	background: rgba(12, 19, 21, .7);
	color: #c6a270;
	font: 300 32px/1 Arial, sans-serif;
	cursor: pointer;
	transition: background-color .2s, color .2s;
}
.jp-lightbox button:hover, .jp-lightbox button:focus-visible { background: #c6a270; color: #0c1315; outline: none; }
.jp-lightbox-close { top: 16px; right: 16px; }
.jp-lightbox-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.jp-lightbox-next { right: 12px; top: 50%; transform: translateY(-50%); }
@media only screen and (max-width: 680px) {
	.jp-lightbox { padding: 70px 10px 80px; }
	.jp-lightbox-prev, .jp-lightbox-next { top: auto; bottom: 16px; transform: none; }
	.jp-lightbox-prev { left: calc(50% - 60px); }
	.jp-lightbox-next { right: calc(50% - 60px); }
}

/* ------------------------------------------------ tablet / phone */
@media (max-width: 1024px) {
	main { padding: 0 22px; }
	.page-title { padding-top: 30px; }
	.block + .block { margin-top: 70px; }
	.menu-section { margin-top: 60px; }
	.dish-list { grid-template-columns: 1fr; gap: 24px; }
	.gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.story, .buffet-hero { grid-template-columns: 1fr; gap: 34px; text-align: center; }
	.story .arch, .buffet-hero .arch { width: min(74vw, 340px); margin: 11px auto 0; }
	.story p { margin-left: auto; margin-right: auto; font-size: 17px; }
	.facts { text-align: left; }
	.buffet-hero .actions { justify-content: center; }
	.reviews { grid-template-columns: 1fr; }
	.buffet-cards { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
	body { font-size: 16px; padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }
	.menu-banner img { aspect-ratio: 16 / 7; }
	.menu-cats { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: 26px -22px 0; padding: 0 22px 16px; scrollbar-width: none; }
	.menu-cats::-webkit-scrollbar { display: none; }
	.menu-cats a { flex: 0 0 auto; padding: 8px 14px; border: 1px solid var(--line); }
	.note { padding: 22px 18px; }
	.dish-row h3 { font-size: 15px; }
	.menu-strip img { aspect-ratio: 16 / 8; }
	.contact-cards, .contact-info { grid-template-columns: 1fr; }
	.facts li { flex-direction: column; gap: 2px; }
	.facts li span { flex-basis: auto; }
	.buffet-price strong { font-size: 52px; }
	.buffet-card-body { padding: 20px 20px 24px; }
	.buffet-card img { aspect-ratio: 16 / 7; }  /* shorter photos on phones */
	.review { padding: 24px 22px 20px; }
	.review p { font-size: 18px; }
	.jp-actionbar {
		left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr auto; gap: 10px;
		padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
		border: 0; border-top: 1px solid var(--line); box-shadow: none; transform: translateY(110%);
	}
	.jp-actionbar .btn { min-height: 48px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
