/* =========================================================================
   Luxe Detailing — design system
   Ported from the Lovable design (deep-night + electric-blue, oklch palette,
   Inter body / Space Grotesk display).
   ========================================================================= */

:root {
	--radius: 0.75rem;

	--background: oklch(0.13 0.02 260);
	--foreground: oklch(0.98 0.005 250);
	--card: oklch(0.17 0.025 260);
	--card-foreground: oklch(0.98 0.005 250);
	--primary: oklch(0.62 0.24 263);
	--primary-foreground: oklch(0.99 0 0);
	--secondary: oklch(0.22 0.03 260);
	--muted: oklch(0.2 0.025 260);
	--muted-foreground: oklch(0.7 0.02 255);
	--accent: oklch(0.55 0.22 250);
	--border: oklch(0.28 0.03 260 / 60%);
	--input: oklch(0.25 0.03 260);
	--ring: oklch(0.62 0.24 263);

	--maxw: 80rem; /* max-w-7xl */
	--header-h: 4.5rem;
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background-color: var(--background);
	color: var(--foreground);
	font-family: "Inter", system-ui, -apple-system, sans-serif;
	-webkit-font-smoothing: antialiased;
	line-height: 1.5;
	overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
	font-family: "Space Grotesk", "Inter", sans-serif;
	letter-spacing: -0.02em;
	margin: 0;
}

p { margin: 0; }

.luxe-icon { width: 1rem; height: 1rem; display: inline-block; vertical-align: middle; }
.luxe-icon--primary { color: var(--primary); }

.luxe-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
	background: var(--primary);
	color: var(--primary-foreground);
	padding: 0.5rem 1rem;
	border-radius: 0 0 var(--radius) 0;
}
.luxe-skip-link:focus { left: 0; }

/* ---------- Utilities ---------- */
.luxe-container {
	width: 100%;
	max-width: var(--maxw);
	margin-inline: auto;
	padding-inline: 1.5rem;
}

.bg-grid {
	background-image:
		linear-gradient(to right, oklch(1 0 0 / 4%) 1px, transparent 1px),
		linear-gradient(to bottom, oklch(1 0 0 / 4%) 1px, transparent 1px);
	background-size: 56px 56px;
}

.text-gradient-blue {
	background: linear-gradient(135deg, oklch(0.75 0.18 240), oklch(0.62 0.24 263));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.glow-blue,
.luxe-btn--glow { box-shadow: 0 20px 60px -15px oklch(0.62 0.24 263 / 60%); }

.luxe-muted { color: var(--muted-foreground); font-size: 0.875rem; line-height: 1.6; margin-top: 0.5rem; }
.luxe-lead { color: var(--muted-foreground); font-size: 1.125rem; line-height: 1.65; margin-top: 1.25rem; }
.luxe-lead--center { margin-inline: auto; max-width: 42rem; }
.luxe-em { color: var(--foreground); font-weight: 500; }

.luxe-eyebrow {
	font-size: 0.8125rem;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: var(--primary);
	font-weight: 600;
}

.luxe-h1-sm { font-size: clamp(2.25rem, 5vw, 3.5rem); font-weight: 700; line-height: 1.05; }
.luxe-h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1.1; }
.luxe-h3 { font-size: 1.5rem; font-weight: 700; }

/* ---------- Buttons ---------- */
.luxe-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	border-radius: 9999px;
	padding: 0.625rem 1.25rem;
	font-size: 0.875rem;
	font-weight: 600;
	cursor: pointer;
	border: 1px solid transparent;
	transition: opacity 0.2s, background-color 0.2s, border-color 0.2s, transform 0.2s;
	white-space: nowrap;
}
.luxe-btn--lg { padding: 0.875rem 1.75rem; }
.luxe-btn--block { width: 100%; }
.luxe-btn--primary { background: var(--primary); color: var(--primary-foreground); }
.luxe-btn--primary:hover { opacity: 0.9; }
.luxe-btn--ghost {
	background: oklch(0.17 0.025 260 / 60%);
	border-color: var(--border);
	color: var(--foreground);
	backdrop-filter: blur(8px);
}
.luxe-btn--ghost:hover { border-color: oklch(0.62 0.24 263 / 50%); }
.luxe-btn .luxe-icon { width: 1rem; height: 1rem; }
.luxe-btn--lg .luxe-icon { width: 1.1rem; height: 1.1rem; }

