/**
 * HOME PAGE — Hero, Trust strip, vibe cards, product rows, gender cards
 */

/* ===========================================================================
   IMMERSIVE HERO — Full-bleed dark atmospheric hero
   =========================================================================== */

.home-hero {
	background: var(--gradient-premium-dark);
	min-height: 380px;
	position: relative;
}

.home-hero-content-wrap {
	padding-top: clamp(6rem, 10vw, 7.5rem);
	padding-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

/* Warm atmospheric texture overlay via the bg image */
.home-hero-bg {
	opacity: 0.65;
	animation: kenBurns 25s ease-out infinite alternate;
	/* will-change omitted — 25s animation doesn't benefit from persistent layer promotion */
}

.home-hero-bg img {
	filter: saturate(1.4) sepia(0.2);
}

.home-hero-bg-img {
	object-position: right center;
}

.home-hero-overlay {
	background: linear-gradient(
		to top,
		rgba(0, 0, 0, 0.88) 0%,
		rgba(0, 0, 0, 0.55) 40%,
		rgba(0, 0, 0, 0.25) 70%,
		rgba(0, 0, 0, 0.1) 100%
	);
	z-index: var(--z-raised);
}

.home-hero-section {
	min-height: 520px;
}

.home-hero-title {
	font-family: var(--font-display);
	font-size: var(--text-5xl);
	letter-spacing: var(--tracking-tight);
	line-height: var(--leading-tight);
	text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.home-hero-sub {
	color: var(--luxury-gold-light);
	font-size: var(--text-md);
	font-weight: var(--weight-regular);
	letter-spacing: var(--tracking-wide);
	line-height: var(--leading-snug);
}

.home-hero-body {
	color: rgba(255, 255, 255, 0.82);
	font-size: var(--text-base);
	line-height: var(--leading-loose);
	max-width: 600px;
}

/* Primary button on hero — gold fill, dark text via Bootstrap CSS variables */
.home-hero-btn-primary {
	--bs-btn-bg: var(--luxury-gold);
	--bs-btn-border-color: var(--luxury-gold);
	--bs-btn-color: var(--luxury-black);
	--bs-btn-hover-bg: var(--luxury-gold-dark);
	--bs-btn-hover-border-color: var(--luxury-gold-dark);
	--bs-btn-hover-color: var(--luxury-black);
	letter-spacing: var(--tracking-wide);
	box-shadow: var(--shadow-luxury);
}

.home-hero-btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(197, 163, 90, 0.45);
}

/* Outline button on hero — white border on dark bg via Bootstrap CSS variables */
.home-hero-btn-outline {
	--bs-btn-bg: transparent;
	--bs-btn-border-color: rgba(255, 255, 255, 0.7);
	--bs-btn-color: var(--luxury-white);
	--bs-btn-hover-bg: rgba(255, 255, 255, 0.12);
	--bs-btn-hover-border-color: var(--luxury-white);
	--bs-btn-hover-color: var(--luxury-white);
	border-width: 2px;
	letter-spacing: var(--tracking-wide);
}

.home-hero-btn-outline:hover {
	transform: translateY(-2px);
}

/* Trust micro-copy on hero */
.home-hero-trust {
	color: rgba(255, 255, 255, 0.76);
}

.home-hero-trust i {
	color: var(--luxury-gold-light);
}

/* Mobile hero adjustments */
@media (max-width: 991.98px) {
	.home-hero {
		min-height: 400px;
	}

	.home-hero-content-wrap {
		padding-top: clamp(6.75rem, 14vw, 8rem);
		padding-bottom: 1.25rem;
	}

	.home-hero-section {
		min-height: 400px;
	}

	.home-hero-title {
		font-size: var(--text-3xl);
	}
}

@media (max-width: 575.98px) {
	.home-hero {
		min-height: 350px;
	}

	.home-hero-content-wrap {
		padding-top: 7.25rem;
		padding-bottom: 1rem;
	}

	.home-hero-section {
		min-height: 350px;
	}

	.home-hero-title {
		font-size: var(--text-2xl);
	}

	.home-hero-trust {
		flex-direction: column;
		gap: 0.5rem !important;
	}
}

/* Disable Ken Burns animation for reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
	.home-hero-bg {
		animation: none;
	}
}

/* ===========================================================================
   HERO FAST LANE (used on homepage hero)
   =========================================================================== */

.hero-fast-lane {
	margin-top: calc(var(--space-md) + 0.25rem);
	text-align: center;
	font-size: var(--text-sm);
	line-height: var(--leading-normal);
	padding: 0.5rem 0;
}

.hero-fast-lane a {
	color: rgba(255, 255, 255, 0.92);
	text-decoration: none;
	transition: color 0.2s ease;
	font-weight: var(--weight-medium);
}

.hero-fast-lane a:hover {
	color: var(--luxury-gold-light);
	text-decoration: underline;
}

.hero-fast-lane-separator {
	margin: 0 0.65rem;
	color: rgba(255, 255, 255, 0.6);
}

/* ===========================================================================
   TRUST STRIP & MICRO-ANIMATIONS
   =========================================================================== */

.home-trust-strip {
	padding: calc(var(--space-md) + 0.25rem) 0;
	background: linear-gradient(180deg, rgba(247, 243, 238, 0.35) 0%, rgba(255, 255, 255, 0) 100%);
	border-bottom: 1px solid var(--color-border-subtle);
}

.home-trust-strip-content {
	display: flex;
	justify-content: center;
	white-space: nowrap;
	font-size: var(--text-sm);
	color: var(--color-text-secondary);
}

.home-trust-track {
	display: inline-flex;
	align-items: center;
	gap: 1.5rem;
}

.home-trust-item {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

.home-trust-item i {
	color: var(--luxury-gold-dark);
	font-size: var(--text-sm);
}

/* Elegant Pulse Micro-Animation */
@keyframes luxuryPulse {

	0%,
	100% {
		transform: scale(1);
		filter: brightness(1);
		opacity: 0.9;
	}

	50% {
		transform: scale(1.15);
		filter: brightness(1.2);
		opacity: 1;
		text-shadow: 0 0 8px rgba(197, 163, 90, 0.4);
	}
}

.trust-icon-pulse {
	display: inline-block;
	animation: luxuryPulse 3.5s cubic-bezier(0.25, 0.1, 0.25, 1) infinite;
}

.home-trust-item strong {
	color: var(--color-ink);
	font-weight: var(--weight-semi);
}

.home-trust-separator {
	color: var(--color-border-subtle);
	margin: 0;
}

/* Mobile Seamless Marquee */
@keyframes marqueeScroll {
	0% {
		transform: translateX(0);
	}

	100% {
		transform: translateX(-100%);
	}
}

@media (max-width: 767.98px) {
	.home-trust-strip-content {
		font-size: var(--text-sm);
		width: max-content;
		justify-content: flex-start;
		/* Reset centering for the marquee scroll */
	}

	.home-trust-track {
		gap: 2rem;
		padding-right: 2rem;
		animation: marqueeScroll 20s linear infinite;
	}

	/* Disable marquee entirely if user prefers reduced motion */
	@media (prefers-reduced-motion: reduce) {
		.home-trust-track {
			animation: none;
		}
	}
}

@media (prefers-reduced-motion: reduce) {
	.trust-icon-pulse {
		animation: none;
	}
}

/* ===========================================================================
   HOME SECTIONS
   =========================================================================== */

.home-section-header {
	font-family: var(--font-display);
	font-size: var(--text-xl);
	font-weight: var(--weight-medium);
	color: var(--color-ink);
	margin-bottom: var(--space-lg);
	text-align: center;
}

.home-vibe-card {
	border: 1px solid var(--color-border-subtle);
	border-radius: var(--radius-md);
	overflow: hidden;
	background: var(--color-surface-card);
	box-shadow: var(--shadow-sm);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-vibe-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}

.home-vibe-media {
	position: relative;
	display: block;
	overflow: hidden;
}

.home-vibe-media img {
	aspect-ratio: 4/3;
	object-fit: cover;
	transition: transform 0.4s ease, filter 0.4s ease;
	filter: sepia(15%) saturate(1.1) brightness(0.88);
}

.home-vibe-card:hover .home-vibe-media img {
	transform: scale(1.04);
	filter: sepia(5%) saturate(1.2) brightness(0.95);
}

.home-vibe-icon {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 4rem;
	height: 4rem;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.95);
	border-radius: 50%;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.home-vibe-icon i {
	font-size: var(--text-lg);
	color: var(--luxury-gold-dark);
	/* Darkened for WCAG AA contrast against white */
}

.home-vibe-card .card-body {
	padding: var(--space-md);
}

.home-vibe-card .card-title {
	font-family: var(--font-display);
	color: var(--color-ink);
	margin-bottom: 0.5rem;
}

.home-vibe-card .card-text {
	font-size: var(--text-sm);
	line-height: var(--leading-relaxed);
}

.home-hero-proof {
	margin-top: calc(var(--space-lg) + 0.5rem);
	padding: calc(var(--space-md) + 0.25rem);
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--radius-md);
	backdrop-filter: blur(8px);
	text-align: center;
}

.home-hero-proof p {
	font-size: var(--text-sm);
	font-weight: var(--weight-regular);
	color: rgba(255, 255, 255, 0.95);
	line-height: var(--leading-relaxed);
}

.home-hero-proof strong {
	font-weight: var(--weight-semi);
	color: rgba(255, 255, 255, 1);
}

/* ===========================================================================
   HOME GENDER CARDS (For Him / For Her / Unisex)
   =========================================================================== */

.home-gender-card {
	height: 280px;
	background-color: var(--luxury-black);
	background-size: cover;
	background-position: center;
}

.home-gender-card--him {
	background-image: url('../images/category-him.png');
}

.home-gender-card--her {
	background-image: url('../images/category-her.png');
}

.home-gender-card--unisex {
	background-image: url('../images/category-unisex.png');
}

.home-gender-card-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(18, 18, 18, 0.75) 0%, rgba(18, 18, 18, 0.15) 60%, transparent 100%);
	transition: background var(--transition-base);
}

