/* ═══════════════════════════════════════════════════════════════
   FOUR COUNTIES SPICE — ENHANCEMENTS LAYER (v2.0)
   Loaded after main.css / responsive.css. Nothing here replaces
   the original design — it adds the booking system, the
   interactive menu, and a focused pass on contrast & whitespace.
═══════════════════════════════════════════════════════════════ */

:root {
	--fcs-ink:        #1a1008;   /* primary text on light backgrounds   */
	--fcs-ink-soft:   #5a4020;   /* secondary/body copy — AA contrast   */
	--fcs-gold:       #8a5e1a;   /* accessible gold used for text/icons */
	--fcs-gold-bright:#c8922a;   /* decorative gold (borders, accents)  */
	--fcs-red:        #a32020;   /* spice / alert accent                */
	--fcs-cream:      #faf5ec;
	--fcs-cream-2:    #f5ede0;
	--fcs-line:       #e8dfc8;
	--fcs-success:    #2e7d4f;
	--fcs-error:      #a32020;
	--fcs-radius:     4px;
	--fcs-ease:       cubic-bezier(.4,0,.2,1);
}

/* ─── Smooth in-page anchors land below the fixed header ─────── */
#booking,
[id] {
	scroll-margin-top: 110px;
}

/* ─── Generous, even whitespace between major sections ────────── */
.occasions-section,
.signature-section,
.allergy-section,
.menu-page-section,
.contact-section,
.contact-booking-section {
	padding-top: clamp(56px, 7vw, 96px);
	padding-bottom: clamp(56px, 7vw, 96px);
}

/* ─── Reduce remaining "heavy charcoal" feel + lift contrast ──── */
.hero-desc,
.section-intro,
.menu-category-subtitle,
.contact-block,
.footer-desc,
.footer-tagline-bottom {
	color: var(--fcs-ink-soft) !important;
}

.feature-box p,
.main-dish-card p,
.menu-card-body p,
.allergy-inner p,
.dine-card-desc {
	color: var(--fcs-ink-soft) !important;
}

/* ─── Buttons: a touch more polish on hover ───────────────────── */
.btn {
	position: relative;
	overflow: hidden;
}

.btn::after {
	content: '';
	position: absolute;
	top: 0; left: -130%;
	width: 60%; height: 100%;
	background: linear-gradient(115deg, transparent, rgba(255,255,255,0.45), transparent);
	transform: skewX(-20deg);
	transition: left .65s ease;
	pointer-events: none;
}

.btn:hover::after {
	left: 130%;
}

.btn-primary:hover,
.btn-secondary:hover {
	box-shadow: 0 10px 28px rgba(138,94,26,0.22);
}

/* ═══════════════════════════════════════════════════════════════
   BOOKING FORMS — shared by the homepage widget + Contact page
═══════════════════════════════════════════════════════════════ */
.fcs-booking-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.fcs-hp-field {
	position: absolute !important;
	left: -9999px !important;
	width: 1px; height: 1px;
	overflow: hidden;
}