/* ---------- Header ---------- */
.luxe-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 50;
	backdrop-filter: blur(20px);
	background: oklch(0.13 0.02 260 / 70%);
	border-bottom: 1px solid var(--border);
	transition: background-color 0.3s;
}
.luxe-header.is-scrolled { background: oklch(0.13 0.02 260 / 92%); }
.luxe-header__inner {
	height: var(--header-h);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}
.luxe-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: "Space Grotesk", sans-serif;
	font-weight: 700;
	letter-spacing: -0.02em;
	font-size: 1.125rem;
}
.luxe-brand__badge {
	display: inline-flex;
	height: 2rem;
	width: 2rem;
	align-items: center;
	justify-content: center;
	border-radius: 0.5rem;
	background: oklch(0.62 0.24 263 / 15%);
	box-shadow: inset 0 0 0 1px oklch(0.62 0.24 263 / 40%);
	color: var(--primary);
}
.luxe-brand__badge .luxe-icon { width: 1rem; height: 1rem; }
.luxe-brand__sub { color: var(--muted-foreground); font-weight: 400; }
.luxe-brand__logo { height: 58px; width: auto; display: block; }
.luxe-brand .custom-logo { height: 58px; width: auto; }

.luxe-nav { display: none; }
.luxe-nav-menu {
	display: flex;
	align-items: center;
	gap: 2rem;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 0.875rem;
}
.luxe-nav-menu a { color: var(--muted-foreground); transition: color 0.2s; }
.luxe-nav-menu a:hover { color: var(--foreground); }

.luxe-header__actions { display: flex; align-items: center; gap: 0.5rem; }
.luxe-header__actions .luxe-btn--primary { display: none; }

.luxe-nav-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 2.5rem;
	width: 2.5rem;
	border-radius: 0.5rem;
	border: 1px solid var(--border);
	background: transparent;
	color: var(--foreground);
	cursor: pointer;
}
.luxe-nav-toggle .luxe-icon { width: 1.25rem; height: 1.25rem; }

.luxe-mobile-nav {
	border-top: 1px solid var(--border);
	background: oklch(0.13 0.02 260 / 96%);
	backdrop-filter: blur(20px);
	padding: 1rem 1.5rem 1.5rem;
}
.luxe-mobile-nav__menu {
	list-style: none;
	margin: 0 0 1rem;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}
.luxe-mobile-nav__menu a {
	display: block;
	padding: 0.75rem 0.5rem;
	border-radius: 0.5rem;
	color: var(--muted-foreground);
}
.luxe-mobile-nav__menu a:hover { color: var(--foreground); background: var(--card); }

/* ---------- Main / sections ---------- */
.luxe-main { display: block; }
.luxe-section { padding-block: clamp(4rem, 9vw, 7rem); }
.luxe-section__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem;
	margin-bottom: 3.5rem;
}
.luxe-section__head .luxe-h2 { margin-top: 0.75rem; }
.luxe-section__intro { max-width: 28rem; color: var(--muted-foreground); }

/* ---------- Hero ---------- */
.luxe-hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	overflow: hidden;
	padding-top: var(--header-h);
}
.luxe-hero__bg { position: absolute; inset: 0; }
.luxe-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.7; }
.luxe-hero__bg .bg-grid { position: absolute; inset: 0; opacity: 0.4; }
.luxe-hero__overlay-x {
	position: absolute; inset: 0;
	background: linear-gradient(to right, var(--background), oklch(0.13 0.02 260 / 85%) 40%, oklch(0.13 0.02 260 / 30%));
}
.luxe-hero__overlay-y {
	position: absolute; inset: 0;
	background: linear-gradient(to top, var(--background), transparent 60%);
}
.luxe-hero__inner { position: relative; padding-block: 6rem; width: 100%; }
.luxe-hero__content { max-width: 46rem; }

