/* ============================================================
   NAVIGATE WINDOW & SHADE CO. — Design System
   ============================================================ */

:root {
  --teal:       #1a3d3d;
  --teal-mid:   #2a5a5a;
  --teal-light: #e8f0f0;
  --gold:       #c9a84c;
  --gold-light: #d4b96a;
  --gold-pale:  #f5edd8;
  --white:      #ffffff;
  --cream:      #faf8f4;
  --warm-grey:  #f2ede6;
  --charcoal:   #1c1c1c;
  --text:       #3a3530;
  --text-mid:   #6b6359;
  --text-light: #9a9088;
  --border:     #e4ddd4;
  --font-display: 'Cormorant', Georgia, serif;
  --font-body:    'Jost', system-ui, sans-serif;
  --radius:     2px;
  --transition: 0.25s ease;
  --shadow:     0 4px 24px rgba(26,61,61,0.08);
  --shadow-lg:  0 12px 48px rgba(26,61,61,0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* TYPOGRAPHY */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  color: var(--teal);
}
h1 { font-size: clamp(42px, 5.5vw, 72px); }
h2 { font-size: clamp(32px, 4vw, 52px); }
h3 { font-size: clamp(20px, 2.5vw, 28px); }
h2 em, h1 em { font-style: italic; color: var(--gold); }
p { font-size: 15px; line-height: 1.85; color: var(--text-mid); margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: block;
}
.eyebrow--light { color: var(--gold-light); }

.text-link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--teal);
  display: inline-block;
  margin-top: 1.5rem;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  transition: color var(--transition);
}
.text-link:hover { color: var(--gold); }

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
  border: 1.5px solid transparent;
}
.btn-primary { background: var(--teal); color: var(--white); border-color: var(--teal); }
.btn-primary:hover { background: var(--teal-mid); border-color: var(--teal-mid); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }
.btn-outline { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: var(--white); }
.btn-white { background: var(--white); color: var(--teal); border-color: var(--white); }
.btn-white:hover { background: var(--cream); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-ghost-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-ghost-white:hover { border-color: var(--white); }

/* HEADER */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 1px 0 var(--border), var(--shadow);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px;
  max-width: 1280px;
  margin: 0 auto;
}

/* LOGO */
.logo-link { display: block; line-height: 0; }
.logo-img { height: 52px; width: auto; display: block; transition: opacity var(--transition); }
.logo-img--light { display: block; }
.logo-img--dark  { display: none; }
.site-header.scrolled .logo-img--light { display: none; }
.site-header.scrolled .logo-img--dark  { display: block; }
.footer-logo { height: 48px; width: auto; display: block; }

/* MAIN NAV */
.main-nav { display: flex; align-items: center; gap: 36px; }
.main-nav > a, .nav-dropdown-trigger {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: color var(--transition);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  padding: 0;
}
.main-nav > a:hover, .nav-dropdown-trigger:hover { color: var(--white); }
.site-header.scrolled .main-nav > a,
.site-header.scrolled .nav-dropdown-trigger { color: var(--text); }
.site-header.scrolled .main-nav > a:hover,
.site-header.scrolled .nav-dropdown-trigger:hover { color: var(--teal); }
.nav-cta {
  background: var(--gold) !important;
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: var(--radius);
  letter-spacing: 0.08em !important;
  transition: background var(--transition), transform var(--transition) !important;
}
.nav-cta:hover { background: var(--gold-light) !important; transform: translateY(-1px); }

/* DROPDOWN */
.nav-dropdown { position: relative; }
.chevron { font-style: normal; font-size: 14px; margin-left: 2px; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 12px 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  color: var(--text);
  transition: background var(--transition), color var(--transition);
}
.dropdown-menu a:hover { background: var(--teal-light); color: var(--teal); }

/* HAMBURGER */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 1.5px; background: var(--white); transition: all var(--transition); }
.site-header.scrolled .hamburger span { background: var(--teal); }
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* MOBILE NAV */
.mobile-nav {
  position: fixed;
  top: 0; right: -100%;
  width: min(320px, 85vw);
  height: 100vh;
  background: var(--teal);
  z-index: 999;
  padding: 100px 40px 40px;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
  box-shadow: -8px 0 32px rgba(0,0,0,0.2);
}
.mobile-nav.open { right: 0; }
.mobile-nav a {
  font-size: 18px;
  font-family: var(--font-display);
  color: rgba(255,255,255,0.85);
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--gold-light); }
.mobile-nav-contact { margin-top: auto; padding-top: 32px; display: flex; flex-direction: column; gap: 8px; }
.mobile-nav-contact a { font-size: 13px; font-family: var(--font-body); border: none; padding: 4px 0; color: rgba(255,255,255,0.55); }

