/* ============================================================
   boy or girl — Global UI
   Covers: custom header, custom footer, typography baseline
   Palette: #0D0914 Dark | #FDF4E7 Cream | #7BB8F0 Blue | #F0A0BE Pink | #C8956C Warm
   ============================================================ */

/* ── CSS Custom Properties ──────────────────────────────────── */

:root {
	--bog-dark:       #0D0914;
	--bog-dark-mid:   #120820;
	--bog-cream:      #FDF4E7;
	--bog-blue:       #7BB8F0;
	--bog-pink:       #F0A0BE;
	--bog-warm:       #C8956C;
	--bog-charcoal:   #3A3A3A;
	--bog-header-h:   68px;
	--bog-font:       'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
	--bog-radius-lg:  24px;
	--bog-radius-md:  16px;
	--bog-radius-sm:  10px;
	--bog-trans:      0.3s ease;
}

/* ── Skip link ──────────────────────────────────────────────── */

.bog-skip-link {
	position: absolute;
	top: -100px;
	left: 1rem;
	z-index: 10000;
	padding: 0.6rem 1.2rem;
	background: var(--bog-cream);
	color: var(--bog-dark);
	font-family: var(--bog-font);
	font-weight: 700;
	border-radius: var(--bog-radius-sm);
	transition: top 0.1s;
}

.bog-skip-link:focus {
	top: 1rem;
}

/* ── Body baseline ──────────────────────────────────────────── */

/* ── Overflow guard — prevents horizontal scroll on all pages ── */

html {
	overflow-x: hidden;
	max-width: 100%;
}

body {
	font-family: var(--bog-font);
	overflow-x: hidden;
	max-width: 100%;
}

/* Non-hero pages: push content below the fixed header */
body:not(.has-box-builder) {
	padding-top: var(--bog-header-h);
}

/* ================================================================
   HEADER
   ================================================================ */

.bog-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	height: var(--bog-header-h);
	/* default: solid glass — used on inner pages & after scroll */
	background: rgba(13, 9, 20, 0.90);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	transition:
		background var(--bog-trans),
		backdrop-filter var(--bog-trans),
		box-shadow var(--bog-trans);
}

/* Transparent state — shop hero overlap */
.bog-header.is-transparent {
	background: transparent;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	border-bottom-color: transparent;
	box-shadow: none;
}

/* Scrolled state restores glass */
.bog-header.is-scrolled {
	background: rgba(13, 9, 20, 0.92);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-bottom-color: rgba(255, 255, 255, 0.06);
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
}

.bog-header-inner {
	display: flex;
	align-items: center;
	height: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 1.5rem;
	gap: 1.5rem;
}

/* ── Logo ───────────────────────────────────────────────────── */

.bog-logo {
	text-decoration: none;
	font-family: var(--bog-font);
	font-weight: 900;
	font-size: 1.45rem;
	letter-spacing: -0.04em;
	line-height: 1;
	white-space: nowrap;
	flex-shrink: 0;
}

.bog-logo-boy {
	color: var(--bog-blue);
	text-shadow: 0 0 20px rgba(123, 184, 240, 0.40);
}

.bog-logo-or {
	color: rgba(253, 244, 231, 0.35);
	font-weight: 300;
}

.bog-logo-girl {
	color: var(--bog-pink);
	text-shadow: 0 0 20px rgba(240, 160, 190, 0.40);
}

.bog-logo-dot {
	color: var(--bog-cream);
	opacity: 0.6;
}

/* ── Desktop nav ────────────────────────────────────────────── */

.bog-nav {
	flex: 1;
	display: flex;
	justify-content: center;
}

.bog-nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

.bog-nav-list li a {
	display: inline-block;
	padding: 0.5rem 0.9rem;
	font-family: var(--bog-font);
	font-size: 0.875rem;
	font-weight: 500;
	color: rgba(253, 244, 231, 0.72);
	text-decoration: none;
	border-radius: var(--bog-radius-sm);
	transition: color var(--bog-trans), background var(--bog-trans);
}

.bog-nav-list li a:hover,
.bog-nav-list li.current-menu-item a {
	color: var(--bog-cream);
	background: rgba(255, 255, 255, 0.07);
}

/* ── Header CTA button ──────────────────────────────────────── */

.bog-header-actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-shrink: 0;
}

