<?php
/**
 * Layout, navigation, shop, footer, and professional homepage styles.
 */

/* ── Base layout ── */
.lux-golf-theme,
html,
body {
	background: var(--lux-off-white);
	overflow-x: hidden;
}

.lux-golf-theme {
	background: var(--lux-off-white);
	color: var(--lux-black);
}

.lux-main {
	position: relative;
	z-index: 2;
	min-height: 50vh;
}

.lux-home--pro .lux-main,
.lux-home--pro {
	background: var(--lux-off-white);
}

/* ── Header ── */
.lux-header {
	position: sticky;
	top: 0;
	z-index: 200;
	background: var(--lux-white);
	box-shadow: var(--lux-shadow-sm);
}

.lux-header__top {
	border-bottom: 1px solid var(--lux-gray-300);
}

.lux-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.9rem 1.5rem;
}

.lux-header__logo {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	gap: 0.65rem;
	color: var(--lux-black);
	text-decoration: none;
	font-weight: 700;
	font-family: var(--lux-font-display);
	font-size: 1.05rem;
	z-index: 2;
}

.lux-header__logo-mark {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--lux-green), var(--lux-green-bright));
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.25);
}

.lux-header__menu {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.lux-header__menu a {
	color: var(--lux-gray-700);
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 500;
	transition: color var(--lux-transition);
}

.lux-header__menu a:hover,
.lux-header__menu .current-menu-item a {
	color: var(--lux-green);
}

.lux-header__actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.lux-header__quote {
	padding: 0.5rem 1rem;
	border-radius: var(--lux-radius-md);
	background: var(--lux-green);
	color: var(--lux-white);
	text-decoration: none;
	font-size: 0.8125rem;
	font-weight: 600;
}

.lux-header__quote:hover {
	background: var(--lux-green-bright);
	color: var(--lux-white);
}

.lux-header__cart {
	color: var(--lux-black);
	text-decoration: none;
	font-size: 0.875rem;
	font-weight: 600;
}

.lux-header__cart-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.25rem;
	height: 1.25rem;
	margin-left: 0.25rem;
	padding: 0 0.35rem;
	border-radius: 999px;
	background: var(--lux-gold);
	color: var(--lux-black);
	font-size: 0.6875rem;
	font-weight: 700;
}

.lux-header__toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	padding: 0.5rem;
	border: none;
	background: transparent;
	cursor: pointer;
}

.lux-header__toggle-bar {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--lux-black);
}

/* Category bar */
.lux-category-bar {
	background: var(--lux-charcoal);
	color: var(--lux-white);
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.lux-category-bar__list {
	display: flex;
	gap: 0;
	list-style: none;
	margin: 0;
	padding: 0;
	min-width: max-content;
}

.lux-category-bar__link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.75rem 1.1rem;
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
	font-size: 0.8125rem;
	font-weight: 500;
	white-space: nowrap;
	border-right: 1px solid rgba(255, 255, 255, 0.08);
	transition: background var(--lux-transition), color var(--lux-transition);
}

.lux-category-bar__link:hover {
	background: rgba(201, 162, 39, 0.12);
	color: var(--lux-gold-light);
}

.lux-category-bar__count {
	font-size: 0.6875rem;
	font-weight: 600;
	color: var(--lux-gold-light);
}

/* Mobile nav */
.lux-mobile-nav {
	background: var(--lux-white);
	border-top: 1px solid var(--lux-gray-300);
	padding: 1rem 1.5rem;
}

.lux-mobile-nav__brand {
	display: flex;
	justify-content: center;
	padding-bottom: 1rem;
	margin-bottom: 0.75rem;
	border-bottom: 1px solid var(--lux-gray-300);
}

.lux-header__logo--mobile {
	justify-content: center;
}

.lux-mobile-nav__menu,
.lux-mobile-nav__cats {
	list-style: none;
	margin: 0 0 1rem;
	padding: 0;
}

.lux-mobile-nav a {
	display: block;
	padding: 0.5rem 0;
	color: var(--lux-gray-700);
	text-decoration: none;
	font-weight: 500;
}

/* ── Professional hero ── */
.lux-hero.lux-hero--pro {
	position: relative;
	background: #0a1f16;
	color: var(--lux-black);
	padding: clamp(2.5rem, 5vw, 4rem) 0;
	border-bottom: 1px solid rgba(201, 162, 39, 0.2);
	min-height: clamp(560px, 72vh, 760px);
	display: flex;
	align-items: center;
	overflow: hidden;
}

.lux-hero-pro__bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	overflow: hidden;
}

.lux-hero-pro__bg-slides {
	position: absolute;
	inset: 0;
}

.lux-hero-pro__bg-slide {
	position: absolute;
	inset: -4%;
	background-size: cover;
	background-position: center 35%;
	background-repeat: no-repeat;
	opacity: 0;
	transition: opacity 1.4s ease;
	transform: scale(1.06);
	filter: saturate(1.08) contrast(1.05);
}

.lux-hero-pro__bg-slide.is-active {
	opacity: 1;
}

