/**
 * Galustar Custom Jewelry — frontend v1.0.0
 */

.gcj-section {
	--gcj-ink: #111111;
	--gcj-muted: rgba(17, 17, 17, 0.68);
	--gcj-gold: #c6a56a;
	--gcj-ease: cubic-bezier(0.22, 1, 0.36, 1);

	position: relative;
	width: 100%;
	max-width: 100%;
	margin: 0;
	box-sizing: border-box;
	padding-top: var(--gcj-pt, 80px);
	padding-bottom: var(--gcj-pb, 80px);
	background: var(--gcj-bg, #efefef);
	color: var(--gcj-ink);
	font-family: "Jost", system-ui, sans-serif;
	overflow-x: clip;
}

.elementor-widget-shortcode:has(.gcj-section) .elementor-widget-container,
.elementor-widget-shortcode:has(.gcj-section) .elementor-shortcode {
	padding: 0 !important;
	margin: 0 !important;
	width: 100% !important;
}

.elementor-section:has(.gcj-section),
.elementor-section:has(.gcj-section) > .elementor-container,
.elementor-element:has(.gcj-section),
.elementor-element:has(.gcj-section) > .e-con,
.elementor-element:has(.gcj-section) > .e-con-inner,
.elementor-element:has(.gcj-section) > .elementor-widget-wrap {
	max-width: none !important;
	width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.gcj-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(32px, 5vw, 72px);
	width: min(100% - clamp(24px, 5vw, 48px), 1180px);
	max-width: 100%;
	margin-inline: auto;
	box-sizing: border-box;
}

.gcj-content {
	max-width: 520px;
}

.gcj-eyebrow {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: clamp(12px, 2vw, 16px);
	margin: 0 0 16px;
}

.gcj-eyebrow__text {
	font-family: "Jost", system-ui, sans-serif;
	font-size: clamp(12px, 1.5vw, 14px);
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--gcj-gold);
}

.gcj-eyebrow__line {
	display: block;
	width: clamp(32px, 5vw, 56px);
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--gcj-gold), transparent);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.9s var(--gcj-ease);
	transition-delay: 0.15s;
}

.gcj-content.gcj-reveal.is-visible .gcj-eyebrow__line {
	transform: scaleX(1);
}

.gcj-heading {
	margin: 0 0 20px;
	font-family: "Cormorant Garamond", Georgia, serif;
	font-size: clamp(2rem, 4vw, 2.75rem);
	font-weight: 600;
	line-height: 1.12;
	color: var(--gcj-ink);
}

.gcj-description {
	margin: 0;
	font-size: clamp(0.95rem, 1.35vw, 1.05rem);
	line-height: 1.75;
	color: var(--gcj-muted);
}

.gcj-action {
	margin-top: 28px;
}

.gcj-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 180px;
	padding: 14px 28px;
	border-radius: 999px;
	border: none;
	background: #111;
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	text-decoration: none;
	transition: transform 0.35s var(--gcj-ease), background 0.35s ease, box-shadow 0.35s ease;
}

.gcj-button:hover,
.gcj-button:focus-visible {
	transform: translateY(-2px);
	background: var(--gcj-gold);
	color: #111;
	box-shadow: 0 12px 28px rgba(198, 165, 106, 0.35);
}

/* Overlapping images — demo style */
.gcj-visual {
	position: relative;
	width: 100%;
	min-height: clamp(380px, 52vw, 520px);
}

.gcj-visual__main,
.gcj-visual__accent {
	margin: 0;
	overflow: hidden;
	border-radius: 6px;
	background: rgba(17, 17, 17, 0.04);
}

.gcj-visual__main {
	position: absolute;
	top: 0;
	right: 0;
	width: 74%;
	height: 100%;
	z-index: 1;
}

.gcj-visual__accent {
	position: absolute;
	left: 0;
	bottom: 6%;
	width: min(52%, 240px);
	aspect-ratio: 1;
	z-index: 2;
	box-shadow: 0 24px 50px rgba(17, 17, 17, 0.14);
}

.gcj-visual__main .gcj-visual__main__link,
.gcj-visual__accent .gcj-visual__accent__link {
	display: block;
	width: 100%;
	height: 100%;
	text-decoration: none;
}

.gcj-visual__main__img,
.gcj-visual__accent__img,
.gcj-visual__main img,
.gcj-visual__accent img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

/* Scroll reveal */
.gcj-reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 0.7s var(--gcj-ease), transform 0.7s var(--gcj-ease);
}

.gcj-reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.gcj-visual.gcj-reveal {
	transition-delay: 0.12s;
}

@media (max-width: 991px) {
	.gcj-inner {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.gcj-content {
		max-width: none;
		text-align: center;
	}

	.gcj-eyebrow {
		justify-content: center;
	}

	.gcj-action {
		display: flex;
		justify-content: center;
	}

	.gcj-visual {
		min-height: clamp(340px, 70vw, 440px);
		max-width: 520px;
		margin-inline: auto;
	}
}

@media (max-width: 767px) {
	.gcj-section {
		--gcj-pt: max(var(--gcj-pt, 80px), 56px);
		--gcj-pb: max(var(--gcj-pb, 80px), 56px);
	}

	.gcj-content {
		text-align: left;
	}

	.gcj-eyebrow {
		justify-content: flex-start;
	}

	.gcj-action {
		justify-content: flex-start;
	}

	.gcj-button {
		width: 100%;
		max-width: 100%;
	}

	.gcj-visual {
		min-height: 360px;
		width: 100%;
		max-width: none;
	}

	.gcj-visual__main {
		width: 78%;
	}

	.gcj-visual__accent {
		width: 56%;
		max-width: 200px;
	}
}

@media (max-width: 479px) {
	.gcj-visual {
		min-height: 300px;
	}

	.gcj-visual__accent {
		width: 58%;
		bottom: 4%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.gcj-reveal,
	.gcj-button {
		transition: none;
	}

	.gcj-reveal {
		opacity: 1;
		transform: none;
	}
}