.bog-header-cta {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.5rem 1.1rem;
	font-family: var(--bog-font);
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--bog-dark);
	background: linear-gradient(135deg, var(--bog-cream) 0%, #e8d4b0 100%);
	border-radius: 100px;
	text-decoration: none;
	transition: transform var(--bog-trans), box-shadow var(--bog-trans);
	white-space: nowrap;
}

.bog-header-cta:hover,
.bog-header-cta:focus-visible {
	transform: translateY(-1px);
	box-shadow: 0 4px 16px rgba(253, 244, 231, 0.25);
	color: var(--bog-dark);
	text-decoration: none;
}

/* ── Burger button ──────────────────────────────────────────── */

.bog-burger {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 5px;
	width: 40px;
	height: 40px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.10);
	border-radius: var(--bog-radius-sm);
	cursor: pointer;
	padding: 0;
	transition: background var(--bog-trans);
}

.bog-burger:hover {
	background: rgba(255, 255, 255, 0.12);
}

.bog-burger-line {
	display: block;
	width: 20px;
	height: 2px;
	background: var(--bog-cream);
	border-radius: 2px;
	transition: transform 0.3s ease, opacity 0.3s ease;
	transform-origin: center;
}

/* Burger → X when open */
.bog-burger.is-open .bog-burger-line:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.bog-burger.is-open .bog-burger-line:nth-child(2) {
	opacity: 0;
	transform: scaleX(0);
}

.bog-burger.is-open .bog-burger-line:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile nav panel ───────────────────────────────────────── */

.bog-mobile-nav {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: rgba(13, 9, 20, 0.97);
	backdrop-filter: blur(24px);
	-webkit-backdrop-filter: blur(24px);
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	padding: 1.25rem 1.5rem 1.5rem;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* hidden attribute is toggled by JS — use animation for enter */
.bog-mobile-nav:not([hidden]) {
	animation: bog-menu-slide-in 0.25s ease both;
}

@keyframes bog-menu-slide-in {
	from { opacity: 0; transform: translateY(-10px); }
	to   { opacity: 1; transform: translateY(0); }
}

.bog-mobile-nav-inner {
	max-width: 480px;
}

.bog-mobile-nav-list {
	list-style: none;
	margin: 0 0 1rem;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.bog-mobile-nav-list li a {
	display: block;
	padding: 0.75rem 1rem;
	font-family: var(--bog-font);
	font-size: 1rem;
	font-weight: 600;
	color: rgba(253, 244, 231, 0.85);
	text-decoration: none;
	border-radius: var(--bog-radius-sm);
	transition: color var(--bog-trans), background var(--bog-trans);
}

.bog-mobile-nav-list li a:hover {
	color: var(--bog-cream);
	background: rgba(255, 255, 255, 0.07);
}

.bog-mobile-cta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	width: 100%;
	padding: 0.9rem 1.5rem;
	background: linear-gradient(135deg, var(--bog-cream) 0%, #e8d4b0 100%);
	color: var(--bog-dark);
	font-family: var(--bog-font);
	font-size: 0.95rem;
	font-weight: 700;
	border-radius: var(--bog-radius-md);
	text-decoration: none;
	margin-top: 0.5rem;
}

.bog-mobile-cta:hover {
	color: var(--bog-dark);
	text-decoration: none;
}

/* ================================================================
   FOOTER
   ================================================================ */

.bog-footer {
	position: relative;
	overflow: hidden;
	background: var(--bog-dark);
	color: rgba(253, 244, 231, 0.70);
	font-family: var(--bog-font);
}

.bog-footer-glow {
	position: absolute;
	border-radius: 50%;
	filter: blur(80px);
	pointer-events: none;
}

.bog-footer-glow-blue {
	width: 350px;
	height: 350px;
	background: radial-gradient(circle, rgba(123, 184, 240, 0.18) 0%, transparent 70%);
	top: -60px;
	left: -60px;
}

.bog-footer-glow-pink {
	width: 300px;
	height: 300px;
	background: radial-gradient(circle, rgba(240, 160, 190, 0.16) 0%, transparent 70%);
	bottom: -40px;
	right: -40px;
}

.bog-footer-inner {
	position: relative;
	z-index: 1;
	max-width: 1160px;
	margin: 0 auto;
	padding: 4rem 2rem 2.5rem;
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr;
	gap: 3rem;
}

/* ── Footer brand ───────────────────────────────────────────── */

.bog-footer-logo {
	display: block;
	text-decoration: none;
	font-weight: 900;
	font-size: 1.8rem;
	letter-spacing: -0.045em;
	line-height: 1;
	margin-bottom: 0.85rem;
}

.bog-footer-logo-boy   { color: var(--bog-blue);  }
.bog-footer-logo-or    { color: rgba(253, 244, 231, 0.28); font-weight: 300; }
.bog-footer-logo-girl  { color: var(--bog-pink);  }
.bog-footer-logo-dot   { color: rgba(253, 244, 231, 0.45); }

.bog-footer-tagline {
	font-size: 0.9rem;
	line-height: 1.65;
	margin: 0 0 1.6rem;
	color: rgba(253, 244, 231, 0.55);
}

.bog-footer-messenger-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.7rem 1.4rem;
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 100px;
	color: rgba(253, 244, 231, 0.85);
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
	transition: background var(--bog-trans), border-color var(--bog-trans), color var(--bog-trans);
}

.bog-footer-messenger-btn:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.22);
	color: var(--bog-cream);
	text-decoration: none;
}

