/* ==========================================================================
   VomeHire — public booking pages (landing, venue, booking status).
   Builds on the shared Vome palette in vomehome.css; everything here is
   prefixed .vh- so it can't collide with portal styles.
   ========================================================================== */

body { padding-top: 0; }

/* ── Top navigation ─────────────────────────────────────────────────── */
.vh-nav {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(10, 11, 14, 0.85);
	backdrop-filter: saturate(140%) blur(10px);
	border-bottom: 1px solid var(--border);
}
.vh-nav .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.85rem 1rem;
}
.vh-nav .brand {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	font-weight: 800;
	font-size: 1.15rem;
	color: var(--text-primary);
	text-decoration: none;
	letter-spacing: 0.02em;
}
.vh-nav .brand .gradient-text,
.vh-gradient {
	background: linear-gradient(135deg, var(--primary), var(--accent));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.vh-nav .nav-links {
	display: flex;
	gap: 1.1rem;
	align-items: center;
	font-size: 0.95rem;
	flex-wrap: wrap;
}
.vh-nav .nav-links a {
	color: var(--text-secondary);
	text-decoration: none;
	font-weight: 500;
}
.vh-nav .nav-links a:hover { color: var(--primary); }

/* ── Buttons ────────────────────────────────────────────────────────── */
.btn-vh-primary {
	background: linear-gradient(135deg, var(--primary), var(--primary-dark));
	border: none;
	color: #1a1100;
	font-weight: 700;
	padding: 0.7rem 1.4rem;
	border-radius: var(--radius);
	transition: var(--transition);
	text-decoration: none;
	display: inline-block;
}
.btn-vh-primary:hover {
	transform: translateY(-1px);
	box-shadow: var(--shadow-lg);
	color: #1a1100;
}
.btn-vh-outline {
	background: transparent;
	color: var(--text-primary);
	border: 1px solid var(--border-light);
	font-weight: 600;
	padding: 0.7rem 1.4rem;
	border-radius: var(--radius);
	transition: var(--transition);
	text-decoration: none;
	display: inline-block;
}
.btn-vh-outline:hover {
	border-color: var(--primary);
	color: var(--primary);
}

/* ── Hero ───────────────────────────────────────────────────────────── */
.vh-hero {
	text-align: center;
	padding: 4.5rem 1rem 3rem;
}
.vh-hero h1 {
	font-size: clamp(2.1rem, 5vw, 3.1rem);
	font-weight: 800;
	line-height: 1.12;
	max-width: 860px;
	margin: 0 auto 1.1rem;
	color: var(--text-primary);
}
.vh-hero .sub {
	font-size: 1.15rem;
	color: var(--text-secondary);
	max-width: 720px;
	margin: 0 auto 1.9rem;
	line-height: 1.6;
}
.vh-hero .cta-row {
	display: flex;
	gap: 0.85rem;
	justify-content: center;
	flex-wrap: wrap;
}

/* ── Sections & cards ───────────────────────────────────────────────── */
.vh-section { padding: 3rem 0; }
.vh-section h2 {
	font-size: 1.7rem;
	font-weight: 800;
	color: var(--text-primary);
	margin-bottom: 0.5rem;
}
.vh-section .section-sub {
	color: var(--text-muted);
	margin-bottom: 1.8rem;
	max-width: 700px;
}
.vh-card {
	background: var(--bg-secondary);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 1.4rem;
	height: 100%;
	transition: var(--transition);
}
.vh-card:hover { border-color: var(--border-light); }
.vh-card h3 {
	font-size: 1.12rem;
	font-weight: 700;
	color: var(--text-primary);
	display: flex;
	align-items: center;
	gap: 0.5rem;
}
.vh-card .bi { color: var(--primary); }
.vh-card p { color: var(--text-secondary); margin-bottom: 0; font-size: 0.95rem; }

/* Venue directory card */
.vh-venue-card {
	display: flex;
	flex-direction: column;
	background: var(--bg-secondary);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	height: 100%;
	text-decoration: none;
	transition: var(--transition);
}
.vh-venue-card:hover {
	border-color: var(--primary);
	transform: translateY(-2px);
	box-shadow: var(--shadow-lg);
}
.vh-venue-card .venue-art {
	aspect-ratio: 21 / 9;
	background:
		radial-gradient(ellipse at 30% 20%, rgba(255, 152, 0, 0.25), transparent 55%),
		radial-gradient(ellipse at 75% 80%, rgba(16, 185, 129, 0.18), transparent 55%),
		var(--bg-tertiary);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2.4rem;
	color: var(--primary);
}
.vh-venue-card .venue-body { padding: 1.1rem 1.25rem 1.3rem; }
.vh-venue-card h3 { color: var(--text-primary); font-size: 1.25rem; font-weight: 800; margin-bottom: 0.2rem; }
.vh-venue-card .venue-meta { color: var(--text-muted); font-size: 0.86rem; margin-bottom: 0.55rem; }
.vh-venue-card p { color: var(--text-secondary); font-size: 0.95rem; margin: 0; }

/* Pricing tiers */
.vh-tier {
	background: var(--bg-secondary);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 1.5rem;
	height: 100%;
	text-align: center;
}
.vh-tier.popular { border-color: var(--primary); }
.vh-tier .tier-name {
	font-weight: 700;
	color: var(--text-primary);
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.85rem;
}
.vh-tier .tier-price {
	font-size: 2rem;
	font-weight: 800;
	color: var(--text-primary);
	margin: 0.4rem 0;
}
.vh-tier .tier-price small { font-size: 0.95rem; color: var(--text-muted); font-weight: 500; }
.vh-tier p { color: var(--text-secondary); font-size: 0.92rem; margin-bottom: 0; }

/* ── Venue page ─────────────────────────────────────────────────────── */
.vh-venue-hero {
	padding: 3.2rem 0 2rem;
	border-bottom: 1px solid var(--border);
	background:
		radial-gradient(ellipse at 20% 0%, rgba(255, 152, 0, 0.12), transparent 50%),
		radial-gradient(ellipse at 90% 100%, rgba(16, 185, 129, 0.08), transparent 50%);
}
.vh-venue-hero h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); font-weight: 800; color: var(--text-primary); }
.vh-venue-hero .tagline { color: var(--text-secondary); font-size: 1.15rem; }
.vh-venue-hero .venue-loc { color: var(--text-muted); font-size: 0.95rem; margin-top: 0.4rem; }

