/* ============================================================
   LT Northwest Builders - Main Stylesheet
   Edit colors in the :root block below to retheme the whole site
   ============================================================ */

:root {
  --dark:        #0d1b16;      /* main dark background */
  --dark-mid:    #132219;      /* slightly lighter dark sections */
  --dark-card:   #1a2e23;      /* card backgrounds */
  --gold:        #c8a96e;      /* accent / headings highlight */
  --gold-light:  #e2c99a;      /* lighter gold for hover */
  --white:       #ffffff;
  --off-white:   #f4f1ec;
  --text-muted:  #a8b5a0;
  --border:      rgba(200,169,110,0.25);
  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'Montserrat', 'Helvetica Neue', sans-serif;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--dark);
  color: var(--white);
  font-family: var(--font-sans);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
  color: var(--white);
}
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }

p  { font-size: 1rem; color: var(--off-white); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ---- Utility ---- */
.section-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 1.25rem;
}
.section-body {
  font-size: 1.05rem;
  color: var(--off-white);
  max-width: 680px;
}
.divider {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 1.25rem 0;
}
.text-center { text-align: center; }
.text-center .divider { margin: 1.25rem auto; }
.text-center .section-body { margin: 0 auto; }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-outline {
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--dark);
}
.btn-solid {
  background: var(--gold);
  color: var(--dark);
  border: 1px solid var(--gold);
}
.btn-solid:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 4vw;
  transition: background 0.4s ease;
}
.site-nav.scrolled {
  background: rgba(13,27,22,0.97);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.nav-logo img { height: 40px; width: auto; }
.nav-links {
  display: flex;
  gap: 2.2rem;
  align-items: center;
}
.nav-links a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold); }
.nav-links .btn { padding: 0.55rem 1.4rem; font-size: 0.75rem; }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
}

/* Each slide sits behind the overlay */
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.8s ease-in-out;
  transform: scale(1.04);
  animation: heroZoom 8s ease forwards;
}
.hero-slide.active {
  opacity: 1;
}
.hero-slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@keyframes heroZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1);    }
}

/* Dots navigation — right edge, vertical stack */
.hero-dots {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.7);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s;
}
.hero-dot.active {
  background: var(--gold);
  border-color: var(--gold);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(13,27,22,0.85) 0%,
    rgba(13,27,22,0.30) 50%,
    rgba(13,27,22,0.20) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 0 4rem 3rem 4rem;
  text-align: left;
}
.hero-eyebrow {
  font-size: 0.975rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  white-space: nowrap;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: 2.5rem;
  letter-spacing: 0.03em;
}
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: var(--gold);
  animation: scrollLine 1.5s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50%  { opacity: 1; transform: scaleY(1); transform-origin: top; }
  100% { opacity: 0; transform: scaleY(1); transform-origin: bottom; }
}

/* ============================================================
   SECTIONS — generic padding
   ============================================================ */
section { padding: 6rem 4vw; }
.inner { max-width: 1200px; margin: 0 auto; }

/* ============================================================
   ABOUT TEASER
   ============================================================ */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-image {
  position: relative;
}
.about-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}
.about-image::before {
  content: '';
  position: absolute;
  top: -20px; left: -20px;
  right: 20px; bottom: 20px;
  border: 1px solid var(--border);
  z-index: -1;
}

/* ============================================================
   PORTFOLIO GRID
   ============================================================ */
.portfolio-section { background: var(--dark-mid); }
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.portfolio-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: block;
  text-decoration: none;
}
.portfolio-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.portfolio-card:hover img { transform: scale(1.05); }
.portfolio-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,27,22,0.9) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.portfolio-card:hover .portfolio-card-overlay { opacity: 1; }
.portfolio-card-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--white);
}
.portfolio-card-loc {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.25rem;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.service-card {
  border: 1px solid var(--border);
  padding: 2.5rem 1.8rem;
  transition: border-color 0.3s, background 0.3s;
}
.service-card:hover {
  border-color: var(--gold);
  background: var(--dark-card);
}
.service-num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--border);
  line-height: 1;
  margin-bottom: 1rem;
}
.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--gold);
}
.service-card p { font-size: 0.9rem; color: var(--text-muted); }

/* ============================================================
   TESTIMONIALS CAROUSEL
   ============================================================ */
.testimonials-section { background: var(--dark-mid); }

.testimonials-carousel-wrap {
  overflow: hidden;
  margin-top: 3rem;
  padding: 0 4vw;
}

.testimonials-track {
  display: flex;
  gap: 1.5rem;
  /* no transition here — JS adds/removes it */
}

