/* ============================================================
   NORTHWEST WEB DEVELOPMENT - styles_home.css
   Home page section styles (page-home.php)
   Sections: Hero, Stats Bar, Who I Am, Services,
             Testimonials, Process, AI, Closing CTA
   ============================================================ */


/* ────────────────────────────────────────────
   HOME - HERO
──────────────────────────────────────────── */
.homeHero {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	background: var(--black);
	overflow: hidden;
}

/* Grid texture */
.homeHero::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 radial glow */
.homeHero::after {
	content: '';
	position: absolute;
	bottom: -100px;
	right: -100px;
	width: 600px;
	height: 600px;
	background: radial-gradient(circle, rgba(0,135,60,0.28) 0%, transparent 70%);
	pointer-events: none;
    animation: heroPulse 4s ease-in-out infinite;
}
@keyframes heroPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    15%       { opacity: 0.9; transform: scale(1.06); }
    30%       { opacity: 0.5; transform: scale(1); }
    45%       { opacity: 0.75; transform: scale(1.03); }
    60%       { opacity: 0.5; transform: scale(1); }
}

.homeHeroContent {
	position: relative;
	z-index: 2;
	max-width: 1180px;
	margin: 0 auto;
	padding: 180px 40px 100px;  /* top offset clears fixed header + breathing room */
}

.heroEyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--yellow-green);
	margin-bottom: 28px;
}
.heroEyebrow::before {
	display: block;
	display: none;
	content: '';
	width: 32px;
	height: 1px;
	background: var(--yellow-green);
}

.homeHero h1 {
	font-size: clamp(48px, 6vw, 80px);
	color: var(--white);
	max-width: 820px;
	margin-bottom: 28px;
	letter-spacing: -0.01em;
}
.homeHero h1 em {
	font-style: italic;
	color: var(--yellow-green);
}

.heroSub {
	font-size: clamp(17px, 1.8vw, 20px);
	color: rgba(255,255,255,0.55);
	max-width: 560px;
	line-height: 1.4;
	margin-bottom:16px;
}
.heroTagline {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 48px;
    font-style: italic;
}
.heroCTAs {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}

.heroScroll {
    position: absolute;
    bottom:15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.25);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.heroScrollLine {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(180, 210, 45, 0.5), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
	0%, 100% { opacity: 0.3; transform: scaleX(1); }
	50%       { opacity: 1;   transform: scaleX(1.3); }
}


/* ────────────────────────────────────────────
   HOME - STATS BAR
──────────────────────────────────────────── */
.statsBar {
	background: var(--green-dark);
	padding: 52px 0;
}

.statsInner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 72px;
	flex-wrap: wrap;
}

.stat {
	text-align: center;
}
.statNumber {
	font-family: 'DM Serif Display', serif;
	font-size: 36px;
	color: var(--white);
	line-height: 1;
	margin-bottom: 6px;
}
.statNumber sup {
	font-size: 0.55em;
	vertical-align: super;
}
.statLabel {
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255,255,255,0.5);
}

.statDivider {
	width: 1px;
	height: 48px;
	background: rgba(255,255,255,0.1);
	flex-shrink: 0;
}


/* ────────────────────────────────────────────
   HOME - WHO I AM
──────────────────────────────────────────── */
.whoIAm {
	padding: 120px 0;
	background: var(--white);
}

.whoGrid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	align-items: center;
}

.whoContent h2 {
	font-size: clamp(36px, 4vw, 52px);
	color: var(--text-primary);
	margin-bottom: 24px;
}
.whoContent h2 em {
	font-style: italic;
	color: var(--green-mid);
}

.whoContent p {
	font-size: 17px;
	line-height: 1.75;
	color: var(--text-muted);
	margin-bottom: 20px;
}

.whoAttributes {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 32px 0;
}
.whoAttr {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 15px;
	font-weight: 500;
	color: var(--text-primary);
}
.whoAttr::before {
	content: '';
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--yellow-green);
	flex-shrink: 0;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='9' viewBox='0 0 12 9'%3E%3Cpath d='M1 4l3.5 3.5L11 1' stroke='%230d0d0d' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
}

.whoIAm .btnPrimary {
	margin-top: 12px;
}

