/* =========================================================
   Dorrin Golab — Homepage Foundations v0.3.0
   Static-first. Motion enhancements are added separately.
   ========================================================= */

:root {
	--dorrin-ivory: #fbf9f5;
	--dorrin-bone: #eee2d1;
	--dorrin-teal: #00625c;
	--dorrin-deep-teal: #00373a;
	--dorrin-pink: #ec608a;
	--dorrin-light-pink: #f5b3c4;
	--dorrin-home-max: 1600px;
	--dorrin-home-gutter: clamp(20px, 3vw, 40px);
	--dorrin-home-radius-lg: 36px;
	--dorrin-home-radius-md: 24px;
}

/* Page shell */
.dorrin-home {
	background: var(--dorrin-ivory);
	color: var(--dorrin-deep-teal);
	font-family: "Dorrin Pinar", sans-serif;
	overflow: clip;
}

.dorrin-home .elementor-widget-text-editor,
.dorrin-home .elementor-widget-heading,
.dorrin-home .elementor-button {
	font-family: "Dorrin Pinar", sans-serif;
}

/* =========================================================
   HERO
   Structure in Elementor:
   .dorrin-home-hero
     > .dorrin-home-hero__inner
       > .dorrin-home-hero__copy
       > .dorrin-home-hero__visual
   ========================================================= */

.dorrin-home-hero {
	position: relative;
	isolation: isolate;
	width: 100%;
	min-height: clamp(700px, 88svh, 880px);
	padding-top: 96px; /* fixed header height */
	background:
		radial-gradient(circle at 22% 35%, rgba(238, 226, 209, .58), transparent 34%),
		linear-gradient(180deg, #fbfaf7 0%, var(--dorrin-ivory) 100%);
	overflow: hidden;
}

.dorrin-home-hero::after {
	content: "";
	position: absolute;
	inset-inline: 0;
	bottom: -1px;
	height: clamp(74px, 9vw, 150px);
	background: var(--dorrin-deep-teal);
	clip-path: ellipse(76% 48% at 50% 100%);
	z-index: 0;
	pointer-events: none;
}

.dorrin-home-hero__inner {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: var(--dorrin-home-max);
	min-height: calc(clamp(700px, 88svh, 880px) - 96px);
	margin-inline: auto;
	padding: clamp(64px, 7vw, 112px) var(--dorrin-home-gutter) clamp(120px, 12vw, 180px);
	display: grid !important;
	grid-template-columns: minmax(360px, .88fr) minmax(500px, 1.12fr);
	grid-template-areas: "copy visual";
	align-items: center;
	gap: clamp(44px, 6vw, 112px);
}

/* RTL: copy visually on the right, artwork on the left */
[dir="rtl"] .dorrin-home-hero__inner {
	grid-template-areas: "visual copy";
}

.dorrin-home-hero__copy {
	grid-area: copy;
	position: relative;
	z-index: 5;
	max-width: 620px;
	justify-self: end;
	align-items: flex-start !important;
}

.dorrin-home-hero__eyebrow .elementor-heading-title {
	margin: 0;
	color: var(--dorrin-pink);
	font-size: clamp(14px, 1.1vw, 17px);
	font-weight: 600;
	line-height: 1.8;
	letter-spacing: 0;
}

.dorrin-home-hero__title .elementor-heading-title {
	margin: 0;
	color: var(--dorrin-deep-teal);
	font-size: clamp(48px, 5.1vw, 78px);
	font-weight: 700;
	line-height: 1.16;
	letter-spacing: -.035em;
	text-wrap: balance;
}

.dorrin-home-hero__title-accent {
	color: var(--dorrin-pink);
}

.dorrin-home-hero__text {
	max-width: 560px;
	margin-top: 10px;
}

.dorrin-home-hero__text,
.dorrin-home-hero__text p {
	color: rgba(0, 55, 58, .78);
	font-size: clamp(17px, 1.35vw, 21px);
	font-weight: 400;
	line-height: 2;
}

.dorrin-home-hero__actions {
	margin-top: 12px;
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
}

.dorrin-home-btn .elementor-button {
	min-height: 52px;
	padding: 0 26px !important;
	border-radius: 12px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	box-shadow: none !important;
	transition: transform 220ms ease, background-color 220ms ease, border-color 220ms ease, color 220ms ease;
}

.dorrin-home-btn .elementor-button:hover {
	transform: translateY(-2px);
}

.dorrin-home-btn--primary .elementor-button {
	background: var(--dorrin-deep-teal) !important;
	border: 1px solid var(--dorrin-deep-teal) !important;
	color: #fff !important;
}

.dorrin-home-btn--primary .elementor-button:hover {
	background: var(--dorrin-teal) !important;
	border-color: var(--dorrin-teal) !important;
}

.dorrin-home-btn--secondary .elementor-button {
	background: transparent !important;
	border: 1px solid rgba(236, 96, 138, .72) !important;
	color: var(--dorrin-pink) !important;
}

.dorrin-home-btn--secondary .elementor-button:hover {
	background: rgba(236, 96, 138, .07) !important;
	border-color: var(--dorrin-pink) !important;
}

.dorrin-home-hero__visual {
	grid-area: visual;
	position: relative;
	z-index: 2;
	width: 100%;
	min-height: 610px;
	align-self: stretch;
}

/* Artwork layers. Use Elementor Image widgets with these classes. */
.dorrin-home-hero__product,
.dorrin-home-hero__simurgh,
.dorrin-home-hero__botanical,
.dorrin-home-hero__petal {
	position: absolute !important;
	margin: 0 !important;
}

.dorrin-home-hero__product {
	z-index: 6;
	left: 20%;
	bottom: 4%;
	width: min(48%, 430px) !important;
}

.dorrin-home-hero__product img {
	width: 100% !important;
	height: auto !important;
	object-fit: contain;
	filter: drop-shadow(0 24px 28px rgba(0, 55, 58, .11));
}

.dorrin-home-hero__simurgh {
	z-index: 2;
	left: 31%;
	top: 10%;
	width: min(60%, 540px) !important;
	opacity: .26;
}

.dorrin-home-hero__simurgh img {
	width: 100% !important;
	height: auto !important;
	object-fit: contain;
}

.dorrin-home-hero__botanical {
	z-index: 4;
	left: 0;
	bottom: 3%;
	width: min(50%, 460px) !important;
}

.dorrin-home-hero__botanical img {
	width: 100% !important;
	height: auto !important;
	object-fit: contain;
}

.dorrin-home-hero__petal {
	z-index: 7;
	width: clamp(34px, 4vw, 70px) !important;
	pointer-events: none;
}

.dorrin-home-hero__petal--1 { left: 5%; top: 20%; transform: rotate(-20deg); }
.dorrin-home-hero__petal--2 { left: 61%; top: 17%; transform: rotate(24deg) scale(.72); }
.dorrin-home-hero__petal--3 { left: 73%; bottom: 28%; transform: rotate(55deg) scale(.58); }

/* Optional decorative soft glow behind product */
.dorrin-home-hero__visual::before {
	content: "";
	position: absolute;
	z-index: 1;
	left: 8%;
	top: 10%;
	width: 78%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(238, 226, 209, .84) 0%, rgba(238, 226, 209, .35) 54%, rgba(238, 226, 209, 0) 72%);
	pointer-events: none;
}