.home-gender-card:hover .home-gender-card-overlay {
	background: linear-gradient(to top, rgba(18, 18, 18, 0.85) 0%, rgba(18, 18, 18, 0.3) 60%, transparent 100%);
}

.home-gender-card-body {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 1.5rem;
}

.home-gender-card-label {
	display: block;
	font-family: var(--font-display);
	font-size: var(--text-xl);
	font-weight: var(--weight-medium);
	color: #ffffff;
	letter-spacing: var(--tracking-tight);
	line-height: var(--leading-snug);
}

.home-gender-card-sub {
	font-size: var(--text-sm);
	color: rgba(255, 255, 255, 0.7);
	margin: 0.25rem 0 0.75rem;
	letter-spacing: var(--tracking-wide);
}

.home-gender-card-cta {
	display: inline-flex;
	align-items: center;
	font-size: var(--text-xs);
	font-weight: var(--weight-semi);
	text-transform: uppercase;
	letter-spacing: var(--tracking-widest);
	color: var(--luxury-gold-light);
	opacity: 0;
	transform: translateY(4px);
	transition: opacity var(--transition-base), transform var(--transition-base);
}

.home-gender-card:hover .home-gender-card-cta {
	opacity: 1;
	transform: translateY(0);
}

@media (max-width: 767.98px) {
	.home-gender-card {
		height: 200px;
	}

	.home-gender-card-cta {
		opacity: 1;
		transform: none;
	}
}

