* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: #243024;
  background: #ffffff;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 90%);
  margin: 0 auto;
}


/* ================================
   HEADER
================================ */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;

  background: #188148;
  color: white;

  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.nav-container {
  min-height: 72px;

  display: flex;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
}

#grassFavicon {
  width: 48px;
  height: 48px;

  object-fit: contain;
  flex-shrink: 0;

  margin-right: 20px;

  border-radius: 5px;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;

  color: white;

  white-space: nowrap;
}

nav {
  display: flex;
  align-items: center;

  gap: 28px;

  margin-left: auto;
}

nav a {
  font-size: 0.95rem;
  font-weight: 600;

  transition: opacity 0.2s ease;
}

nav a:hover {
  opacity: 0.7;
}

.menu-button {
  display: none;

  background: none;
  border: none;

  color: white;

  font-size: 1.6rem;

  cursor: pointer;
}


/* ================================
   HERO
================================ */

.hero {
  position: relative;

  min-height: 650px;

  display: flex;
  align-items: center;
  justify-content: center;

  background:
    url("images/hero.jpg")
    center / cover
    no-repeat;

  color: white;

  text-align: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      rgba(12, 39, 20, 0.6),
      rgba(12, 39, 20, 0.75)
    );
}

.hero-content {
  position: relative;
  z-index: 2;

  width: min(800px, 90%);
}

.eyebrow,
.section-label {
  margin-bottom: 12px;

  color: #188148;

  text-transform: uppercase;
  letter-spacing: 3px;

  font-weight: 700;
  font-size: 0.8rem;
}

.hero .eyebrow {
  color: #ffffff;
}

.hero h1 {
  margin-bottom: 20px;

  font-family: Georgia, serif;

  font-size: clamp(3rem, 7vw, 5.5rem);

  line-height: 1.05;
}

.hero p {
  max-width: 680px;

  margin: 0 auto 32px;

  font-size: 1.15rem;
}

.hero-buttons {
  display: flex;

  justify-content: center;

  gap: 15px;

  flex-wrap: wrap;
}


/* ================================
   BUTTONS
================================ */

.button {
  display: inline-block;

  padding: 14px 28px;

  border-radius: 4px;

  font-weight: 700;

  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: #188148;
  color: white;
}

.button-primary:hover {
  background: #126b3c;
}

.button-secondary {
  border: 2px solid white;

  color: white;
}

.button-secondary:hover {
  background: white;

  color: #188148;
}


/* ================================
   GENERAL SECTIONS
================================ */

.section {
  padding: 95px 0;
}

.section-light {
  background: #eeeeee;
}

.section h2,
.visit-section h2 {
  margin-bottom: 22px;

  font-family: Georgia, serif;

  color: #188148;

  font-size: clamp(2rem, 4vw, 3rem);

  line-height: 1.15;
}

.section-heading {
  max-width: 700px;

  margin: 0 auto 50px;

  text-align: center;
}


/* ================================
   WELCOME
================================ */

.welcome-section {
  background: #ffffff;
}

.welcome-section .intro {
  max-width: 760px;
  margin: 0 auto 35px;
  text-align: center;
}

.welcome-section .intro p:last-child {
  font-size: 1.1rem;
  color: #5d695e;
}

/* Center the photo and keep it smaller */
.welcome-image {
  position: relative;

  width: min(850px, 100%);
  height: 320px;

  margin: 0 auto;

  overflow: hidden;

  border-radius: 8px;

  box-shadow:
    0 8px 25px rgba(0, 0, 0, 0.10);
}

.welcome-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center 40%;

  display: block;
}

.welcome-image::after {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      to bottom,
      transparent 60%,
      rgba(16, 40, 23, 0.60) 100%
    );

  pointer-events: none;
}

.welcome-image-caption {
  position: absolute;

  z-index: 2;

  left: 0;
  right: 0;
  bottom: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 14px;

  padding: 18px;

  color: #ffffff;

  font-size: 0.85rem;
  font-weight: 700;

  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.caption-dot {
  opacity: 0.6;
}

/* ================================
   OUR TREES
================================ */

.trees-showcase {
  display: grid;

  grid-template-columns: 1.1fr 1fr;

  gap: 55px;

  align-items: stretch;
}

.trees-photo {
  min-height: 520px;

  overflow: hidden;

  border-radius: 8px;

  box-shadow:
    0 6px 25px rgba(0, 0, 0, 0.10);
}

.trees-photo img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  object-position: center 70%;
}

