/*
Theme Name: Amber Café
Theme URI: https://example.com
Author: Ahmad
Description: قالب وردپرسی مینیمال و گرافیکی برای کافه‌ها و کسب‌وکارهای قهوه، با تم نارنجی، تایپوگرافی جسور و بلوک‌های محصولِ الهام‌گرفته از برندهای مدرن. رنگ، فونت، تصاویر و متن‌ها همه از پنل مدیریت قابل ویرایش‌اند.
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: amber-cafe
*/

/* ============ Design tokens ============ */
:root {
	--amber-primary: #D9642A;
	--amber-dark: #2B1B14;
	--amber-cream: #FBF3E7;
	--amber-gold: #E8A33D;
	--amber-muted: #7A6656;
	--amber-font: 'Vazirmatn', sans-serif;
	--amber-radius: 22px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--amber-font);
	background: var(--amber-cream);
	color: var(--amber-dark);
	line-height: 1.8;
	direction: rtl;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; }

.amber-container {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 28px;
	position: relative;
}

.amber-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .04em;
	color: var(--amber-primary);
	margin-bottom: 14px;
}

.amber-eyebrow::before {
	content: '';
	width: 22px;
	height: 2px;
	background: var(--amber-primary);
	border-radius: 2px;
}

/* Kicker: small pill label with arrow flourishes (hero / spotlight) */
.amber-kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--amber-primary);
	background: color-mix(in srgb, var(--amber-primary) 10%, transparent);
	padding: 9px 20px;
	border-radius: 100px;
	margin-bottom: 26px;
}

.amber-kicker-arrow {
	opacity: .55;
	font-size: 12px;
}

.amber-kicker-dark {
	color: #fff;
	background: rgba(255,255,255,0.14);
}

/* ============ Utility bar ============ */
.amber-utility-bar {
	background: var(--amber-dark);
	color: rgba(255,255,255,0.75);
	font-size: 12.5px;
}

.amber-utility-inner {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 9px 28px;
}

.amber-utility-spacer { flex: 1; }

.amber-utility-inner a {
	text-decoration: none;
	color: inherit;
	font-weight: 600;
	transition: color .2s ease;
}

.amber-utility-inner a:hover { color: var(--amber-gold); }

/* ============ Header ============ */
.amber-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: color-mix(in srgb, var(--amber-cream) 82%, transparent);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid rgba(43,27,20,0.06);
}

.amber-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 28px;
	max-width: 1180px;
	margin: 0 auto;
}

.amber-logo {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 800;
	font-size: 19px;
	letter-spacing: -.01em;
	text-decoration: none;
	color: var(--amber-dark);
}

.amber-logo img { max-height: 46px; width: auto; }

.amber-nav { display: flex; align-items: center; gap: 32px; }

.amber-nav ul {
	display: flex;
	gap: 28px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.amber-nav a {
	text-decoration: none;
	font-weight: 600;
	font-size: 14.5px;
	color: var(--amber-dark);
	position: relative;
	padding-bottom: 4px;
}

.amber-nav a::after {
	content: '';
	position: absolute;
	right: 0;
	bottom: 0;
	width: 0;
	height: 2px;
	background: var(--amber-primary);
	transition: width .25s ease;
}

.amber-nav a:hover::after { width: 100%; }

.amber-nav-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 6px;
}

.amber-nav-toggle span {
	width: 24px;
	height: 2px;
	background: var(--amber-dark);
	border-radius: 2px;
}

/* ============ Buttons ============ */
.amber-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 16px 34px;
	border-radius: 100px;
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: transform .2s ease, box-shadow .25s ease, background .2s ease, color .2s ease;
}

.amber-btn-primary {
	background: var(--amber-primary);
	color: #fff;
	box-shadow: 0 14px 32px -10px color-mix(in srgb, var(--amber-primary) 70%, transparent);
}