/* Hero with a real venue photo: the dark gradient (set inline so the URL
   stays dynamic) keeps the heading legible over any image. */
.vh-venue-hero.has-photo {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	padding: 5.5rem 0 3rem;
}
.vh-venue-hero.has-photo .tagline { color: rgba(255, 255, 255, 0.85); }

/* Demo-mode markers — VomeHire is a showcase until the legals land. */
.vh-demo-strip {
	background: rgba(245, 158, 11, 0.12);
	border-bottom: 1px solid rgba(245, 158, 11, 0.3);
	color: #fde68a;
	text-align: center;
	padding: 0.6rem 1rem;
	font-size: 0.9rem;
	font-weight: 600;
}
.vh-preview-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	background: rgba(245, 158, 11, 0.15);
	color: #fde68a;
	border: 1px solid rgba(245, 158, 11, 0.35);
	padding: 0.3rem 0.75rem;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	margin-bottom: 0.85rem;
}
/* Non-interactive package card (showcase only, no booking radio). */
.vh-package-static { cursor: default; }

.vh-feature-list { list-style: none; padding: 0; margin: 0; }
.vh-feature-list li {
	padding: 0.35rem 0;
	color: var(--text-secondary);
	display: flex;
	gap: 0.55rem;
	align-items: baseline;
	font-size: 0.96rem;
}
.vh-feature-list li .bi { color: var(--accent); flex-shrink: 0; }

