:root {
	--cream: #f3ede3;
	--ink: #1d1b19;
	--white: #ffffff;
	--font-serif: "Cormorant Garamond", "Times New Roman", serif;
	--font-sans: "Jost", "Helvetica Neue", Arial, sans-serif;
	--pad-x: clamp(1.5rem, 5vw, 4.5rem);
	--pad-y: clamp(1.5rem, 3.5vw, 2.75rem);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: var(--ink); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; }

/* ---------- HERO ---------- */
.hero {
	position: relative;
	min-height: 100vh;
	min-height: 100svh;
	display: flex;
	flex-direction: column;
	color: var(--white);
	background-color: var(--ink);
	background-image: var(--hero-img);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	isolation: isolate;
	overflow: hidden;
}

/* gradient subtil sus + jos */
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(to bottom, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 28%),
		linear-gradient(to top,    rgba(0,0,0,.50) 0%, rgba(0,0,0,0) 35%),
		rgba(0,0,0,.12);
}

/* ---------- HEADER (pe toate paginile) ---------- */
.site-header {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: var(--pad-y) var(--pad-x);
	position: relative;
	z-index: 50;
	background: var(--ink);
	color: var(--white);
}

/* pe pagina principală: transparent, peste imagine */
body.home .site-header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	background: transparent;
}

.logo {
	flex: 0 0 auto;
	font-family: var(--font-serif);
	font-weight: 400;
	font-size: clamp(1.5rem, 2.2vw, 2rem);
	letter-spacing: .02em;
	color: var(--white);
	text-decoration: none;
	line-height: 1;
}

.nav-list {
	display: flex;
	gap: clamp(1.75rem, 3.5vw, 3.5rem);
	list-style: none;
	margin: 0;
	padding: 0;
}
.nav-list a {
	font-family: var(--font-sans);
	font-weight: 300;
	font-size: .78rem;
	text-transform: uppercase;
	letter-spacing: .28em;
	color: var(--white);
	text-decoration: none;
	padding: .5rem 0;
	border-bottom: 1px solid transparent;
	transition: border-color .3s ease;
}
.nav-list a:hover,
.nav-list a:focus-visible,
.nav-list .current-menu-item a { border-bottom-color: rgba(255,255,255,.8); }

a:focus-visible, button:focus-visible { outline: 1px solid var(--white); outline-offset: 6px; }

/* hamburger ascuns pe desktop */
.nav-toggle { display: none; }

/* ---------- CONȚINUT CENTRAL ---------- */
.hero__content {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 0 var(--pad-x);
}

.hero__title {
	font-family: var(--font-serif);
	font-weight: 300;
	font-size: clamp(1.9rem, 3.6vw, 3.1rem);
	line-height: 1.2;
	letter-spacing: .01em;
	color: #fbf7f0;
	max-width: 22ch;
	margin: 0 0 clamp(2rem, 3.5vw, 3rem);
	text-wrap: balance;
}

.hero__actions {
	display: flex;
	gap: 1.25rem;
	justify-content: center;
}

.btn {
	display: inline-block;
	font-family: var(--font-sans);
	font-weight: 400;
	font-size: .75rem;
	letter-spacing: .2em;
	text-transform: uppercase;
	text-decoration: none;
	padding: 1.05rem 2.4rem;
	border: 1px solid var(--cream);
	border-radius: 6px;
	transition: background-color .35s ease, color .35s ease, border-color .35s ease;
}
.btn--solid { background: var(--cream); color: var(--ink); }
.btn--solid:hover { background: transparent; color: var(--cream); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.85); }
.btn--ghost:hover { background: var(--white); color: var(--ink); }

/* ---------- MOBIL / TABLETĂ ---------- */
@media (max-width: 820px) {
	.hero { background-image: var(--hero-img-mobile, var(--hero-img)); }

	.nav-toggle {
		display: flex;
		flex-direction: column;
		justify-content: center;
		gap: 7px;
		width: 44px;
		height: 44px;
		margin-left: auto;
		margin-right: -10px;
		padding: 0 10px;
		background: none;
		border: 0;
		cursor: pointer;
		position: relative;
		z-index: 30;
		flex: 0 0 auto;
	}
	.nav-toggle span {
		display: block;
		height: 1px;
		width: 100%;
		background: var(--white);
		transition: transform .35s ease;
	}
	.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
	.nav-toggle[aria-expanded="true"] span:last-child  { transform: translateY(-4px) rotate(-45deg); }

	/* meniu pe tot ecranul */
	.site-nav {
		position: fixed;
		inset: 0;
		z-index: 20;
		display: flex;
		align-items: center;
		justify-content: center;
		background: rgba(20,18,16,.96);
		opacity: 0;
		visibility: hidden;
		transition: opacity .4s ease, visibility .4s ease;
	}
	.site-nav.is-open { opacity: 1; visibility: visible; }
	.nav-list { flex-direction: column; align-items: center; gap: 2.25rem; }
	.nav-list a { font-size: .95rem; }

	.hero__title { max-width: 16ch; }
	.hero__actions {
		flex-direction: column;
		align-items: stretch;
		width: 100%;
		max-width: 300px;
		gap: 1rem;
	}
	.btn { text-align: center; }
}

body.nav-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; }
}
/* ===== FORȚEAZĂ: logo stânga, meniu/hamburger dreapta, pe toate paginile ===== */
.site-header {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: space-between !important;
	width: 100% !important;
}

/* Desktop */
.site-header .site-nav {
	margin-left: auto !important;
}
.site-header .nav-toggle {
	display: none !important;
}

/* Mobil */
@media (max-width: 820px) {
	.site-header .nav-toggle {
		display: flex !important;
		margin-left: auto !important;
		margin-right: -10px !important;
	}
}