.lux-hero-pro__bg-ambient {
	position: absolute;
	inset: 0;
	background-image: url('../images/lux-hero-ambient.svg');
	background-size: cover;
	background-position: center;
	opacity: 0.55;
	mix-blend-mode: multiply;
}

.lux-hero-pro__bg-shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		105deg,
		rgba(252, 254, 252, 0.82) 0%,
		rgba(248, 252, 249, 0.52) 30%,
		rgba(13, 61, 42, 0.18) 55%,
		rgba(8, 18, 14, 0.68) 100%
	);
}

.lux-hero-pro__bg-logo {
	position: absolute;
	right: clamp(1rem, 6vw, 5rem);
	top: 50%;
	transform: translateY(-50%);
	z-index: 1;
	pointer-events: none;
}

.lux-hero-pro__bg-logo img {
	display: block;
	width: min(380px, 38vw);
	height: auto;
	opacity: 0.16;
	filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.25));
}

.lux-hero-pro__content--glass {
	background: rgba(255, 255, 255, 0.82);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	padding: clamp(1.5rem, 3vw, 2.25rem);
	border-radius: var(--lux-radius-lg);
	border: 1px solid rgba(255, 255, 255, 0.65);
	box-shadow: 0 16px 48px rgba(13, 61, 42, 0.14);
}

.lux-hero-pro__grid {
	position: relative;
	z-index: 1;
}

.lux-hero--pro .lux-hero__overlay,
.lux-hero--pro .lux-hero__media,
.lux-hero--pro .lux-hero__scanlines {
	display: none;
}

.lux-hero-pro__grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 3rem;
	align-items: center;
	position: relative;
	z-index: 1;
}

.lux-hero--pro .lux-hero__eyebrow {
	color: var(--lux-green);
}

.lux-hero--pro .lux-hero__title {
	color: var(--lux-black);
	max-width: 16ch;
}

.lux-hero--pro .lux-hero__subtitle {
	color: var(--lux-gray-700);
}

.lux-hero-pro__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-bottom: 2rem;
}

.lux-btn--lg {
	padding: 1rem 2rem;
	font-size: 1rem;
}

.lux-hero-pro__stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.lux-hero-pro__stats li {
	padding: 1rem;
	background: var(--lux-white);
	border: 1px solid var(--lux-gray-300);
	border-radius: var(--lux-radius-md);
	text-align: center;
}

.lux-hero-pro__stats strong {
	display: block;
	font-family: var(--lux-font-display);
	font-size: 1.125rem;
	color: var(--lux-green);
	margin-bottom: 0.25rem;
}

.lux-hero-pro__stats span {
	font-size: 0.75rem;
	color: var(--lux-gray-500);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.lux-hero-pro__visual {
	position: relative;
	min-height: 360px;
}

.lux-hero-pro__card {
	position: relative;
	padding: 1.5rem;
	border-radius: var(--lux-radius-lg);
	background: var(--lux-white);
	border: 1px solid var(--lux-gray-300);
	box-shadow: var(--lux-shadow-md);
}

.lux-hero-pro__card--main {
	position: relative;
	z-index: 2;
	margin-right: 2rem;
}

.lux-hero-pro__card--accent {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 72%;
	background: var(--lux-charcoal);
	color: var(--lux-white);
	border-color: transparent;
}

.lux-hero-pro__card-label {
	display: inline-block;
	margin-bottom: 0.75rem;
	padding: 0.25rem 0.625rem;
	background: var(--lux-gold);
	color: var(--lux-black);
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
	border-radius: var(--lux-radius-sm);
}

.lux-hero-pro__card-kicker {
	font-size: 0.75rem;
	color: var(--lux-gold-light);
	margin: 0 0 0.5rem;
}

.lux-hero-pro__card-title {
	font-family: var(--lux-font-display);
	font-size: 1.25rem;
	font-weight: 600;
	margin: 0 0 0.5rem;
}

.lux-hero-pro__card-meta {
	font-size: 0.875rem;
	color: var(--lux-gray-500);
	margin: 0;
}

.lux-hero-pro__card--accent .lux-hero-pro__card-title {
	color: var(--lux-white);
}

.lux-hero-pro__glow {
	position: absolute;
	inset: 10% 5% auto;
	height: 60%;
	background: radial-gradient(circle, rgba(26, 92, 58, 0.15), transparent 70%);
	pointer-events: none;
}

.lux-category-card__count {
	display: inline-block;
	margin-top: 0.5rem;
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--lux-green);
}

/* ── Footer ── */
.lux-footer {
	background: var(--lux-charcoal);
	color: rgba(255, 255, 255, 0.85);
	padding: 3.5rem 0 0;
	margin-top: 0;
	position: relative;
	z-index: 5;
}

.lux-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr repeat(3, 1fr);
	gap: 2rem;
	padding-bottom: 2.5rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.lux-footer__logo {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	gap: 0.65rem;
	color: var(--lux-white);
	text-decoration: none;
	margin-bottom: 1rem;
}