/* Package picker */
.vh-package {
	position: relative;
	display: block;
	background: var(--bg-secondary);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 1.15rem 1.25rem;
	cursor: pointer;
	transition: var(--transition);
	height: 100%;
}
.vh-package:hover { border-color: var(--border-light); }
.vh-package input { position: absolute; opacity: 0; pointer-events: none; }
.vh-package.selected {
	border-color: var(--primary);
	box-shadow: 0 0 0 1px var(--primary);
	background: rgba(255, 152, 0, 0.05);
}
.vh-package .pkg-head {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	margin-bottom: 0.35rem;
}
.vh-package .pkg-head .bi { color: var(--primary); font-size: 1.25rem; }
.vh-package .pkg-head h3 { font-size: 1.05rem; font-weight: 700; color: var(--text-primary); margin: 0; }
.vh-package .pkg-rate { color: var(--text-primary); font-weight: 700; font-size: 0.95rem; }
.vh-package .pkg-rate small { color: var(--text-muted); font-weight: 500; }
.vh-package .pkg-summary { color: var(--text-secondary); font-size: 0.9rem; margin: 0.35rem 0 0.5rem; }
.vh-package .pkg-includes { color: var(--text-muted); font-size: 0.84rem; margin: 0; padding-left: 1.1rem; }

/* Booking widget */
.vh-book-panel {
	background: var(--bg-secondary);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 1.5rem;
}
.vh-book-panel label { color: var(--text-secondary); font-weight: 600; font-size: 0.9rem; }
.vh-slots {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 0.75rem;
}
.vh-slot {
	border: 1px solid var(--border-light);
	background: var(--bg-tertiary);
	color: var(--text-primary);
	border-radius: var(--radius-sm);
	padding: 0.45rem 0.8rem;
	font-weight: 600;
	font-size: 0.92rem;
	cursor: pointer;
	transition: var(--transition);
}
.vh-slot:hover { border-color: var(--primary); color: var(--primary); }
.vh-slot.selected {
	background: var(--primary);
	border-color: var(--primary);
	color: #1a1100;
}
.vh-price-line {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	border-top: 1px solid var(--border);
	margin-top: 1.1rem;
	padding-top: 0.9rem;
	color: var(--text-secondary);
}
.vh-price-line .total { font-size: 1.35rem; font-weight: 800; color: var(--text-primary); }

/* Booking status page */
.vh-status-badge {
	display: inline-block;
	padding: 0.3rem 0.85rem;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}
.vh-status-pending { background: rgba(245, 158, 11, 0.15); color: var(--warning); }
.vh-status-confirmed { background: rgba(34, 197, 94, 0.15); color: var(--success); }
.vh-status-cancelled { background: rgba(239, 68, 68, 0.15); color: var(--danger); }
.vh-status-completed { background: rgba(16, 185, 129, 0.15); color: var(--accent); }

.vh-door-code {
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 2.1rem;
	font-weight: 800;
	letter-spacing: 0.35em;
	color: var(--text-primary);
	background: var(--bg-tertiary);
	border: 1px dashed var(--border-light);
	border-radius: var(--radius);
	padding: 0.7rem 1.1rem;
	display: inline-block;
}

.vh-detail-table { width: 100%; }
.vh-detail-table td { padding: 0.4rem 0; color: var(--text-secondary); }
.vh-detail-table td:first-child { font-weight: 600; color: var(--text-muted); width: 38%; }

/* ── Footer ─────────────────────────────────────────────────────────── */
.vh-footer {
	border-top: 1px solid var(--border);
	margin-top: 3rem;
	padding: 2rem 0 2.5rem;
	color: var(--text-muted);
	font-size: 0.9rem;
}
.vh-footer a { color: var(--text-secondary); text-decoration: none; }
.vh-footer a:hover { color: var(--primary); }
