/*
Theme Name:   Warehouse Venue
Theme URI:    https://designcorp.co.za
Description:  Industrial-luxury child theme for the Venue Framework platform. Self-hosted fonts, design tokens, premium header/footer, performance-first. Works with Nothing Plugin.
Author:       Havealot Design Corp
Template:     hello-elementor
Version:      1.0.0
License:      GNU General Public License v2 or later
Text Domain:  warehouse-venue
*/

/* ---------- Self-hosted variable fonts (display: swap, latin + latin-ext) ---------- */

@font-face {
	font-family: "Fraunces";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("assets/fonts/fraunces-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Fraunces";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("assets/fonts/fraunces-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("assets/fonts/inter-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("assets/fonts/inter-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Base ---------- */

body {
	font-family: "Inter", system-ui, -apple-system, sans-serif;
	font-size: 1.0625rem;
	line-height: 1.7;
	color: #3a3c3e;
	background: #faf8f5;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .elementor-heading-title {
	font-family: "Fraunces", Georgia, serif;
	color: #101112;
	line-height: 1.12;
	letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.25rem); font-weight: 600; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 600; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 600; }

a { color: #8c6d2f; }
a:hover { color: #101112; }

img { max-width: 100%; height: auto; }

:focus-visible { outline: 2px solid #c9a25c; outline-offset: 2px; }

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100000;
	background: #101112;
	color: #fff;
	padding: 0.9rem 1.5rem;
	border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Header ---------- */

.wv-header {
	position: sticky;
	top: 0;
	z-index: 999;
	background: rgba(16, 17, 18, 0.92);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	transition: background 0.25s ease;
}
.wv-header__inner {
	width: min(1280px, 94vw);
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	min-height: 76px;
}
.wv-header__brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.wv-header__brand img { max-height: 46px; width: auto; }
.wv-header__brand-name {
	font-family: "Fraunces", Georgia, serif;
	font-size: 1.3rem;
	font-weight: 600;
	color: #fff;
	letter-spacing: 0.01em;
}
.wv-nav { display: flex; align-items: center; gap: 0.25rem; }
.wv-nav ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 0.25rem; }
.wv-nav a {
	display: inline-block;
	padding: 0.6rem 0.9rem;
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
	font-size: 0.95rem;
	font-weight: 500;
	border-radius: 999px;
	transition: color 0.2s ease, background 0.2s ease;
}
.wv-nav a:hover, .wv-nav .current-menu-item > a { color: #fff; background: rgba(255, 255, 255, 0.08); }
.wv-nav .sub-menu {
	position: absolute;
	visibility: hidden;
	opacity: 0;
	transform: translateY(6px);
	background: #1b1d1f;
	border: 1px solid #2a2d30;
	border-radius: 14px;
	padding: 0.5rem;
	min-width: 220px;
	display: block;
	transition: opacity 0.2s ease, transform 0.2s ease;
}
.wv-nav li { position: relative; }
.wv-nav li:hover > .sub-menu, .wv-nav li:focus-within > .sub-menu { visibility: visible; opacity: 1; transform: none; }
.wv-nav .sub-menu a { display: block; border-radius: 8px; }
.wv-header__cta { flex-shrink: 0; }

.wv-burger {
	display: none;
	background: none;
	border: 0;
	width: 44px;
	height: 44px;
	cursor: pointer;
	position: relative;
	z-index: 1001;
}
.wv-burger span, .wv-burger span::before, .wv-burger span::after {
	content: "";
	display: block;
	position: absolute;
	left: 10px;
	right: 10px;
	height: 2px;
	background: #fff;
	transition: transform 0.25s ease, opacity 0.25s ease;
}
.wv-burger span { top: 21px; }
.wv-burger span::before { top: -7px; }
.wv-burger span::after { top: 7px; }
.wv-burger[aria-expanded="true"] span { background: transparent; }
.wv-burger[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.wv-burger[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1024px) {
	.wv-burger { display: block; }
	.wv-nav {
		position: fixed;
		inset: 0;
		background: #101112;
		flex-direction: column;
		justify-content: center;
		visibility: hidden;
		opacity: 0;
		transition: opacity 0.25s ease;
		z-index: 1000;
	}
	.wv-nav.is-open { visibility: visible; opacity: 1; }
	.wv-nav ul { flex-direction: column; text-align: center; gap: 0.5rem; }
	.wv-nav a { font-size: 1.35rem; padding: 0.75rem 1.5rem; }
	.wv-nav .sub-menu { position: static; visibility: visible; opacity: 1; transform: none; background: none; border: 0; }
	.wv-nav .sub-menu a { font-size: 1.05rem; color: rgba(255, 255, 255, 0.6); }
	.wv-header__cta { display: none; }
}

/* ---------- Footer ---------- */

.wv-footer { background: #101112; color: rgba(255, 255, 255, 0.75); margin-top: 0; }
.wv-footer__rule { height: 3px; background: linear-gradient(90deg, #b8934a, #c9a25c, #b8934a); }
.wv-footer__grid {
	width: min(1280px, 94vw);
	margin: 0 auto;
	padding: clamp(3rem, 7vw, 5rem) 0 2.5rem;
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1.4fr;
	gap: clamp(2rem, 4vw, 3.5rem);
}
@media (max-width: 900px) { .wv-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .wv-footer__grid { grid-template-columns: 1fr; } }
.wv-footer h2 {
	font-family: "Inter", sans-serif;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #c9a25c;
	margin: 0 0 1.1rem;
}
.wv-footer__brand-name { font-family: "Fraunces", Georgia, serif; font-size: 1.5rem; color: #fff; margin: 0 0 0.75rem; }
.wv-footer p { margin: 0 0 0.75rem; font-size: 0.95rem; }
.wv-footer ul { list-style: none; margin: 0; padding: 0; }
.wv-footer li { margin-bottom: 0.55rem; }
.wv-footer a { color: rgba(255, 255, 255, 0.75); text-decoration: none; }
.wv-footer a:hover { color: #c9a25c; }
.wv-footer__social { display: flex; gap: 0.9rem; margin-top: 1.1rem; }
.wv-footer__social a { font-size: 0.9rem; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 999px; padding: 0.45rem 1rem; }
.wv-footer__legal {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 1.4rem 0;
}
.wv-footer__legal-inner {
	width: min(1280px, 94vw);
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1rem;
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.45);
}
.wv-footer__legal a { color: rgba(255, 255, 255, 0.55); margin-left: 1.25rem; }

/* ---------- WooCommerce polish (checkout kept minimal & on-brand) ---------- */

.woocommerce .button, .woocommerce button.button, .woocommerce a.button,
.woocommerce #respond input#submit, .woocommerce button.button.alt {
	background: #101112;
	color: #fff;
	border-radius: 999px;
	padding: 0.9rem 1.75rem;
	font-weight: 600;
}
.woocommerce .button:hover, .woocommerce button.button.alt:hover { background: #c9a25c; color: #101112; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select {
	min-height: 48px;
	border: 1px solid #ddd6ca;
	border-radius: 12px;
	background: #f1ede6;
	padding: 0.6rem 1rem;
}

/* ---------- Content width helper for classic pages ---------- */

.wv-container { width: min(1200px, 92vw); margin-left: auto; margin-right: auto; }
