/**
 * Menu page CSS — extracted from menu.html mockup.
 * Loaded only on pages using the page-menu.php template.
 *
 * Note: The bulk of the dish/section rendering CSS lives in the
 * LaCascio's Menu Manager plugin (assets/menu.css). This file handles
 * the hero banner, DOP statement, tabs, brunch panel, and final CTA.
 */

/* Page background — menus render on light Tuscan paper */
body.page-template-page-menu,
.menu-page {
	background: var(--paper-light);
	color: var(--text-dark);
}

/* ============================================
   HERO BANNER
   ============================================ */
.hero-banner {
	position: relative;
	width: 100%;
	margin-top: 72px;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.hero-olive {
	width: 100%;
	height: 50px;
	background-color: rgba(90,107,51,0.06);
	opacity: 0.4;
	pointer-events: none;
}
.hero-banner-content {
	text-align: center;
	padding: 2.5rem 2rem 1.5rem;
}
.hero-banner-content h1 {
	font-family: var(--font-display);
	font-size: clamp(2.8rem, 6vw, 4.2rem);
	font-weight: 400;
	color: var(--text-dark);
	letter-spacing: 0.15em;
	text-transform: uppercase;
	margin-bottom: 0;
}

/* ============================================
   DOP STATEMENT
   ============================================ */
.dop-statement {
	max-width: 850px;
	margin: 0 auto;
	padding: 1rem 2rem 2rem;
	text-align: center;
}
.dop-statement p {
	font-family: var(--font-body);
	font-size: 0.92rem;
	font-weight: 300;
	color: var(--text-medium);
	line-height: 2;
}
.dop-statement em {
	font-style: italic;
	color: var(--olive-green);
	font-weight: 500;
}

/* ============================================
   MENU PAGE WRAPPER + TABS
   ============================================ */
.menu-page {
	max-width: 1100px;
	margin: 0 auto;
	padding: 1rem 1.5rem 4rem;
}

.menu-tabs {
	display: flex;
	justify-content: center;
	gap: 1.5rem;
	border-bottom: 1px solid var(--rule);
	margin-bottom: 2rem;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}
.menu-tabs::-webkit-scrollbar { display: none; }

.menu-tab {
	background: none;
	border: none;
	border-bottom: 2px solid transparent;
	padding: 1rem 0.5rem;
	font-family: var(--font-display);
	font-size: 1.2rem;
	font-weight: 500;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--text-light);
	cursor: pointer;
	white-space: nowrap;
	transition: color 0.3s ease, border-color 0.3s ease;
}
.menu-tab:hover { color: var(--text-dark); }
.menu-tab[aria-selected="true"] { color: var(--olive-green); border-bottom-color: var(--olive-green); }
.menu-tab:focus-visible { outline: 2px solid var(--olive-green); outline-offset: 4px; }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ============================================
   MENU CARD (background frame for each tab panel)
   ============================================ */
.menu-card {
	background: var(--white-soft);
	border: 1px solid var(--rule);
	box-shadow: 0 2px 18px rgba(40,32,28,0.06);
	border-radius: 4px;
	display: grid;
	grid-template-columns: 220px 1fr;
	overflow: hidden;
}

.menu-artwork {
	background: linear-gradient(180deg, rgba(247,240,227,0.9), rgba(245,240,232,0.4));
	padding: 2rem 1rem;
	display: flex;
	flex-direction: column;
	gap: 1.2rem;
	justify-content: center;
	align-items: center;
	border-right: 1px solid var(--rule);
}
.art-item {
	text-align: center;
}
.art-item img {
	width: 64px;
	height: 64px;
	opacity: 0.6;
	mix-blend-mode: multiply;
	margin-bottom: 0.3rem;
	display: block;
}
.art-item span {
	font-family: var(--font-display);
	font-size: 0.78rem;
	font-style: italic;
	color: var(--olive-green);
	letter-spacing: 0.05em;
}

.menu-body {
	padding: 2rem 2.5rem;
}

/* ============================================
   BRUNCH-SPECIFIC LAYOUT
   ============================================ */
.brunch-header {
	text-align: center;
	padding: 2rem 2rem 0.5rem;
}
.brunch-header h2 {
	font-family: var(--font-display);
	font-size: 2.4rem;
	font-weight: 400;
	font-style: italic;
	color: var(--olive-green);
	margin-bottom: 0.5rem;
}
.brunch-header p {
	font-family: var(--font-body);
	font-size: 0.85rem;
	color: var(--text-medium);
	max-width: 34rem;
	margin: 0 auto;
	line-height: 1.6;
}
.brunch-dishes {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	padding: 2rem;
	max-width: 800px;
	margin: 0 auto;
}
.brunch-dish { text-align: center; }
.brunch-dish img {
	width: 100%;
	max-width: 360px;
	height: auto;
	border-radius: 6px;
	margin-bottom: 1rem;
	box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.brunch-dish h3 {
	font-family: var(--font-display);
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--text-dark);
	margin-bottom: 0.4rem;
}
.brunch-dish p {
	font-family: var(--font-body);
	font-size: 0.85rem;
	color: var(--text-medium);
	line-height: 1.5;
}
.brunch-note {
	max-width: 600px;
	margin: 0 auto;
	padding: 1rem 2rem 1.5rem;
	text-align: center;
}
.brunch-note p {
	font-family: var(--font-body);
	font-size: 0.85rem;
	color: var(--text-medium);
	font-style: italic;
}
.brunch-note a {
	color: var(--olive-green);
	text-decoration: underline;
}