/* =========================================================
   TABLET
   ========================================================= */
@media (max-width: 1100px) {
	.dorrin-home-hero {
		min-height: 760px;
	}

	.dorrin-home-hero__inner,
	[dir="rtl"] .dorrin-home-hero__inner {
		grid-template-columns: minmax(320px, .95fr) minmax(380px, 1.05fr);
		gap: 34px;
		padding-top: 58px;
	}

	.dorrin-home-hero__visual {
		min-height: 530px;
	}
}

/* =========================================================
   MOBILE
   ========================================================= */
@media (max-width: 767px) {
	.dorrin-home-hero {
		min-height: auto;
		padding-top: 76px;
	}

	.dorrin-home-hero::after {
		height: 70px;
		clip-path: ellipse(95% 45% at 50% 100%);
	}

	.dorrin-home-hero__inner,
	[dir="rtl"] .dorrin-home-hero__inner {
		min-height: auto;
		padding: 44px 20px 100px;
		display: flex !important;
		flex-direction: column !important;
		gap: 28px;
	}

	.dorrin-home-hero__copy {
		width: 100%;
		max-width: none;
		justify-self: auto;
		align-items: stretch !important;
		text-align: center;
	}

	.dorrin-home-hero__title .elementor-heading-title {
		font-size: clamp(40px, 11.5vw, 56px);
		line-height: 1.22;
	}

	.dorrin-home-hero__text {
		max-width: 34rem;
		margin-inline: auto;
	}

	.dorrin-home-hero__text,
	.dorrin-home-hero__text p {
		font-size: 16px;
		line-height: 1.9;
	}

	.dorrin-home-hero__actions {
		justify-content: center;
	}

	.dorrin-home-btn .elementor-button {
		min-height: 50px;
		padding-inline: 22px !important;
	}

	.dorrin-home-hero__visual {
		width: 100%;
		min-height: 400px;
		order: 2;
	}

	.dorrin-home-hero__product {
		left: 50%;
		bottom: 0;
		width: min(48vw, 230px) !important;
		transform: translateX(-50%);
	}

	.dorrin-home-hero__simurgh {
		left: 50%;
		top: 7%;
		width: min(78vw, 380px) !important;
		transform: translateX(-50%);
		opacity: .2;
	}

	.dorrin-home-hero__botanical {
		left: -7%;
		bottom: 0;
		width: min(58vw, 280px) !important;
	}

	.dorrin-home-hero__petal--1 { left: 7%; top: 12%; }
	.dorrin-home-hero__petal--2 { left: 76%; top: 18%; }
	.dorrin-home-hero__petal--3 { left: 81%; bottom: 18%; }
}

@media (prefers-reduced-motion: reduce) {
	.dorrin-home *,
	.dorrin-home *::before,
	.dorrin-home *::after {
		scroll-behavior: auto !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
}