.luxe-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	border-radius: 9999px;
	border: 1px solid var(--border);
	background: oklch(0.17 0.025 260 / 60%);
	backdrop-filter: blur(8px);
	padding: 0.375rem 1rem;
	font-size: 0.75rem;
	font-weight: 500;
	color: var(--muted-foreground);
}
.luxe-pulse-dot {
	height: 0.375rem;
	width: 0.375rem;
	border-radius: 9999px;
	background: var(--primary);
	animation: luxe-pulse 1.8s ease-in-out infinite;
}
@keyframes luxe-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.luxe-hero__title {
	margin-top: 1.5rem;
	font-size: clamp(3rem, 8vw, 4.5rem);
	font-weight: 700;
	line-height: 1.02;
}
.luxe-hero__title span { display: block; }
.luxe-hero__lead {
	margin-top: 1.5rem;
	max-width: 36rem;
	font-size: 1.125rem;
	color: var(--muted-foreground);
	line-height: 1.65;
}
.luxe-hero__cta { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.luxe-hero__stats {
	margin-top: 3.5rem;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	max-width: 28rem;
}
.luxe-stat__k { font-family: "Space Grotesk", sans-serif; font-size: 1.875rem; font-weight: 700; }
.luxe-stat__v {
	margin-top: 0.25rem;
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: var(--muted-foreground);
}

.luxe-hero__pills {
	position: absolute;
	bottom: 2rem;
	left: 50%;
	transform: translateX(-50%);
	display: none;
	flex-wrap: wrap;
	gap: 0.75rem;
}
.luxe-cat-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	border-radius: 9999px;
	border: 1px solid var(--border);
	background: oklch(0.17 0.025 260 / 70%);
	backdrop-filter: blur(8px);
	padding: 0.5rem 1rem;
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}
.luxe-cat-pill .luxe-icon { width: 0.875rem; height: 0.875rem; }

/* ---------- Intro strip ---------- */
.luxe-strip { border-block: 1px solid var(--border); background: oklch(0.17 0.025 260 / 30%); }
.luxe-strip__inner {
	padding-block: 5rem;
	display: grid;
	gap: 2.5rem;
	align-items: center;
}
.luxe-strip__head .luxe-h2 { margin-top: 1rem; }
.luxe-strip__body { font-size: 1.125rem; color: var(--muted-foreground); line-height: 1.7; }

/* ---------- Service cards ---------- */
.luxe-grid-3 { display: grid; gap: 1.5rem; }
.luxe-service-card {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 1rem;
	border: 1px solid var(--border);
	background: var(--card);
	transition: border-color 0.5s, transform 0.5s;
}
.luxe-service-card:hover { border-color: oklch(0.62 0.24 263 / 50%); }
.luxe-service-card__media { aspect-ratio: 4 / 5; overflow: hidden; }
.luxe-service-card__media img {
	width: 100%; height: 100%; object-fit: cover;
	transition: transform 0.7s;
}
.luxe-service-card:hover .luxe-service-card__media img { transform: scale(1.05); }
.luxe-service-card__shade {
	position: absolute; inset: 0;
	background: linear-gradient(to top, var(--card), oklch(0.17 0.025 260 / 40%) 40%, transparent);
}
.luxe-service-card__body { position: absolute; inset-inline: 0; bottom: 0; padding: 1.75rem; }

.luxe-iconbox {
	display: inline-flex;
	height: 2.5rem;
	width: 2.5rem;
	align-items: center;
	justify-content: center;
	border-radius: 0.5rem;
	background: oklch(0.62 0.24 263 / 15%);
	box-shadow: inset 0 0 0 1px oklch(0.62 0.24 263 / 40%);
	margin-bottom: 1rem;
}
.luxe-iconbox .luxe-icon { width: 1.25rem; height: 1.25rem; }
.luxe-iconbox--lg { height: 3rem; width: 3rem; border-radius: 0.75rem; margin-bottom: 0; }
.luxe-iconbox--lg .luxe-icon { width: 1.25rem; height: 1.25rem; }

