/* ============================================================
   NORTHWEST WEB DEVELOPMENT - styles_work.css
   Work / Portfolio page styles (page-work.php)
   Sections: Hero, Featured Projects, Project Grid
   ============================================================ */


/* ────────────────────────────────────────────
   WORK - HERO
──────────────────────────────────────────── */
.workHero {
	background: var(--black);
	padding: 180px 0 70px;   /* top clears fixed header */
	position: relative;
	overflow: hidden;
}

/* Grid texture - consistent with other page heroes */
.workHero::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(180,210,45,0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(180,210,45,0.05) 1px, transparent 1px);
	background-size: 60px 60px;
	pointer-events: none;
}

/* Green glow - top right for variation */
.workHero::after {
	content: '';
	position: absolute;
	top: -80px;
	right: -80px;
	width: 500px;
	height: 500px;
	background: radial-gradient(circle, rgba(0,135,60,0.28) 0%, transparent 70%);
	pointer-events: none;
}

.workHeroContent {
	position: relative;
	z-index: 2;
	max-width: 760px;
}

.workHero h1 {
	font-size: clamp(42px, 5.5vw, 72px);
	color: var(--white);
	margin-bottom: 28px;
	letter-spacing: -0.01em;
	line-height: 1.1;
}
.workHero h1 em {
	font-style: italic;
	color: var(--yellow-green);
}

.workHeroSub {
	font-size: clamp(17px, 1.8vw, 19px);
	color: rgba(255,255,255,0.55);
	line-height: 1.7;
	max-width: 620px;
}


/* ────────────────────────────────────────────
   SHARED - SECTION LABEL
──────────────────────────────────────────── */
.workSectionLabel {
	margin-bottom: 48px;
}


/* ────────────────────────────────────────────
   WORK - FEATURED PROJECTS
──────────────────────────────────────────── */
.workFeatured {
	padding: 100px 0 80px;
	background: var(--white);
}

.featuredProject {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 72px;
	align-items: center;
	margin-bottom: 100px;
}
.featuredProject:last-child {
	margin-bottom: 0;
}

/* Reverse layout for alternating projects */
.featuredProjectReverse {
	direction: rtl;
}
.featuredProjectReverse > * {
	direction: ltr;
}

/* Image */
.featuredProjectImage {
	position: relative;
	overflow: hidden;
	border-radius: 3px;
	background: var(--section-alt);
	aspect-ratio: 3/2;
}
.featuredProjectImage img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}
.featuredProject:hover .featuredProjectImage img {
	transform: scale(1.02);
}

/* Accent line on image */
.featuredProjectImage::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: var(--yellow-green);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.4s ease;
}
.featuredProject:hover .featuredProjectImage::after {
	transform: scaleX(1);
}

/* Info */
.featuredProjectInfo {
	padding: 8px 0;
}

.projectCategory {
	font-family: 'DM Sans', sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--text-light);
	margin-bottom: 12px;
}

.featuredProjectInfo .projectTitle {
	font-family: 'DM Serif Display', serif;
	font-size: clamp(28px, 3vw, 40px);
	color: var(--text-primary);
	line-height: 1.15;
	margin-bottom: 20px;
	font-weight: 400;
}

.projectDesc {
	font-size: 16px;
	color: var(--text-muted);
	line-height: 1.75;
}


/* ────────────────────────────────────────────
   SHARED - PROJECT TAGS
──────────────────────────────────────────── */
.projectTags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 14px;
}

.projectTag {
	font-family: 'DM Sans', sans-serif;
	font-size: 11.5px;
	font-weight: 500;
	letter-spacing: 0.06em;
	color: var(--green-dark);
	background: rgba(0,90,45,0.08);
	padding: 4px 10px;
	border-radius: 2px;
}


/* ────────────────────────────────────────────
   WORK - PROJECT GRID
──────────────────────────────────────────── */
.workGrid {
	padding: 80px 0 120px;
	background: var(--section-alt);
}

.projectGrid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2px;
}

.projectCard {
	background: var(--white);
	overflow: hidden;
	transition: transform 0.2s;
}
.projectCard:hover {
	transform: translateY(-4px);
}

.projectCardImage {
	aspect-ratio: 3/2;
	overflow: hidden;
	background: var(--section-alt);
	position: relative;
}
.projectCardImage img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}
.projectCard:hover .projectCardImage img {
	transform: scale(1.04);
}

/* Accent line on card image */
.projectCardImage::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: var(--yellow-green);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s ease;
}
.projectCard:hover .projectCardImage::after {
	transform: scaleX(1);
}

.projectCardInfo {
	padding: 28px 28px 32px;
}

.projectCardTitle {
	font-family: 'DM Serif Display', serif;
	font-size: 22px;
	color: var(--text-primary);
	line-height: 1.2;
	margin-bottom: 10px;
	font-weight: 400;
}

.projectCardDesc {
	font-size: 14px;
	color: var(--text-muted);
	line-height: 1.7;
}


/* ────────────────────────────────────────────
   RESPONSIVE - 1100px
──────────────────────────────────────────── */
@media only screen and (max-width: 1100px) {

	.projectGrid {
		grid-template-columns: repeat(2, 1fr);
	}

}


/* ────────────────────────────────────────────
   RESPONSIVE - 900px
──────────────────────────────────────────── */
@media only screen and (max-width: 900px) {

	.workHero {
		padding: 140px 0 72px;
	}

	.featuredProject,
	.featuredProjectReverse {
		grid-template-columns: 1fr;
		gap: 36px;
		direction: ltr;
	}
	.featuredProjectReverse > * {
		direction: ltr;
	}

	.featuredProject {
		margin-bottom: 72px;
	}

}


/* ────────────────────────────────────────────
   RESPONSIVE - 680px
──────────────────────────────────────────── */
@media only screen and (max-width: 680px) {

	.workHero {
		padding: 120px 0 60px;
	}

	.workFeatured {
		padding: 72px 0 60px;
	}

	.workGrid {
		padding: 60px 0 80px;
	}

	.projectGrid {
		grid-template-columns: 1fr;
	}

}