.whoVisual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.whoPhotoWrap {
    position: relative;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(180,210,45,0.5);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.whoPhoto {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 5%;
}

.whoPhotoWrap::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.35) 35%, transparent 58%);
    z-index: 1;
}

.whoCard {
    position: absolute;
    bottom:56px;
    left: 0;
    right: 0;
    z-index: 2;
    text-align: center;
    padding: 0 48px;
    border-top: none;
    background: none;
    backdrop-filter: none;
}

.whoCardName {
    font-family: 'DM Serif Display', serif;
    font-size: 22px;
    color: var(--white);
    margin-bottom: 5px;
}

.whoCardTitle {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.04em;
    white-space: normal;
    line-height: 1.4;
    color: var(--yellow-green);
    text-transform: uppercase;
}

/* ────────────────────────────────────────────
   HOME - SERVICES
──────────────────────────────────────────── */
.homeServices {
	padding: 120px 0;
	background: var(--section-alt);
}

.servicesHeader {
	margin-bottom: 64px;
}
.homeServices h2 {
	font-size: clamp(36px, 4vw, 52px);
	color: var(--text-primary);
	margin-bottom: 16px;
	max-width: 600px;
}
.servicesIntro {
	font-size: 18px;
	max-width: 620px;
	line-height: 1.7;
	color: var(--text-muted);
}

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

.serviceCard {
	background: var(--white);
	padding: 40px 36px;
	border-bottom: 3px solid transparent;
	transition: border-color 0.2s, transform 0.2s;
}
.serviceCard:hover {
	border-bottom-color: var(--yellow-green);
	transform: translateY(-3px);
}

/* Last card spans 2 cols on dark bg */
.serviceCardDark {
	grid-column: span 2;
	background: var(--black);
}
.serviceCardDark .serviceNum {
	color: rgba(255,255,255,0.15);
}
.serviceCardDark .serviceTitle {
	color: var(--white);
}
.serviceCardDark .serviceDesc {
	color: rgba(255,255,255,0.55);
}
.serviceCardDark:hover {
	border-bottom-color: var(--yellow-green);
	transform: translateY(-3px);
}

.serviceNum {
	font-family: 'DM Serif Display', serif;
	font-size: 13px;
	color: var(--border);
	margin-bottom: 20px;
	letter-spacing: 0.05em;
}
.serviceTitle {
	font-family: 'DM Serif Display', serif;
	font-size: 22px;
	color: var(--text-primary);
	margin-bottom: 14px;
	line-height: 1.2;
}
.serviceDesc {
	font-size: 15px;
	color: var(--text-muted);
	line-height: 1.7;
}

.servicesFooter {
	margin-top: 48px;
}


/* ────────────────────────────────────────────
   HOME - TESTIMONIALS
──────────────────────────────────────────── */
.homeTestimonials {
	padding: 120px 0;
	background: var(--white);
}

.testimonialsHeader {
	text-align: center;
	margin-bottom: 72px;
}
.homeTestimonials h2 {
	font-size: clamp(34px, 3.5vw, 50px);
	margin-bottom: 12px;
}
.homeTestimonials h2 em {
	font-style: italic;
	color: var(--green-mid);
}
.tenureNote {
	font-size: 16px;
	color: var(--text-light);
	font-style: italic;
}

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

.testimonialCard {
	padding: 36px;
	border: 1px solid var(--border);
	border-radius: 2px;
	position: relative;
}
.testimonialCard::before {
	content: '\201C';
	position: absolute;
	top: 24px;
	left: 32px;
	font-family: 'DM Serif Display', serif;
	font-size: 80px;
	color: var(--yellow-green);
	line-height: 0.7;
	opacity: 0.4;
}

.testimonialStars {
	color: var(--yellow-green);
	font-size: 14px;
	letter-spacing: 2px;
	margin-bottom: 10px;
}
.testimonialText {
	font-size: 16px;
	line-height: 1.75;
	color: var(--text-muted);
	margin-bottom: 28px;
	padding-top: 36px;
}
.testimonialAuthor {
	font-weight: 600;
	font-size: 15px;
	color: var(--text-primary);
}
.testimonialCompany {
	font-size: 13px;
	color: var(--text-light);
	margin-top: 2px;
}
/* Testimonial rotation */
.tCardB {
    display: none;
    animation: tFadeIn 1s ease;
}
.tCardA {
    animation: tFadeIn 1s ease;
}
@keyframes tFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}