.amber-btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 18px 38px -8px color-mix(in srgb, var(--amber-primary) 80%, transparent);
}

.amber-btn-outline {
	background: transparent;
	color: #fff;
	border: 1.5px solid rgba(255,255,255,0.5);
}

.amber-btn-outline:hover {
	background: #fff;
	color: var(--amber-dark);
	transform: translateY(-2px);
}

/* ============ Hero (split: copy + floating photo) ============ */
.amber-hero {
	position: relative;
	padding: 76px 0 40px;
	overflow: hidden;
}

.amber-hero-blob {
	position: absolute;
	border-radius: 50%;
	filter: blur(70px);
	opacity: .35;
	z-index: 0;
}

.amber-hero-blob-1 {
	width: 360px; height: 360px;
	top: -120px; left: -100px;
	background: var(--amber-gold);
}

.amber-hero-blob-2 {
	width: 300px; height: 300px;
	bottom: -100px; right: 4%;
	background: var(--amber-primary);
}

.amber-hero-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: 40px;
	align-items: center;
	min-height: 62vh;
}

.amber-hero-copy h1 {
	font-size: clamp(36px, 5.4vw, 68px);
	font-weight: 900;
	letter-spacing: -.02em;
	line-height: 1.18;
	margin: 0 0 24px;
}

.amber-h1-line { display: block; }

.amber-h1-accent {
	display: block;
	color: var(--amber-primary);
}

.amber-hero-copy p {
	font-size: 17px;
	color: var(--amber-muted);
	max-width: 460px;
	margin: 0 0 36px;
}

.amber-hero-visual {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 380px;
}

.amber-hero-ring {
	position: absolute;
	width: 340px;
	height: 340px;
	border-radius: 50%;
	border: 2px dashed color-mix(in srgb, var(--amber-primary) 45%, transparent);
	animation: amberSpin 40s linear infinite;
}

.amber-hero-photo {
	position: relative;
	width: 300px;
	height: 300px;
	object-fit: cover;
	border-radius: 50%;
	box-shadow: 0 40px 70px -20px rgba(43,27,20,0.35);
	border: 6px solid var(--amber-cream);
}

.amber-hero-photo-fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	background:
		radial-gradient(circle at 30% 25%, rgba(255,255,255,0.3), transparent 45%),
		linear-gradient(150deg, var(--amber-primary), color-mix(in srgb, var(--amber-dark) 45%, var(--amber-primary)));
}

.amber-hero-photo-fallback svg { width: 46%; }

/* Signature element: rotating circular seal badge */
.amber-badge {
	position: absolute;
	bottom: -6px;
	left: -6px;
	z-index: 3;
	width: 108px;
	height: 108px;
}

.amber-badge svg { width: 100%; height: 100%; }

.amber-badge-ring {
	animation: amberSpin 18s linear infinite;
	transform-origin: 50% 50%;
}

.amber-badge-center { font-size: 28px; }

@keyframes amberSpin {
	to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
	.amber-badge-ring, .amber-hero-ring { animation: none; }
}

/* ============ Scroll cue ============ */
.amber-scroll-cue {
	position: relative;
	display: block;
	margin: 30px auto 0;
	width: 26px;
	height: 40px;
	border: 2px solid color-mix(in srgb, var(--amber-dark) 30%, transparent);
	border-radius: 20px;
}

.amber-scroll-cue::before {
	content: '';
	position: absolute;
	top: 6px;
	left: 50%;
	width: 4px;
	height: 8px;
	background: var(--amber-primary);
	border-radius: 2px;
	transform: translateX(-50%);
	animation: amberScrollCue 1.8s ease infinite;
}

@keyframes amberScrollCue {
	0%   { opacity: 1; top: 6px; }
	70%  { opacity: 0; top: 20px; }
	100% { opacity: 0; top: 6px; }
}