/* ── Footer nav columns ─────────────────────────────────────── */

.bog-footer-col-title {
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: rgba(253, 244, 231, 0.38);
	margin: 0 0 1.2rem;
}

.bog-footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}

.bog-footer-links li,
.bog-footer-links li a {
	font-size: 0.9rem;
	color: rgba(253, 244, 231, 0.60);
	text-decoration: none;
	transition: color var(--bog-trans);
}

.bog-footer-links li a:hover {
	color: var(--bog-cream);
}

/* ── Footer bottom bar ──────────────────────────────────────── */

.bog-footer-bottom {
	position: relative;
	z-index: 1;
	border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.bog-footer-bottom-inner {
	max-width: 1160px;
	margin: 0 auto;
	padding: 1.25rem 2rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

.bog-footer-copy {
	font-size: 0.8rem;
	color: rgba(253, 244, 231, 0.35);
	margin: 0;
}

.bog-footer-copy a {
	color: rgba(253, 244, 231, 0.55);
	text-decoration: none;
}

.bog-footer-copy a:hover {
	color: var(--bog-cream);
}

.bog-footer-badges {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.bog-badge {
	display: inline-block;
	padding: 0.3rem 0.75rem;
	border-radius: 100px;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.bog-badge-pink    { background: rgba(240, 160, 190, 0.12); color: var(--bog-pink);  border: 1px solid rgba(240, 160, 190, 0.20); }
.bog-badge-blue    { background: rgba(123, 184, 240, 0.12); color: var(--bog-blue);  border: 1px solid rgba(123, 184, 240, 0.20); }
.bog-badge-neutral { background: rgba(200, 149, 108, 0.12); color: var(--bog-warm);  border: 1px solid rgba(200, 149, 108, 0.20); }

/* ================================================================
   RESPONSIVE — TABLET  ≤ 900px
   ================================================================ */

@media (max-width: 900px) {
	/* Show burger, hide desktop nav + desktop CTA */
	.bog-nav,
	.bog-header-cta {
		display: none;
	}

	.bog-burger {
		display: flex;
	}

	/* Push burger to the far right (nav flex:1 is hidden) */
	.bog-header-actions {
		margin-left: auto;
	}

	/* Footer grid → 2 col */
	.bog-footer-inner {
		grid-template-columns: 1fr 1fr;
		gap: 2.5rem;
	}

	.bog-footer-brand {
		grid-column: 1 / -1;
	}
}

/* ================================================================
   RESPONSIVE — MOBILE  ≤ 600px
   ================================================================ */

@media (max-width: 600px) {
	:root {
		--bog-header-h: 60px;
	}

	.bog-header-inner {
		padding: 0 1rem;
	}

	.bog-logo {
		font-size: 1.25rem;
	}

	/* Footer → single column */
	.bog-footer-inner {
		grid-template-columns: 1fr;
		padding: 3rem 1.25rem 2rem;
		gap: 2rem;
	}

	.bog-footer-brand {
		grid-column: auto;
	}

	.bog-footer-bottom-inner {
		padding: 1rem 1.25rem;
		flex-direction: column;
		align-items: flex-start;
		gap: 0.75rem;
	}

	.bog-footer-badges {
		gap: 0.4rem;
	}
}
