:root {
  /* Dark forest + cabin interior */
  --bg: #141a14;
  --bg-alt: #23170f;

  /* Forest green accents */
  --accent: #396843;
  --accent-light: #4f8d57;

  /* Wood tones */
  --wood: #b99163;
  --wood-light: #dac3a0;
  --wood-dark: #8b6240;

  /* Text */
  --text: #f5f2e8;
  --text-muted: #d1c7b0;

  --max-width: 1100px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top, #283827 0, var(--bg) 52%),
    radial-gradient(circle at bottom, rgba(76, 50, 30, 0.7) 0, var(--bg-alt) 60%);
  color: var(--text);
  line-height: 1.6;
}

/* Links */
a {
  color: inherit;
  text-decoration: none;
}

/* Site header / nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10, 14, 10, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  padding: 0.75rem 1.5rem;
}

.site-header .logo a {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wood-light);
}

.main-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.main-nav a {
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  color: var(--text-muted);
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease, border-color 0.15s ease;
}

.main-nav a:hover,
.main-nav a.active {
  background: rgba(79, 141, 87, 0.18);
  border-color: rgba(186, 146, 94, 0.7);
  color: var(--text);
  transform: translateY(-1px);
}

/* Layout */
.content-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.75rem 1.5rem 2rem;
}

/* Page header */
.page-header h1 {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  margin-bottom: 0.75rem;
  color: #fff;
}

.page-header p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

/* Project sections */
.project-section {
  margin-top: 2.25rem;
}

.project-section h2 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.project-section > p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* Gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.gallery-item {
  background: rgba(0, 0, 0, 0.55);
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.6);
}

.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
}

.gallery-item figcaption {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 0.5rem 0.7rem 0.6rem;
}

/* Inquiry section */
.inquiry-section {
  margin: 2.5rem 0 0.5rem;
  padding: 1.25rem 1.2rem 1.4rem;
  border-radius: 1rem;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  background: linear-gradient(
    95deg,
    rgba(139, 98, 64, 0.7),
    rgba(57, 104, 67, 0.8),
    rgba(11, 18, 13, 0.98)
  );
}

.inquiry-section h2 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  color: #fff;
}

.inquiry-section p {
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 0.55rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 -4px 0 rgba(139, 98, 64, 0.7);
  margin-top: 2rem;
  padding: 1rem 1.5rem 1.6rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  background: radial-gradient(circle at bottom, rgba(139, 98, 64, 0.65), transparent 55%);
}


/* Responsive */
@media (max-width: 768px) {
  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
  }

  .content-wrapper {
    padding: 1.4rem 1.25rem 2rem;
  }
}
