/* ---- Base ---- */
:root {
  --color-primary: #4c6b58;
  --color-primary-dark: #354a3e;
  --color-accent: #7d9b83;
  --color-bg: #f4f7f4;
  --color-text: #2f3a33;
  --color-muted: #68726b;
  --color-white: #ffffff;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: min(960px, 92%);
  margin: 0 auto;
}

h1, h2, h3 {
  font-family: "Michroma", "Segoe UI", Helvetica, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.3;
}

/* ---- Header ---- */
.site-header {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 1rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.brand {
  color: var(--color-white);
  font-size: 1.3rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-logo {
  display: block;
  height: 3.15rem;
  width: auto;
}

.site-nav {
  display: flex;
  gap: 1.25rem;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--color-white);
  border-bottom-color: var(--color-accent);
}



.placeholder-text {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---- Hero / landing image ---- */
.hero {
  position: relative;
  background: var(--color-primary-dark);
  padding: 1.5rem 0;
}

.hero-code {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  color: #24332a;
  font-family: "Courier New", Consolas, Menlo, monospace;
  font-size: 13px;
  line-height: 1.5;
  white-space: pre;
  user-select: none;
  pointer-events: none;
  opacity: 0.7;
}

.hero-media {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(18, 28, 22, 0.6) 0%,
    rgba(18, 28, 22, 0.1) 55%,
    rgba(18, 28, 22, 0.25) 100%
  );
  pointer-events: none;
}

.hero-image {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.hero-image-placeholder {
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.06),
      rgba(255, 255, 255, 0.06) 12px,
      rgba(255, 255, 255, 0.02) 12px,
      rgba(255, 255, 255, 0.02) 24px
    ),
    var(--color-primary-dark);
  border: 2px dashed rgba(255, 255, 255, 0.35);
}

.hero-title {
  position: absolute;
  left: 2rem;
  right: 2rem;
  bottom: 1.75rem;
  margin: 0;
  color: var(--color-white);
  font-size: 2.1rem;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
  z-index: 1;
}

/* ---- Intro / services ---- */
.intro {
  padding: 2.5rem 0 1.5rem;
}

.intro p {
  color: var(--color-muted);
  font-size: 1.05rem;
  max-width: 60ch;
}

.services {
  padding-bottom: 3rem;
}

.services h2 {
  font-size: 1.4rem;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.service-card {
  background: var(--color-white);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--color-accent);
}

.service-card h3 {
  font-size: 1.05rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.service-card p {
  color: var(--color-muted);
  font-size: 0.95rem;
}

/* ---- About page ---- */
.about-page {
  padding: 2.5rem 0 3rem;
  flex: 1;
}

.about-page h1 {
  font-size: 1.9rem;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.owner-photo {
  display: block;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}

.about-photo-placeholder {
  height: 150px;
  max-width: 150px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(53, 74, 62, 0.08),
      rgba(53, 74, 62, 0.08) 10px,
      rgba(53, 74, 62, 0.03) 10px,
      rgba(53, 74, 62, 0.03) 20px
    ),
    var(--color-white);
  border: 2px dashed var(--color-primary);
  margin-bottom: 1.75rem;
}

.about-photo-placeholder .placeholder-text {
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.about-copy p {
  margin-bottom: 1rem;
  max-width: 70ch;
}

.about-copy ul {
  margin: 0 0 1rem 1.5rem;
}

.about-copy li {
  margin-bottom: 0.5rem;
  max-width: 70ch;
}

/* ---- Contact page ---- */
.contact-page {
  padding: 2.5rem 0 3rem;
  flex: 1;
}

.contact-page h1 {
  font-size: 1.9rem;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.contact-lead {
  color: var(--color-muted);
  font-size: 1.05rem;
  max-width: 65ch;
  margin-bottom: 1.75rem;
}

.contact-card {
  background: var(--color-white);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 1.75rem;
  max-width: 640px;
  border-top: 4px solid var(--color-accent);
}

.form-field {
  margin-bottom: 1.25rem;
}

.form-field label {
  display: block;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.65rem 0.8rem;
  font: inherit;
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid #cfd8d1;
  border-radius: 6px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(125, 155, 131, 0.2);
}

.send-btn {
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: 6px;
  padding: 0.7rem 1.6rem;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.send-btn:hover {
  background: var(--color-primary-dark);
}

.contact-note {
  margin-top: 1.5rem;
  color: var(--color-muted);
}

.contact-note a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--color-accent);
}

.contact-note a:hover {
  color: var(--color-primary-dark);
}

/* ---- Footer ---- */
.site-footer {
  margin-top: auto;
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.9rem;
}