/* ---------- Why + popular ---------- */
.luxe-why { position: relative; }
.luxe-why__grid { position: absolute; inset: 0; opacity: 0.3; pointer-events: none; }
.luxe-why__inner {
	position: relative;
	padding-block: clamp(4rem, 9vw, 7rem);
	display: grid;
	gap: 3rem;
}
.luxe-why__left .luxe-h2 { margin-top: 0.75rem; }
.luxe-features { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.luxe-feature { display: flex; gap: 1rem; }
.luxe-feature__check {
	margin-top: 0.25rem;
	flex-shrink: 0;
	display: inline-flex;
	height: 1.75rem;
	width: 1.75rem;
	align-items: center;
	justify-content: center;
	border-radius: 9999px;
	background: oklch(0.62 0.24 263 / 15%);
	box-shadow: inset 0 0 0 1px oklch(0.62 0.24 263 / 40%);
}
.luxe-feature__check .luxe-icon { width: 0.875rem; height: 0.875rem; }
.luxe-feature__title { font-weight: 600; font-family: "Inter", sans-serif; letter-spacing: 0; }

.luxe-card {
	border-radius: 1rem;
	border: 1px solid var(--border);
	background: var(--card);
}
.luxe-popular { padding: clamp(1.5rem, 4vw, 2.5rem); }
.luxe-popular__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.luxe-popular__count { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--muted-foreground); }
.luxe-popular__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.luxe-popular__list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	border-radius: 0.75rem;
	border: 1px solid oklch(0.28 0.03 260 / 60%);
	background: oklch(0.13 0.02 260 / 40%);
	padding: 0.85rem 1rem;
	transition: border-color 0.2s, background-color 0.2s;
}
.luxe-popular__list a:hover { border-color: oklch(0.62 0.24 263 / 50%); background: oklch(0.13 0.02 260 / 70%); }
.luxe-popular__row { display: flex; align-items: center; gap: 0.75rem; }
.luxe-popular__num { font-family: ui-monospace, monospace; font-size: 0.75rem; color: var(--primary); }
.luxe-popular__name { font-size: 0.875rem; font-weight: 500; }
.luxe-popular__list a .luxe-icon { color: var(--muted-foreground); transition: color 0.2s, transform 0.2s; }
.luxe-popular__list a:hover .luxe-icon { color: var(--primary); transform: translateX(2px); }
.luxe-popular > .luxe-btn { margin-top: 2rem; }

/* ---------- Interior feature ---------- */
.luxe-interior { display: grid; gap: 2.5rem; align-items: center; }
.luxe-interior__media { border-radius: 1rem; overflow: hidden; border: 1px solid var(--border); }
.luxe-interior__media img { width: 100%; height: 100%; object-fit: cover; }
.luxe-interior__body .luxe-h2 { margin-top: 0.75rem; }

/* ---------- Brands ---------- */
.luxe-brands { border-block: 1px solid var(--border); background: oklch(0.17 0.025 260 / 30%); padding-block: 4rem; }
.luxe-brands__label { text-align: center; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.3em; color: var(--muted-foreground); }
.luxe-brands__row { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.5rem 3.5rem; }
.luxe-brands__name { font-family: "Space Grotesk", sans-serif; font-size: clamp(1.25rem, 3vw, 1.875rem); font-weight: 700; color: oklch(0.7 0.02 255 / 70%); transition: color 0.2s; letter-spacing: -0.02em; }
.luxe-brands__name:hover { color: var(--foreground); }

/* ---------- CTA ---------- */
.luxe-cta {
	position: relative;
	overflow: hidden;
	border-radius: 1.5rem;
	border: 1px solid var(--border);
	background: linear-gradient(135deg, var(--card), var(--background), var(--card));
	padding: clamp(2.5rem, 6vw, 4rem);
}
.luxe-cta__blob { position: absolute; height: 24rem; width: 24rem; border-radius: 9999px; filter: blur(80px); }
.luxe-cta__blob--1 { top: -8rem; right: -8rem; background: oklch(0.62 0.24 263 / 30%); }
.luxe-cta__blob--2 { bottom: -8rem; left: -8rem; background: oklch(0.55 0.22 250 / 20%); }
.luxe-cta__inner { position: relative; display: grid; gap: 2.5rem; align-items: center; }
.luxe-cta__copy .luxe-lead { max-width: 28rem; }
.luxe-cta__actions { display: flex; flex-direction: column; gap: 1rem; }
.luxe-contact-card {
	display: flex;
	align-items: center;
	gap: 1rem;
	border-radius: 1rem;
	border: 1px solid var(--border);
	background: oklch(0.13 0.02 260 / 60%);
	backdrop-filter: blur(8px);
	padding: 1.25rem;
	transition: border-color 0.2s;
}
.luxe-contact-card:hover { border-color: oklch(0.62 0.24 263 / 50%); }
.luxe-contact-card__label { display: block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--muted-foreground); }
.luxe-contact-card__value { display: block; font-family: "Space Grotesk", sans-serif; font-size: 1.125rem; font-weight: 700; }

