/*
Theme Name: No Show
Theme URI: https://noshow.co.nz
Author: NT Digital
Description: Minimal theme for the No Show same-day availability marketplace. Requires the No Show plugin to be active.
Version: 1.0.0
Text Domain: no-show-theme
*/

:root {
	--ns-navy: #14213d;
	--ns-navy-light: #1d3557;
	--ns-accent: #ff6b35;
	--ns-bg: #f7f8fa;
	--ns-border: #e5e7eb;
	--ns-text: #1f2937;
	--ns-text-light: #6b7280;
}

* { box-sizing: border-box; }

body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	background: var(--ns-bg);
	color: var(--ns-text);
	line-height: 1.5;
}

a { color: var(--ns-navy-light); }

.ns-container { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* Header */
.ns-site-header { background: var(--ns-navy); color: #fff; }
.ns-header-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; max-width: 1040px; margin: 0 auto; }
.ns-logo { color: #fff; font-size: 20px; font-weight: 700; text-decoration: none; letter-spacing: -.02em; }
.ns-logo span { color: var(--ns-accent); }
.ns-nav { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.ns-nav a { color: #d6dbe8; text-decoration: none; font-size: 14px; font-weight: 600; }
.ns-nav a:hover { color: #fff; }
.ns-nav-cta { background: var(--ns-accent); color: #fff !important; padding: 9px 16px; border-radius: 8px; }
.ns-nav-cta:hover { background: #e0551f; color: #fff !important; }

/* Hero */
.ns-hero { background: var(--ns-navy); color: #fff; padding: 56px 20px 44px; text-align: center; }
.ns-hero-compact { padding: 44px 20px 28px; }
.ns-hero h1 { font-size: 34px; margin: 0 0 12px; }
.ns-hero p { color: #c6cbe0; font-size: 16px; max-width: 520px; margin: 0 auto 28px; }
.ns-hero-compact p { margin-bottom: 0; }

.ns-search {
	display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; max-width: 640px; margin: 0 auto;
	background: #fff; padding: 10px; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.ns-search select, .ns-search input[type=text] {
	border: 1px solid var(--ns-border); border-radius: 8px; padding: 12px 14px; font-size: 15px;
	font-family: inherit; flex: 1; min-width: 160px;
}
.ns-search button {
	background: var(--ns-accent); color: #fff; border: none; padding: 12px 22px; border-radius: 8px;
	font-weight: 700; font-size: 15px; cursor: pointer; flex-shrink: 0;
}
.ns-search button:hover { background: #e0551f; }

.ns-live-count {
	display: inline-flex; align-items: center; gap: 8px; margin: 22px 0 0; font-size: 14px; font-weight: 600;
	color: #d6f5da; background: rgba(42,157,63,.18); padding: 8px 16px; border-radius: 999px;
}
.ns-hero-compact .ns-live-count { margin-top: 18px; }
.ns-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74,222,128,.25); }

.ns-section-title { font-size: 20px; margin: 8px 0 18px; color: var(--ns-navy); }

/* Page content wrap */
.ns-page { max-width: 1040px; margin: 0 auto; padding: 40px 20px 60px; }
.ns-page-tight { padding-top: 28px; }
.ns-page h1 { font-size: 26px; margin-top: 0; }

/* Footer */
.ns-site-footer { border-top: 1px solid var(--ns-border); padding: 24px 20px; text-align: center; color: var(--ns-text-light); font-size: 13px; }

@media (max-width: 640px) {
	.ns-nav { display: none; }
	.ns-search { flex-direction: column; }
	.ns-hero h1 { font-size: 26px; }
}
