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

body {
  font-family: 'Inter', sans-serif;
  background: #f8f4ea;
  color: #1c2b21;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

.header {
  background: rgba(248,244,234,0.95);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #ddd;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  gap: 20px;
}

.logo {
  font-weight: 800;
  font-size: 1.05rem;
}
.logo img {
  height: 50px;
}

.nav {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.nav a {
  font-weight: 600;
}

.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(rgba(20,40,25,.75), rgba(20,40,25,.75)),
    url("images/charles-dappled-garden-lawn-unsplash.jpg") center/cover;
  color: white;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.hero-left img {
  width: 100%;
  max-width: 320px;   /* desktop size */
  height: auto;
}

.hero-right {
  max-width: 520px;
}

.hero-right h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.05;
  margin-bottom: 20px;
}

.hero-right p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 20px;
  background: #2f6f3e;
  color: white;
  border-radius: 30px;
  font-weight: 600;
}

.btn.small {
  padding: 9px 16px;
}

.btn.outline {
  background: transparent;
  border: 2px solid white;
}

.features {
  background: #f2d46b;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  text-align: center;
  font-weight: 600;
  padding: 15px 0;
}

.section {
  padding: 70px 0;
}

.section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  margin-bottom: 30px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 25px;
}

.card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.card h3 {
  padding: 15px 15px 5px;
}

.card p {
  padding: 0 15px 20px;
}

.areas {
  background: #fff;
}

.areas p {
  max-width: 760px;
  margin-bottom: 24px;
}

.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.area-list span {
  background: #e7efdc;
  color: #1c2b21;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
}

.about {
  background: #e7efdc;
}

.narrow {
  max-width: 740px;
}

.cta {
  background:
    linear-gradient(rgba(0,0,0,.6), rgba(0,0,0,.6)),
    url("images/charles-dappled-garden-lawn-unsplash.jpg") center/cover;
  color: white;
  text-align: center;
  padding: 80px 0;
}

.cta h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 10px;
}

.contact-form {
  max-width: 620px;
  margin: 30px auto 0;
  display: grid;
  gap: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 0;
  border-radius: 12px;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  border: 0;
  cursor: pointer;
  margin: 0 auto;
}

.footer {
  padding: 40px 0;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 15px;
}

.gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
}
.masonry {
  column-count: 4;
  column-gap: 16px;
}

.masonry img {
  width: 100%;
  margin-bottom: 16px;
  border-radius: 14px;
  display: block;
  break-inside: avoid;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.masonry img:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Tablet */
@media (max-width: 1000px) {
  .masonry {
    column-count: 3;
  }
}

/* Mobile */
@media (max-width: 700px) {
  .masonry {
    column-count: 2;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .masonry {
    column-count: 1;
  }
}

@media(max-width:800px){
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* MOBILE */
@media(max-width: 800px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    gap: 14px;
  }

  .features-grid,
  .grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    gap: 1px;
  }

  .features-grid div {
    padding: 10px 0;
  }

  .hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-grid {
    flex-direction: column;
  }
}
/* Large screens */
@media (min-width: 1200px) {
  .hero-left img {
    max-width: 360px;
  }
}

/* Tablet */
@media (max-width: 900px) {
  .hero-left img {
    max-width: 240px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .hero-left img {
    max-width: 180px;
  }
}