﻿/*
 * alnokhba-home.css
 * Exact translation of the React prototype (alnokhba-design) to WordPress CSS.
 *
 * Palette  : #000 bg · #C9A97A sand · #B5714A terracotta · #7A8C6E sage
 * Text     : #F5F5F0 (foreground) · rgba(255,255,255,0.5) muted
 * Fonts    : "Playfair Display" serif for headings/prices
 *            "Tajawal" / "Inter" for body & labels
 * Border   : NO border-radius on cards (sharp / editorial)
 */

/* ============================================================
   HERO — centered editorial, full-screen bg image
   ============================================================ */

.an-hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: #000;
	direction: rtl;
}

/* Full-bleed image */
.an-hero__bg {
	position: absolute;
	inset: 0;
}

.an-hero__bg-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	opacity: 0.45;
	display: block;
}

.an-hero__bg-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to bottom,
		rgba(0, 0, 0, 0.65) 0%,
		rgba(0, 0, 0, 0.10) 40%,
		rgba(0, 0, 0, 0.75) 100%
	);
}

/* Centered content */
.an-hero__content {
	position: relative;
	z-index: 10;
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 9rem 1.5rem 5rem;
}

.an-hero__crown {
	margin-bottom: 1.25rem;
}

.an-hero__kicker {
	font-family: 'Tajawal', 'Inter', sans-serif;
	font-size: 0.7rem;
	letter-spacing: 0.5em;
	color: #C9A97A;
	text-transform: uppercase;
	margin: 0 0 1rem;
}

.an-hero__brand {
	font-family: 'Playfair Display', serif;
	font-size: clamp(3.5rem, 12vw, 9rem);
	font-weight: 400;
	letter-spacing: 0.05em;
	color: #fff;
	line-height: 0.9;
	margin: 0 0 1.25rem;
}

.an-hero__subtitle {
	font-family: 'Tajawal', 'Inter', sans-serif;
	font-size: 0.75rem;
	letter-spacing: 0.5em;
	color: rgba(245, 245, 240, 0.45);
	text-transform: uppercase;
	margin: 0 0 3rem;
}

/* Outline gold CTA — fills with gold on hover */
.an-hero__btn {
	font-family: 'Tajawal', 'Inter', sans-serif;
	font-size: 0.75rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	padding: 1rem 2.5rem;
	border: 1px solid #C9A97A;
	color: #C9A97A;
	background: transparent;
	text-decoration: none;
	display: inline-block;
	transition: background 0.5s ease, color 0.5s ease;
}

.an-hero__btn:hover {
	background: #C9A97A;
	color: #000;
}

/* Bottom info strip */
.an-hero__strip {
	position: relative;
	z-index: 10;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	border-top: 1px solid rgba(201, 169, 122, 0.15);
}

.an-hero__strip-item {
	padding: 1.25rem 2rem;
	text-align: center;
	border-right: 1px solid rgba(201, 169, 122, 0.12);
}

.an-hero__strip-item:first-child {
	border-right: none;
}

.an-hero__strip-label {
	font-family: 'Tajawal', 'Inter', sans-serif;
	font-size: 0.65rem;
	letter-spacing: 0.25em;
	color: #C9A97A;
	text-transform: uppercase;
	margin: 0 0 0.25rem;
}

.an-hero__strip-value {
	font-family: 'Tajawal', 'Inter', sans-serif;
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.75);
	margin: 0;
}

/* ============================================================
   SERVICES CAROUSEL — seamless infinite marquee
   ============================================================ */

.an-carousel {
	background: #000;
	padding: 4rem 0;
	overflow-x: hidden;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	direction: rtl;
}

.an-carousel__header {
	max-width: 1280px;
	margin: 0 auto 2.25rem;
	padding: 0 1.5rem;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
}

.an-carousel__kicker {
	font-family: 'Tajawal', 'Inter', sans-serif;
	font-size: 0.68rem;
	letter-spacing: 0.4em;
	color: #C9A97A;
	text-transform: uppercase;
	margin: 0 0 0.5rem;
}

.an-carousel__title {
	font-family: 'Playfair Display', serif;
	font-size: clamp(1.6rem, 4vw, 2.8rem);
	font-weight: 400;
	color: #F5F5F0;
	line-height: 1;
	margin: 0 0 0.375rem;
}

.an-carousel__note {
	font-family: 'Tajawal', 'Inter', sans-serif;
	font-size: 0.65rem;
	color: rgba(255, 255, 255, 0.25);
	margin: 0;
}

/* Outline gold button (same style as hero) */
.an-carousel__book-btn {
	font-family: 'Tajawal', 'Inter', sans-serif;
	font-size: 0.7rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	border: 1px solid #C9A97A;
	color: #C9A97A;
	background: transparent;
	padding: 0.75rem 1.5rem;
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.3s ease, color 0.3s ease;
	flex-shrink: 0;
}