.trees-list {
  display: flex;

  flex-direction: column;

  justify-content: center;
}

.tree-type {
  padding: 28px 0;

  border-bottom: 1px solid #cccccc;
}

.tree-type:first-child {
  padding-top: 0;
}

.tree-type:last-child {
  padding-bottom: 0;

  border-bottom: none;
}

.tree-type h3 {
  margin-bottom: 10px;

  color: #188148;

  font-family: Georgia, serif;

  font-size: 1.6rem;
}

.tree-type p {
  color: #5c685d;

  line-height: 1.7;
}


/* ================================
   ABOUT / OUR FARM
================================ */

.about-section {
  background: #ffffff;
}

.about-feature {
  position: relative;
  padding-bottom: 115px;
}

.about-image {
  width: 88%;
  height: 520px;
  margin-left: auto;
  overflow: hidden;
  border-radius: 8px;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}

.about-content {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 43%;
  max-width: 500px;
  padding: 38px 42px;
  background: #ffffff;
  border-left: 5px solid #188148;
  border-radius: 6px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.about-content .section-label {
  margin-bottom: 14px;
}

.about-content h2 {
  margin-bottom: 18px;
  color: #188148;
  font-family: Georgia, serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.08;
}

.about-content p {
  margin-bottom: 16px;
  color: #5c685d;
  line-height: 1.65;
}

.about-content p:last-child {
  margin-bottom: 0;
}

/* ================================
   VISIT
================================ */

.visit-section {
  padding: 95px 0;

  background: #17351f;

  color: white;
}

.visit-section .section-label {
  color: #ffffff;
}

.section-heading.light h2 {
  color: white;
}

.visit-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 25px;
}

.visit-item {
  padding: 35px 25px;

  background: #188148;

  border: 1px solid rgba(255, 255, 255, 0.15);

  border-radius: 6px;

  text-align: center;
}

.visit-item span {
  display: block;

  margin-bottom: 15px;

  font-size: 2.5rem;
}

.visit-item h3 {
  margin-bottom: 10px;

  font-size: 1.2rem;
}


/* ================================
   INFORMATION
================================ */

.info-grid {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 20px;
}

.info-box {
  padding: 30px;

  background: white;

  border-radius: 6px;
}

.info-box h3 {
  margin-bottom: 10px;

  color: #17351f;
}


/* ================================
   CONTACT
================================ */

.contact {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 60px;
}

.contact-details {
  padding: 35px;

  background: #eeeeee;

  border-radius: 6px;
}

.contact-details p {
  margin-bottom: 12px;
}

.contact-details a {
  color: #188148;

  font-weight: 600;
}

.contact-details a:hover {
  text-decoration: underline;
}


/* ================================
   FOOTER
================================ */

footer {
  padding: 30px 0;

  background: #102817;

  color: white;
}

.footer-content {
  display: flex;

  justify-content: space-between;

  gap: 20px;

  font-size: 0.9rem;
}


/* ================================
   TABLETS
================================ */

@media (max-width: 950px) {

  .container {
    width: min(1120px, 92%);
  }

  .logo {
    font-size: 1.05rem;
  }

  nav {
    gap: 18px;
  }

  nav a {
    font-size: 0.88rem;
  }

  .trees-showcase {
    gap: 35px;
  }

  .trees-photo {
    min-height: 460px;
  }

  .contact {
    gap: 35px;
  }

}


/* ================================
   MOBILE
================================ */