/* ===========================================================================
   MOOD CARDS — Image sizing
   =========================================================================== */

.mood-card-img {
	height: 280px;
	width: 100%;
	object-fit: cover;
	transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), filter 0.55s cubic-bezier(0.16, 1, 0.3, 1);
	filter: saturate(0.9) contrast(1.04) brightness(0.93);
}

.mood-card-img-faded {
	opacity: 0.8;
}

.home-section-air {
	padding-top: clamp(3.75rem, 7vw, 6rem);
	padding-bottom: clamp(3.75rem, 7vw, 6rem);
}

.home-section-heading {
	margin-bottom: clamp(2.35rem, 4.7vw, 3.4rem);
}

.home-section-heading-sm {
	margin-bottom: clamp(1.9rem, 3.6vw, 2.7rem);
}

.home-section-heading h2,
.home-section-heading-sm h2 {
	font-size: var(--text-3xl);
	letter-spacing: var(--tracking-tight);
	line-height: var(--leading-tight);
}

.home-section-heading p {
	font-size: var(--text-md);
	line-height: var(--leading-relaxed);
}

.home-mood-section {
	background: linear-gradient(180deg, rgba(247, 243, 238, 0.35) 0%, rgba(247, 243, 238, 0) 100%);
}

.home-mood-intro {
	margin-bottom: clamp(1.8rem, 4vw, 2.7rem);
}

.home-mood-intro p {
	max-width: 62ch;
	margin-left: auto;
	margin-right: auto;
}