/* HERO */
.hero { position: relative; height: 100vh; min-height: 600px; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(10,25,25,0.75) 0%, rgba(10,25,25,0.45) 55%, rgba(10,25,25,0.2) 100%); }
.hero-content { position: relative; z-index: 2; padding: 0 40px; max-width: 1200px; margin: 0 auto; width: 100%; padding-top: 80px; }
.hero-eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 20px; opacity: 0; animation: fadeUp 0.8s 0.2s ease forwards; }
.hero-title { color: var(--white); margin-bottom: 24px; opacity: 0; animation: fadeUp 0.8s 0.35s ease forwards; font-weight: 300; }
.hero-sub { font-size: 16px; color: rgba(255,255,255,0.8); max-width: 520px; margin-bottom: 0; line-height: 1.75; opacity: 0; animation: fadeUp 0.8s 0.5s ease forwards; }
.hero-actions { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; opacity: 0; animation: fadeUp 0.8s 0.65s ease forwards; }
.hero-scroll-hint { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; z-index: 2; opacity: 0; animation: fadeIn 1s 1.2s ease forwards; }
.hero-scroll-hint span { font-size: 9px; letter-spacing: 0.25em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent); animation: scrollPulse 2s ease infinite; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes scrollPulse { 0%,100% { opacity: 0.4; } 50% { opacity: 0.8; } }

/* TRUST BAR */
.trust-bar { background: var(--teal); padding: 20px 0; }
.trust-items { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; padding: 8px 32px; font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.85); }
.trust-icon { color: var(--gold-light); font-size: 8px; }
.trust-divider { width: 1px; height: 20px; background: rgba(255,255,255,0.2); }

/* SHARED SECTION STYLES */
.section-intro,
.section-services,
.section-process,
.section-area { padding: 100px 0; }
.section-header { text-align: center; max-width: 600px; margin: 0 auto 60px; }
.section-desc { font-size: 16px; color: var(--text-mid); margin-top: 16px; margin-bottom: 0; }

/* INTRO */
.section-intro { background: var(--cream); }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.intro-text h2 { margin-bottom: 24px; }
.intro-image { position: relative; aspect-ratio: 4/5; overflow: visible; }
.intro-image img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.intro-image-tag { position: absolute; bottom: -20px; left: -20px; background: var(--teal); color: var(--white); padding: 20px 24px; display: flex; flex-direction: column; gap: 4px; box-shadow: var(--shadow); }
.tag-number { font-family: var(--font-display); font-size: 28px; color: var(--gold-light); line-height: 1; }
.tag-text { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.7); }

/* SERVICES */
.section-services { background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.service-card { display: block; background: var(--white); border: 1px solid var(--border); overflow: hidden; transition: box-shadow var(--transition), transform var(--transition); border-radius: var(--radius); }
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.service-card--featured { border-color: var(--gold); }
.service-img { aspect-ratio: 4/3; overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.service-card:hover .service-img img { transform: scale(1.05); }
.service-info { padding: 24px; }
.service-info h3 { font-size: 20px; color: var(--teal); margin-bottom: 8px; }
.service-info p { font-size: 13px; margin-bottom: 0; }
.card-link { display: inline-block; margin-top: 14px; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); transition: letter-spacing var(--transition); }
.service-card:hover .card-link { letter-spacing: 0.15em; }
.services-cta { text-align: center; margin-top: 48px; }

/* PROCESS */
.section-process { background: var(--teal); }
.section-process .eyebrow { color: var(--gold-light); }
.section-process h2 { color: var(--white); }
.section-process p { color: rgba(255,255,255,0.7); }
.process-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start; }
.process-steps { display: flex; flex-direction: column; }
.process-step { display: flex; gap: 28px; padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.process-step:last-child { border-bottom: none; }
.step-num { font-family: var(--font-display); font-size: 36px; font-weight: 300; color: var(--gold); min-width: 50px; line-height: 1; padding-top: 4px; opacity: 0.8; }
.step-body h3 { color: var(--white); font-size: 20px; margin-bottom: 8px; }
.step-body p { margin-bottom: 0; }

/* ENERGY */
.section-energy { padding: 100px 0; background: var(--gold-pale); }
.energy-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: center; }
.energy-content h2 { margin-bottom: 24px; }
.energy-content .btn { margin-top: 12px; }
.energy-stats { display: flex; flex-direction: column; gap: 40px; }
.stat-num { font-family: var(--font-display); font-size: 64px; font-weight: 300; color: var(--teal); line-height: 1; margin-bottom: 8px; }
.stat-label { font-size: 13px; color: var(--text-mid); line-height: 1.6; max-width: 220px; }