/* ============================================
   MENU CTA — final reservation/order block
   ============================================ */
.menu-cta {
	max-width: 1100px;
	margin: 0 auto;
	padding: 3rem 1.5rem 5rem;
	text-align: center;
	border-top: 1px solid var(--rule);
}
.menu-cta h2 {
	font-family: var(--font-display);
	font-size: clamp(1.8rem, 4vw, 2.4rem);
	font-weight: 400;
	color: var(--text-dark);
	margin-bottom: 1.5rem;
}
.cta-btn {
	display: inline-block;
	font-family: var(--font-body);
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	padding: 0.95rem 2rem;
	margin: 0.5rem;
	border: 1px solid var(--olive-green);
	color: var(--olive-green);
	background: transparent;
	text-decoration: none;
	transition: all 0.3s ease;
}
.cta-btn:hover {
	background: var(--olive-green);
	color: var(--white-soft);
}
.cta-btn:focus-visible {
	outline: 2px solid var(--olive-green);
	outline-offset: 4px;
}

/* ============================================
   MOBILE
   ============================================ */
@media (max-width: 768px) {
	.hero-banner { margin-top: 64px; }
	.menu-card { grid-template-columns: 1fr; }
	.menu-artwork { display: none; }
	.menu-body { padding: 1.5rem; }
	.brunch-dishes { grid-template-columns: 1fr; padding: 1.5rem; }
	.menu-tabs { gap: 1rem; padding: 0 1rem; }
	.menu-tab { font-size: 1rem; padding: 0.8rem 0.4rem; }
}

@media (max-width: 480px) {
	.hero-banner { margin-top: 56px; }
	.hero-banner-content { padding: 1.5rem 1rem 1rem; }
	.dop-statement { padding: 1rem 1rem 1.5rem; }
	.dop-statement p { font-size: 0.85rem; line-height: 1.8; }
}

/* ============================================================
   MENU CARD + ART SIDEBAR, matched to menu.html (Nov 3, 2026)
   Every tab now has its sidebar; the card is a 140px + 1fr grid.
   ============================================================ */
.menu-card {
	border: 1px solid var(--rule-dark);
	border-radius: 0;
	box-shadow: none;
	grid-template-columns: 140px 1fr;
	background: rgba(248, 245, 239, 0.92);
}
.menu-artwork {
	background: none;
	border-right: 1px solid var(--rule);
	padding: 1.5rem 0.6rem;
	justify-content: flex-start;
	gap: 0.3rem;
}
.art-item { text-align: center; padding: 0.8rem 0; }
.art-item img {
	width: 80px;
	height: auto;
	display: block;
	margin: 0 auto 0.4rem;
	opacity: 0.7;
	mix-blend-mode: normal;
	filter: sepia(30%) contrast(90%);
}
.art-item span {
	display: block;
	font-family: var(--font-display);
	font-size: 0.75rem;
	font-weight: 600;
	font-style: normal;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: var(--text-light);
}
.art-dot {
	width: 3px;
	height: 3px;
	background: var(--text-light);
	border-radius: 50%;
	opacity: 0.4;
	margin: 0.2rem auto;
}
.menu-body { padding: 0; min-width: 0; }

@media (max-width: 768px) {
	.menu-card { grid-template-columns: 1fr; }
	.menu-artwork { display: none; }
}

/* Brunch panel, matched to menu.html */
#panel-brunch .m-section {
	padding: 1.5rem 2rem 0;
	text-align: center;
}
#panel-brunch .m-section h2 {
	font-family: var(--font-display);
	font-size: 1.2rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.35em;
	color: var(--text-dark);
	margin: 0;
}
.brunch-dish h3 {
	font-size: 1.05rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
}
.brunch-dish p {
	font-family: var(--font-display);
	font-size: 0.88rem;
	font-weight: 300;
	font-style: italic;
	line-height: 1.6;
}
.brunch-note {
	border-top: 1px solid var(--rule);
	max-width: 34rem;
	padding: 1rem 2rem 2.5rem;
}
.brunch-note p { font-style: normal; line-height: 1.6; }

/* Cocktails tab feature photo (menu.html) */
.cocktail-feature { max-width: 440px; margin: 1.5rem auto; overflow: hidden; }
.cocktail-feature img { width: 100%; height: auto; display: block; }
/* Brunch: Toast sections sit between the featured dishes and the note */
#panel-brunch .lcs-menu .menu-disclaimer { display: none; }


/* Phones: the six tabs wrap onto two centered rows instead of a sideways
   strip whose first and last tabs were cut off. */
@media (max-width: 600px) {
	.menu-tabs {
		flex-wrap: wrap;
		overflow: visible;
		gap: 0.2rem 1.2rem;
		padding: 0 0.5rem 0.4rem;
	}
	.menu-tab { font-size: 0.95rem; padding: 0.6rem 0.2rem; letter-spacing: 0.12em; }
}