.an-carousel__book-btn:hover {
	background: #C9A97A;
	color: #000;
}

/* Scrolling viewport */
.an-carousel__viewport {
	position: relative;
	overflow: hidden;
	width: 100%;
	padding-bottom: 6px;
	direction: ltr;
}

.an-carousel__fade {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 5rem;
	z-index: 10;
	pointer-events: none;
}

.an-carousel__fade--right {
	right: 0;
	background: linear-gradient(to left, #000 0%, transparent 100%);
}

.an-carousel__fade--left {
	left: 0;
	background: linear-gradient(to right, #000 0%, transparent 100%);
}

.an-carousel__track {
	display: flex;
	width: max-content;
	direction: ltr;
	flex-wrap: nowrap;
	will-change: transform;
}

.an-carousel__set {
	display: flex;
	flex-shrink: 0;
	flex-wrap: nowrap;
}

@keyframes nakhba-marquee {
	from { transform: translate3d(0, 0, 0); }
	to   { transform: translate3d(-50%, 0, 0); }
}

.an-carousel__track {
	animation: nakhba-marquee 38s linear infinite;
}

/* pause on hover / focus-within */
.an-carousel__viewport:hover .an-carousel__track,
.an-carousel__viewport:focus-within .an-carousel__track {
	animation-play-state: paused;
}

/* when JS takes over, let JS control transform directly */
.an-carousel.is-marquee-active .an-carousel__track {
	animation: none !important;
}

/* Cards */
.an-carousel__card {
	width: 268px;
	flex-shrink: 0;
	margin: 0 12px;
	text-decoration: none;
	direction: rtl;
}

.an-carousel__card-inner {
	border: 1px solid rgba(255, 255, 255, 0.12);
	background-color: #0c0c0c;
	padding: 28px;
	transition: border-color 0.25s ease, background-color 0.25s ease;
}

.an-carousel__dot {
	display: block;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	margin-bottom: 18px;
}

.an-carousel__tag {
	font-family: 'Inter', sans-serif;
	font-size: 0.58rem;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	margin: 0 0 0.625rem;
}

.an-carousel__name {
	font-family: 'Playfair Display', serif;
	font-size: 1.25rem;
	font-weight: 400;
	color: #F5F5F0;
	margin: 0;
}

.an-carousel__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 22px;
	padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.an-carousel__price {
	font-family: 'Playfair Display', serif;
	font-size: 1.1rem;
	color: #F5F5F0;
}

.an-carousel__dur {
	display: flex;
	align-items: center;
	gap: 5px;
	font-family: 'Tajawal', sans-serif;
	font-size: 0.75rem;
	color: rgba(255, 255, 255, 0.35);
}

/* ============================================================
   SERVICES FULL GRID — gap:1px creates hairline grid lines
   ============================================================ */

.an-svc-full {
	background: #000;
	padding: 7rem 1.5rem;
	direction: rtl;
}

.an-svc-full__container {
	max-width: 80rem;
	margin: 0 auto;
}

.an-svc-full__head {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	margin-bottom: 4rem;
}

@media (min-width: 768px) {
	.an-svc-full__head {
		flex-direction: row;
		align-items: flex-end;
		justify-content: space-between;
	}
}

.an-svc-full__kicker {
	font-family: 'Tajawal', 'Inter', sans-serif;
	font-size: 0.7rem;
	letter-spacing: 0.4em;
	color: #C9A97A;
	text-transform: uppercase;
	margin: 0 0 0.625rem;
}

.an-svc-full__title {
	font-family: 'Playfair Display', serif;
	font-size: clamp(2rem, 5vw, 3.5rem);
	font-weight: 400;
	color: #fff;
	line-height: 1;
	margin: 0 0 0.5rem;
}

.an-svc-full__note {
	font-family: 'Tajawal', 'Inter', sans-serif;
	font-size: 0.7rem;
	color: rgba(255, 255, 255, 0.3);
	margin: 0;
}

.an-svc-full__book-btn {
	font-family: 'Tajawal', 'Inter', sans-serif;
	font-size: 0.72rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	border: 1px solid #C9A97A;
	color: #C9A97A;
	background: transparent;
	padding: 0.75rem 1.5rem;
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.3s ease, color 0.3s ease;
	align-self: flex-start;
}

.an-svc-full__book-btn:hover {
	background: #C9A97A;
	color: #000;
}

/* The key trick: gap:1px + background creates hairline grid lines */
.an-svc-full__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1px;
	background-color: rgba(255, 255, 255, 0.07);
}

.an-svc-full__card {
	position: relative;
	background-color: #000;
	padding: 32px;
	cursor: pointer;
	overflow: hidden;
	transition: background-color 0.2s ease;
	text-decoration: none;
	display: flex;
	flex-direction: column;
	-webkit-tap-highlight-color: transparent;
}

/* Accent sidebar bar — grows from 0% to 100% height on hover */
.an-svc-full__bar {
	position: absolute;
	top: 0;
	right: 0;
	width: 3px;
	height: 0%;
	transition: height 0.4s ease;
}

.an-svc-full__dot {
	display: block;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	margin-bottom: 20px;
	transition: transform 0.2s ease;
}

.an-svc-full__card:hover .an-svc-full__dot {
	transform: scale(1.4);
}

.an-svc-full__tag {
	font-family: 'Inter', sans-serif;
	font-size: 0.58rem;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	margin: 0 0 0.625rem;
}

.an-svc-full__name {
	font-family: 'Playfair Display', serif;
	font-size: 1.4rem;
	font-weight: 400;
	color: #F5F5F0;
	margin: 0 0 0.75rem;
}

.an-svc-full__desc {
	font-family: 'Tajawal', 'Inter', sans-serif;
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.4);
	line-height: 1.75;
	margin: 0 0 1.5rem;
	flex: 1;
}