/* ────────────────────────────────────────────
   HOME - PROCESS
──────────────────────────────────────────── */
.homeProcess {
	padding: 120px 0;
	background: var(--black);
	overflow: hidden;
}

.processHeader {
	margin-bottom: 72px;
}
.homeProcess h2 {
	font-size: clamp(34px, 3.5vw, 48px);
	color: var(--white);
	margin-bottom: 12px;
}
.processSubtitle {
	font-size: 17px;
	color: rgba(255,255,255,0.45);
	font-style: italic;
}

.processSteps {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
	position: relative;
}
.processSteps::before {
	content: '';
	position: absolute;
	top: 28px;
	left:-20%;
	right:-20%;
	height: 1px;
	background: linear-gradient(to right, transparent, rgba(180,210,45,0.3), rgba(180,210,45,0.3), transparent);
}

.step {
	padding: 0 32px 0 0;
	position: relative;
}
.stepNum {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	border: 1px solid rgba(180,210,45,0.3);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'DM Serif Display', serif;
	font-size: 20px;
	color: var(--yellow-green);
	margin:0 auto 28px auto;
	background: var(--black);
	position: relative;
	z-index: 1;
}
.stepTitle {
	font-family: 'DM Serif Display', serif;
	font-size: 22px;
	color: var(--white);
	text-align: center;
	margin-bottom: 14px;
}
.stepDesc {
	font-size: 15px;
	color: rgba(255,255,255,0.45);
	line-height: 1.7;
}


/* ────────────────────────────────────────────
   HOME - AI SECTION
──────────────────────────────────────────── */
.homeAI {
	padding: 100px 0;
	background: var(--green-dark);
	position: relative;
	overflow: hidden;
}
.homeAI::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -10%;
	width: 500px;
	height: 500px;
	background: radial-gradient(circle, rgba(180,210,45,0.15) 0%, transparent 65%);
	pointer-events: none;
}

.aiInner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	align-items: start;    /* top-align since left col is now taller */
	position: relative;
	z-index: 1;
}

.homeAI h2 {
	font-size: clamp(32px, 3.5vw, 46px);
	color: var(--white);
	margin-bottom: 20px;
}
.homeAI h2 em,
.homeAI p em {
	color: var(--yellow-green);
}
.homeAI p {
	font-size: 17px;
	color: rgba(255,255,255,0.65);
	margin-bottom: 16px;
	line-height: 1.75;
}
.aiContent .btnPrimary {
	margin-top: 16px;
}

.aiTags {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.aiTag {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.aiTagIcon {
    position: absolute;
    left:16px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.2);
    line-height: 1;
    flex-shrink: 0;
    z-index: 0;
}

.aiTagIcon svg {
    width: 80px;
    height: 80px;
}

.aiTagText {
    position: relative;
    z-index: 1;
	padding-left:80px;
}
.aiTagText strong {
	display: block;
	color: var(--white);
	font-size: 15px;
	font-weight: 600;
	margin-bottom: 4px;
}
.aiTagText span {
	font-size: 14px;
	color: rgba(255,255,255,0.5);
	line-height: 1.5;
}


/* ────────────────────────────────────────────
   HOME - CLOSING CTA
──────────────────────────────────────────── */
.homeCTA {
	padding: 140px 0;
	background: var(--off-white);
	text-align: center;
}
.homeCTA h2 {
	font-size: clamp(36px, 5vw, 64px);
	max-width: 700px;
	margin: 0 auto 20px;
	color: var(--text-primary);
	line-height: 1.1;
}
.homeCTA h2 em {
	font-style: italic;
	color: var(--green-mid);
}
.homeCTA p {
	font-size: 18px;
	max-width: 520px;
	margin: 0 auto 48px;
	line-height: 1.7;
}
.homeCTA .sectionEyebrow {
	margin-bottom: 24px;
}
.homeCTA .sectionEyebrow::before {
	display: none;
}