/* ============ Spotlight (bold single-product block) ============ */
.amber-spotlight {
	background: var(--amber-dark);
	color: #fff;
	padding: 100px 0;
	position: relative;
	overflow: hidden;
}

.amber-spotlight::before {
	content: '';
	position: absolute;
	inset: 0;
	opacity: 0.5;
	pointer-events: none;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.3'/></svg>");
	mix-blend-mode: overlay;
}

.amber-spotlight-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: 56px;
	align-items: center;
}

.amber-spotlight-visual {
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	background: color-mix(in srgb, var(--amber-primary) 30%, transparent);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 40px 80px -20px rgba(0,0,0,0.5);
}

.amber-spotlight-visual img {
	width: 78%;
	height: 78%;
	object-fit: contain;
	filter: drop-shadow(0 20px 30px rgba(0,0,0,0.4));
}

.amber-spotlight-visual-fallback { background: color-mix(in srgb, var(--amber-primary) 45%, var(--amber-dark)); }
.amber-spotlight-emoji { font-size: 90px; }

.amber-spotlight-heading {
	font-size: clamp(40px, 6vw, 84px);
	font-weight: 900;
	letter-spacing: -.02em;
	margin: 0 0 18px;
	line-height: 1;
	text-transform: uppercase;
}

.amber-spotlight-copy p {
	font-size: 16.5px;
	color: rgba(255,255,255,0.7);
	max-width: 440px;
	margin: 0 0 34px;
	line-height: 1.9;
}

/* ============ Menu cards row ============ */
.amber-cards-section {
	padding: 100px 0 90px;
}

.amber-cards-heading {
	font-size: clamp(26px, 3.2vw, 38px);
	font-weight: 800;
	letter-spacing: -.015em;
	margin: 0 0 40px;
}

.amber-cards-row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
}

.amber-card {
	display: block;
	text-decoration: none;
	color: inherit;
	background: #fff;
	border-radius: var(--amber-radius);
	overflow: hidden;
	box-shadow: 0 16px 40px -18px rgba(43,27,20,0.22);
	transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s ease;
}

.amber-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 26px 50px -18px rgba(43,27,20,0.3);
}

.amber-card-media {
	aspect-ratio: 5 / 4;
	overflow: hidden;
}

.amber-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s ease;
}

.amber-card:hover .amber-card-media img { transform: scale(1.06); }

.amber-card-media-fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 48px;
	background: linear-gradient(150deg, color-mix(in srgb, var(--amber-primary) 25%, var(--amber-cream)), var(--amber-cream));
}

.amber-card-body { padding: 22px 24px 26px; }

.amber-card-body h3 {
	margin: 0 0 6px;
	font-size: 18px;
	font-weight: 800;
}

.amber-card-body p {
	margin: 0;
	font-size: 13.5px;
	color: var(--amber-muted);
}

/* ============ About section ============ */
.amber-about { padding: 100px 0 120px; position: relative; }

.amber-about-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	align-items: center;
}

.amber-about-media { position: relative; }

.amber-about-media::before {
	content: '';
	position: absolute;
	inset: -18px auto auto -18px;
	width: 70%;
	height: 70%;
	background: color-mix(in srgb, var(--amber-primary) 18%, transparent);
	border-radius: var(--amber-radius);
	z-index: 0;
}

.amber-about-media img {
	position: relative;
	z-index: 1;
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: var(--amber-radius);
	box-shadow: 0 30px 60px -20px rgba(43,27,20,0.3);
}

.amber-about-media.amber-about-media-fallback {
	aspect-ratio: 4 / 5;
	border-radius: var(--amber-radius);
	position: relative;
	z-index: 1;
	background:
		radial-gradient(circle at 30% 20%, rgba(255,255,255,0.25), transparent 45%),
		linear-gradient(160deg, var(--amber-primary), color-mix(in srgb, var(--amber-dark) 40%, var(--amber-primary)));
	box-shadow: 0 30px 60px -20px rgba(43,27,20,0.3);
	display: flex;
	align-items: center;
	justify-content: center;
}

