@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&display=swap');

/* Reset & base styles */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background-color: #0c0c0f; /* inky black */
  color: #d6d3d1; /* warm gray */
}

a {
  color: #7b8fa1; /* slate blue */
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Layout */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem;
}

/* Typography */
h1, h2, h3, h4 {
  margin: 1.5rem 0 1rem;
  line-height: 1.25;
  font-weight: 600;
  color: #f3f4f6; /* off-white */
  font-family: 'Nunito', sans-serif;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
  color: #d4d4d4; /* muted warm gray */
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  border-bottom: 1px solid #3a3a3c;
  background-color: #101014;
}

.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.navbar-brand a {
  font-size: 1rem;
  font-weight: 700;
  color: #f3f4f6;
  text-decoration: none;
}

.navbar-brand a:hover {
  text-decoration: underline;
}

.nav-links a {
  margin-left: 2.5rem;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  font-weight: 600;
  color: #7b8fa1;
  text-decoration: none;
}

.nav-links a:first-child {
  margin-left: 0;
}

.nav-links a:hover {
  text-decoration: underline;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  margin-left: 1rem;
  cursor: pointer;
}

/* Button */
.button {
  display: inline-block;
  background-color: #5c7365; /* muted teal */
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.button:hover {
  background-color: #4c6255; /* darker muted teal */
}

/* Section Titles */
.section-title {
  text-align: center;
  font-size: 1.5rem;
  color: #c7c7c7;
  margin-bottom: 1rem;
}

/* Lists */
ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

ul li {
  margin-bottom: 0.5rem;
  color: #cccccc;
}

/* Footer */
footer {
  margin-top: 3rem;
  padding: 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: #a9a29d; /* soft stone */
  border-top: 1px solid #3a3a3c;
  background-color: #101014;
}

/* Utility */
.text-center { text-align: center; }

.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }

.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }

.pt-4 { padding-top: 1rem; }
.pb-4 { padding-bottom: 1rem; }


/* Sections */
.section {
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.section h1,
.section h2 {
  text-align: center;
}

.section p {
  max-width: 720px;
  margin: 0.5rem auto 0;
  line-height: 1.7;
  color: #dddddd;
}

.contact-cta {
  background-color: rgba(34, 34, 38, 0.50); /* dark grey, 85% opaque */
  padding: 2rem;
  border-radius: 8px;
}

.contact-cta a {
  color: #7b8fa1;
  font-weight: 600;
}

.contact-cta a:hover {
  text-decoration: underline;
}

.section ul {
  max-width: 720px;
  margin: 0 auto 1.5rem;
  padding-left: 1.25rem;
}

/* Mobile styles */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 1rem;
    position: absolute;
    top: 60px; /* adjust as needed */
    right: 2rem;
    background: #222;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    z-index: 100;
  }
  .nav-links.open {
    display: flex;
  }
  .mobile-menu-btn {
    display: inline-block;
  }
}

body::before {
  content: "";
  position: fixed;
  bottom: 0;
  right: 0;
  width: 800px;
  height: 800px;
  background-image: url('/static/images/bonsai-bg.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: bottom right;
  opacity: 0.09;
  filter: grayscale(100%);
  pointer-events: none;
  z-index: -1;
}