.lux-footer__logo:hover {
	opacity: 0.92;
}

.lux-footer__logo-mark {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--lux-gold);
}

.lux-footer__tagline {
	font-size: 0.9375rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.6);
	margin: 0 0 1.25rem;
	max-width: 320px;
}

.lux-footer__trust {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
}

.lux-footer__trust li {
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--lux-gold-light);
}

.lux-footer__heading {
	font-family: var(--lux-font-display);
	font-size: 0.875rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--lux-white);
	margin: 0 0 1rem;
}

.lux-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.lux-footer__links li {
	margin-bottom: 0.5rem;
}

.lux-footer__links a {
	color: rgba(255, 255, 255, 0.65);
	text-decoration: none;
	font-size: 0.875rem;
	transition: color var(--lux-transition);
}

.lux-footer__links a:hover {
	color: var(--lux-gold-light);
}

.lux-footer__contact a {
	color: var(--lux-gold-light);
	font-size: 0.875rem;
}

.lux-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.25rem 0 1.75rem;
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.45);
}

.lux-footer__bottom a {
	color: rgba(255, 255, 255, 0.65);
}

/* ── Shop layout ── */
.lux-shop-hero {
	background: var(--lux-white);
	border-bottom: 1px solid var(--lux-gray-300);
	padding: 2rem 0 1.5rem;
}

.lux-shop-hero__title {
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	margin: 0 0 0.5rem;
}

.lux-shop-hero__desc {
	color: var(--lux-gray-600);
	max-width: 60ch;
	margin: 0 0 1.5rem;
}

.lux-shop__layout {
	display: grid;
	grid-template-columns: 260px 1fr;
	gap: 2rem;
	padding: 2rem 1.5rem 4rem;
	align-items: start;
}

.lux-shop__sidebar {
	position: sticky;
	top: 8rem;
}

.lux-shop-sidebar__block {
	background: var(--lux-white);
	border: 1px solid var(--lux-gray-300);
	border-radius: var(--lux-radius-lg);
	padding: 1.25rem;
	margin-bottom: 1rem;
}

.lux-shop-sidebar__title {
	font-size: 0.8125rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin: 0 0 0.875rem;
	color: var(--lux-gray-700);
}

.lux-shop-sidebar__cats,
.lux-shop-sidebar__trust ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.lux-shop-sidebar__cats li,
.lux-shop-sidebar__trust li {
	margin-bottom: 0.45rem;
}

.lux-shop-sidebar__cats a {
	color: var(--lux-gray-700);
	text-decoration: none;
	font-size: 0.875rem;
}

.lux-shop-sidebar__cats a:hover {
	color: var(--lux-green);
}

.lux-page-header {
	margin-bottom: 1.5rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--lux-gray-300);
}

.lux-page-header__title {
	font-family: var(--lux-font-display);
	font-size: clamp(1.75rem, 4vw, 2.25rem);
	margin: 0;
}

.lux-page-body {
	max-width: 72ch;
	line-height: 1.7;
}

.lux-page-body a {
	color: var(--lux-green);
}

.lux-product-meta-bar__brand a {
	color: var(--lux-green);
	text-decoration: none;
	font-weight: 600;
}

.lux-product-meta-bar__brand a:hover {
	text-decoration: underline;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
	.lux-hero-pro__grid {
		grid-template-columns: 1fr;
	}

	.lux-hero-pro__visual {
		order: -1;
		min-height: 280px;
	}

	.lux-hero-pro__content {
		order: 1;
	}

	.lux-hero-pro__bg-shade {
		background: linear-gradient(
			180deg,
			rgba(252, 254, 252, 0.94) 0%,
			rgba(248, 252, 249, 0.88) 42%,
			rgba(13, 61, 42, 0.45) 100%
		);
	}

	.lux-hero-pro__bg-logo {
		display: none;
	}

	.lux-hero.lux-hero--pro {
		min-height: auto;
	}

	.lux-footer__grid {
		grid-template-columns: 1fr 1fr;
	}

	.lux-shop__layout {
		grid-template-columns: 1fr;
	}

	.lux-shop__sidebar {
		position: static;
	}
}

@media (max-width: 768px) {
	.lux-header__inner {
		display: grid;
		grid-template-columns: auto 1fr auto;
		grid-template-areas: "toggle logo actions";
		align-items: center;
	}

	.lux-header__toggle {
		grid-area: toggle;
		display: flex;
	}

	.lux-header__logo {
		grid-area: logo;
		justify-self: center;
	}

	.lux-header__nav {
		display: none;
	}

	.lux-header__actions {
		grid-area: actions;
	}

	.lux-header__logo-img {
		height: 36px;
		max-width: min(180px, 48vw);
	}

	.lux-header__quote {
		display: none;
	}

	.lux-hero-pro__stats {
		grid-template-columns: repeat(2, 1fr);
	}

	.lux-footer__grid {
		grid-template-columns: 1fr;
	}

	.lux-category-bar__link {
		padding: 0.65rem 0.85rem;
		font-size: 0.75rem;
	}
}