.amber-about-media-fallback svg { width: 40%; opacity: 0.9; }

.amber-about h2 {
	font-size: clamp(26px, 3vw, 38px);
	font-weight: 800;
	letter-spacing: -.015em;
	margin: 0 0 22px;
	line-height: 1.4;
}

.amber-about p,
.amber-about-text p {
	color: var(--amber-muted);
	font-size: 16px;
	line-height: 2;
	margin: 0 0 16px;
}

.amber-about-text p:last-child { margin-bottom: 0; }

/* ============ Footer ============ */
.amber-footer {
	background: var(--amber-dark);
	color: rgba(255,255,255,0.85);
	padding: 60px 0 28px;
}

.amber-footer-inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
	gap: 24px;
	padding-bottom: 36px;
	border-bottom: 1px solid rgba(255,255,255,0.1);
}

.amber-footer-brand { display: flex; flex-direction: column; gap: 10px; }

.amber-footer-logo {
	font-weight: 800;
	font-size: 19px;
	color: #fff;
	text-decoration: none;
}

.amber-footer-logo img { max-height: 40px; }

.amber-footer-tagline {
	color: rgba(255,255,255,0.6);
	font-size: 14px;
	max-width: 320px;
}

.amber-footer-links { display: flex; gap: 20px; flex-wrap: wrap; }

.amber-footer-links a {
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	color: rgba(255,255,255,0.85);
	padding: 10px 18px;
	border: 1.5px solid rgba(255,255,255,0.18);
	border-radius: 100px;
	transition: border-color .2s ease, background .2s ease;
}

.amber-footer-links a:hover {
	border-color: var(--amber-primary);
	background: rgba(255,255,255,0.05);
}

.amber-footer-copy {
	padding-top: 22px;
	font-size: 13px;
	color: rgba(255,255,255,0.45);
	text-align: center;
}

/* ============ Generic page/single fallback ============ */
.amber-basic-content { max-width: 780px; margin: 0 auto; padding: 80px 28px 110px; }

.amber-basic-content h1 {
	font-size: clamp(28px, 4vw, 40px);
	font-weight: 800;
	margin-bottom: 28px;
}

.amber-basic-content .amber-entry-content {
	font-size: 16.5px;
	line-height: 2;
	color: var(--amber-muted);
}

/* ============ Responsive ============ */
@media (max-width: 900px) {
	.amber-hero-grid { grid-template-columns: 1fr; text-align: center; }
	.amber-hero-copy p { margin-left: auto; margin-right: auto; }
	.amber-hero-visual { order: -1; margin-bottom: 20px; }
	.amber-spotlight-grid { grid-template-columns: 1fr; text-align: center; }
	.amber-spotlight-visual { max-width: 280px; margin: 0 auto; }
	.amber-spotlight-copy p { margin-left: auto; margin-right: auto; }
	.amber-cards-row { grid-template-columns: 1fr 1fr; }
	.amber-about-grid { grid-template-columns: 1fr; gap: 40px; }
	.amber-about-media { order: -1; }
}

@media (max-width: 640px) {
	.amber-cards-row { grid-template-columns: 1fr; }
	.amber-hero-photo, .amber-hero-ring { width: 240px; height: 240px; }
	.amber-utility-inner { font-size: 11.5px; gap: 14px; padding: 8px 20px; }
}

@media (max-width: 860px) {
	.amber-nav ul { display: none; }
	.amber-nav-toggle { display: flex; }
}

@media (max-width: 860px) {
	.amber-nav.is-open ul {
		display: flex;
		flex-direction: column;
		position: absolute;
		top: 100%;
		right: 0;
		left: 0;
		background: var(--amber-cream);
		padding: 20px 28px 28px;
		gap: 16px;
		border-bottom: 1px solid rgba(43,27,20,0.08);
	}
}
