/**
 * Bannatyne Digital — Components
 *
 * Buttons, cards, form controls, containers, and reusable UI patterns.
 * Placeholder — will be populated in Step 2.
 */

/* ── Container ───────────────────────────────────────────── */
.container {
	width: 100%;
	max-width: var(--container-max);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--container-padding);
	padding-right: var(--container-padding);
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-2);
	padding: var(--space-3) var(--space-8);
	font-family: var(--font-primary);
	font-size: var(--text-sm);
	font-weight: var(--fw-bold);
	letter-spacing: var(--tracking-wide);
	text-transform: uppercase;
	border-radius: var(--radius-full);
	transition: all var(--duration-normal) var(--ease-out);
	cursor: pointer;
	white-space: nowrap;
}

.btn-primary {
	background-color: var(--color-primary);
	color: var(--color-white);
	border: 2px solid var(--color-primary);
}

.btn-primary:hover {
	background-color: transparent;
	color: var(--color-primary);
}

.btn-outline {
	background-color: transparent;
	color: var(--color-white);
	border: 2px solid var(--color-white);
}

.btn-outline:hover {
	background-color: var(--color-white);
	color: rgb(13, 31, 232);
}

.btn-peach {
	background-color: var(--color-peach);
	color: var(--color-black);
	border: 2px solid var(--color-peach);
}

.btn-peach:hover {
	border: 2px solid #f87c66;
	background-color: #f87c66;
}
.seperator_pattern{
	height: 1px;
    background: oklch(92.8% .006 264.531);
}
.bg-black{
	background-color: #000!important;
	background: #000!important;
}

.home-industries {
	padding: 80px 0;
}
.site-logo img{
	height: 56px;
	width: auto;
}
/* Eyebrow label */
.home-industries .eyebrow {
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.15em;
	color: #1a1aff;
	text-transform: uppercase;
	margin-bottom: 12px;
}
 
/* Section title */
.home-industries__title {
	font-size: clamp(2.5rem, 5vw, 4.5rem);
	font-weight: 900;
	letter-spacing: -0.01em;
	color: #111;
	margin-bottom: 52px;
	text-transform: uppercase;
	line-height: 1.05;
	font-style: italic;
}
.cn-industries__image{
	display: none;
}
/* Two-column grid */
.home-industries__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 56px;
	align-items: start;
}
 
/* ── LEFT: Image container ── */
.home-industries__image {
	position: sticky;
	top: 40px;
	overflow: hidden;
	border-radius: 4px;
	aspect-ratio: 4 / 3;
	background: #111;
}
 
/* All images stacked, only .active is visible */
.home-industries__image-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transform: scale(1.05);
	transition:
		opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1),
		transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
	will-change: opacity, transform;
}
 
.home-industries__image-img.active {
	opacity: 1;
	transform: scale(1);
}
 
/* ── RIGHT: Industry list ── */
.home-industries__list {
	display: flex;
	flex-direction: column;
}
 
/* Individual row */
.industry-item {
	border-top: 1px solid #e2e2e2;
	padding: 36px 0;
	cursor: pointer;
}
 
.industry-item:last-child {
	border-bottom: 1px solid #e2e2e2;
}
 
/* Row header: number + title + arrow */
.industry-item__header {
	display: flex;
	align-items: center;
	gap: 12px;
}
 
/* Number */
.industry-item__num {
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: #aaa;
	min-width: 24px;
	flex-shrink: 0;
	transition: color 0.25s ease;
	line-height: 1;
	padding-top: 2px; /* optical alignment */
}
 
/* Title */
.industry-item__title {
	flex: 1;
	font-size: clamp(13px, 1.3vw, 15px);
	font-weight: 900;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #111;
	line-height: 1.2;
	transition: color 0.25s ease;
	font-size: clamp(1.3rem, 2.2vw, 1.9rem);
    font-style: italic;
}
 
/* Arrow icon */
.industry-item__arrow {
	flex-shrink: 0;
	color: #1a1aff;
	opacity: 0.45;
	transition:
		transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
		opacity 0.25s ease;
}
 
/* Description — hidden by default, revealed on active */
.industry-item__desc {
	font-size: 13px;
	line-height: 1.65;
	color: #555;
	padding-left: 36px; /* aligns under title (num width + gap) */
	margin-top: 0;
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	transition:
		max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
		opacity 0.3s ease,
		margin-top 0.3s ease;
}
 
/* ── Active state ── */
.industry-item--active .industry-item__num {
	color: #1a1aff;
}
 
.industry-item--active .industry-item__title {
	color: #1a1aff;
}
 
.industry-item--active .industry-item__arrow {
	opacity: 1;
	transform: rotate(-45deg); /* → becomes ↗ */
}
 
.industry-item--active .industry-item__desc {
	max-height: 100px; /* tall enough for any 2–3 line desc */
	opacity: 1;
	margin-top: 12px;
}
.service-list__container .home-industries__grid{
        grid-template-columns: 1fr;
}
.home-industries__grid {
	grid-template-columns: 1fr 1fr;
	gap: var(--space-12);
	align-items: start;
}
.cn-industries__image-wrapper img{

}
.cn-industries__image-wrapper .cn-industries__image{
	width: 100%;
	object-fit: cover;
	max-height: 400px;
}
/* Base hidden state */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s ease, transform 1.2s ease; /* was 0.7s */
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delay for children */
.animate-on-scroll:nth-child(1) { transition-delay: 0s; }
.animate-on-scroll:nth-child(2) { transition-delay: 0.3s; }  /* was 0.15s */
.animate-on-scroll:nth-child(3) { transition-delay: 0.6s; }  /* was 0.3s */
.animate-on-scroll:nth-child(4) { transition-delay: 0.9s; }  /* was 0.45s */

@media (max-width: 1024px) {
	.home-industries__grid {
        grid-template-columns: 1fr;
	}
	.home-industries__image{
		display: none;
	}
	.industry-item.industry-item--active .cn-industries__image{
		display: block;
		
		margin-top: 16px;
	}
	

}