.fcs-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.fcs-form-group {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.fcs-form-group--full {
	grid-column: 1 / -1;
}

.fcs-booking-form label {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .6px;
	text-transform: uppercase;
	color: var(--fcs-gold);
}

.fcs-req { color: var(--fcs-red); }
.fcs-optional { color: #9a8568; text-transform: none; font-weight: 400; letter-spacing: 0; }

.fcs-booking-form input,
.fcs-booking-form select,
.fcs-booking-form textarea {
	font-family: 'Inter', sans-serif;
	font-size: 14.5px;
	padding: 13px 14px;
	border: 1px solid var(--fcs-line);
	border-radius: var(--fcs-radius);
	background: #ffffff;
	color: var(--fcs-ink);
	transition: border-color .25s ease, box-shadow .25s ease;
	width: 100%;
}

.fcs-booking-form textarea {
	resize: vertical;
	min-height: 90px;
}

.fcs-booking-form input:focus,
.fcs-booking-form select:focus,
.fcs-booking-form textarea:focus {
	outline: none;
	border-color: var(--fcs-gold-bright);
	box-shadow: 0 0 0 3px rgba(200,146,42,0.18);
}

.fcs-booking-submit {
	align-self: flex-start;
	margin-top: 4px;
	position: relative;
}

.fcs-btn-spinner {
	display: none;
	width: 15px; height: 15px;
	margin-left: 4px;
	border: 2px solid rgba(0,0,0,0.25);
	border-top-color: #000;
	border-radius: 50%;
	animation: fcsSpin .7s linear infinite;
}

.fcs-booking-submit.is-loading .fcs-btn-spinner { display: inline-block; }
.fcs-booking-submit.is-loading .fcs-btn-label { opacity: .7; }
.fcs-booking-submit:disabled { cursor: not-allowed; }

@keyframes fcsSpin {
	to { transform: rotate(360deg); }
}

.fcs-form-note {
	font-size: 12.5px;
	color: #9a8568;
	margin: -6px 0 0;
}

.fcs-form-feedback {
	font-size: 14px;
	padding: 0;
	max-height: 0;
	overflow: hidden;
	border-radius: var(--fcs-radius);
	transition: all .35s ease;
	opacity: 0;
}

.fcs-form-feedback.is-visible {
	padding: 12px 16px;
	max-height: 200px;
	opacity: 1;
}

.fcs-form-feedback.is-success {
	background: rgba(46,125,79,0.08);
	border: 1px solid rgba(46,125,79,0.3);
	color: var(--fcs-success);
}

.fcs-form-feedback.is-error {
	background: rgba(163,32,32,0.06);
	border: 1px solid rgba(163,32,32,0.25);
	color: var(--fcs-error);
}

/* ─── Homepage compact widget ──────────────────────────────────── */
.booking-widget-grid {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 56px;
	align-items: center;
	position: relative;
	z-index: 2;
}

.booking-widget-card {
	background: rgba(255,255,255,0.97);
	border: 1px solid var(--fcs-line);
	border-radius: 8px;
	padding: 32px;
	box-shadow: 0 20px 50px rgba(26,16,8,0.12);
}

.booking-widget-title {
	font-family: 'Cormorant Garamond', serif;
	font-size: 24px;
	color: var(--fcs-ink);
	margin: 0 0 18px;
}

.booking-widget-card .fcs-form-row {
	grid-template-columns: 1fr 1fr;
}

@media (max-width: 480px) {
	.booking-widget-card .fcs-form-row { grid-template-columns: 1fr; }
}

/* ─── Contact-page full form panel ─────────────────────────────── */
.booking-form-panel {
	max-width: 760px;
	margin: 0 auto;
	background: #ffffff;
	border: 1px solid var(--fcs-line);
	border-radius: 10px;
	padding: clamp(24px, 4vw, 48px);
	box-shadow: 0 16px 44px rgba(26,16,8,0.08);
}

.booking-form-panel .fcs-form-row {
	grid-template-columns: 1fr 1fr;
}

@media (max-width: 600px) {
	.booking-form-panel .fcs-form-row,
	.fcs-form-row { grid-template-columns: 1fr; }
	.booking-widget-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ═══════════════════════════════════════════════════════════════
   INTERACTIVE FLIPBOOK MENU
═══════════════════════════════════════════════════════════════ */
.fcs-menu-book {
	margin-top: 3rem;
}

.fcs-menu-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	border-bottom: 2px solid var(--fcs-line);
	margin-bottom: 0;
}

.fcs-menu-tab {
	font-family: 'Inter', sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--fcs-ink-soft);
	background: var(--fcs-cream);
	border: 1px solid var(--fcs-line);
	border-bottom: none;
	padding: 14px 26px;
	border-radius: 8px 8px 0 0;
	cursor: pointer;
	transition: color .25s ease, background .25s ease, transform .25s ease;
	position: relative;
	top: 2px;
}

.fcs-menu-tab:hover {
	color: var(--fcs-gold);
	transform: translateY(-2px);
}

.fcs-menu-tab.is-active {
	color: var(--fcs-ink);
	background: #ffffff;
	border-color: var(--fcs-line);
	border-bottom: 2px solid #ffffff;
	box-shadow: 0 -6px 16px rgba(26,16,8,0.05);
}

.fcs-menu-tab.is-active::after {
	content: '';
	position: absolute;
	left: 14px; right: 14px; bottom: -2px;
	height: 2px;
	background: var(--fcs-red);
	border-radius: 2px;
}

.fcs-menu-stage {
	position: relative;
	border: 1px solid var(--fcs-line);
	border-top: none;
	background: #ffffff;
	border-radius: 0 0 8px 8px;
	padding: clamp(24px, 3.5vw, 48px);
	perspective: 2200px;
	overflow: hidden;
	transition: height .5s var(--fcs-ease);
}

.fcs-menu-page {
	position: absolute;
	inset: 0;
	padding: clamp(24px, 3.5vw, 48px);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	backface-visibility: hidden;
	transform-origin: center left;
	transform: rotateY(-14deg) translateX(-1.5%);
	transition: transform .65s var(--fcs-ease), opacity .45s ease, visibility 0s linear .45s;
}

.fcs-menu-page.is-active {
	position: relative;
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: rotateY(0deg) translateX(0);
	transition: transform .65s var(--fcs-ease), opacity .45s ease;
}

.fcs-menu-page.is-leaving {
	position: absolute;
	opacity: 0;
	visibility: visible;
	pointer-events: none;
	transform: rotateY(14deg) translateX(1.5%);
	transition: transform .65s var(--fcs-ease), opacity .45s ease;
}

/* Soft page-fold shadow during the turn, for a paper-like feel */
.fcs-menu-page::before {
	content: '';
	position: absolute;
	inset: 0;
	left: 0;
	width: 60px;
	background: linear-gradient(90deg, rgba(26,16,8,0.10), transparent);
	opacity: 0;
	transition: opacity .3s ease;
	pointer-events: none;
}

.fcs-menu-page.is-active::before,
.fcs-menu-page.is-leaving::before {
	opacity: 1;
}

.fcs-menu-page .menu-section-header {
	margin-bottom: 2rem;
}

.fcs-dish-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 26px;
}

