html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', Arial, sans-serif;
  background: #f7fafd;               /* lighter background */
  color: #14121a;
  min-height: 100%;
}

/* Home hero: keep your photo! */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  background: url('me-mountains.jpg') center center/cover no-repeat;
}

/* Softer overlay for home hero */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, #fff 30%, #f7fafd80 80%);
  opacity: 0.85;
  z-index: 1;
}

.hero-content,
.navbar {
  position: relative;
  z-index: 2;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5vw;
  background: #ffffffee;              /* semi-opaque white */
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 2px 8px #0001;
}
.logo {
  font-weight: bold;
  font-size: 1.45rem;
  color: #14121a;
  letter-spacing: 1.5px;
}
.logo .dot {
  color: #7d5c7d;                   /* accent */
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}
.nav-links li a {
  color: #14121a;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.5px;
  font-size: 1em;
  opacity: 0.85;
  transition: color 0.2s, opacity 0.2s, border-bottom 0.2s;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}
.nav-links li a.active,
.nav-links li a:hover {
  color: #7d5c7d;
  opacity: 1;
  border-bottom: 2px solid #7d5c7d;
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 560px;
  margin: 8vh 0 0 10vw;
  color: #14121a;
  z-index: 2;
  min-height: 70vh;
}
.hero-content h1 {
  font-size: 2.7rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
  line-height: 1.07;
  color: #14121a;
  letter-spacing: 1px;
  text-shadow: 0 2px 12px #fff2;
}
.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  color: #14121a;
  opacity: 0.85;
  max-width: 80%;
}
.hero-links .btn {
  background: #7d5c7dc;
  color: #14121a;
  font-weight: 600;
  padding: 0.7em 2.2em;
  border: none;
  border-radius: 40px;
  text-decoration: none;
  font-size: 1.08rem;
  letter-spacing: 1px;
  transition: background 0.15s, color 0.15s;
  box-shadow: 0 6px 24px #7d5c7dc22;
}
.hero-links .btn:hover {
  background: #14121a;
  color: #7d5c7dc;
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 2.4rem;
  transform: translateX(-50%);
  z-index: 3;
}
.scroll-indicator span {
  display: block;
  width: 28px;
  height: 44px;
  border: 2px solid #14121a;
  border-radius: 16px;
  position: relative;
  opacity: 0.7;
}
.scroll-indicator span::after {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 100%;
  background: #14121a;
  position: absolute;
  left: 50%;
  top: 10px;
  transform: translateX(-50%);
  animation: scroll-dot 1.5s infinite;
}
@keyframes scroll-dot {
  0% { top: 10px; opacity: 1;}
  60% { top: 26px; opacity: 0.1;}
  100% { top: 10px; opacity: 1;}
}

main {
  max-width: 900px;
  margin: 2.5em auto 2em auto;
  padding: 0 1em;
}
h1 {
  font-size: 2.3rem;
  margin-top: 0;
  color: #14121a;
  font-weight: 700;
}
.cad-viewer {
  margin-bottom: 1em;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px #0002;
  border: 1px solid #e3e6ea;
}

a {
  color: #366a48;
  text-decoration: underline;
  font-weight: 500;
}
a:hover {
  color: #14121a;
  text-decoration: none;
}

body {
  min-height: 100vh;
}

@media (max-width: 850px) {
  .hero-content { margin-left: 5vw; max-width: 95vw; }
  .navbar { flex-direction: column; gap: 1rem; padding: 1rem 2vw;}
  .nav-links { gap: 1rem; }
  main { margin: 2em 0 1em 0; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.4rem; }
  .navbar { padding: 1rem 2vw;}
}
