/* ============================================================
   index.css — Homepage-specific styles
   ============================================================ */

body {
  background-color: #ffffff;
}

/* ── Nav logo ─────────────────────────────────────────────────── */

.nav-logo {
  height: 60px;
  width: auto;
  margin-right: auto;
}

/* ── Hero ─────────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 60vh;
  max-height: 800px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  padding: 14rem 1.5rem 2rem;
  background-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.35),
      rgba(0, 0, 0, 0.55)
    ),
    url("../assets/images/hero-garden.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-inner {
  max-width: 800px;
}

.hero h1 {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* ── Main content ─────────────────────────────────────────────── */

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

/* ── Cards ────────────────────────────────────────────────────── */

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 3rem;
}

.card {
  background: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}

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

.card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card h2 {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 1.2rem;
  color: var(--green);
}

.card p {
  font-size: 0.95rem;
}

.card .btn-link {
  margin-top: 0.5rem;
  align-self: flex-start;
  font-size: 0.9rem;
  color: var(--green);
  text-decoration: none;
  border-bottom: 1px solid rgba(48, 92, 59, 0.4);
  padding-bottom: 0.1rem;
}

.card .btn-link:hover {
  border-color: var(--green);
}

/* ── Divider ──────────────────────────────────────────────────── */

.divider-icon {
  text-align: center;
  margin: 1rem 0 2.5rem;
  font-size: 1.4rem;
  color: var(--green);
}

/* ── Welcome section ──────────────────────────────────────────── */

.welcome {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.welcome img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  object-fit: cover;
}

.welcome-text h2 {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 1.6rem;
  color: var(--green);
  margin-bottom: 0.75rem;
}

.welcome-text p {
  font-size: 0.98rem;
}

/* ── Responsive ───────────────────────────────────────────────── */

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