@media (max-width: 800px) {

  .section,
  .visit-section {
    padding: 65px 0;
  }


  /* HEADER */

  .nav-container {
    min-height: 68px;
  }

  .logo-container {
    max-width: 78%;
  }

  #grassFavicon {
    width: 42px;
    height: 42px;

    margin-right: 10px;
  }

  .logo {
    font-size: 0.95rem;

    line-height: 1.15;

    white-space: normal;
  }

  .menu-button {
    display: block;

    margin-left: auto;

    padding: 5px;
  }

  nav {
    display: none;

    position: absolute;

    top: 68px;
    left: 0;
    right: 0;

    margin-left: 0;

    padding: 15px 5% 20px;

    background: #17351f;

    flex-direction: column;

    align-items: stretch;

    gap: 0;

    text-align: center;

    box-shadow:
      0 8px 18px rgba(0, 0, 0, 0.18);
  }

  nav.open {
    display: flex;
  }

  nav a {
    width: 100%;

    padding: 13px 10px;

    border-bottom:
      1px solid rgba(255, 255, 255, 0.12);

    font-size: 0.95rem;
  }

  nav a:last-child {
    border-bottom: none;
  }


  /* HERO */

  .hero {
    min-height: 540px;

    padding: 70px 0;
  }

  .hero-content {
    width: 90%;
  }

  .hero h1 {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;

    align-items: center;
  }

  .button {
    width: min(300px, 100%);

    text-align: center;
  }


  /* GENERAL HEADINGS */

  .section-heading {
    margin-bottom: 35px;
  }

  .section h2,
  .visit-section h2 {
    font-size: clamp(2rem, 9vw, 2.7rem);
  }


  /* WELCOME */

  .welcome-section .intro {
    margin-bottom: 30px;
  }

  .welcome-image {
    height: 290px;
  }

  .welcome-image-caption {
    gap: 6px;

    padding: 14px 10px;

    font-size: 0.68rem;

    letter-spacing: 0.5px;

    flex-wrap: wrap;
  }


  /* TREES */

  .trees-showcase {
    grid-template-columns: 1fr;

    gap: 35px;
  }

  .trees-photo {
    min-height: 0;

    height: auto;
  }

  .trees-photo img {
    width: 100%;
    height: auto;

    object-fit: contain;

    object-position: center;
  }

  .tree-type {
    padding: 22px 0;
  }

  .tree-type h3 {
    font-size: 1.45rem;
  }


  /* ABOUT */

  .about-feature {
    padding-bottom: 0;
  }

  .about-image {
    width: 100%;
    height: 350px;
    margin: 0;
    border-radius: 8px 8px 0 0;
  }

  .about-image img {
    object-position: center;
  }

  .about-content {
    position: relative;
    left: auto;
    bottom: auto;
    width: 92%;
    max-width: none;
    margin: -35px auto 0;
    padding: 28px;
    border-left: none;
    border-top: 5px solid #188148;
  }

  .about-content h2 {
    font-size: clamp(2rem, 9vw, 2.6rem);
  }

  .about-content p {
    font-size: 1rem;
  }

  /* VISIT */

  .visit-grid {
    grid-template-columns: 1fr;

    gap: 18px;
  }

  .visit-item {
    padding: 28px 20px;
  }


  /* INFORMATION */

  .info-grid {
    grid-template-columns: 1fr;

    gap: 16px;
  }

  .info-box {
    padding: 25px;
  }


  /* CONTACT */

  .contact {
    grid-template-columns: 1fr;

    gap: 30px;
  }

  .contact-details {
    padding: 25px;
  }


  /* FOOTER */

  .footer-content {
    flex-direction: column;

    align-items: center;

    text-align: center;
  }

}


/* ================================
   SMALL PHONES
================================ */

@media (max-width: 480px) {

  .container {
    width: 92%;
  }

  .section,
  .visit-section {
    padding: 55px 0;
  }

  .logo-container {
    max-width: 82%;
  }

  #grassFavicon {
    width: 38px;
    height: 38px;
  }

  .logo {
    font-size: 0.84rem;
  }

  .hero {
    min-height: 500px;
  }

  .hero h1 {
    font-size: 2.7rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .welcome-image {
    height: 240px;
  }

  .welcome-image-caption {
    font-size: 0.62rem;
  }

  .tree-type p,
  .about-content p,
  .info-box p,
  .contact-details {
    font-size: 0.95rem;
  }

  .visit-item span {
    font-size: 2rem;
  }

}
/* ================================
   ACCESSIBILITY / SEO SUPPORT
================================ */

address {
  font-style: normal;
}

nav a:focus-visible,
.button:focus-visible,
.logo:focus-visible,
.contact-details a:focus-visible,
.menu-button:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

.section-light a:focus-visible,
.section a:focus-visible {
  outline-color: #188148;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