.home-section-heading-sm>a {
	color: var(--luxury-gold-dark);
	text-decoration: underline;
	text-decoration-color: rgba(168, 137, 61, 0.35);
	text-underline-offset: 0.2em;
	text-decoration-thickness: 1px;
	transition: color 0.2s ease, text-decoration-color 0.2s ease, text-underline-offset 0.2s ease;
}

.home-section-heading-sm>a i {
	transition: transform 0.2s ease;
}

.home-section-heading-sm>a:hover {
	color: var(--luxury-gold-light);
	text-decoration-color: currentColor;
	text-underline-offset: 0.28em;
}

.home-section-heading-sm>a:hover i {
	transform: translateX(2px);
}

.home-section-heading-sm>a:focus-visible {
	outline: none;
	box-shadow: var(--focus-ring-shadow);
	border-radius: var(--radius-xs);
}

.mood-card {
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	background: var(--luxury-black);
}

.mood-card-overlay {
	background: linear-gradient(180deg, rgba(10, 10, 10, 0.08) 0%, rgba(10, 10, 10, 0.38) 52%, rgba(10, 10, 10, 0.86) 100%);
	padding: 1rem;
}

.mood-card-copy {
	padding: 0.65rem 0.75rem 0.35rem;
	color: #ffffff;
	text-align: center;
}

.mood-card .stretched-link:focus-visible {
	outline: none;
	box-shadow: var(--focus-ring-shadow);
	border-radius: var(--radius-md);
}

.mood-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 24px rgba(12, 20, 39, 0.14) !important;
}

.mood-card:hover .mood-card-img {
	transform: scale(1.04);
	filter: saturate(1) contrast(1.08) brightness(0.98);
}

.mood-card h3,
.mood-card h5,
.mood-card .h5 {
	font-size: clamp(1.75rem, 2.4vw, 2.15rem);
	line-height: var(--leading-snug);
	letter-spacing: -0.01em;
	color: #ffffff;
	text-shadow: 0 3px 14px rgba(0, 0, 0, 0.5);
}

.mood-card h3 {
	position: relative;
	display: inline-block;
	padding-bottom: 0.7rem;
	text-align: left;
}

.mood-card h3::after {
	content: "";
	display: block;
	width: 3.25rem;
	height: 1px;
	margin-top: 0.55rem;
	background: linear-gradient(90deg, rgba(212, 183, 106, 0.8) 0%, rgba(212, 183, 106, 0.18) 100%);
}

.home-trust-pill {
	border: 1px solid rgba(12, 20, 39, 0.06);
	box-shadow: 0 8px 18px rgba(12, 20, 39, 0.06) !important;
}

.home-trust-pill-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	background: rgba(197, 163, 90, 0.12);
	color: var(--luxury-gold-dark);
	font-size: 1.1rem;
	box-shadow: inset 0 0 0 1px rgba(197, 163, 90, 0.18);
}

.home-value-card {
	box-shadow: 0 4px 16px rgba(12, 20, 39, 0.06) !important;
}

.home-value-card-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 50%;
	background: linear-gradient(180deg, rgba(197, 163, 90, 0.16) 0%, rgba(197, 163, 90, 0.08) 100%);
	color: var(--luxury-gold-dark);
	font-size: 1.15rem;
	box-shadow: inset 0 0 0 1px rgba(197, 163, 90, 0.18);
}

.home-value-card h5 {
	font-size: var(--text-md);
	line-height: var(--leading-snug);
	letter-spacing: var(--tracking-tight);
}

.home-value-card p {
	max-width: 22ch;
	margin-left: auto;
	margin-right: auto;
	font-size: var(--text-sm);
	line-height: var(--leading-relaxed);
}

@media (max-width: 767.98px) {
	.mood-card-overlay {
		padding: 0.85rem;
	}

	.mood-card-copy {
		padding: 0.6rem 0.7rem 0.3rem;
	}
}

.home-cta-banner h2 {
	font-size: var(--text-3xl);
	line-height: var(--leading-tight);
	letter-spacing: var(--tracking-tight);
	color: var(--luxury-gold-light);
}

.home-cta-banner p {
	font-size: var(--text-md);
	line-height: var(--leading-relaxed);
}

/* ===========================================================================
   DARK CTA BANNER
   =========================================================================== */

.home-cta-banner {
	background-color: var(--luxury-black);
	min-height: 350px;
}

.home-cta-banner-gradient {
	background: linear-gradient(to right, var(--luxury-black) 0%, transparent 60%);
	z-index: var(--z-raised);
}