/* ---------- Footer ---------- */
.luxe-footer { border-top: 1px solid var(--border); }
.luxe-footer__inner {
	padding-block: 2.5rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	font-size: 0.875rem;
	color: var(--muted-foreground);
}
.luxe-footer__brand { display: inline-flex; align-items: center; gap: 0.5rem; font-family: "Space Grotesk", sans-serif; font-weight: 700; color: var(--foreground); }
.luxe-footer__logo { height: 49px; width: auto; display: block; }
.luxe-footer__meta { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.luxe-footer__social { display: inline-flex; align-items: center; gap: 0.5rem; transition: color 0.2s; }
.luxe-footer__social:hover { color: var(--foreground); }
.luxe-footer__credit {
	border-top: 1px solid var(--border);
	text-align: center;
	padding: 1rem 1.5rem;
	font-size: 0.8125rem;
	color: var(--muted-foreground);
}
.luxe-footer__credit a { color: var(--primary); }
.luxe-footer__credit a:hover { text-decoration: underline; }

/* ---------- Page chrome ---------- */
.luxe-page-header { margin-bottom: 2.5rem; }
.luxe-page-header--center { text-align: center; }
.luxe-page-header--center .luxe-eyebrow { display: block; margin-bottom: 0.75rem; }
.luxe-prose .luxe-page-content { color: var(--muted-foreground); line-height: 1.7; max-width: 48rem; }
.luxe-prose .luxe-page-content a { color: var(--primary); }
.luxe-prose .luxe-page-content h2,
.luxe-prose .luxe-page-content h3 { color: var(--foreground); margin-top: 2rem; }

.luxe-booking-page { position: relative; padding-block: clamp(6rem, 12vw, 9rem) clamp(4rem, 9vw, 7rem); overflow: hidden; }
.luxe-booking-page__grid { position: absolute; inset: 0; opacity: 0.25; pointer-events: none; }
.luxe-booking-page .luxe-container { position: relative; }
.luxe-booking-page__content { margin-top: 2.5rem; }
.luxe-services-page__content { margin-top: 1rem; }

.luxe-notice { padding: 1.5rem; color: var(--muted-foreground); }

/* ---------- 404 ---------- */
.luxe-404 { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.luxe-404__code { font-family: "Space Grotesk", sans-serif; font-size: 6rem; font-weight: 700; line-height: 1; }
.luxe-404 .luxe-h3 { margin-top: 1rem; }
.luxe-404__actions { margin-top: 2rem; display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Blog list ---------- */
.luxe-postlist { display: grid; gap: 1.5rem; }
.luxe-postcard { padding: 1.75rem; }
.luxe-postcard .luxe-h3 a:hover { color: var(--primary); }
.luxe-postcard .luxe-btn { margin-top: 1rem; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (min-width: 640px) {
	.luxe-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
	.luxe-nav { display: flex; }
	.luxe-header__actions .luxe-btn--primary { display: inline-flex; }
	.luxe-nav-toggle { display: none; }
	.luxe-mobile-nav { display: none !important; }
	.luxe-hero__pills { display: flex; }
	.luxe-strip__inner { grid-template-columns: 5fr 7fr; }
	.luxe-grid-3 { grid-template-columns: repeat(3, 1fr); }
	.luxe-interior { grid-template-columns: 1fr 1fr; }
	.luxe-cta__inner { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
	.luxe-why__inner { grid-template-columns: 5fr 7fr; }
}