.testimonial-card {
  flex: 0 0 calc((100% - 3rem) / 3); /* show exactly 3 */
  background: var(--dark-card);
  padding: 3rem 2.5rem;
  border-left: 2px solid var(--gold);
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.quote-mark {
  font-family: var(--font-serif);
  font-size: 5.5rem;
  line-height: 0.6;
  color: var(--gold);
  opacity: 0.3;
  margin-bottom: 1.25rem;
  display: block;
}
.testimonial-text {
  font-style: italic;
  font-size: 1.05rem;
  color: var(--off-white);
  margin-bottom: 1.75rem;
  line-height: 1.85;
  flex: 1;
}
.testimonial-author {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ============================================================
   CORE VALUES
   ============================================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}
.value-item { text-align: center; }
.value-icon {
  width: 60px;
  height: 60px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.4rem;
}
.value-item h3 {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-sans);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.value-item p { font-size: 0.9rem; color: var(--text-muted); }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-section { background: var(--dark-mid); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.contact-info p { color: var(--text-muted); font-size: 0.95rem; }
.contact-info .phone {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--white);
  margin: 1.5rem 0 0.5rem;
}
.contact-info .location { color: var(--text-muted); font-size: 0.9rem; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 0.85rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.3s;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { min-height: 140px; resize: vertical; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #080f0d;
  padding: 3rem 4vw 2rem;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}
.footer-logo img { height: 36px; margin-bottom: 1rem; }
.footer-tagline { font-size: 0.85rem; color: var(--text-muted); }
.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--gold); }
.footer-contact p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.9; }
.footer-contact a { color: var(--gold); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.footer-licenses { font-size: 0.75rem; color: var(--text-muted); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding: 10rem 4vw 5rem;
  background: var(--dark-mid);
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-hero .section-label { justify-content: center; display: flex; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
.page-hero p { max-width: 600px; margin: 1rem auto 0; color: var(--text-muted); }

/* ============================================================
   PORTFOLIO PAGE
   ============================================================ */
.project-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 2px;
  min-height: 420px;
}
.project-card:nth-child(even) .project-img { order: 2; }
.project-card:nth-child(even) .project-info { order: 1; }
.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}
.project-info {
  background: var(--dark-card);
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.project-info .badge {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border);
  padding: 0.35rem 0.85rem;
  margin-bottom: 1.25rem;
}
.project-info h2 { font-size: 1.8rem; margin-bottom: 0.75rem; }
.project-info .location { font-size: 0.82rem; color: var(--text-muted); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1.25rem; }
.project-info p { font-size: 0.95rem; color: var(--text-muted); }

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.process-steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.process-step {
  border-top: 2px solid var(--border);
  padding-top: 1.75rem;
  position: relative;
  transition: border-color 0.3s;
}
.process-step:hover { border-color: var(--gold); }
.step-num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--border);
  line-height: 1;
  margin-bottom: 1rem;
}
.process-step h3 { font-size: 1rem; color: var(--gold); font-family: var(--font-sans); font-weight: 600; letter-spacing: 0.05em; margin-bottom: 0.6rem; text-transform: uppercase; }
.process-step p { font-size: 0.88rem; color: var(--text-muted); }

.services-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.service-list-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  padding: 2.5rem;
  border: 1px solid var(--border);
  align-items: start;
  transition: border-color 0.3s, background 0.3s;
}
.service-list-item:hover {
  border-color: var(--gold);
  background: var(--dark-card);
}
.service-list-icon { font-size: 2rem; }
.service-list-item h3 { color: var(--gold); font-size: 1.05rem; margin-bottom: 0.5rem; font-family: var(--font-sans); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.service-list-item p { font-size: 0.9rem; color: var(--text-muted); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid    { grid-template-columns: repeat(2, 1fr); }
  .values-grid      { grid-template-columns: repeat(2, 1fr); }
  .process-steps    { grid-template-columns: repeat(3, 1fr); }
  .testimonial-card { flex: 0 0 calc((100% - 1.5rem) / 2); }
}

@media (max-width: 768px) {
  section           { padding: 4rem 5vw; }
  .nav-links        { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(13,27,22,0.98); padding: 2rem; gap: 1.5rem; }
  .nav-links.open   { display: flex; }
  .nav-toggle       { display: flex; }
  .about-split      { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-image img  { height: 320px; }
  .portfolio-grid   { grid-template-columns: repeat(2, 1fr); }
  .services-grid    { grid-template-columns: 1fr; }
  .testimonial-card { flex: 0 0 85vw; }
  .values-grid      { grid-template-columns: repeat(2, 1fr); }
  .contact-grid     { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-inner     { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom    { flex-direction: column; gap: 0.5rem; text-align: center; }
  .project-card     { grid-template-columns: 1fr; }
  .project-card:nth-child(even) .project-img,
  .project-card:nth-child(even) .project-info { order: unset; }
  .project-img img  { min-height: 280px; }
  .services-list    { grid-template-columns: 1fr; }
  .process-steps    { grid-template-columns: repeat(2, 1fr); }
  .form-row         { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .portfolio-grid  { grid-template-columns: 1fr; }
  .values-grid     { grid-template-columns: 1fr; }
  .process-steps   { grid-template-columns: 1fr; }
}