.fcs-dish-card {
	background: var(--fcs-cream);
	border: 1px solid var(--fcs-line);
	border-radius: 8px;
	overflow: hidden;
	transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
	position: relative;
}

.fcs-dish-card:hover {
	transform: translateY(-6px);
	border-color: var(--fcs-gold-bright);
	box-shadow: 0 16px 34px rgba(138,94,26,0.16);
}

.fcs-dish-card.chef-special {
	border-color: rgba(163,32,32,0.35);
}

.fcs-dish-image {
	position: relative;
	height: 170px;
	overflow: hidden;
}

.fcs-dish-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s ease;
}

.fcs-dish-card:hover .fcs-dish-image img {
	transform: scale(1.08);
}

.fcs-dish-image .chef-badge {
	position: absolute;
	top: 10px;
	right: 10px;
}

.fcs-dish-body {
	padding: 1.2rem 1.4rem 1.5rem;
}

.fcs-dish-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: .5rem;
}

.fcs-dish-head h3 {
	font-family: 'Cormorant Garamond', serif;
	font-size: 19px;
	color: var(--fcs-ink);
	margin: 0;
}

.fcs-dish-body p {
	font-size: 13.5px;
	line-height: 1.6;
	color: var(--fcs-ink-soft) !important;
	margin: 0 0 .8rem;
}

.fcs-dish-card .menu-card-link {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .5px;
	text-transform: uppercase;
	color: var(--fcs-gold);
	text-decoration: none;
	transition: color .25s ease, letter-spacing .25s ease;
}

.fcs-dish-card:hover .menu-card-link {
	color: var(--fcs-red);
	letter-spacing: 1px;
}

/* ─── Mobile-friendly fallback: simple card layout, no 3D flip ── */
@media (max-width: 768px) {
	.fcs-menu-tabs {
		overflow-x: auto;
		flex-wrap: nowrap;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}
	.fcs-menu-tabs::-webkit-scrollbar { display: none; }
	.fcs-menu-tab { flex: 0 0 auto; padding: 12px 18px; font-size: 12px; }

	.fcs-menu-stage { perspective: none; }

	.fcs-menu-page {
		transform: none;
		transition: opacity .3s ease, visibility 0s linear .3s;
	}
	.fcs-menu-page.is-active,
	.fcs-menu-page.is-leaving {
		transform: none;
		transition: opacity .3s ease;
	}
	.fcs-menu-page::before { display: none; }

	.fcs-dish-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
}

@media (max-width: 480px) {
	.fcs-dish-grid { grid-template-columns: 1fr; }
}

/* ─── Booking widget section needs room for the new two-col grid ─ */
.booking-section {
	overflow: visible;
}

/* ─── Respect reduced-motion preferences ───────────────────────── */
@media (prefers-reduced-motion: reduce) {
	.fcs-menu-page,
	.fcs-menu-page.is-active,
	.fcs-menu-page.is-leaving,
	.btn::after,
	.fcs-dish-card,
	.fcs-dish-image img {
		transition: none !important;
		animation: none !important;
		transform: none !important;
	}
}