/* SERVICE AREA */
.section-area { background: var(--warm-grey); }
.area-grid { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 40px; }
.area-pill { display: inline-block; padding: 10px 22px; border: 1.5px solid var(--teal); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; color: var(--teal); border-radius: 100px; transition: all var(--transition); }
.area-pill:hover { background: var(--teal); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow); }

/* CTA */
.section-cta { padding: 80px 0; background: var(--white); }
.cta-box { background: var(--teal); padding: 72px 80px; position: relative; overflow: hidden; }
.cta-box::before { content: ''; position: absolute; top: -100px; right: -100px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(201,168,76,0.15), transparent 70%); pointer-events: none; }
.cta-content { position: relative; z-index: 1; max-width: 600px; }
.cta-content h2 { color: var(--white); margin-bottom: 20px; }
.cta-content p { color: rgba(255,255,255,0.75); font-size: 16px; }
.cta-actions { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; }

/* FOOTER */
.site-footer { background: var(--charcoal); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 60px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-tagline { font-family: var(--font-display); font-style: italic; font-size: 17px; color: var(--gold-light); margin-top: 16px; margin-bottom: 12px; }
.footer-desc { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.75; max-width: 280px; }
.footer-contact { display: flex; flex-direction: column; gap: 6px; margin-top: 20px; }
.footer-contact a { font-size: 13px; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-contact a:hover { color: var(--gold-light); }
.footer-col h4 { font-family: var(--font-body); font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer-col a { display: block; font-size: 13px; color: rgba(255,255,255,0.55); padding: 5px 0; transition: color var(--transition); }
.footer-col a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 24px 0; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.3); margin-bottom: 0; }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { font-size: 12px; color: rgba(255,255,255,0.3); transition: color var(--transition); }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* CONTACT PAGE */
.page-hero { padding: 160px 0 80px; background: var(--teal); text-align: center; }
.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(255,255,255,0.7); font-size: 17px; margin-top: 16px; }
.contact-section { padding: 80px 0; background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start; }
.contact-info h3 { font-size: 26px; margin-bottom: 20px; }
.contact-detail { display: flex; flex-direction: column; gap: 24px; margin-top: 40px; }
.detail-label { font-size: 10px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.detail-value { font-size: 15px; color: var(--teal); }
.detail-value a { color: var(--teal); transition: color var(--transition); }
.detail-value a:hover { color: var(--gold); }
.contact-form-wrap { background: var(--white); padding: 48px; box-shadow: var(--shadow); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 10px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-mid); margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 14px 16px; border: 1.5px solid var(--border); background: var(--white); font-family: var(--font-body); font-size: 14px; color: var(--text); border-radius: var(--radius); transition: border-color var(--transition); outline: none; -webkit-appearance: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--teal); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit { margin-top: 8px; }
.form-submit .btn { width: 100%; justify-content: center; padding: 16px; }
.form-note { font-size: 12px; color: var(--text-light); text-align: center; margin-top: 12px; margin-bottom: 0; }

/* ABOUT PAGE */
.about-intro { padding: 100px 0; background: var(--cream); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-image { aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.values-section { padding: 100px 0; background: var(--white); }
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; margin-top: 48px; }
.value-card { padding: 40px 32px; background: var(--cream); border-top: 3px solid var(--gold); }
.value-icon { font-size: 28px; margin-bottom: 16px; }
.value-card h3 { font-size: 22px; margin-bottom: 12px; }
.value-card p { font-size: 14px; margin-bottom: 0; }

/* ANIMATIONS */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .intro-grid, .process-grid, .energy-grid, .contact-grid, .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .intro-image { max-height: 480px; }
}
@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .header-inner { padding: 16px 24px; }
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .section-intro, .section-services, .section-process, .section-energy, .section-area { padding: 64px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .cta-box { padding: 48px 32px; }
  .trust-divider { display: none; }
  .trust-item { padding: 8px 16px; font-size: 10px; }
  .hero-content { padding: 0 24px; padding-top: 100px; }
  .energy-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 32px 24px; }
  .logo-img { height: 40px; }
}
@media (max-width: 480px) {
  .hero-actions, .cta-actions { flex-direction: column; }
  .btn { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
