/* ==============================
   BASE
================================ */
* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #111;
  display: flex;
  flex-direction: column;
}

/* Home page background only */
body.home {
  background:
    linear-gradient(rgba(245,241,230,0.10), rgba(245,241,230,0.10)),
    url("../assets/img/Pasture.JPG");

  background-size: cover;
  background-position: center 60%;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

html, body {
  margin: 0;
  padding: 0;

  background: #d8c9a3;
}

/* ==============================
   HEADER
================================ */
.header {
  background: #d8c9a3;
  border-bottom: 1px solid #e6e6e6;

  display: flex;
  align-items: center;
  gap: 24px;

  padding: 0 24px;
  height: 140px;
}

.logo {
  height: 135px;
  width: auto;
  display: block;
}

.nav {
  margin-left: auto;
  margin-right: 80px;

  display: flex;
  align-items: center;
  gap: 44px;

  flex-wrap: nowrap;
  white-space: nowrap;
}

.nav a {
  color: #2f6f3e;
  text-decoration: none;
  font-weight: 700;
  font-size: 20px;

  position: relative;

  transition: color 0.25s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;

  width: 0%;
  height: 3px;

  background: linear-gradient(90deg,#2f6f3e,#ff3b00);

  transition: width 0.3s ease;
}

.nav a:hover {
  color: #ff3b00;
}

.nav a:hover::after {
  width: 100%;
}

.nav a.active {
  color: #ff3b00;
}

.nav a.active::after {
  width: 100%;
}

/* ==============================
   HOME INTRO
================================ */
.intro {
  text-align: center;

  padding: 90px 20px;

  max-width: 1100px;

  margin: 40px auto;
}

.intro h2 {
  margin-bottom: 16px;

  font-size: 42px;
  font-weight: 900;

  color: #111;

  text-shadow:
    0 3px 14px rgba(255,255,255,0.95),
    0 0 10px rgba(255,255,255,0.85);
}

.intro p {
  max-width: 900px;

  margin: 0 auto;
  margin-bottom: 28px;
  
  line-height: 1.8;
  font-size: 21px;
  font-weight: 600;

  color: #111;

  text-shadow:
    0 2px 12px rgba(255,255,255,0.95),
    0 0 8px rgba(255,255,255,0.85);
}

/* ==============================
   BUTTON
================================ */
.cta-button {
  display: inline-block;

  background: #2f6f3e;
  color: #fff;

  padding: 18px 36px;

  border-radius: 12px;

  text-decoration: none;

  font-size: 20px;
  font-weight: 800;

  margin-top: 30px;

  box-shadow: 0 8px 22px rgba(0,0,0,0.22);

  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.cta-button:hover {
  background: #245a31;
  transform: translateY(-2px);
}

/* ==============================
   GENERAL PAGE SECTIONS
================================ */
.page {
  background: rgba(255,255,255,0.45);

  backdrop-filter: blur(8px);

  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 18px;

  max-width: 1100px;

  margin: 46px auto;

  padding: 50px 24px;

  text-align: center;
}

.page h1,
.page h2 {
  font-size: 34px;
  font-weight: 900;

  color: #111;
}

.page p {
  max-width: 900px;

  margin: 0 auto 14px;

  line-height: 1.8;
  font-size: 19px;
  font-weight: 600;

  color: #111;
}

/* ==============================
   BIOCHAR PAGE
================================ */

body.biochar {
  background: #d8c9a3;
}

.biochar-hero {
  display: block;
  width: 90%;
  min-height: 540px;
  
  margin: 0 auto;

  background: url("../assets/img/cedarbiochar.JPG") center center / cover no-repeat;
}

.biochar-content {
  display: block;
  width: 100%;
  clear: both;

  background: #d8c9a3;
  padding: 70px 24px;
  margin: 0;

  text-align: center;
}

.biochar-content h2 {
  color: #111;
  font-size: 48px;
  font-weight: 900;
  margin: 0 0 28px;
}

.biochar-content p {
  color: #111;
  max-width: 950px;
  margin: 0 auto;
  font-size: 22px;
  line-height: 1.9;
}
/* ==============================
   SERVICES PAGE
================================ */

.services-hero {
  display: block;
  width: 90%;
  min-height: 540px;

  margin: 0 auto;

  background: url("../assets/img/chainsaw.JPG") center center / cover no-repeat;
}

.services-content {
  display: block;
  width: 100%;

  background: #d8c9a3;

  padding: 70px 24px;

  text-align: center;
}

.services-content h2 {
  color: #111;
  font-size: 48px;
  font-weight: 900;

  margin: 0 0 28px;
}

.services-content p {
  color: #111;

  max-width: 950px;

  margin: 0 auto;

  font-size: 22px;
  line-height: 1.9;
}
/* Services pictures */
.services-gallery {
  display: flex;

  justify-content: center;

  gap: 24px;

  flex-wrap: wrap;

  margin-top: 50px;
}

.services-gallery img {
  width: 400px;
  height: 340px;

  object-fit: cover;

  border-radius: 16px;

  box-shadow:
    0 8px 22px rgba(0,0,0,0.18);
}
/* Our Story image */
.story-photo {
  display: block;

  width: 500px;
  height: auto;

  margin: 5px auto;

  border-radius: 18px;

  box-shadow:
    0 10px 28px rgba(0,0,0,0.22);
}
/* ==============================
   FOOTER
================================ */
.site-footer {
  background: #d8c9a3;

  color: #111;

  text-align: center;

  padding: 24px 20px;

  border-top: 1px solid #e6e6e6;

  margin-top: auto;
}

/* ==============================
   MOBILE
================================ */
@media (max-width: 860px) {

  .header {
    height: auto;

    padding: 12px 16px;

    flex-wrap: wrap;

    gap: 10px;
  }

  .logo {
    height: 80px;
  }

  .nav {
    width: 100%;

    justify-content: center;

    flex-wrap: wrap;

    gap: 14px 18px;

    white-space: normal;

    margin-right: 0;
  }

  .intro,
  .page,
  .biochar-content {
    margin: 18px 12px;

    padding: 34px 16px;
  }

  .intro h2,
  .biochar-content h2 {
    font-size: 34px;
  }

  .intro p,
  .biochar-content p {
    font-size: 18px;
  }

  .biochar-hero {
    height: 320px;
  }
}