.an-svc-full__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	margin-top: auto;
}

.an-svc-full__price {
	font-family: 'Playfair Display', serif;
	font-size: 1.1rem;
	color: #F5F5F0;
}

.an-svc-full__dur {
	display: flex;
	align-items: center;
	gap: 5px;
	font-family: 'Tajawal', 'Inter', sans-serif;
	font-size: 0.75rem;
	color: rgba(255, 255, 255, 0.35);
}

/* ============================================================
   ABOUT + STATS — image left, text right (RTL: reversed)
   ============================================================ */

.an-about {
	background: #000;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 7rem 1.5rem;
	direction: rtl;
}

.an-about__container {
	max-width: 80rem;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr;
	gap: 4rem;
	align-items: center;
}

@media (min-width: 1024px) {
	.an-about__container {
		grid-template-columns: 1fr 1fr;
	}
}

/* Image column */
.an-about__media {
	position: relative;
}

.an-about__media-inner {
	background: #18181b;
	overflow: hidden;
	aspect-ratio: 4 / 5;
}

.an-about__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	filter: grayscale(100%);
}

/* Floating stat card — bottom-left corner */
.an-about__float-stat {
	position: absolute;
	bottom: 2rem;
	left: 2rem;
	background: #000;
	border: 1px solid rgba(255, 255, 255, 0.2);
	padding: 1.25rem 2rem;
}

.an-about__float-num {
	font-family: 'Playfair Display', serif;
	font-size: 2.5rem;
	font-weight: 400;
	color: #fff;
	line-height: 1;
	margin: 0 0 0.25rem;
}

.an-about__float-label {
	font-family: 'Inter', sans-serif;
	font-size: 0.65rem;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.4);
	margin: 0;
}

/* Text column */
.an-about__text {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.an-about__kicker {
	font-family: 'Inter', sans-serif;
	font-size: 0.65rem;
	letter-spacing: 0.4em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.4);
	margin: 0 0 1rem;
}

.an-about__title {
	font-family: 'Playfair Display', serif;
	font-size: clamp(1.8rem, 4vw, 3rem);
	font-weight: 400;
	color: #fff;
	line-height: 1.25;
	margin: 0 0 2rem;
}

.an-about__title em {
	font-style: italic;
}

.an-about__para {
	font-family: 'Inter', sans-serif;
	font-size: 0.875rem;
	line-height: 2;
	color: rgba(255, 255, 255, 0.5);
	margin: 0 0 1.5rem;
}

.an-about__stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 2rem;
	margin-top: 1rem;
}

.an-about__stat-num {
	font-family: 'Playfair Display', serif;
	font-size: 1.8rem;
	font-weight: 400;
	color: #fff;
	margin: 0 0 0.25rem;
}

.an-about__stat-label {
	font-family: 'Inter', sans-serif;
	font-size: 0.65rem;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.4);
	margin: 0;
}

/* ============================================================
   RESPONSIVE — mobile adjustments
   ============================================================ */

@media (max-width: 768px) {
	.an-hero__strip {
		grid-template-columns: 1fr;
	}

	.an-hero__strip-item {
		border-right: none;
		border-top: 1px solid rgba(201, 169, 122, 0.12);
	}

	.an-carousel__header {
		flex-direction: column;
		align-items: flex-start;
		gap: 1rem;
	}

	.an-about__float-stat {
		bottom: 1rem;
		left: 1rem;
		padding: 1rem 1.5rem;
	}

	.an-about__float-num {
		font-size: 2rem;
	}

	.an-about__stats {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 480px) {
	.an-hero__content {
		padding: 8rem 1rem 3rem;
	}

	.an-svc-full {
		padding: 4rem 0;
	}

	.an-svc-full__container {
		padding: 0;
	}

	.an-svc-full__head {
		padding: 0 1.5rem;
	}

	.an-about__stats {
		grid-template-columns: 1fr 1fr;
	}
}
